summaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2003-05-12 09:12:48 +0000
committerNick Clifton <nickc@redhat.com>2003-05-12 09:12:48 +0000
commit991a4af4f61eac6cefe93ccf66f98f2efb5fc018 (patch)
tree84d2bfe07cd6b3567d8ac87fdf41fe43a6406b29 /bfd
parentcb0b4ed6c9878ea40ba14ff5bbdaa8335126834d (diff)
downloadbinutils-redhat-991a4af4f61eac6cefe93ccf66f98f2efb5fc018.tar.gz
Use "bitfield" overflow detection for R_XSTORMY16_16 reloc.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elf32-xstormy16.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 1938066cbb..949d8b2335 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2003-05-12 Nick Clifton <nickc@redhat.com>
+
+ * elf32-xstormy16.c (xstormy16_elf_howto_table): use 'bitfield'
+ overflow detection for R_XSTORMY16_16 reloc.
+
2003-05-12 Paul Clarke <paulc@senet.com.au>
* elf32-h8300.c: Fix typo in name of R_H8_DIR8 reloc.
diff --git a/bfd/elf32-xstormy16.c b/bfd/elf32-xstormy16.c
index 2964d343cb..a5b2869e37 100644
--- a/bfd/elf32-xstormy16.c
+++ b/bfd/elf32-xstormy16.c
@@ -96,7 +96,7 @@ static reloc_howto_type xstormy16_elf_howto_table [] =
16, /* bitsize */
FALSE, /* pc_relative */
0, /* bitpos */
- complain_overflow_dont, /* complain_on_overflow */
+ complain_overflow_bitfield, /* complain_on_overflow */
bfd_elf_generic_reloc, /* special_function */
"R_XSTORMY16_16", /* name */
FALSE, /* partial_inplace */