From 2876b3b648f665736ac9c879d34de5e3866ba8f9 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Tue, 2 Oct 2018 14:46:51 +0200 Subject: Handle ADD/SUB relocations This adds support for ADD and SUB relocations as seen on RISC-V. Signed-off-by: Andreas Schwab --- backends/arm_symbol.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'backends/arm_symbol.c') diff --git a/backends/arm_symbol.c b/backends/arm_symbol.c index 3edda724..c8e1d7f9 100644 --- a/backends/arm_symbol.c +++ b/backends/arm_symbol.c @@ -109,7 +109,8 @@ arm_machine_flag_check (GElf_Word flags) /* Check for the simple reloc types. */ Elf_Type -arm_reloc_simple_type (Ebl *ebl __attribute__ ((unused)), int type) +arm_reloc_simple_type (Ebl *ebl __attribute__ ((unused)), int type, + int *addsub __attribute__ ((unused))) { switch (type) { -- cgit v1.2.3