aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/lib-xref.adb
diff options
context:
space:
mode:
authorRamana Radhakrishnan <ramana.radhakrishnan@arm.com>2016-07-04 09:06:02 +0000
committerRamana Radhakrishnan <ramana@gcc.gnu.org>2016-07-04 09:06:02 +0000
commit15f6e0dac34a243341fba80f8ebdaeec78d766fe (patch)
treee92d0a15a4459d3e662684de30d415d75d78ffa8 /gcc/ada/lib-xref.adb
parentc61465bda5ed50a1bf664211515436f884e6fa66 (diff)
downloadgcc-15f6e0dac34a243341fba80f8ebdaeec78d766fe.zip
gcc-15f6e0dac34a243341fba80f8ebdaeec78d766fe.tar.gz
gcc-15f6e0dac34a243341fba80f8ebdaeec78d766fe.tar.bz2
[AArch64] Fix PR target/63874
In this PR we have a situation where we aren't really detecting weak references vs weak definitions. If one has a weak definition that binds locally there's no reason not to put out PC relative relocations. However if you have a genuine weak reference that is known not to bind locally it makes very little sense to put out an entry into the literal pool which doesn't always work with DSOs and shared objects. Tested aarch64-none-linux-gnu bootstrap and regression test with no regressions 2016-07-04 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> PR target/63874 * config/aarch64/aarch64.c (aarch64_classify_symbol): Fix typo in comment. Only force to memory if it is a weak external reference. 2016-07-04 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> PR target/63874 * gcc.target/aarch64/pr63874.c: New test. From-SVN: r237957
Diffstat (limited to 'gcc/ada/lib-xref.adb')
0 files changed, 0 insertions, 0 deletions