mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 11:39:26 +08:00
Fix an internal compiler error when attempting to create a second $GDB_DEBUG$ section.
PR 26359 * config/obj-som.c (obj_som_init_stab_section): Do nothing if the $GDB_DEBUG$ section has already been created.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2020-08-13 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
|
PR 26359
|
||||||
|
* config/obj-som.c (obj_som_init_stab_section): Do nothing if the
|
||||||
|
$GDB_DEBUG$ section has already been created.
|
||||||
|
|
||||||
2020-08-12 Joe Ramsay <joe.ramsay@.arm.com>
|
2020-08-12 Joe Ramsay <joe.ramsay@.arm.com>
|
||||||
|
|
||||||
* config/tc-arm.c (do_neon_cvt_1): Parse vcvtne as vcvt-ne for
|
* config/tc-arm.c (do_neon_cvt_1): Parse vcvtne as vcvt-ne for
|
||||||
|
@ -214,6 +214,10 @@ obj_som_init_stab_section (segT seg)
|
|||||||
const char * file;
|
const char * file;
|
||||||
unsigned int stroff;
|
unsigned int stroff;
|
||||||
|
|
||||||
|
/* Nothing to do if the section has already been created. */
|
||||||
|
if (bfd_get_section_by_name (stdoutput, "$GDB_DEBUG$"))
|
||||||
|
return;
|
||||||
|
|
||||||
/* Make the space which will contain the debug subspaces. */
|
/* Make the space which will contain the debug subspaces. */
|
||||||
space = bfd_make_section_old_way (stdoutput, "$GDB_DEBUG$");
|
space = bfd_make_section_old_way (stdoutput, "$GDB_DEBUG$");
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user