[committed] Fix length of long non-pic millicode calls on PA
John David Anglin
dave.anglin@bell.net
Sun Jan 19 18:33:00 GMT 2014
The attached change fixes a segmentation fault bootstrapping GCC on
hppa2.0-hp-hpux11.11.
The length of long non-pic millicode calls does not depend on
TARGET_LONG_ABS_CALL.
As a result, the length of long non-pic millicode calls was being
overestimated.
This broke the millicode call to $$sh_func_adrs. It has a couple of
branches that branch past
the call when a call isn't needed.
Tested on hppa2.0w-hp-hpux11.11 and hppa-unknown-linux-gnu. Committed
to active branches.
Dave
--
John David Anglin dave.anglin@bell.net
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pa.c.d.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20140119/83c7dde9/attachment.txt>
More information about the Gcc-patches
mailing list