aboutsummaryrefslogtreecommitdiff
path: root/binutils/readelf.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-01-06 11:13:31 +0000
committerAlan Modra <amodra@gmail.com>2002-01-06 11:13:31 +0000
commit00428cca73469c4251bfba68c249fb783d686097 (patch)
tree4f6e805d10047f6ae1f8780801eb32cce381570f /binutils/readelf.c
parent8661be6aa6d3e68883524e68e4a37f6eb8993fd4 (diff)
downloadgdb-00428cca73469c4251bfba68c249fb783d686097.zip
gdb-00428cca73469c4251bfba68c249fb783d686097.tar.gz
gdb-00428cca73469c4251bfba68c249fb783d686097.tar.bz2
* readelf.c (get_ia64_segment_type): Add support for macros.
(get_segment_type): Add support for IA64 specific macros.
Diffstat (limited to 'binutils/readelf.c')
-rw-r--r--binutils/readelf.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/binutils/readelf.c b/binutils/readelf.c
index 400b7c3..100a7dc 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -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;