u-boot-spl.lds 716 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /*
  2. * Copyright (C) 2012 Altera Corporation <www.altera.com>
  3. *
  4. * SPDX-License-Identifier: GPL-2.0+
  5. */
  6. MEMORY { .sdram : ORIGIN = (0), LENGTH = (0xffffffff) }
  7. OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm")
  8. OUTPUT_ARCH(arm)
  9. ENTRY(_start)
  10. SECTIONS
  11. {
  12. . = 0x00000000;
  13. . = ALIGN(4);
  14. .text :
  15. {
  16. *(.vectors)
  17. arch/arm/cpu/armv7/start.o (.text*)
  18. *(.text*)
  19. } >.sdram
  20. . = ALIGN(4);
  21. .rodata : { *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) } >.sdram
  22. . = ALIGN(4);
  23. .data : { *(SORT_BY_ALIGNMENT(.data*)) } >.sdram
  24. . = ALIGN(4);
  25. __image_copy_end = .;
  26. .end :
  27. {
  28. *(.__end)
  29. }
  30. .bss : {
  31. . = ALIGN(4);
  32. __bss_start = .;
  33. *(.bss*)
  34. . = ALIGN(4);
  35. __bss_end = .;
  36. } >.sdram
  37. }