Only warn on extabindex relocations

This commit is contained in:
Luke Street 2023-01-27 23:44:06 -05:00
parent 15546a6880
commit 4359ec1fa3
1 changed files with 1 additions and 1 deletions

View File

@ -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,