u-boot.lds 902 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * Copyright (C) 2013-2014 Synopsys, Inc. All rights reserved.
  4. */
  5. #include <config.h>
  6. OUTPUT_FORMAT("elf32-littlearc", "elf32-bigarc", "elf32-littlearc")
  7. OUTPUT_ARCH(arc)
  8. ENTRY(_start)
  9. SECTIONS
  10. {
  11. . = CONFIG_SYS_TEXT_BASE;
  12. __image_copy_start = .;
  13. . = ALIGN(1024);
  14. __ivt_start = .;
  15. .ivt :
  16. {
  17. KEEP(*(.ivt))
  18. }
  19. __ivt_end = .;
  20. . = ALIGN(1024);
  21. __text_start = .;
  22. .text : {
  23. arch/arc/lib/start.o (.text*)
  24. *(.text*)
  25. }
  26. __text_end = .;
  27. . = ALIGN(4);
  28. .rodata : {
  29. *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
  30. }
  31. . = ALIGN(4);
  32. .data : {
  33. *(.data*)
  34. }
  35. . = ALIGN(4);
  36. .u_boot_list : {
  37. KEEP(*(SORT(.u_boot_list*)));
  38. }
  39. . = ALIGN(4);
  40. __rel_dyn_start = .;
  41. .rela.dyn : {
  42. *(.rela.dyn)
  43. }
  44. __rel_dyn_end = .;
  45. . = ALIGN(4);
  46. __bss_start = .;
  47. .bss : {
  48. *(.bss*)
  49. }
  50. __bss_end = .;
  51. . = ALIGN(4);
  52. __image_copy_end = .;
  53. __init_end = .;
  54. }