u-boot.lds 804 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. /*
  2. * (C) Copyright 2002
  3. * Gary Jennejohn, DENX Software Engineering, <gj@denx.de>
  4. *
  5. * SPDX-License-Identifier: GPL-2.0+
  6. */
  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. *(.__image_copy_start)
  17. arch/arm/cpu/arm920t/start.o (.text*)
  18. /* the EP93xx expects to find the pattern 'CRUS' at 0x1000 */
  19. . = 0x1000;
  20. LONG(0x53555243)
  21. *(.text*)
  22. }
  23. . = ALIGN(4);
  24. .rodata : { *(.rodata*) }
  25. . = ALIGN(4);
  26. .data : { *(.data*) }
  27. . = ALIGN(4);
  28. .got : { *(.got) }
  29. . = .;
  30. . = ALIGN(4);
  31. .u_boot_list : {
  32. KEEP(*(SORT(.u_boot_list*)));
  33. }
  34. . = ALIGN(4);
  35. .image_copy_end :
  36. {
  37. *(.__image_copy_end)
  38. }
  39. __bss_start = .;
  40. .bss : { *(.bss*) }
  41. __bss_end = .;
  42. _end = .;
  43. }