[ARM] Add FDPIC OSABI flag support.
[deliverable/binutils-gdb.git] / binutils / readelf.c
index 528954cc6e1af2e375445e31f4160964c54ea5fe..e8e1b9681eb894ab6597000208542f3d9ab01327 100644 (file)
@@ -2578,6 +2578,12 @@ decode_ARM_machine_flags (unsigned e_flags, char buf[])
       e_flags &= ~ EF_ARM_RELEXEC;
     }
 
+  if (e_flags & EF_ARM_PIC)
+    {
+      strcat (buf, ", position independent");
+      e_flags &= ~ EF_ARM_PIC;
+    }
+
   /* Now handle EABI specific flags.  */
   switch (eabi)
     {
@@ -3718,6 +3724,7 @@ get_osabi_name (Filedata * filedata, unsigned int osabi)
            switch (osabi)
              {
              case ELFOSABI_ARM:        return "ARM";
+             case ELFOSABI_ARM_FDPIC:  return "ARM FDPIC";
              default:
                break;
              }
This page took 0.026845 seconds and 4 git commands to generate.