Alexey Brodkin | 2f16ac9 | 2014-02-04 12:56:14 +0400 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2013-2014 Synopsys, Inc. All rights reserved. |
| 3 | * |
| 4 | * SPDX-License-Identifier: GPL-2.0+ |
| 5 | */ |
| 6 | |
| 7 | OUTPUT_FORMAT("elf32-littlearc", "elf32-littlearc", "elf32-littlearc") |
| 8 | OUTPUT_ARCH(arc) |
| 9 | ENTRY(_start) |
| 10 | SECTIONS |
| 11 | { |
| 12 | . = ALIGN(4); |
| 13 | .text : { |
| 14 | *(.__text_start) |
| 15 | *(.__image_copy_start) |
Alexey Brodkin | 8957607 | 2015-04-10 18:41:58 +0300 | [diff] [blame] | 16 | arch/arc/lib/start.o (.text*) |
Alexey Brodkin | 2f16ac9 | 2014-02-04 12:56:14 +0400 | [diff] [blame] | 17 | *(.text*) |
| 18 | } |
| 19 | |
| 20 | . = ALIGN(4); |
| 21 | .text_end : |
| 22 | { |
| 23 | *(.__text_end) |
| 24 | } |
| 25 | |
Igor Guryanov | 20a58ac | 2014-12-24 17:17:11 +0300 | [diff] [blame] | 26 | . = ALIGN(1024); |
| 27 | .ivt_start : { |
| 28 | *(.__ivt_start) |
| 29 | } |
| 30 | |
| 31 | .ivt : |
| 32 | { |
| 33 | *(.ivt) |
| 34 | } |
| 35 | |
| 36 | .ivt_end : { |
| 37 | *(.__ivt_end) |
| 38 | } |
| 39 | |
Alexey Brodkin | 2f16ac9 | 2014-02-04 12:56:14 +0400 | [diff] [blame] | 40 | . = ALIGN(4); |
| 41 | .rodata : { |
| 42 | *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) |
| 43 | } |
| 44 | |
| 45 | . = ALIGN(4); |
| 46 | .data : { |
| 47 | *(.data*) |
| 48 | } |
| 49 | |
| 50 | . = ALIGN(4); |
| 51 | .u_boot_list : { |
| 52 | KEEP(*(SORT(.u_boot_list*))); |
| 53 | } |
| 54 | |
| 55 | . = ALIGN(4); |
| 56 | .rel_dyn_start : { |
| 57 | *(.__rel_dyn_start) |
| 58 | } |
| 59 | |
| 60 | .rela.dyn : { |
| 61 | *(.rela.dyn) |
| 62 | } |
| 63 | |
| 64 | .rel_dyn_end : { |
| 65 | *(.__rel_dyn_end) |
| 66 | } |
| 67 | |
| 68 | . = ALIGN(4); |
| 69 | .bss_start : { |
| 70 | *(.__bss_start); |
| 71 | } |
| 72 | |
| 73 | .bss : { |
| 74 | *(.bss*) |
| 75 | } |
| 76 | |
| 77 | .bss_end : { |
| 78 | *(.__bss_end); |
| 79 | } |
| 80 | |
| 81 | . = ALIGN(4); |
| 82 | .image_copy_end : { |
| 83 | *(.__image_copy_end) |
| 84 | *(.__init_end) |
| 85 | } |
| 86 | } |