aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2005-05-19 17:04:28 +0000
committerCorinna Vinschen <corinna@vinschen.de>2005-05-19 17:04:28 +0000
commit424946e8abac3f77430e50cf8f72f85edcd0f895 (patch)
tree18c75e94a595b9bf143630038a7f33a5624dbb23
parent989ea1c99e17abbdff5fb4c049ebd30d321895da (diff)
downloadnewlib-424946e8abac3f77430e50cf8f72f85edcd0f895.zip
newlib-424946e8abac3f77430e50cf8f72f85edcd0f895.tar.gz
newlib-424946e8abac3f77430e50cf8f72f85edcd0f895.tar.bz2
* cygwin.sc: Add Dwarf-2 debug sections.
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/cygwin.sc13
2 files changed, 17 insertions, 0 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index a0c7fb4..b1f4838 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,5 +1,9 @@
2005-05-19 Corinna Vinschen <corinna@vinschen.de>
+ * cygwin.sc: Add Dwarf-2 debug sections.
+
+2005-05-19 Corinna Vinschen <corinna@vinschen.de>
+
* mmap.cc (mmap64): Make granularity an automatic variable.
2005-05-19 Christopher Faylor <cgf@timesys.com>
diff --git a/winsup/cygwin/cygwin.sc b/winsup/cygwin/cygwin.sc
index fe00e2b..a911b93 100644
--- a/winsup/cygwin/cygwin.sc
+++ b/winsup/cygwin/cygwin.sc
@@ -103,6 +103,19 @@ SECTIONS
{
[ .stabstr ]
}
+ /* DWARF 1.1 and DWARF 2 */
+ .debug_aranges BLOCK(__section_alignment__) (NOLOAD) : { *(.debug_aranges) }
+ .debug_pubnames BLOCK(__section_alignment__) (NOLOAD) : { *(.debug_pubnames) }
+ /* DWARF 2 */
+ .debug_info BLOCK(__section_alignment__) (NOLOAD) : { *(.debug_info) }
+ .debug_abbrev BLOCK(__section_alignment__) (NOLOAD) : { *(.debug_abbrev) }
+ .debug_line BLOCK(__section_alignment__) (NOLOAD) : { *(.debug_line) }
+ .debug_frame BLOCK(__section_alignment__) (NOLOAD) : { *(.debug_frame) }
+ .debug_str BLOCK(__section_alignment__) (NOLOAD) : { *(.debug_str) }
+ .debug_loc BLOCK(__section_alignment__) (NOLOAD) : { *(.debug_loc) }
+ .debug_macinfo BLOCK(__section_alignment__) (NOLOAD) : { *(.debug_macinfo) }
+ .debug_macinfo BLOCK(__section_alignment__) (NOLOAD) : { *(.debug_macinfo) }
+ .debug_ranges BLOCK(__section_alignment__) (NOLOAD) : { *(.debug_ranges) }
.cygheap BLOCK(64 * 1024) :
{
__system_dlls__ = ABSOLUTE(.) ;