Skip to content
Commit e73e72be authored by Michael Forney's avatar Michael Forney Committed by Greg Kroah-Hartman
Browse files

objtool: Check for gelf_update_rel[a] failures

[ Upstream commit b46179d6

 ]

Otherwise, if these fail we end up with garbage data in the
.rela.orc_unwind_ip section, leading to errors like

  ld: fs/squashfs/namei.o: bad reloc symbol index (0x7f16 >= 0x12) for offset 0x7f16d5c82cc8 in section `.orc_unwind_ip'

Signed-off-by: default avatarMichael Forney <mforney@mforney.org>
Reviewed-by: default avatarMiroslav Benes <mbenes@suse.cz>
Signed-off-by: default avatarJosh Poimboeuf <jpoimboe@redhat.com>
Link: https://lore.kernel.org/r/20210509000103.11008-1-mforney@mforney.org
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 515e0333
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment