Insurance: cause a proper symbol lookup failure for symbol entries that
reference unknown sections.. rather than returning a small value.
This commit is contained in:
parent
2aab594f92
commit
add21e178f
@ -878,6 +878,8 @@ elf_obj_lookup(linker_file_t lf, Elf_Word symidx, int deps)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (ret == 0)
|
||||||
|
return (0);
|
||||||
return ret + sym->st_value;
|
return ret + sym->st_value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user