Only warn on extabindex relocations
This commit is contained in:
parent
15546a6880
commit
4359ec1fa3
|
@ -213,7 +213,7 @@ pub fn split_obj(obj: &ObjInfo) -> Result<Vec<ObjInfo>> {
|
||||||
..Default::default()
|
..Default::default()
|
||||||
});
|
});
|
||||||
reloc.target_symbol = out_sym_idx;
|
reloc.target_symbol = out_sym_idx;
|
||||||
if matches!(section.name.as_str(), "extab" | "extabindex") {
|
if section.name.as_str() == "extabindex" {
|
||||||
log::warn!(
|
log::warn!(
|
||||||
"Extern relocation @ {:#010X} {} ({:#010X} {}): {:#010X} {}",
|
"Extern relocation @ {:#010X} {} ({:#010X} {}): {:#010X} {}",
|
||||||
reloc.address + section.original_address,
|
reloc.address + section.original_address,
|
||||||
|
|
Loading…
Reference in New Issue