* cygwin.sc (.rdata): Include all sections starting with .rdata.

(.debug_pubtypes): Make sure section is loaded at the end like all other
	debug sections.
This commit is contained in:
Corinna Vinschen
2012-07-06 10:44:38 +00:00
parent 0246baaea2
commit da36286e64
2 changed files with 8 additions and 1 deletions

View File

@@ -38,7 +38,7 @@ SECTIONS
}
.rdata ALIGN(__section_alignment__) :
{
*(.rdata)
*(.rdata*)
*(SORT(.rdata$*))
*(.eh_frame)
}
@@ -134,4 +134,5 @@ SECTIONS
.debug_loc ALIGN(__section_alignment__) (NOLOAD) : { *(.debug_loc) }
.debug_macinfo ALIGN(__section_alignment__) (NOLOAD) : { *(.debug_macinfo) }
.debug_ranges ALIGN(__section_alignment__) (NOLOAD) : { *(.debug_ranges) }
.debug_pubtypes ALIGN(__section_alignment__) (NOLOAD) : { *(.debug_pubtypes) }
}