aboutsummaryrefslogtreecommitdiff
path: root/include/elf/mmix.h
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2003-10-18 15:46:35 +0000
committerHans-Peter Nilsson <hp@axis.com>2003-10-18 15:46:35 +0000
commitf4b9d8efb98b8d65beae3cec24d881927d1a94f0 (patch)
treee43b07e6bd0b4b401e739a9ecda07250a4278de2 /include/elf/mmix.h
parentf60ebe1430678802e6143b20150eb4cac65023b2 (diff)
downloadgdb-f4b9d8efb98b8d65beae3cec24d881927d1a94f0.zip
gdb-f4b9d8efb98b8d65beae3cec24d881927d1a94f0.tar.gz
gdb-f4b9d8efb98b8d65beae3cec24d881927d1a94f0.tar.bz2
* mmix.h (R_MMIX_PUSHJ_STUBBABLE): New reloc number.
(_bfd_mmix_before_linker_allocation): Rename from _bfd_mmix_prepare_linker_allocated_gregs. (_bfd_mmix_after_linker_allocation): Rename from _bfd_mmix_finalize_linker_allocated_gregs.
Diffstat (limited to 'include/elf/mmix.h')
-rw-r--r--include/elf/mmix.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/include/elf/mmix.h b/include/elf/mmix.h
index fef3e91..89778e4 100644
--- a/include/elf/mmix.h
+++ b/include/elf/mmix.h
@@ -23,7 +23,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include "elf/reloc-macros.h"
-/* Relocations. */
+/* Relocations. See the reloc table in bfd/elf64-mmix.c for details. */
START_RELOC_NUMBERS (elf_mmix_reloc_type)
RELOC_NUMBER (R_MMIX_NONE, 0)
@@ -90,6 +90,9 @@ START_RELOC_NUMBERS (elf_mmix_reloc_type)
/* A LOCAL assertion. */
RELOC_NUMBER (R_MMIX_LOCAL, 35)
+
+ /* A PUSHJ instruction, generating a stub if it does not reach. */
+ RELOC_NUMBER (R_MMIX_PUSHJ_STUBBABLE, 36)
END_RELOC_NUMBERS (R_MMIX_max)
@@ -157,9 +160,9 @@ END_RELOC_NUMBERS (R_MMIX_max)
#define MMO_SEC_DEBUGGING 0x10000
#ifdef BFD_ARCH_SIZE
-extern bfd_boolean _bfd_mmix_prepare_linker_allocated_gregs
+extern bfd_boolean _bfd_mmix_before_linker_allocation
(bfd *, struct bfd_link_info *);
-extern bfd_boolean _bfd_mmix_finalize_linker_allocated_gregs
+extern bfd_boolean _bfd_mmix_after_linker_allocation
(bfd *, struct bfd_link_info *);
extern bfd_boolean _bfd_mmix_check_all_relocs
(bfd *, struct bfd_link_info *);