* readelf.c (get_ia64_segment_type): Add support for macros.

(get_segment_type): Add support for IA64 specific macros.
This commit is contained in:
Alan Modra 2002-01-06 11:13:31 +00:00
parent 8661be6aa6
commit 00428cca73
2 changed files with 12 additions and 0 deletions

View 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> 2001-12-20 Julian v. Bock <julian@wongr.net>
* readelf.c (print_symbol): New function: Print a formatted symbol * readelf.c (print_symbol): New function: Print a formatted symbol

View File

@ -1861,6 +1861,10 @@ get_ia64_segment_type (type)
{ {
case PT_IA_64_ARCHEXT: return "IA_64_ARCHEXT"; case PT_IA_64_ARCHEXT: return "IA_64_ARCHEXT";
case PT_IA_64_UNWIND: return "IA_64_UNWIND"; 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: default:
break; break;
} }
@ -1923,6 +1927,9 @@ get_segment_type (p_type)
case EM_PARISC: case EM_PARISC:
result = get_parisc_segment_type (p_type); result = get_parisc_segment_type (p_type);
break; break;
case EM_IA_64:
result = get_ia64_segment_type (p_type);
break;
default: default:
result = NULL; result = NULL;
break; break;