summaryrefslogtreecommitdiff
path: root/sys/dev/microcode
diff options
context:
space:
mode:
authortv <tv@NetBSD.org>2002-04-23 19:53:10 +0000
committertv <tv@NetBSD.org>2002-04-23 19:53:10 +0000
commit3522143339d73cbc0fc5397acfa94c366b629004 (patch)
tree8a2ba74228274fbe50dab2d557ad845d0591595d /sys/dev/microcode
parent720f57412da9ff82d0a94b7c6ac523ca300740db (diff)
The "objcopy" based crunchide method has a problem on MIPS; it turns global
symbols into locals, but relocs are left in place (rather than attempting to resolve-in-place with "ld -r", even with "-Bsymbolic"). Standard MIPS code will generate CALL16 relocs for function calls, but the linker forbids such relocs from being used to call local symbols (such as those turned "local" by objcopy). So, rather than battle the toolchain uphill, work around it for the moment by forcing 32-bit GOT references with the assembler option "-xgot". This will be fixed in a more clean manner in the future.
Diffstat (limited to 'sys/dev/microcode')
0 files changed, 0 insertions, 0 deletions