* cygwin.sc: Restore resource and reloc sections and use more modern syntax for

stabs sections.
This commit is contained in:
Christopher Faylor 2005-06-08 20:18:23 +00:00
parent 8741a5314b
commit ad96f0997b
2 changed files with 16 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2005-06-08 Christopher Faylor <cgf@timesys.com>
* cygwin.sc: Restore resource and reloc sections and use more modern
syntax for stabs sections.
2005-06-08 Christopher Faylor <cgf@timesys.com> 2005-06-08 Christopher Faylor <cgf@timesys.com>
* environ.cc (spenvs): Remove cut/paste error which associated * environ.cc (spenvs): Remove cut/paste error which associated

View File

@ -57,22 +57,29 @@ SECTIONS
{ {
*(.edata) *(.edata)
} }
.rsrc BLOCK(__section_alignment__) :
{
*(.rsrc)
*(SORT(.rsrc$*))
}
.reloc BLOCK(__section_alignment__) :
{
*(.reloc)
}
/DISCARD/ : /DISCARD/ :
{ {
*(.debug$S) *(.debug$S)
*(.debug$T) *(.debug$T)
*(.debug$F) *(.debug$F)
*(.drectve) *(.drectve)
*(.reloc)
*(.rsrc)
} }
.stab ALIGN(__section_alignment__) (NOLOAD) : .stab ALIGN(__section_alignment__) (NOLOAD) :
{ {
[ .stab ] *(.stab)
} }
.stabstr ALIGN(__section_alignment__) (NOLOAD) : .stabstr ALIGN(__section_alignment__) (NOLOAD) :
{ {
[ .stabstr ] *(.stabstr)
} }
/* DWARF 1.1 and DWARF 2 */ /* DWARF 1.1 and DWARF 2 */
.debug_aranges ALIGN(__section_alignment__) (NOLOAD) : { *(.debug_aranges) } .debug_aranges ALIGN(__section_alignment__) (NOLOAD) : { *(.debug_aranges) }