forked from Imagelibrary/binutils-gdb
Treat the .gnu.debuglink and .gnu.debugaltlink sections as debug sections when reading them in from COFF/PE format files.
PR 24493
* coffcode.h (styp_to_sec_flags): Treat .gnu.debuglink and
.gnu.debugaltlink sections as debugging sections.
(cherry picked from commit 2cdc1a970d)
This commit is contained in:
committed by
Eli Zaretskii
parent
0ade68667e
commit
35f7673945
@@ -1,3 +1,9 @@
|
|||||||
|
2019-05-02 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
|
PR 24493
|
||||||
|
* coffcode.h (styp_to_sec_flags): Treat .gnu.debuglink and
|
||||||
|
.gnu.debugaltlink sections as debugging sections.
|
||||||
|
|
||||||
2019-02-27 Joel Brobecker <brobecker@adacore.com>
|
2019-02-27 Joel Brobecker <brobecker@adacore.com>
|
||||||
|
|
||||||
* development.sh (development): Set to false.
|
* development.sh (development): Set to false.
|
||||||
|
|||||||
@@ -1176,6 +1176,11 @@ styp_to_sec_flags (bfd *abfd,
|
|||||||
#ifdef COFF_LONG_SECTION_NAMES
|
#ifdef COFF_LONG_SECTION_NAMES
|
||||||
|| CONST_STRNEQ (name, GNU_LINKONCE_WI)
|
|| CONST_STRNEQ (name, GNU_LINKONCE_WI)
|
||||||
|| CONST_STRNEQ (name, GNU_LINKONCE_WT)
|
|| CONST_STRNEQ (name, GNU_LINKONCE_WT)
|
||||||
|
/* FIXME: These definitions ought to be in a header file. */
|
||||||
|
#define GNU_DEBUGLINK ".gnu_debuglink"
|
||||||
|
#define GNU_DEBUGALTLINK ".gnu_debugaltlink"
|
||||||
|
|| CONST_STRNEQ (name, GNU_DEBUGLINK)
|
||||||
|
|| CONST_STRNEQ (name, GNU_DEBUGALTLINK)
|
||||||
#endif
|
#endif
|
||||||
|| CONST_STRNEQ (name, ".stab"))
|
|| CONST_STRNEQ (name, ".stab"))
|
||||||
is_dbg = TRUE;
|
is_dbg = TRUE;
|
||||||
|
|||||||
Reference in New Issue
Block a user