src/bfd ChangeLog reloc.c

amodra@sourceware.cygnus.com amodra@sourceware.cygnus.com
Sat Apr 1 00:00:00 GMT 2000


CVSROOT:	/cvs/src
Module name:	src
Changes by:	amodra@sourceware.cygnus.com	00/03/16 18:02:39

Modified files:
	bfd            : ChangeLog reloc.c 

Log message:
	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.

Patches:
http://sourceware.cygnus.com/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&r1=1.361&r2=1.362
http://sourceware.cygnus.com/cgi-bin/cvsweb.cgi/src/bfd/reloc.c.diff?cvsroot=src&r1=1.14&r2=1.15



More information about the Binutils-cvs mailing list