Commit 605201ba by John David Anglin Committed by John David Anglin

re PR target/16459 (ld: libbackend.a(expr.o)(.text+0x40c2c): cannot handle…

re PR target/16459 (ld: libbackend.a(expr.o)(.text+0x40c2c): cannot handle R_PARISC_PCREL17F for $$dyncall)

	PR target/16459
	* pa.c (output_indirect_call): Use %r2 as the link register when
	calling $$dyncall with a pc-relative branch.

From-SVN: r84394
parent b984b4bf
2004-07-09 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
PR target/16459
* pa.c (output_indirect_call): Use %r2 as the link register when
calling $$dyncall with a pc-relative branch.
2004-07-08 Gerald Pfeifer <gerald@pfeifer.com>
* doc/install.texi (Binaries): Mention OpenPKG.
......
......@@ -7545,7 +7545,7 @@ output_indirect_call (rtx insn, rtx call_dest)
No need to check target flags as the length uniquely identifies
the remaining cases. */
if (attr_length_indirect_call (insn) == 8)
return ".CALL\tARGW0=GR\n\t{bl|b,l} $$dyncall,%%r31\n\tcopy %%r31,%%r2";
return ".CALL\tARGW0=GR\n\t{bl|b,l} $$dyncall,%%r2\n\tcopy %%r2,%%r31";
/* Long millicode call, but we are not generating PIC or portable runtime
code. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment