aboutsummaryrefslogtreecommitdiff
path: root/include/elf/alpha.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2001-09-05 02:54:37 +0000
committerRichard Henderson <rth@redhat.com>2001-09-05 02:54:37 +0000
commite3883bf957e3a9857b5cc6b82c096e5fb5992b27 (patch)
treed97e157c6b61fa8605c369da51043c1ac6566d05 /include/elf/alpha.h
parentd3d55eeb77a7ca75c6ae21c3a3b964c59b14574b (diff)
downloadgdb-e3883bf957e3a9857b5cc6b82c096e5fb5992b27.zip
gdb-e3883bf957e3a9857b5cc6b82c096e5fb5992b27.tar.gz
gdb-e3883bf957e3a9857b5cc6b82c096e5fb5992b27.tar.bz2
* alpha.h (R_ALPHA_OP*, R_ALPHA_IMMED*, R_ALPHA_GPVALUE): Remove.
(R_ALPHA_GPREL16): Rename from R_ALPHA_IMMED_GP_16.
Diffstat (limited to 'include/elf/alpha.h')
-rw-r--r--include/elf/alpha.h26
1 files changed, 9 insertions, 17 deletions
diff --git a/include/elf/alpha.h b/include/elf/alpha.h
index 8bf67bd..ab429d4 100644
--- a/include/elf/alpha.h
+++ b/include/elf/alpha.h
@@ -80,23 +80,15 @@ START_RELOC_NUMBERS (elf_alpha_reloc_type)
RELOC_NUMBER (R_ALPHA_SREL32, 10) /* PC relative 32 bit */
RELOC_NUMBER (R_ALPHA_SREL64, 11) /* PC relative 64 bit */
-/* Inherited these from ECOFF, but they are not particularly useful
- and are depreciated. And not implemented in the BFD, btw. */
- RELOC_NUMBER (R_ALPHA_OP_PUSH, 12) /* OP stack push */
- RELOC_NUMBER (R_ALPHA_OP_STORE, 13) /* OP stack pop and store */
- RELOC_NUMBER (R_ALPHA_OP_PSUB, 14) /* OP stack subtract */
- RELOC_NUMBER (R_ALPHA_OP_PRSHIFT, 15) /* OP stack right shift */
-
- RELOC_NUMBER (R_ALPHA_GPVALUE, 16)
- RELOC_NUMBER (R_ALPHA_GPRELHIGH, 17)
- RELOC_NUMBER (R_ALPHA_GPRELLOW, 18)
- RELOC_NUMBER (R_ALPHA_IMMED_GP_16, 19)
- RELOC_NUMBER (R_ALPHA_IMMED_GP_HI32, 20)
- RELOC_NUMBER (R_ALPHA_IMMED_SCN_HI32, 21)
- RELOC_NUMBER (R_ALPHA_IMMED_BR_HI32, 22)
- RELOC_NUMBER (R_ALPHA_IMMED_LO32, 23)
-
-/* These relocations are specific to shared libraries. */
+ /* Skip 12 - 16; deprecated ECOFF relocs. */
+
+ RELOC_NUMBER (R_ALPHA_GPRELHIGH, 17) /* GP relative 32 bit, high 16 bits */
+ RELOC_NUMBER (R_ALPHA_GPRELLOW, 18) /* GP relative 32 bit, low 16 bits */
+ RELOC_NUMBER (R_ALPHA_GPREL16, 19) /* GP relative 16 bit */
+
+ /* Skip 20 - 23; deprecated ECOFF relocs. */
+
+ /* These relocations are specific to shared libraries. */
RELOC_NUMBER (R_ALPHA_COPY, 24) /* Copy symbol at runtime */
RELOC_NUMBER (R_ALPHA_GLOB_DAT, 25) /* Create GOT entry */
RELOC_NUMBER (R_ALPHA_JMP_SLOT, 26) /* Create PLT entry */