summaryrefslogtreecommitdiffstats
path: root/libdwelf/libdwelf.h
diff options
context:
space:
mode:
Diffstat (limited to 'libdwelf/libdwelf.h')
-rw-r--r--libdwelf/libdwelf.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libdwelf/libdwelf.h b/libdwelf/libdwelf.h
index 263ca60e..734aa9c3 100644
--- a/libdwelf/libdwelf.h
+++ b/libdwelf/libdwelf.h
@@ -140,6 +140,10 @@ extern Elf *dwelf_elf_begin (int fd);
value, or NULL if the given number isn't currently known. */
extern const char *dwelf_elf_e_machine_string (int machine);
+/* Remove relocations for debug sections. Returns 0 on success.
+ Returns -1 on failure and sets elf_errno. */
+extern int dwelf_elf_remove_debug_relocations (Elf *elf);
+
#ifdef __cplusplus
}
#endif