This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[committed] Handle a couple of new parisc cases in readelf
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: binutils at sources dot redhat dot com
- Date: Sat, 13 Aug 2005 20:03:49 -0400 (EDT)
- Subject: [committed] Handle a couple of new parisc cases in readelf
The following change adds support for a couple of new parisc specific bits
that were recently added to elf/hppa.h.
Tested on hppa64-hp-hpux11.11.
Dave
--
J. David Anglin dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)
2005-08-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
* readelf.c (get_parisc_segment_type): Handle PT_PARISC_WEAKORDER.
(get_parisc_section_type_name): Handle SHT_PARISC_DLKM.
Index: readelf.c
===================================================================
RCS file: /cvs/src/src/binutils/readelf.c,v
retrieving revision 1.310
diff -u -3 -p -r1.310 readelf.c
--- readelf.c 11 Aug 2005 13:14:26 -0000 1.310
+++ readelf.c 13 Aug 2005 23:40:06 -0000
@@ -2411,6 +2411,7 @@ get_parisc_segment_type (unsigned long t
case PT_HP_CORE_UTSNAME: return "HP_CORE_UTSNAME";
case PT_PARISC_ARCHEXT: return "PARISC_ARCHEXT";
case PT_PARISC_UNWIND: return "PARISC_UNWIND";
+ case PT_PARISC_WEAKORDER: return "PARISC_WEAKORDER";
default:
break;
}
@@ -2577,6 +2578,7 @@ get_parisc_section_type_name (unsigned i
case SHT_PARISC_ANNOT: return "PARISC_ANNOT";
case SHT_PARISC_SYMEXTN: return "PARISC_SYMEXTN";
case SHT_PARISC_STUBS: return "PARISC_STUBS";
+ case SHT_PARISC_DLKM: return "PARISC_DLKM";
default:
break;
}