From da36286e64c4a876fe8e84897b2cc62b4a09599a Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Fri, 6 Jul 2012 10:44:38 +0000 Subject: [PATCH] * cygwin.sc (.rdata): Include all sections starting with .rdata. (.debug_pubtypes): Make sure section is loaded at the end like all other debug sections. --- winsup/cygwin/ChangeLog | 6 ++++++ winsup/cygwin/cygwin.sc | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) 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 + + * 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 * 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) } }