forked from Imagelibrary/binutils-gdb
Srop readelf's unwind decoder from complaining about x86 binaries.
* readelf.c (no_processor_specific_unwind): New function. (process_unwind): Use no_processor_specific_unwind for X86 targets.
This commit is contained in:
@@ -9830,6 +9830,13 @@ arm_process_unwind (Filedata * filedata)
|
||||
return res;
|
||||
}
|
||||
|
||||
static bool
|
||||
no_processor_specific_unwind (Filedata * filedata ATTRIBUTE_UNUSED)
|
||||
{
|
||||
printf (_("No processor specific unwind information to decode\n"));
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool
|
||||
process_unwind (Filedata * filedata)
|
||||
{
|
||||
@@ -9843,6 +9850,8 @@ process_unwind (Filedata * filedata)
|
||||
{ EM_IA_64, ia64_process_unwind },
|
||||
{ EM_PARISC, hppa_process_unwind },
|
||||
{ EM_TI_C6000, arm_process_unwind },
|
||||
{ EM_386, no_processor_specific_unwind },
|
||||
{ EM_X86_64, no_processor_specific_unwind },
|
||||
{ 0, NULL }
|
||||
};
|
||||
int i;
|
||||
|
||||
Reference in New Issue
Block a user