1/* SPDX-License-Identifier: GPL-2.0+ */ 2/* 3 * (C) Copyright 2006 4 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. 5 * 6 * Copyright 2008 Freescale Semiconductor, Inc. 7 */ 8 9OUTPUT_ARCH(powerpc) 10SECTIONS 11{ 12 . = 0xfff00000; 13 .text : { 14 *(.text*) 15 . = ALIGN(16); 16 *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) 17 } 18 19 . = ALIGN(8); 20 .data : { 21 *(.data*) 22 *(.sdata*) 23 _GOT2_TABLE_ = .; 24 KEEP(*(.got2)) 25 KEEP(*(.got)) 26 } 27 __got2_entries = ((_GLOBAL_OFFSET_TABLE_ - _GOT2_TABLE_) >> 2) - 1; 28 29 . = ALIGN(8); 30 __bss_start = .; 31 .bss (NOLOAD) : { 32 *(.*bss) 33 } 34 __bss_end = .; 35} 36ENTRY(_start) 37ASSERT(__bss_end <= 0xfff01000, "NAND bootstrap too big"); 38