diff options
author | Jeff Law <law@redhat.com> | 1996-12-18 17:09:59 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1996-12-18 17:09:59 +0000 |
commit | 8d16fe5cdbf1351d7b6510211e9d8db20bf9614d (patch) | |
tree | b620fd99ab5db89f6367fb22591dc64242a46045 /bfd | |
parent | f5e38044dfa33817ab2f3e1c612bf4208c4ea7e3 (diff) | |
download | gdb-8d16fe5cdbf1351d7b6510211e9d8db20bf9614d.zip gdb-8d16fe5cdbf1351d7b6510211e9d8db20bf9614d.tar.gz gdb-8d16fe5cdbf1351d7b6510211e9d8db20bf9614d.tar.bz2 |
* 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.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 7 | ||||
-rw-r--r-- | bfd/elf32-mn10200.c | 36 |
2 files changed, 10 insertions, 33 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 22d6dd0..4b1377e 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 <ian@cygnus.com> * 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 7c24317..15f8f3a 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, }, |