diff options
| author | Andreas Schwab <[email protected]> | 2018-10-02 14:46:51 +0200 |
|---|---|---|
| committer | Mark Wielaard <[email protected]> | 2018-10-13 22:54:51 +0200 |
| commit | 2876b3b648f665736ac9c879d34de5e3866ba8f9 (patch) | |
| tree | be631dee293e01847e3eea43343b0d249a7532c6 /backends/i386_symbol.c | |
| parent | 69d6e67eee30c483ba53a8e1da1b3568033e3dde (diff) | |
Handle ADD/SUB relocations
This adds support for ADD and SUB relocations as seen on RISC-V.
Signed-off-by: Andreas Schwab <[email protected]>
Diffstat (limited to 'backends/i386_symbol.c')
| -rw-r--r-- | backends/i386_symbol.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/backends/i386_symbol.c b/backends/i386_symbol.c index 7dbf899f..a4b6ec08 100644 --- a/backends/i386_symbol.c +++ b/backends/i386_symbol.c @@ -49,7 +49,8 @@ i386_gotpc_reloc_check (Elf *elf __attribute__ ((unused)), int type) /* Check for the simple reloc types. */ Elf_Type -i386_reloc_simple_type (Ebl *ebl __attribute__ ((unused)), int type) +i386_reloc_simple_type (Ebl *ebl __attribute__ ((unused)), int type, + int *addsub __attribute__ ((unused))) { switch (type) { |
