u-boot.lds 881 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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-littlearc", "elf32-littlearc")
  7. OUTPUT_ARCH(arc)
  8. ENTRY(_start)
  9. SECTIONS
  10. {
  11. . = CONFIG_SYS_TEXT_BASE;
  12. __image_copy_start = .;
  13. __text_start = .;
  14. .text : {
  15. arch/arc/lib/start.o (.text*)
  16. *(.text*)
  17. }
  18. __text_end = .;
  19. . = ALIGN(1024);
  20. __ivt_start = .;
  21. .ivt :
  22. {
  23. *(.ivt)
  24. }
  25. __ivt_end = .;
  26. . = ALIGN(4);
  27. .rodata : {
  28. *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
  29. }
  30. . = ALIGN(4);
  31. .data : {
  32. *(.data*)
  33. }
  34. . = ALIGN(4);
  35. .u_boot_list : {
  36. KEEP(*(SORT(.u_boot_list*)));
  37. }
  38. . = ALIGN(4);
  39. __rel_dyn_start = .;
  40. .rela.dyn : {
  41. *(.rela.dyn)
  42. }
  43. __rel_dyn_end = .;
  44. . = ALIGN(4);
  45. __bss_start = .;
  46. .bss : {
  47. *(.bss*)
  48. }
  49. __bss_end = .;
  50. . = ALIGN(4);
  51. __image_copy_end = .;
  52. __init_end = .;
  53. }