loader.lds 400 B

123456789101112131415161718192021222324252627282930313233343536
  1. /* SPDX-License-Identifier: GPL-2.0-or-later */
  2. OUTPUT_ARCH(mips)
  3. SECTIONS {
  4. .text : {
  5. _code_start = .;
  6. *(.text)
  7. *(.text.*)
  8. *(.rodata)
  9. *(.rodata.*)
  10. *(.data.lzma)
  11. }
  12. . = ALIGN(32);
  13. .data : {
  14. *(.data)
  15. *(.data.*)
  16. }
  17. . = ALIGN(32);
  18. _code_end = .;
  19. _bss_start = .;
  20. .bss : {
  21. *(.bss)
  22. *(.bss.*)
  23. }
  24. . = ALIGN(32);
  25. _bss_end = .;
  26. . = . + 8192;
  27. _stack = .;
  28. workspace = .;
  29. }