From: Richard Kenner Date: Tue, 27 Sep 1994 23:27:44 +0000 (-0400) Subject: (ENCODE_SECTION_INFO): Only calls may go through the PLT. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0102f053893972261409e37c58678fbd2e2b5fe2;p=gcc.git (ENCODE_SECTION_INFO): Only calls may go through the PLT. (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 --- diff --git a/gcc/config/ns32k/ns32k.h b/gcc/config/ns32k/ns32k.h index 6cf887f0791..710abc7e2f0 100644 --- a/gcc/config/ns32k/ns32k.h +++ b/gcc/config/ns32k/ns32k.h @@ -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)); \ } \ } \