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 /libebl/ebl-hooks.h | |
| 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 'libebl/ebl-hooks.h')
| -rw-r--r-- | libebl/ebl-hooks.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libebl/ebl-hooks.h b/libebl/ebl-hooks.h index 7a355cd1..1e7960b8 100644 --- a/libebl/ebl-hooks.h +++ b/libebl/ebl-hooks.h @@ -33,7 +33,7 @@ const char *EBLHOOK(reloc_type_name) (int, char *, size_t); bool EBLHOOK(reloc_type_check) (int); /* Check if relocation type is for simple absolute relocations. */ -Elf_Type EBLHOOK(reloc_simple_type) (Ebl *, int); +Elf_Type EBLHOOK(reloc_simple_type) (Ebl *, int, int *); /* Check relocation type use. */ bool EBLHOOK(reloc_valid_use) (Elf *, int); |
