u-boot-spl-da850evm.lds 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * (C) Copyright 2002
  4. * Gary Jennejohn, DENX Software Engineering, <garyj@denx.de>
  5. *
  6. * (C) Copyright 2008
  7. * Guennadi Liakhovetki, DENX Software Engineering, <lg@denx.de>
  8. */
  9. MEMORY { .sram : ORIGIN = CONFIG_SPL_TEXT_BASE,\
  10. LENGTH = CONFIG_SPL_MAX_FOOTPRINT }
  11. OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm")
  12. OUTPUT_ARCH(arm)
  13. ENTRY(_start)
  14. SECTIONS
  15. {
  16. . = 0x00000000;
  17. . = ALIGN(4);
  18. .text :
  19. {
  20. __start = .;
  21. *(.vectors)
  22. arch/arm/cpu/arm926ejs/start.o (.text*)
  23. *(.text*)
  24. } >.sram
  25. . = ALIGN(4);
  26. .rodata : { *(SORT_BY_ALIGNMENT(.rodata*)) } >.sram
  27. . = ALIGN(4);
  28. .data : { *(SORT_BY_ALIGNMENT(.data*)) } >.sram
  29. . = ALIGN(4);
  30. .u_boot_list : { KEEP(*(SORT(.u_boot_list*))); } >.sram
  31. . = ALIGN(4);
  32. .rel.dyn : {
  33. __rel_dyn_start = .;
  34. *(.rel*)
  35. __rel_dyn_end = .;
  36. } >.sram
  37. .bss :
  38. {
  39. . = ALIGN(4);
  40. __bss_start = .;
  41. *(.bss*)
  42. . = ALIGN(4);
  43. __bss_end = .;
  44. } >.sram
  45. __image_copy_end = .;
  46. .end :
  47. {
  48. *(.__end)
  49. }
  50. }