aboutsummaryrefslogtreecommitdiff
path: root/backend.h
diff options
context:
space:
mode:
authorPetr Machata <pmachata@redhat.com>2012-12-17 03:45:30 +0100
committerPetr Machata <pmachata@redhat.com>2012-12-17 03:45:30 +0100
commitade3b9798fbc62becbe1b4854f7a2d106498167a (patch)
tree623decaec47d544e1e81ad11e12db20fd4136ff0 /backend.h
parent6dfc544b6aa6703d2292be34470aebf874d78452 (diff)
downloadltrace-ade3b9798fbc62becbe1b4854f7a2d106498167a.tar.gz
Make enum plt_status enumerators uppercase
Diffstat (limited to 'backend.h')
-rw-r--r--backend.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/backend.h b/backend.h
index 314ad93..5cd6c72 100644
--- a/backend.h
+++ b/backend.h
@@ -289,9 +289,9 @@ int arch_get_sym_info(struct ltelf *lte, const char *filename,
size_t sym_index, GElf_Rela *rela, GElf_Sym *sym);
enum plt_status {
- plt_fail,
- plt_ok,
- plt_default,
+ PLT_FAIL,
+ PLT_OK,
+ PLT_DEFAULT,
};
/* The following callback has to be implemented in backend if arch.h
@@ -302,9 +302,9 @@ enum plt_status {
* The corresponding PLT entry is for symbol called NAME, and it's
* I-th relocation in the file.
*
- * If this function returns plt_default, PLT address is obtained by
- * calling arch_plt_sym_val, and symbol is allocated. If plt_ok or
- * plt_default are returned, the chain of symbols passed back in RET
+ * If this function returns PLT_DEFAULT, PLT address is obtained by
+ * calling arch_plt_sym_val, and symbol is allocated. If PLT_OK or
+ * PLT_DEFAULT are returned, the chain of symbols passed back in RET
* is added to library under construction. */
enum plt_status arch_elf_add_plt_entry(struct process *proc, struct ltelf *lte,
const char *name, GElf_Rela *rela,