recovery from new binutils part II: fix the alpha kernel so that
it handles R_ALPHA_RELATIVE relocs with addends properly. tested by: ticso
This commit is contained in:
parent
f553351ed2
commit
7cacd13117
@ -101,7 +101,7 @@ elf_reloc(linker_file_t lf, const void *data, int type, const char *sym)
|
||||
break;
|
||||
|
||||
case R_ALPHA_RELATIVE:
|
||||
addr = relocbase + addend + *where;
|
||||
addr = relocbase + addend;
|
||||
if (*where != addr)
|
||||
*where = addr;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user