rs6000.md (load_toc_v4_PIC_3c): Correct POWER form of instruction.

* config/rs6000/rs6000.md (load_toc_v4_PIC_3c): Correct POWER
	form of instruction.

From-SVN: r152149
This commit is contained in:
Alan Modra 2009-09-25 00:00:01 +00:00 committed by Alan Modra
parent ea2218b44b
commit 50a3c1777e
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2009-09-25 Alan Modra <amodra@bigpond.net.au>
* config/rs6000/rs6000.md (load_toc_v4_PIC_3c): Correct POWER
form of instruction.
2009-09-24 Kai Tietz <kai.tietz@onevision.com>
* libgcc2.c (L_trampoline): Prototype for getpagesize

View File

@ -10749,7 +10749,7 @@
(minus:SI (match_operand:SI 2 "symbol_ref_operand" "s")
(match_operand:SI 3 "symbol_ref_operand" "s"))))]
"TARGET_ELF && TARGET_SECURE_PLT && DEFAULT_ABI != ABI_AIX && flag_pic"
"{cal|addi} %0,%1,%2-%3@l")
"{cal %0,%2-%3@l(%1)|addi %0,%1,%2-%3@l}")
;; If the TOC is shared over a translation unit, as happens with all
;; the kinds of PIC that we support, we need to restore the TOC