Fix indirect function pointers on eABI.
authorMichael Meissner <meissner@gcc.gnu.org>
Fri, 3 Feb 1995 19:45:16 +0000 (19:45 +0000)
committerMichael Meissner <meissner@gcc.gnu.org>
Fri, 3 Feb 1995 19:45:16 +0000 (19:45 +0000)
From-SVN: r8857

gcc/config/rs6000/rs6000.md

index 558a5764d79302cc636e0b6d9cbda2a765c6a3b7..e5ee37c260225cf222d88d1a9d339477d8e43cc1 100644 (file)
   operands[0] = XEXP (operands[0], 0);
   if (GET_CODE (operands[0]) != SYMBOL_REF)
     {
+#ifndef USING_SVR4_H
+      /* AIX function pointers are really pointers to a three word area */
       rtx temp = gen_reg_rtx (SImode);
 
       emit_insn (gen_call_via_ptr (temp, force_reg (SImode, operands[0])));
       operands[0] = temp;
+#endif /* !USING_SVR4_H */
     }
 }")
 
   operands[1] = XEXP (operands[1], 0);
   if (GET_CODE (operands[1]) != SYMBOL_REF)
     {
+#ifndef USING_SVR4_H
+      /* AIX function pointers are really pointers to a three word area */
       rtx temp = gen_reg_rtx (SImode);
 
       emit_insn (gen_call_via_ptr (temp, force_reg (SImode, operands[1])));
       operands[1] = temp;
+#endif /* !USING_SVR4_H */
     }
 }")