aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJake Burkholder <jake@FreeBSD.org>2002-09-27 23:12:53 +0000
committerJake Burkholder <jake@FreeBSD.org>2002-09-27 23:12:53 +0000
commit169d513cb4a13db57920364f5ca33cf6b2c223c6 (patch)
treeba3c4f5add825cc1d7164df7492430782b2070c4 /lib
parent2eaa80698f6d027c66f2eed0516cae1c4eef97f0 (diff)
downloadsrc-169d513cb4a13db57920364f5ca33cf6b2c223c6.tar.gz
src-169d513cb4a13db57920364f5ca33cf6b2c223c6.zip
Add a workaround for what seems to be confusion between binutils and the
sparc v9 ABI. The Elf_Rela records for local symbols appear to already have the symbol's value added in to the addend field, even though the ABI specifies we need to lookup the symbol and add its value too. This breaks text relocations in klds because the symbol's value is added twice, and the resulting address points off into nowhere land, so for now just use the addend. Tested by: rwatson
Notes
Notes: svn path=/head/; revision=104072
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions