* gdb.texinfo (SVR4 Process Information): Document subcommands of
[deliverable/binutils-gdb.git] / binutils / readelf.c
index 516b0409e231e405f12b5806fbb6a564729357dd..a65c82ea3ed276db38bb655b4b8b0ec3bafa6959 100644 (file)
@@ -1767,6 +1767,10 @@ decode_ARM_machine_flags (unsigned e_flags, char buf[])
 
     case EF_ARM_EABI_VER3:
       strcat (buf, ", Version3 EABI");
+      break;
+
+    case EF_ARM_EABI_VER4:
+      strcat (buf, ", Version4 EABI");
       while (e_flags)
        {
          unsigned flag;
@@ -2404,6 +2408,18 @@ get_ia64_section_type_name (unsigned int sh_type)
   return NULL;
 }
 
+static const char *
+get_x86_64_section_type_name (unsigned int sh_type)
+{
+  switch (sh_type)
+    {
+    case SHT_X86_64_UNWIND:    return "X86_64_UNWIND";
+    default:
+      break;
+    }
+  return NULL;
+}
+
 static const char *
 get_arm_section_type_name (unsigned int sh_type)
 {
@@ -2467,6 +2483,9 @@ get_section_type_name (unsigned int sh_type)
            case EM_IA_64:
              result = get_ia64_section_type_name (sh_type);
              break;
+           case EM_X86_64:
+             result = get_x86_64_section_type_name (sh_type);
+             break;
            case EM_ARM:
              result = get_arm_section_type_name (sh_type);
              break;
@@ -4015,6 +4034,8 @@ process_section_groups (FILE *file)
              group->root = g;
            }
 
+         if (symtab)
+           free (symtab);
          if (strtab)
            free (strtab);
          if (start)
This page took 0.02672 seconds and 4 git commands to generate.