Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Darwin : Make trampoline templates linker-visible.
For Arm64, 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.
- Loading branch information