Check whether symbols with MOVW_.ABS relocations require PLT entries (aarch64).
authorEgeyar Bagcioglu <egeyar.bagcioglu@oracle.com>
Wed, 20 Feb 2019 00:12:44 +0000 (16:12 -0800)
committerCary Coutant <ccoutant@gmail.com>
Wed, 20 Feb 2019 00:13:24 +0000 (16:13 -0800)
commit7ae39e2d406dbec568c5ffd462119037b994fdf9
tree8f6e921deb682b55a758a42f3305a8cb1cc29bd3
parentabaeb1562648d4b58497040a20d772bd08c06d4b
Check whether symbols with MOVW_.ABS relocations require PLT entries (aarch64).

2019-02-19  Egeyar Bagcioglu  <egeyar.bagcioglu@oracle.com>

gold/
     PR gold/23870
     * aarch64.cc (Target_aarch64::Scan::global): Check if a symbol with
     R_AARCH64_MOVW_.ABS_* relocations requires a PLT entry.
     * testsuite/Makefile.am: Add aarch64_pr23870 test case.
     * testsuite/Makefile.in: Regenerate.
     * testsuite/aarch64_pr23870_bar.c: New file.
     * testsuite/aarch64_pr23870_foo.c: New file.
     * testsuite/aarch64_pr23870_main.S: New file.
gold/ChangeLog
gold/aarch64.cc
gold/testsuite/Makefile.am
gold/testsuite/Makefile.in
gold/testsuite/aarch64_pr23870_bar.c [new file with mode: 0644]
gold/testsuite/aarch64_pr23870_foo.c [new file with mode: 0644]
gold/testsuite/aarch64_pr23870_main.S [new file with mode: 0644]