From f4b9d8efb98b8d65beae3cec24d881927d1a94f0 Mon Sep 17 00:00:00 2001 From: Hans-Peter Nilsson Date: Sat, 18 Oct 2003 15:46:35 +0000 Subject: [PATCH] * 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. --- include/elf/ChangeLog | 8 ++++++++ include/elf/mmix.h | 9 ++++++--- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog index d42268f..dbf3297 100644 --- a/include/elf/ChangeLog +++ b/include/elf/ChangeLog @@ -1,3 +1,11 @@ +2003-10-18 Hans-Peter Nilsson + + * 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. + 2003-10-06 Dave Brolley * frv.h (EF_FRV_CPU_FR550): New macro. 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 *); -- 2.7.4