[PATCH v2] ia64: don't use dynamic relocations for local symbols PR other/60465
commitface88a110a3c1970119ba5fea9679609242975c
authorSergei Trofimovich <siarheit@google.com>
Tue, 5 Jan 2016 17:57:05 +0000 (5 17:57 +0000)
committerJeff Law <law@gcc.gnu.org>
Tue, 5 Jan 2016 17:57:05 +0000 (5 10:57 -0700)
treea68c987f368170593f89e4702fe5083696175be2
parenta0866effcd38476b14e96b069ac697e08f5f5b79
[PATCH v2] ia64: don't use dynamic relocations for local symbols PR other/60465

[PATCH v2] ia64: don't use dynamic relocations for local symbols
PR other/60465
* config/ia64/ia64.c (ia64_expand_load_address): Use gprel64
for local symbolic operands.
* config/ia64/predicates.md (local_symbolic_operand64): New
predicate.

        PR other/60465
* gcc.target/ia64/pr60465-gprel64.c: New test.
* gcc.target/ia64/pr60465-gprel64-c37.c: New test.

From-SVN: r232080
gcc/ChangeLog
gcc/config/ia64/ia64.c
gcc/config/ia64/predicates.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/ia64/pr60465-gprel64-c37.c [new file with mode: 0644]
gcc/testsuite/gcc.target/ia64/pr60465-gprel64.c [new file with mode: 0644]