mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 04:00:07 +08:00
* elf32-mn10300.c (mn10300_info_howto): Renamed from
mn10300-Info_howto_rel. Tweak reloc argument to be an Elf32_Internal_Rela. (USE_RELA): Define instead of USE_REL. (elf_info_to_howto, elf_info_howto_rel): Corresponding changes.
This commit is contained in:
@ -1,3 +1,11 @@
|
|||||||
|
Mon Dec 2 00:39:24 1996 Jeffrey A Law (law@cygnus.com)
|
||||||
|
|
||||||
|
* elf32-mn10300.c (mn10300_info_howto): Renamed from
|
||||||
|
mn10300-Info_howto_rel. Tweak reloc argument to be an
|
||||||
|
Elf32_Internal_Rela.
|
||||||
|
(USE_RELA): Define instead of USE_REL.
|
||||||
|
(elf_info_to_howto, elf_info_howto_rel): Corresponding changes.
|
||||||
|
|
||||||
Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
|
Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
|
||||||
|
|
||||||
* configure.in, configure: Handle mips*-sgi-irix6*.
|
* configure.in, configure: Handle mips*-sgi-irix6*.
|
||||||
|
@ -24,15 +24,15 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
|||||||
|
|
||||||
static reloc_howto_type *bfd_elf32_bfd_reloc_type_lookup
|
static reloc_howto_type *bfd_elf32_bfd_reloc_type_lookup
|
||||||
PARAMS ((bfd *abfd, bfd_reloc_code_real_type code));
|
PARAMS ((bfd *abfd, bfd_reloc_code_real_type code));
|
||||||
static void mn10300_info_to_howto_rel
|
static void mn10300_info_to_howto
|
||||||
PARAMS ((bfd *, arelent *, Elf32_Internal_Rel *));
|
PARAMS ((bfd *, arelent *, Elf32_Internal_Rela *));
|
||||||
static bfd_reloc_status_type bfd_elf32_mn10300_reloc
|
static bfd_reloc_status_type bfd_elf32_mn10300_reloc
|
||||||
PARAMS ((bfd *, arelent *, asymbol *, PTR, asection *, bfd *, char **));
|
PARAMS ((bfd *, arelent *, asymbol *, PTR, asection *, bfd *, char **));
|
||||||
|
|
||||||
|
|
||||||
/* Try to minimize the amount of space occupied by relocation tables
|
/* We have to use RELA instructions since md_apply_fix3 in the assembler
|
||||||
on the ROM (not that the ROM won't be swamped by other ELF overhead). */
|
does absolutely nothing. */
|
||||||
#define USE_REL
|
#define USE_RELA
|
||||||
|
|
||||||
enum reloc_type
|
enum reloc_type
|
||||||
{
|
{
|
||||||
@ -240,10 +240,10 @@ bfd_elf32_bfd_reloc_type_lookup (abfd, code)
|
|||||||
/* Set the howto pointer for an MN10300 ELF reloc. */
|
/* Set the howto pointer for an MN10300 ELF reloc. */
|
||||||
|
|
||||||
static void
|
static void
|
||||||
mn10300_info_to_howto_rel (abfd, cache_ptr, dst)
|
mn10300_info_to_howto (abfd, cache_ptr, dst)
|
||||||
bfd *abfd;
|
bfd *abfd;
|
||||||
arelent *cache_ptr;
|
arelent *cache_ptr;
|
||||||
Elf32_Internal_Rel *dst;
|
Elf32_Internal_Rela *dst;
|
||||||
{
|
{
|
||||||
unsigned int r_type;
|
unsigned int r_type;
|
||||||
|
|
||||||
@ -353,7 +353,7 @@ bfd_elf32_mn10300_reloc (abfd, reloc, symbol, data, isection, obfd, err)
|
|||||||
#define ELF_MACHINE_CODE EM_CYGNUS_MN10300
|
#define ELF_MACHINE_CODE EM_CYGNUS_MN10300
|
||||||
#define ELF_MAXPAGESIZE 0x1000
|
#define ELF_MAXPAGESIZE 0x1000
|
||||||
|
|
||||||
#define elf_info_to_howto 0
|
#define elf_info_to_howto mn10300_info_to_howto
|
||||||
#define elf_info_to_howto_rel mn10300_info_to_howto_rel
|
#define elf_info_to_howto_rel 0
|
||||||
|
|
||||||
#include "elf32-target.h"
|
#include "elf32-target.h"
|
||||||
|
Reference in New Issue
Block a user