summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/cygwin.sc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2005-06-08 20:18:23 +0000
committerChristopher Faylor <me@cgf.cx>2005-06-08 20:18:23 +0000
commitad96f0997befb422b4d1af497e08dc5a1fa98152 (patch)
tree66c1fecdc8c4bf600f63c40c023995873b9c5bb4 /winsup/cygwin/cygwin.sc
parent8741a5314bb6ccc094626d57b56f1d667da76797 (diff)
downloadcygnal-ad96f0997befb422b4d1af497e08dc5a1fa98152.tar.gz
cygnal-ad96f0997befb422b4d1af497e08dc5a1fa98152.tar.bz2
cygnal-ad96f0997befb422b4d1af497e08dc5a1fa98152.zip
* cygwin.sc: Restore resource and reloc sections and use more modern syntax for
stabs sections.
Diffstat (limited to 'winsup/cygwin/cygwin.sc')
-rw-r--r--winsup/cygwin/cygwin.sc15
1 files changed, 11 insertions, 4 deletions
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) }