alpha.x 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. /* Default linker script, for normal executables */
  2. /* Copyright (C) 2014-2020 Free Software Foundation, Inc.
  3. Copying and distribution of this script, with or without modification,
  4. are permitted in any medium without royalty provided the copyright
  5. notice and this notice are preserved. */
  6. OUTPUT_FORMAT("ecoff-littlealpha")
  7. SEARCH_DIR("=/usr/alpha-linux-gnuecoff/lib");
  8. ENTRY (__start)
  9. SECTIONS
  10. {
  11. . = 0x120000000 + SIZEOF_HEADERS;
  12. .text : {
  13. _ftext = .;
  14. __istart = .;
  15. KEEP (*(SORT_NONE(.init)))
  16. LONG (0x6bfa8001)
  17. eprol = .;
  18. *(.text)
  19. __fstart = .;
  20. KEEP (*(SORT_NONE(.fini)))
  21. LONG (0x6bfa8001)
  22. _etext = .;
  23. }
  24. .rdata : {
  25. *(.rdata)
  26. }
  27. .rconst : {
  28. *(.rconst)
  29. }
  30. .pdata : {
  31. _fpdata = .;
  32. *(.pdata)
  33. }
  34. . = 0x140000000;
  35. .data : {
  36. _fdata = .;
  37. *(.data)
  38. CONSTRUCTORS
  39. }
  40. .xdata : {
  41. *(.xdata)
  42. }
  43. _gp = ALIGN (16) + 0x8000;
  44. .lit8 : {
  45. *(.lit8)
  46. }
  47. .lita : {
  48. *(.lita)
  49. }
  50. .sdata : {
  51. *(.sdata)
  52. }
  53. _EDATA = .;
  54. _FBSS = .;
  55. .sbss : {
  56. *(.sbss)
  57. *(.scommon)
  58. }
  59. .bss : {
  60. *(.bss)
  61. *(COMMON)
  62. }
  63. _end = .;
  64. }