binutils-2.10 amodra

Alan Modra amodra@puffin.external.hp.com
Wed, 16 Aug 2000 00:58:34 -0600


CVSROOT:	/home/cvs/parisc
Module name:	binutils-2.10
Changes by:	amodra	00/08/16 00:58:34

Modified files:
	bfd            : ChangeLog elf-hppa.h elf32-hppa.c elf64-hppa.c 
	gas/config     : tc-hppa.c 
	include/elf    : ChangeLog hppa.h 

Log message:
Implement 12-bit branch stub support by using a new reloc.

Yesterday's hack of using PCREL17F for both 12 and 17-bit branches
then reading the insn to differentiate between the two could require
the section contents to be read many times in pathological cases.
If adding a branch stub caused another branch to stretch to breaking
point, we'd have to add another stub, which could cause yet another
branch to stretch...  Each time round the loop we added a stub causes
all branch relocs to be examined, and section contents to be read.