u-boot-spl.lds 652 B

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