vmlinux.lds.S 743 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. #include <asm-generic/vmlinux.lds.h>
  2. OUTPUT_FORMAT("elf64-s390", "elf64-s390", "elf64-s390")
  3. OUTPUT_ARCH(s390:64-bit)
  4. ENTRY(startup)
  5. SECTIONS
  6. {
  7. /* Be careful parts of head_64.S assume startup_32 is at
  8. * address 0.
  9. */
  10. . = 0;
  11. .head.text : {
  12. _head = . ;
  13. HEAD_TEXT
  14. _ehead = . ;
  15. }
  16. .rodata.compressed : {
  17. *(.rodata.compressed)
  18. }
  19. .text : {
  20. _text = .; /* Text */
  21. *(.text)
  22. *(.text.*)
  23. _etext = . ;
  24. }
  25. .rodata : {
  26. _rodata = . ;
  27. *(.rodata) /* read-only data */
  28. *(.rodata.*)
  29. _erodata = . ;
  30. }
  31. .data : {
  32. _data = . ;
  33. *(.data)
  34. *(.data.*)
  35. _edata = . ;
  36. }
  37. . = ALIGN(256);
  38. .bss : {
  39. _bss = . ;
  40. *(.bss)
  41. *(.bss.*)
  42. *(COMMON)
  43. . = ALIGN(8); /* For convenience during zeroing */
  44. _ebss = .;
  45. }
  46. _end = .;
  47. }