summaryrefslogtreecommitdiff
path: root/ld/NEWS
diff options
context:
space:
mode:
authorDave Korn <dave.korn@artimi.com>2009-03-03 18:22:11 +0000
committerDave Korn <dave.korn@artimi.com>2009-03-03 18:22:11 +0000
commita332747c1cc636f9011f91edac367db31866b727 (patch)
tree169eaab99f56463d8d4ed06216b704e7d9c342d9 /ld/NEWS
parentf36bde40a15ee364f3960ef5599775ef4a62f136 (diff)
downloadbinutils-redhat-a332747c1cc636f9011f91edac367db31866b727.tar.gz
* emultempl/pe.em (debug_section_p): New bfd_map_over_sections hook.
(gld_${EMULATION_NAME}_after_open): Use it to iterate all sections of all input BFDs, looking for debug info. Enable long section names if any found. * emultempl/pe.em (debug_section_p): Likewise. (gld_${EMULATION_NAME}_after_open): Likewise. * NEWS: Retrospectively adjust news announcement. * ld.texinfo: Update documentation to mention new behaviour.
Diffstat (limited to 'ld/NEWS')
-rw-r--r--ld/NEWS4
1 files changed, 3 insertions, 1 deletions
diff --git a/ld/NEWS b/ld/NEWS
index e4951572d8..440534ac83 100644
--- a/ld/NEWS
+++ b/ld/NEWS
@@ -5,7 +5,9 @@
* PE targets no longer make use of the long section names PE extension to
the COFF format when generating executable images, by default. The old
(slightly non-conformant) behaviour can still be invoked by using the
- new '--enable-long-section-names' command-line option.
+ new '--enable-long-section-names' command-line option. It is also enabled
+ automatically in the presence of un-stripped debug information, as GDB
+ needs to be able to find the debug info sections by their full names.
* --as-needed now links in a dynamic library if it satisfies undefined
symbols in regular objects, or in other dynamic libraries. In the