summaryrefslogtreecommitdiffstats
path: root/backends/s390_symbol.c
diff options
context:
space:
mode:
authorAndreas Schwab <[email protected]>2018-10-02 14:46:51 +0200
committerMark Wielaard <[email protected]>2018-10-13 22:54:51 +0200
commit2876b3b648f665736ac9c879d34de5e3866ba8f9 (patch)
treebe631dee293e01847e3eea43343b0d249a7532c6 /backends/s390_symbol.c
parent69d6e67eee30c483ba53a8e1da1b3568033e3dde (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/s390_symbol.c')
-rw-r--r--backends/s390_symbol.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/backends/s390_symbol.c b/backends/s390_symbol.c
index a0a4fafa..f91e1373 100644
--- a/backends/s390_symbol.c
+++ b/backends/s390_symbol.c
@@ -38,7 +38,8 @@
/* Check for the simple reloc types. */
Elf_Type
-s390_reloc_simple_type (Ebl *ebl __attribute__ ((unused)), int type)
+s390_reloc_simple_type (Ebl *ebl __attribute__ ((unused)), int type,
+ int *addsub __attribute__ ((unused)))
{
switch (type)
{