From 0afb2dc07860a7fa1b1f6786e1d03281c60b35a4 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 12 May 2003 09:12:48 +0000 Subject: [PATCH] Use "bitfield" overflow detection for R_XSTORMY16_16 reloc. --- bfd/ChangeLog | 5 +++++ bfd/elf32-xstormy16.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 1938066cbbc..949d8b2335d 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2003-05-12 Nick Clifton + + * elf32-xstormy16.c (xstormy16_elf_howto_table): use 'bitfield' + overflow detection for R_XSTORMY16_16 reloc. + 2003-05-12 Paul Clarke * 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 2964d343cb3..a5b2869e371 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 */ -- 2.30.2