sparc.lds 569 B

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