This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[committed] New elf hppa defines
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: binutils at sources dot redhat dot com
- Date: Tue, 9 Aug 2005 22:54:51 -0400 (EDT)
- Subject: [committed] New elf hppa defines
I've added a few more defines to elf/hppa.h derived from elf_parisc.h
in HPUX 11.11.
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-09 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
* hppa.h (SHT_PARISC_DLKM, SHF_PARISC_WEAKORDER, PT_PARISC_WEAKORDER):
New defines.
Index: hppa.h
===================================================================
RCS file: /cvs/src/src/include/elf/hppa.h,v
retrieving revision 1.17
diff -u -3 -p -r1.17 hppa.h
--- hppa.h 4 Aug 2005 17:15:07 -0000 1.17
+++ hppa.h 10 Aug 2005 02:32:34 -0000
@@ -74,6 +74,9 @@ Foundation, Inc., 51 Franklin Street - F
/* Section contains code annotations. */
#define SHT_PARISC_ANNOT 0x70000003
+/* DLKM special section. */
+#define SHT_PARISC_DLKM 0x70000004
+
/* These are strictly for compatibility with the older elf32-hppa
implementation. Hopefully we can eliminate them in the future. */
/* Optional section holding argument location/relocation info. */
@@ -93,6 +96,8 @@ Foundation, Inc., 51 Franklin Street - F
/* Section should go near GP. */
#define SHF_PARISC_SHORT 0x20000000
+/* Section is weak ordered. */
+#define SHF_PARISC_WEAKORDER 0x10000000
/* Identifies the entry point of a millicode routine. */
#define STT_PARISC_MILLI 13
@@ -489,6 +494,7 @@ typedef enum elf_hppa_reloc_type elf_hpp
#define PT_PARISC_ARCHEXT 0x70000000
#define PT_PARISC_UNWIND 0x70000001
+#define PT_PARISC_WEAKORDER 0x70000002
/* Flag bits in p_flags of ElfXX_Phdr. */
#define PF_HP_CODE 0x00040000