Commit 0102f053 by Richard Kenner

(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
parent f9cf182e
......@@ -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)); \
} \
} \
......
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