auto-define symbol *ABS* in section *ABS*
(for i386-linux.elf.execve-entry.h R_386_PC *ABS*)
This commit is contained in:
parent
8edc03df64
commit
fd1611079a
@ -505,6 +505,10 @@ ElfLinker::Symbol *ElfLinker::findSymbol(const char *name)
|
||||
if (strcmp(symbols[ic]->name, name) == 0)
|
||||
return symbols[ic];
|
||||
|
||||
if ('*'==name[0]) { // *ABS*
|
||||
addSymbol(name, name, 0);
|
||||
return symbols[nsymbols -1];
|
||||
}
|
||||
printf("unknown symbol %s\n", name);
|
||||
abort();
|
||||
return NULL;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user