aboutsummaryrefslogtreecommitdiff
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
commit3efd345c3b8f1f91a1698023ac736f2648972d81 (patch)
tree4799c1fd81b722a3fdc73518103ca02a4fb1fa2b /ld/NEWS
parent6aa8e5c2ae66323abb1fb2f8b6c454305781aad2 (diff)
downloadgdb-3efd345c3b8f1f91a1698023ac736f2648972d81.zip
gdb-3efd345c3b8f1f91a1698023ac736f2648972d81.tar.gz
gdb-3efd345c3b8f1f91a1698023ac736f2648972d81.tar.bz2
* 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 e495157..440534a 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