Signed vs unsigned lower halves of powerpc fixups are now handled by having two
authorDavid Given <dg@cowlark.com>
Sun, 15 Jan 2017 10:51:37 +0000 (11:51 +0100)
committerDavid Given <dg@cowlark.com>
Sun, 15 Jan 2017 10:51:37 +0000 (11:51 +0100)
commitf80acfe9f5cdbdea954df4d553fd347129b34038
treecea4e19f675d21fb2e6d908e4c546f01fd27f208
parent14aab2120463064cbd196cf9fc39e77ed419a163
Signed vs unsigned lower halves of powerpc fixups are now handled by having two
assembler directives, ha16() and has16(), for the upper half; has16() applies
the sign adjustment. .powerpcfixup is now gone, as we generate the relocation
in ha*() instead. Add special logic to the linker for undoing and redoing the
sign adjustment when reading/writing fixups. Tests still pass.
mach/powerpc/as/mach1.c
mach/powerpc/as/mach2.c
mach/powerpc/as/mach3.c
mach/powerpc/as/mach4.c
mach/powerpc/as/mach5.c
mach/powerpc/ncg/table
util/led/const.h
util/led/debug.h
util/led/relocate.c