sparc.lds 569 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * (C) Copyright 2003, Psyent Corporation <www.psyent.com>
  4. * Scott McNutt <smcnutt@psyent.com>
  5. */
  6. OUTPUT_FORMAT("elf32-sparc", "elf32-sparc", "elf32-sparc")
  7. OUTPUT_ARCH(sparc)
  8. ENTRY(_start)
  9. SECTIONS
  10. {
  11. .text :
  12. {
  13. *(.text)
  14. }
  15. __text_end = .;
  16. . = ALIGN(4);
  17. .rodata :
  18. {
  19. *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
  20. }
  21. __rodata_end = .;
  22. . = ALIGN(4);
  23. .data :
  24. {
  25. *(.data)
  26. }
  27. . = ALIGN(4);
  28. __data_end = .;
  29. __bss_start = .;
  30. . = ALIGN(4);
  31. .bss :
  32. {
  33. *(.bss)
  34. }
  35. . = ALIGN(4);
  36. __bss_end = .;
  37. _end = .;
  38. }