OSDN Git Service

objtool: Add support for relocations without addends
authorMatt Helsley <mhelsley@vmware.com>
Fri, 29 May 2020 21:01:14 +0000 (14:01 -0700)
committerJosh Poimboeuf <jpoimboe@redhat.com>
Tue, 2 Jun 2020 20:37:04 +0000 (15:37 -0500)
commitfb414783b65c880606fbc1463e6849f017e60d46
tree4ef03afe48b53750973bafe70a2f608534cd9647
parentf1974222634010486c1692e843af0ab11304dd2c
objtool: Add support for relocations without addends

Currently objtool only collects information about relocations with
addends. In recordmcount, which we are about to merge into objtool,
some supported architectures do not use rela relocations.

Signed-off-by: Matt Helsley <mhelsley@vmware.com>
Reviewed-by: Julien Thierry <jthierry@redhat.com>
Reviewed-by: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
tools/objtool/elf.c
tools/objtool/elf.h
tools/objtool/orc_gen.c