u-boot-spl.lds 652 B

12345678910111213141516171819202122232425262728293031323334353637
  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. OUTPUT_ARCH(powerpc)
  9. SECTIONS
  10. {
  11. . = 0xfff00000;
  12. .text : {
  13. *(.text*)
  14. . = ALIGN(16);
  15. *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
  16. }
  17. . = ALIGN(8);
  18. .data : {
  19. *(.data*)
  20. *(.sdata*)
  21. _GOT2_TABLE_ = .;
  22. KEEP(*(.got2))
  23. KEEP(*(.got))
  24. }
  25. __got2_entries = ((_GLOBAL_OFFSET_TABLE_ - _GOT2_TABLE_) >> 2) - 1;
  26. . = ALIGN(8);
  27. __bss_start = .;
  28. .bss (NOLOAD) : {
  29. *(.*bss)
  30. }
  31. __bss_end = .;
  32. }
  33. ENTRY(_start)
  34. ASSERT(__bss_end <= 0xfff01000, "NAND bootstrap too big");