mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-28 07:08:01 +08:00
Collision between NT_GNU_BUILD_ATTRIBUTE_OPEN and NT_PPC_VMX
* readelf.c (process_note): Qualify NT_GNU_BUILD_ATTRIBUTE notes by name data.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2017-08-12 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
|
* readelf.c (process_note): Qualify NT_GNU_BUILD_ATTRIBUTE notes
|
||||||
|
by name data.
|
||||||
|
|
||||||
2017-08-08 Nick Clifton <nickc@redhat.com>
|
2017-08-08 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
PR 21909
|
PR 21909
|
||||||
|
@ -17477,8 +17477,11 @@ process_note (Elf_Internal_Note * pnote,
|
|||||||
|
|
||||||
printf (" ");
|
printf (" ");
|
||||||
|
|
||||||
if (pnote->type == NT_GNU_BUILD_ATTRIBUTE_OPEN
|
if (((const_strneq (pnote->namedata, "GA")
|
||||||
|| pnote->type == NT_GNU_BUILD_ATTRIBUTE_FUNC)
|
&& strchr ("*$!+", pnote->namedata[2]) != NULL)
|
||||||
|
|| strchr ("*$!+", pnote->namedata[0]) != NULL)
|
||||||
|
&& (pnote->type == NT_GNU_BUILD_ATTRIBUTE_OPEN
|
||||||
|
|| pnote->type == NT_GNU_BUILD_ATTRIBUTE_FUNC))
|
||||||
print_gnu_build_attribute_name (pnote);
|
print_gnu_build_attribute_name (pnote);
|
||||||
else
|
else
|
||||||
print_symbol (-20, name);
|
print_symbol (-20, name);
|
||||||
@ -17496,8 +17499,11 @@ process_note (Elf_Internal_Note * pnote,
|
|||||||
return print_stapsdt_note (pnote);
|
return print_stapsdt_note (pnote);
|
||||||
else if (const_strneq (pnote->namedata, "CORE"))
|
else if (const_strneq (pnote->namedata, "CORE"))
|
||||||
return print_core_note (pnote);
|
return print_core_note (pnote);
|
||||||
else if (pnote->type == NT_GNU_BUILD_ATTRIBUTE_OPEN
|
else if (((const_strneq (pnote->namedata, "GA")
|
||||||
|| pnote->type == NT_GNU_BUILD_ATTRIBUTE_FUNC)
|
&& strchr ("*$!+", pnote->namedata[2]) != NULL)
|
||||||
|
|| strchr ("*$!+", pnote->namedata[0]) != NULL)
|
||||||
|
&& (pnote->type == NT_GNU_BUILD_ATTRIBUTE_OPEN
|
||||||
|
|| pnote->type == NT_GNU_BUILD_ATTRIBUTE_FUNC))
|
||||||
return print_gnu_build_attribute_description (pnote, file);
|
return print_gnu_build_attribute_description (pnote, file);
|
||||||
|
|
||||||
if (pnote->descsz)
|
if (pnote->descsz)
|
||||||
|
Reference in New Issue
Block a user