diff options
author | Iain Sandoe <iain@sandoe.co.uk> | 2020-09-02 20:33:00 +0100 |
---|---|---|
committer | Iain Sandoe <iain@sandoe.co.uk> | 2021-11-05 21:00:53 +0000 |
commit | f1e2879ecfc8897df0e25a53e81d1868363c5e08 (patch) | |
tree | 2e1f116e884e1c42932bcfca88b89ad928d5b8c1 /gcc/fortran/resolve.c | |
parent | f8a1e0699328268e98e18eb100f5af37e92dab9f (diff) | |
download | gcc-f1e2879ecfc8897df0e25a53e81d1868363c5e08.zip gcc-f1e2879ecfc8897df0e25a53e81d1868363c5e08.tar.gz gcc-f1e2879ecfc8897df0e25a53e81d1868363c5e08.tar.bz2 |
Darwin : Make trampoline templates linker-visible.
For aarch64, the alignment of the LTRAMPn symbols matters.
Actually, the LTRAMPn symbols _are_ 8 byte aligned, but because
they are Local, the linker doesn't know that this guarantee can be met.
It assumes that they are not necessarily more aligned than the
containing section (ld64 atoms strike again).
The fix is to publish the trampoline symbol for the linker to access
directly - it can then see that the atom is suitably aligned.
Fixes issue #11 on the development branch.
Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
gcc/ChangeLog:
* config/darwin.h (ASM_GENERATE_INTERNAL_LABEL): Add LTRAMP
to the list of symbol prefixes that must be made linker-
visible.
Diffstat (limited to 'gcc/fortran/resolve.c')
0 files changed, 0 insertions, 0 deletions