commit | ab00e92e990a4ff8a1a6c5c6c6ac3eda3816f18f | [log] [tgz] |
---|---|---|
author | James Clarke <jrtc27@jrtc27.com> | Wed Jul 18 22:30:42 2018 +0100 |
committer | Ben Hutchings <ben@decadent.org.uk> | Wed Jan 02 03:08:04 2019 +0000 |
tree | 4a47786ceefea38b6119d7a0f31413e3ebb745f2 | |
parent | 84cad740a960b17a78cb1e8c03c1d892a56c9d12 [diff] |
[klibc] Fix sparc assembly when compiled as PIC Some distributions default to PIE for their compilers, which on sparc is passed on to the assembler. Since the behaviour of %hi/%lo changes under PIC to become GOT offsets, the current assembly files need adapting to not try to use a GOT offset as an absolute address. References: https://bugs.debian.org/885852 Link: https://www.zytor.com/pipermail/klibc/2018-July/004001.html Signed-off-by: Ben Hutchings <ben@decadent.org.uk>