diff options
author | Wilco Dijkstra <wdijkstr@arm.com> | 2021-05-24 14:23:50 +0100 |
---|---|---|
committer | Wilco Dijkstra <wdijkstr@arm.com> | 2021-05-24 15:00:42 +0100 |
commit | fb0746f3a6b7fd0223efa71d0dc3fc02166e338b (patch) | |
tree | 6d33863b04eb6fde1fe3119fd59b0178312ea94a /gcc/fortran/trans-expr.c | |
parent | 4eaf65ed6a6fbeefae28bd850329fb226e76f861 (diff) | |
download | gcc-fb0746f3a6b7fd0223efa71d0dc3fc02166e338b.zip gcc-fb0746f3a6b7fd0223efa71d0dc3fc02166e338b.tar.gz gcc-fb0746f3a6b7fd0223efa71d0dc3fc02166e338b.tar.bz2 |
AArch64: Cleanup aarch64_classify_symbol
Use a GOT indirection for extern weak symbols instead of a literal - this is
the same as PIC/PIE and mirrors LLVM behaviour. Ensure PIC/PIE use the same
offset limits for symbols that don't use the GOT.
Passes bootstrap and regress.
ChangeLog:
2021-04-27 Wilco Dijkstra <wdijkstr@arm.com>
* config/aarch64/aarch64.c (aarch64_classify_symbol): Use GOT for
extern weak symbols. Limit symbol offsets for non-GOT symbols with
PIC/PIE.
Diffstat (limited to 'gcc/fortran/trans-expr.c')
0 files changed, 0 insertions, 0 deletions