From ad96f0997befb422b4d1af497e08dc5a1fa98152 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Wed, 8 Jun 2005 20:18:23 +0000 Subject: * cygwin.sc: Restore resource and reloc sections and use more modern syntax for stabs sections. --- winsup/cygwin/cygwin.sc | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'winsup/cygwin/cygwin.sc') 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) } -- cgit v1.2.3