* 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:
parent
7530bb1a56
commit
cec6a5b82b
2 changed files with 11 additions and 6 deletions
|
@ -2583,12 +2583,6 @@ get_machine_flags (unsigned e_flags, unsigned e_machine)
|
|||
case E_MIPS_ARCH_64R2: strcat (buf, ", mips64r2"); 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;
|
||||
|
||||
case EM_SH:
|
||||
|
@ -2618,6 +2612,11 @@ get_machine_flags (unsigned e_flags, unsigned e_machine)
|
|||
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;
|
||||
|
||||
case EM_SPARCV9:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue