From ad96f0997befb422b4d1af497e08dc5a1fa98152 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Wed, 8 Jun 2005 20:18:23 +0000 Subject: [PATCH] * cygwin.sc: Restore resource and reloc sections and use more modern syntax for stabs sections. --- winsup/cygwin/ChangeLog | 5 +++++ winsup/cygwin/cygwin.sc | 15 +++++++++++---- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 3b0329ba4..7f449cf10 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2005-06-08 Christopher Faylor + + * cygwin.sc: Restore resource and reloc sections and use more modern + syntax for stabs sections. + 2005-06-08 Christopher Faylor * environ.cc (spenvs): Remove cut/paste error which associated diff --git a/winsup/cygwin/cygwin.sc b/winsup/cygwin/cygwin.sc index 195a6b2dd..855bbab9e 100644 --- a/winsup/cygwin/cygwin.sc +++ b/winsup/cygwin/cygwin.sc @@ -57,22 +57,29 @@ SECTIONS { *(.edata) } + .rsrc BLOCK(__section_alignment__) : + { + *(.rsrc) + *(SORT(.rsrc$*)) + } + .reloc BLOCK(__section_alignment__) : + { + *(.reloc) + } /DISCARD/ : { *(.debug$S) *(.debug$T) *(.debug$F) *(.drectve) - *(.reloc) - *(.rsrc) } .stab ALIGN(__section_alignment__) (NOLOAD) : { - [ .stab ] + *(.stab) } .stabstr ALIGN(__section_alignment__) (NOLOAD) : { - [ .stabstr ] + *(.stabstr) } /* DWARF 1.1 and DWARF 2 */ .debug_aranges ALIGN(__section_alignment__) (NOLOAD) : { *(.debug_aranges) }