tc-hppa.c SOM and branch limit fixes

John David Anglin dave@hiauly1.hia.nrc.ca
Wed Sep 27 23:44:00 GMT 2000


> gas/ChangeLog
> 	* config/tc-hppa.c (md_apply_fix): Add fmt assertion.  Don't
> 	adjust for external and weak syms as we will use a reloc.  Allow
> 	for +8 offset when calculating limits of branches.
> 	(hppa_fix_adjustable): Undo 2000-09-23 change.
> 	(hppa_force_relocation): Likewise.  Add fx_addsy assertion.
> 	Correct distance calculation.
> 	(tc_gen_reloc): Print the file name and line number if we can't
> 	handle a fixup.

In addition to the reduce.s testsuite failure that I noted before, this
test

    # Test for an off-by-2 bug in range check for conditional branches
    gas_test_error "brlenbug.s" "" "Check for error(s) in branch length"

in unsorted.exp now fails, probably due the change in calculating branch
limits.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)


More information about the Binutils mailing list