aboutsummaryrefslogtreecommitdiff
path: root/bfd/bfd-in2.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2005-12-08 11:05:36 +0000
committerAlan Modra <amodra@gmail.com>2005-12-08 11:05:36 +0000
commita7985d7382642610f87799e271e3854079eba6b2 (patch)
tree04d12b0edad4524aa7e49174df28bf32e14670d5 /bfd/bfd-in2.h
parent3950dc3f514d6a60c003565e610c925bc7cf4abf (diff)
downloadgdb-a7985d7382642610f87799e271e3854079eba6b2.zip
gdb-a7985d7382642610f87799e271e3854079eba6b2.tar.gz
gdb-a7985d7382642610f87799e271e3854079eba6b2.tar.bz2
* reloc.c (enum complain_overflow): Correct comments.
(bfd_check_overflow): Combine complain_overflow_bitfield and complain_overflow_signed code. (_bfd_relocate_contents): Likewise. (bfd_howto_32): Use complain_overflow_dont. * elf32-d10v.c (elf_d10v_howto_table): Revert 2002-06-17 change. * bfd-in2.h: Regenerate.
Diffstat (limited to 'bfd/bfd-in2.h')
-rw-r--r--bfd/bfd-in2.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index fc02ecf..39c15bd 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -2073,11 +2073,12 @@ enum complain_overflow
/* Do not complain on overflow. */
complain_overflow_dont,
- /* Complain if the bitfield overflows, whether it is considered
- as signed or unsigned. */
+ /* Complain if the value overflows when considered as a signed
+ number one bit larger than the field. ie. A bitfield of N bits
+ is allowed to represent -2**n to 2**n-1. */
complain_overflow_bitfield,
- /* Complain if the value overflows when considered as signed
+ /* Complain if the value overflows when considered as a signed
number. */
complain_overflow_signed,