aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-mcore.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>1999-06-16 02:11:50 +0000
committerNick Clifton <nickc@redhat.com>1999-06-16 02:11:50 +0000
commit59d23ada01cd8b5b572c3664df97327f9da7d8e9 (patch)
tree1ba3690e65d4957ac1ac3dcc26bc94d3083f4226 /bfd/elf32-mcore.c
parent0c3ff40b22b8e1ebe83890db309ecf14523a3b87 (diff)
downloadgdb-59d23ada01cd8b5b572c3664df97327f9da7d8e9.zip
gdb-59d23ada01cd8b5b572c3664df97327f9da7d8e9.tar.gz
gdb-59d23ada01cd8b5b572c3664df97327f9da7d8e9.tar.bz2
Fix definition of R_MCORE_NONE reloc
Diffstat (limited to 'bfd/elf32-mcore.c')
-rw-r--r--bfd/elf32-mcore.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/bfd/elf32-mcore.c b/bfd/elf32-mcore.c
index 0f78002..fe0ddc5 100644
--- a/bfd/elf32-mcore.c
+++ b/bfd/elf32-mcore.c
@@ -1,4 +1,4 @@
-/* Motorolla MCore specific support for 32-bit ELF
+/* Motorola MCore specific support for 32-bit ELF
Copyright 1994, 1995, 1999 Free Software Foundation, Inc.
This file is part of BFD, the Binary File Descriptor library.
@@ -57,16 +57,16 @@ static reloc_howto_type mcore_elf_howto_raw[] =
HOWTO (R_MCORE_NONE, /* type */
0, /* rightshift */
2, /* size (0 = byte, 1 = short, 2 = long) */
- 1, /* bitsize */
- true, /* pc_relative */
+ 32, /* bitsize */
+ false, /* pc_relative */
0, /* bitpos */
complain_overflow_bitfield, /* complain_on_overflow */
- mcore_elf_unsupported_reloc, /* special_function */
+ NULL, /* special_function */
"R_MCORE_NONE", /* name */
false, /* partial_inplace */
0, /* src_mask */
0, /* dst_mask */
- true), /* pcrel_offset */
+ false), /* pcrel_offset */
/* A standard 32 bit relocation. */
HOWTO (R_MCORE_ADDR32, /* type */
@@ -209,7 +209,7 @@ static reloc_howto_type mcore_elf_howto_raw[] =
true, /* partial_inplace */
0xffffffff, /* src_mask */
0xffffffff, /* dst_mask */
- true) /* pcrel_offset */
+ false) /* pcrel_offset */
};
#ifndef NUM_ELEM