commit | bbef210c8d82202da8cabdd7a329d8e95db2edcc | [log] [tgz] |
---|---|---|
author | James Clarke <jrtc27@jrtc27.com> | Wed Jul 18 22:30:42 2018 +0100 |
committer | Ben Hutchings <ben@decadent.org.uk> | Fri Jan 18 03:10:14 2019 +0000 |
tree | 5e3c5df966cab571ee8565f7ccf9cf3a37788723 | |
parent | f46648e5315f2f8aff74bcd723edc24ea4c6d29e [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>