From 8d16fe5cdbf1351d7b6510211e9d8db20bf9614d Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Wed, 18 Dec 1996 17:09:59 +0000 Subject: [PATCH] * elf32-mn10200.c (enum reloc_type): Enable basic 8, 16, and 32 bit relocs. (elf_mn10200_howto_table): Likewise. (mn10200_reloc_map): Likewise. To keep the assembler quiet. --- bfd/ChangeLog | 7 +++++++ bfd/elf32-mn10200.c | 36 +++--------------------------------- 2 files changed, 10 insertions(+), 33 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 22d6dd059b3..4b1377e7b24 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,10 @@ +Wed Dec 18 10:04:30 1996 Jeffrey A Law (law@cygnus.com) + + * elf32-mn10200.c (enum reloc_type): Enable basic 8, 16, and + 32 bit relocs. + (elf_mn10200_howto_table): Likewise. + (mn10200_reloc_map): Likewise. + Tue Dec 17 11:09:36 1996 Ian Lance Taylor * elf32-mips.c (mips_elf_add_symbol_hook): Add 1 to the value of a diff --git a/bfd/elf32-mn10200.c b/bfd/elf32-mn10200.c index 7c2431733fd..15f8f3a2462 100644 --- a/bfd/elf32-mn10200.c +++ b/bfd/elf32-mn10200.c @@ -37,12 +37,10 @@ static bfd_reloc_status_type bfd_elf32_mn10200_reloc enum reloc_type { R_MN10200_NONE = 0, -#if 0 R_MN10200_32, R_MN10200_16, R_MN10200_8, - R_MN10200_32B, - R_MN10200_16B, +#if 0 R_MN10200_PCREL32_1BYTE, R_MN10200_PCREL16_1BYTE, R_MN10200_PCREL8_1BYTE, @@ -68,7 +66,6 @@ static reloc_howto_type elf_mn10200_howto_table[] = 0, 0, false), -#if 0 /* Standard 32 bit reloc. */ HOWTO (R_MN10200_32, 0, @@ -111,34 +108,7 @@ static reloc_howto_type elf_mn10200_howto_table[] = 0xff, 0xff, false), - /* Standard 32 bit reloc, except it explicitly writes big-endian format. */ - HOWTO (R_MN10200_32B, - 0, - 2, - 32, - false, - 0, - complain_overflow_bitfield, - bfd_elf32_mn10200_reloc, - "R_MN10200_32B", - false, - 0xffffffff, - 0xffffffff, - false), - /* Standard 16 bit reloc, except it explicitly writes big-endian format. */ - HOWTO (R_MN10200_16B, - 0, - 1, - 16, - false, - 0, - complain_overflow_bitfield, - bfd_elf32_mn10200_reloc, - "R_MN10200_16B", - false, - 0xffff, - 0xffff, - false), +#if 0 /* Simple 32bit pc-relative reloc with a 1 byte adjustment to get the pc-relative offset correct. */ HOWTO (R_MN10200_PCREL32_1BYTE, @@ -226,10 +196,10 @@ struct mn10200_reloc_map static const struct mn10200_reloc_map mn10200_reloc_map[] = { { BFD_RELOC_NONE, R_MN10200_NONE, }, -#if 0 { BFD_RELOC_32, R_MN10200_32, }, { BFD_RELOC_16, R_MN10200_16, }, { BFD_RELOC_8, R_MN10200_8, }, +#if 0 { BFD_RELOC_MN10200_32B, R_MN10200_32B, }, { BFD_RELOC_MN10200_16B, R_MN10200_16B, }, { BFD_RELOC_32_PCREL, R_MN10200_PCREL32_1BYTE, }, -- 2.30.2