exynos-uboot-spl.lds 986 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * (C) Copyright 2002
  4. * Gary Jennejohn, DENX Software Engineering, <garyj@denx.de>
  5. *
  6. * Copyright (C) 2012 Samsung Electronics
  7. *
  8. * Based on arch/arm/cpu/armv7/omap-common/u-boot-spl.lds
  9. */
  10. MEMORY { .sram : ORIGIN = IMAGE_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. .text :
  18. {
  19. __start = .;
  20. *(.vectors)
  21. arch/arm/cpu/armv7/start.o (.text*)
  22. *(.text*)
  23. } >.sram
  24. . = ALIGN(4);
  25. .rodata : { *(SORT_BY_ALIGNMENT(.rodata*)) } >.sram
  26. . = ALIGN(4);
  27. .data : { *(SORT_BY_ALIGNMENT(.data*)) } >.sram
  28. . = ALIGN(4);
  29. .u_boot_list : {
  30. KEEP(*(SORT(.u_boot_list*)));
  31. } >.sram
  32. . = ALIGN(4);
  33. .machine_param : { *(.machine_param) } >.sram
  34. . = ALIGN(4);
  35. __image_copy_end = .;
  36. .end :
  37. {
  38. *(.__end)
  39. } >.sram
  40. .bss :
  41. {
  42. . = ALIGN(4);
  43. __bss_start = .;
  44. *(.bss*)
  45. . = ALIGN(4);
  46. __bss_end = .;
  47. } >.sram
  48. }