u-boot-spl-da850evm.lds 1.0 KB

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