1/* SPDX-License-Identifier: GPL-2.0+ */ 2/* 3 * (C) Copyright 2006-2010 4 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. 5 */ 6 7OUTPUT_ARCH(powerpc) 8SECTIONS 9{ 10 /* Read-only sections, merged into text segment: */ 11 .text : 12 { 13 arch/powerpc/cpu/mpc83xx/start.o (.text*) 14 *(.text*) 15 . = ALIGN(16); 16 *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) 17 } 18 19 /* Read-write section, merged into data segment: */ 20 . = (. + 0x0FFF) & 0xFFFFF000; 21 _erotext = .; 22 PROVIDE (erotext = .); 23 .reloc : 24 { 25 _GOT2_TABLE_ = .; 26 KEEP(*(.got2)) 27 KEEP(*(.got)) 28 _FIXUP_TABLE_ = .; 29 KEEP(*(.fixup)) 30 } 31 __got2_entries = ((_GLOBAL_OFFSET_TABLE_ - _GOT2_TABLE_) >> 2) - 1; 32 __fixup_entries = (. - _FIXUP_TABLE_) >> 2; 33 34 .data : 35 { 36 *(.data*) 37 *(.sdata*) 38 } 39 _edata = .; 40 PROVIDE (edata = .); 41 42 . = .; 43 44 . = ALIGN(4); 45 .u_boot_list : { 46 KEEP(*(SORT(.u_boot_list*))); 47 } 48 49 50 . = .; 51 __start___ex_table = .; 52 __ex_table : { *(__ex_table) } 53 __stop___ex_table = .; 54 55 /* 56 * _end - This is end of u-boot.bin image. 57 * dtb will be appended here to make u-boot-dtb.bin 58 */ 59 _end = .; 60 61 . = ALIGN(4096); 62 __init_begin = .; 63 .text.init : { *(.text.init) } 64 .data.init : { *(.data.init) } 65 . = ALIGN(4096); 66 __init_end = .; 67 68 __bss_start = .; 69 .bss (NOLOAD) : 70 { 71 *(.bss*) 72 *(.sbss*) 73 *(COMMON) 74 . = ALIGN(4); 75 } 76 __bss_end = . ; 77 PROVIDE (end = .); 78} 79ENTRY(_start) 80