mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-26 13:56:22 +08:00
* readelf.c (get_machine_flags) <EM_MIPS, EM_MIPS_RS3_LE>: Move
code to handle EF_SH_PIC and EF_SH_FDPIC... <EM_SH>: ... here.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2012-11-13 Maciej W. Rozycki <macro@codesourcery.com>
|
||||||
|
|
||||||
|
* readelf.c (get_machine_flags) <EM_MIPS, EM_MIPS_RS3_LE>: Move
|
||||||
|
code to handle EF_SH_PIC and EF_SH_FDPIC...
|
||||||
|
<EM_SH>: ... here.
|
||||||
|
|
||||||
2012-11-09 Nick Clifton <nickc@redhat.com>
|
2012-11-09 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
* readelf.c (get_machine_flags): Add support for E_FLAG_RX_ABI.
|
* readelf.c (get_machine_flags): Add support for E_FLAG_RX_ABI.
|
||||||
|
@ -2583,12 +2583,6 @@ get_machine_flags (unsigned e_flags, unsigned e_machine)
|
|||||||
case E_MIPS_ARCH_64R2: strcat (buf, ", mips64r2"); break;
|
case E_MIPS_ARCH_64R2: strcat (buf, ", mips64r2"); break;
|
||||||
default: strcat (buf, _(", unknown ISA")); break;
|
default: strcat (buf, _(", unknown ISA")); break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (e_flags & EF_SH_PIC)
|
|
||||||
strcat (buf, ", pic");
|
|
||||||
|
|
||||||
if (e_flags & EF_SH_FDPIC)
|
|
||||||
strcat (buf, ", fdpic");
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case EM_SH:
|
case EM_SH:
|
||||||
@ -2618,6 +2612,11 @@ get_machine_flags (unsigned e_flags, unsigned e_machine)
|
|||||||
default: strcat (buf, _(", unknown ISA")); break;
|
default: strcat (buf, _(", unknown ISA")); break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (e_flags & EF_SH_PIC)
|
||||||
|
strcat (buf, ", pic");
|
||||||
|
|
||||||
|
if (e_flags & EF_SH_FDPIC)
|
||||||
|
strcat (buf, ", fdpic");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case EM_SPARCV9:
|
case EM_SPARCV9:
|
||||||
|
Reference in New Issue
Block a user