* readelf.c (get_ia64_segment_type): Add support for macros.
authorAlan Modra <amodra@gmail.com>
Sun, 6 Jan 2002 11:13:31 +0000 (11:13 +0000)
committerAlan Modra <amodra@gmail.com>
Sun, 6 Jan 2002 11:13:31 +0000 (11:13 +0000)
(get_segment_type): Add support for IA64 specific macros.

binutils/ChangeLog
binutils/readelf.c

index b254d8d7dafaffa056de7165bee064f4f8504f51..bf61ce6942a5d3837eaf1bd953574cc51bed662c 100644 (file)
@@ -1,3 +1,8 @@
+2002-01-06  Steve Ellcey  <sje@cup.hp.com>
+
+       * readelf.c (get_ia64_segment_type): Add support for macros.
+       (get_segment_type): Add support for IA64 specific macros.
+
 2001-12-20  Julian v. Bock  <julian@wongr.net>
 
        * readelf.c (print_symbol): New function: Print a formatted symbol
index 400b7c31497c1454aa90229a9e9b29bde45c2341..100a7dc1e86615a2ec5fb9666327c3ef8049d65f 100644 (file)
@@ -1861,6 +1861,10 @@ get_ia64_segment_type (type)
     {
     case PT_IA_64_ARCHEXT:     return "IA_64_ARCHEXT";
     case PT_IA_64_UNWIND:      return "IA_64_UNWIND";
+    case PT_HP_TLS:            return "HP_TLS";
+    case PT_IA_64_HP_OPT_ANOT: return "HP_OPT_ANNOT";
+    case PT_IA_64_HP_HSL_ANOT: return "HP_HSL_ANNOT";
+    case PT_IA_64_HP_STACK:    return "HP_STACK";
     default:
       break;
     }
@@ -1923,6 +1927,9 @@ get_segment_type (p_type)
            case EM_PARISC:
              result = get_parisc_segment_type (p_type);
              break;
+           case EM_IA_64:
+             result = get_ia64_segment_type (p_type);
+             break;
            default:
              result = NULL;
              break;