u-boot.lds 881 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. /*
  2. * Copyright (C) 2013-2014 Synopsys, Inc. All rights reserved.
  3. *
  4. * SPDX-License-Identifier: GPL-2.0+
  5. */
  6. #include <config.h>
  7. OUTPUT_FORMAT("elf32-littlearc", "elf32-littlearc", "elf32-littlearc")
  8. OUTPUT_ARCH(arc)
  9. ENTRY(_start)
  10. SECTIONS
  11. {
  12. . = CONFIG_SYS_TEXT_BASE;
  13. __image_copy_start = .;
  14. __text_start = .;
  15. .text : {
  16. arch/arc/lib/start.o (.text*)
  17. *(.text*)
  18. }
  19. __text_end = .;
  20. . = ALIGN(1024);
  21. __ivt_start = .;
  22. .ivt :
  23. {
  24. *(.ivt)
  25. }
  26. __ivt_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. }