diff options
author | Alan Modra <amodra@gmail.com> | 2000-03-17 02:02:38 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2000-03-17 02:02:38 +0000 |
commit | d5afc56eb1c6a3cc0b3e899664bb59689ba12417 (patch) | |
tree | 170ee8ab0d6cf599f39368e5ff65b76233b9ef04 /gdb/language.c | |
parent | 17f9defb0b0670c472e58af60cfa96ba4c3eaafb (diff) | |
download | gdb-d5afc56eb1c6a3cc0b3e899664bb59689ba12417.zip gdb-d5afc56eb1c6a3cc0b3e899664bb59689ba12417.tar.gz gdb-d5afc56eb1c6a3cc0b3e899664bb59689ba12417.tar.bz2 |
Extend the allowed bitfield range (ie. that for which
complain_overflow_bitfield doesn't complain) from -2**(n-1)..2**n-1 to
-2**n..2**n. This might mean that some reloc overflows are no longer
caught, but it solves the address wrap problem for 16-bit relocs
nicely. In any case, ports that rely on complain_overflow_bitfield
for reloc overflow checking were not getting a very good check
previously. A bitfield range in a machine instruction is typically
either the signed or unsigned n bit numbers, not the overlap of these
two ranges.
Diffstat (limited to 'gdb/language.c')
0 files changed, 0 insertions, 0 deletions