(ENCODE_SECTION_INFO): Only calls may go through the PLT.
authorRichard Kenner <kenner@gcc.gnu.org>
Tue, 27 Sep 1994 23:27:44 +0000 (19:27 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Tue, 27 Sep 1994 23:27:44 +0000 (19:27 -0400)
(ENCODE_SECTION_INFO): Only calls may go through the PLT. All address
loads, even function address loads, have to go through the GOT or
function addresses will not be unique.

From-SVN: r8152

gcc/config/ns32k/ns32k.h

index 6cf887f0791b5b2dcedc8b873cd6afa3d0375479..710abc7e2f050eb0ec70cb8f8dfa94825504def5 100644 (file)
@@ -1062,7 +1062,6 @@ do                                                                        \
                   ? TREE_CST_RTL (DECL) : DECL_RTL (DECL));            \
        SYMBOL_REF_FLAG (XEXP (rtl, 0))                                 \
          = (TREE_CODE_CLASS (TREE_CODE (DECL)) != 'd'                  \
-            || TREE_CODE (DECL) == FUNCTION_DECL                       \
             || ! TREE_PUBLIC (DECL));                                  \
       }                                                                        \
   }                                                                    \