msp430.ld 966 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. /* Script for ld testsuite */
  2. OUTPUT_ARCH(msp430)
  3. ENTRY(_start)
  4. SECTIONS
  5. {
  6. .lower.data :
  7. {
  8. . = ALIGN(2);
  9. *(.lower.data .lower.data.*)
  10. }
  11. .lower.bss :
  12. {
  13. . = ALIGN(2);
  14. *(.lower.bss .lower.bss.*)
  15. }
  16. .lower.text :
  17. {
  18. PROVIDE (_start = .);
  19. . = ALIGN(2);
  20. *(.lower.text.* .lower.text)
  21. }
  22. .lower.rodata :
  23. {
  24. . = ALIGN(2);
  25. *(.lower.rodata .lower.rodata.*)
  26. }
  27. .text :
  28. {
  29. . = ALIGN(2);
  30. *(.text .stub .text.* .gnu.linkonce.t.* .text:*)
  31. }
  32. .rodata :
  33. {
  34. *(.rodata.* .rodata)
  35. }
  36. .data :
  37. {
  38. . = ALIGN(2);
  39. *(.data.* .data)
  40. }
  41. .bss :
  42. {
  43. . = ALIGN(2);
  44. *(.bss.* .bss)
  45. }
  46. .upper.text :
  47. {
  48. . = ALIGN(2);
  49. *(.upper.text.* .upper.text)
  50. }
  51. .upper.rodata :
  52. {
  53. . = ALIGN(2);
  54. *(.upper.rodata .upper.rodata.*)
  55. }
  56. .upper.data :
  57. {
  58. . = ALIGN(2);
  59. *(.upper.data .upper.data.*)
  60. }
  61. .upper.bss :
  62. {
  63. . = ALIGN(2);
  64. *(.upper.bss .upper.bss.*)
  65. }
  66. }