summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2012-07-06 10:44:38 +0000
committerCorinna Vinschen <corinna@vinschen.de>2012-07-06 10:44:38 +0000
commitda36286e64c4a876fe8e84897b2cc62b4a09599a (patch)
tree25f747637589e9a5d11f622f8a0aefca30e83313
parent0246baaea2ac689996fadde8f7f337a90be2c1b5 (diff)
downloadcygnal-da36286e64c4a876fe8e84897b2cc62b4a09599a.tar.gz
cygnal-da36286e64c4a876fe8e84897b2cc62b4a09599a.tar.bz2
cygnal-da36286e64c4a876fe8e84897b2cc62b4a09599a.zip
* cygwin.sc (.rdata): Include all sections starting with .rdata.
(.debug_pubtypes): Make sure section is loaded at the end like all other debug sections.
-rw-r--r--winsup/cygwin/ChangeLog6
-rw-r--r--winsup/cygwin/cygwin.sc3
2 files changed, 8 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index e041729ca..183dc6e58 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,9 @@
+2012-07-06 Corinna Vinschen <corinna@vinschen.de>
+
+ * cygwin.sc (.rdata): Include all sections starting with .rdata.
+ (.debug_pubtypes): Make sure section is loaded at the end like all other
+ debug sections.
+
2012-07-04 Christopher Faylor <me.cygwin2012@cgf.cx>
* dcrt0.cc (build_argv): Guard against NULL pointer dereference found
diff --git a/winsup/cygwin/cygwin.sc b/winsup/cygwin/cygwin.sc
index 966ea9733..dc3ff0773 100644
--- a/winsup/cygwin/cygwin.sc
+++ b/winsup/cygwin/cygwin.sc
@@ -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) }
}