aboutsummaryrefslogtreecommitdiff
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
commit0afb2dc07860a7fa1b1f6786e1d03281c60b35a4 (patch)
tree6ead136fa5dbee07b5d18e1c34e0cf8a50f1aeb2 /bfd
parente66c629e094cbd3923e2cd2962e07baa96ad7ee7 (diff)
downloadgdb-0afb2dc07860a7fa1b1f6786e1d03281c60b35a4.zip
gdb-0afb2dc07860a7fa1b1f6786e1d03281c60b35a4.tar.gz
gdb-0afb2dc07860a7fa1b1f6786e1d03281c60b35a4.tar.bz2
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 1938066..949d8b2 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 2964d34..a5b2869 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 */