S/390: Add support for pgste marker
[deliverable/binutils-gdb.git] / binutils / readelf.c
index d23a020c2e78b6a7a2e385d6b44e1b0f055a78fc..857cf4002925627aabe7f54ad9031caac8efcff0 100644 (file)
@@ -3725,6 +3725,16 @@ get_arm_segment_type (unsigned long type)
     }
 }
 
+static const char *
+get_s390_segment_type (unsigned long type)
+{
+  switch (type)
+    {
+    case PT_S390_PGSTE: return "S390_PGSTE";
+    default:            return NULL;
+    }
+}
+
 static const char *
 get_mips_segment_type (unsigned long type)
 {
@@ -3858,6 +3868,10 @@ get_segment_type (unsigned long p_type)
            case EM_TI_C6000:
              result = get_tic6x_segment_type (p_type);
              break;
+           case EM_S390:
+           case EM_S390_OLD:
+             result = get_s390_segment_type (p_type);
+             break;
            default:
              result = NULL;
              break;
This page took 0.025095 seconds and 4 git commands to generate.