summaryrefslogtreecommitdiff
path: root/ldso/include
diff options
context:
space:
mode:
authorJoakim Tjernlund <joakim.tjernlund@transmode.se>2004-10-07 13:48:21 +0000
committerJoakim Tjernlund <joakim.tjernlund@transmode.se>2004-10-07 13:48:21 +0000
commitc8473092e07d4ab6b506706c7d8b1bef4c18dca6 (patch)
treed1b1f5452357ad9348c426e54515ff78e3aef362 /ldso/include
parent1b0ea2fab703f813dcd506d2de311753246b4f8c (diff)
Remove usage of _dl_parse_copy_information() from generic code.
Remove definition of _dl_parse_copy_information() for powerpc. Remaining archs can do the same. Make debugging output of "relocation processing: xxx" a bit more sane.
Diffstat (limited to 'ldso/include')
-rw-r--r--ldso/include/dl-elf.h2
-rw-r--r--ldso/include/dl-hash.h9
2 files changed, 4 insertions, 7 deletions
diff --git a/ldso/include/dl-elf.h b/ldso/include/dl-elf.h
index 66843096c..d70d84ae4 100644
--- a/ldso/include/dl-elf.h
+++ b/ldso/include/dl-elf.h
@@ -20,8 +20,6 @@ static inline void _dl_unmap_cache(void) { }
/* Function prototypes for non-static stuff in readelflib1.c */
-extern int _dl_parse_copy_information(struct dyn_elf *rpnt,
- unsigned long rel_addr, unsigned long rel_size);
extern void _dl_parse_lazy_relocation_information(struct dyn_elf *rpnt,
unsigned long rel_addr, unsigned long rel_size);
extern int _dl_parse_relocation_information(struct dyn_elf *rpnt,
diff --git a/ldso/include/dl-hash.h b/ldso/include/dl-hash.h
index 38b50bc65..67484d260 100644
--- a/ldso/include/dl-hash.h
+++ b/ldso/include/dl-hash.h
@@ -61,11 +61,10 @@ struct elf_resolve{
#endif
};
-#define COPY_RELOCS_DONE 1
-#define RELOCS_DONE 2
-#define JMP_RELOCS_DONE 4
-#define INIT_FUNCS_CALLED 8
-#define FINI_FUNCS_CALLED 16
+#define RELOCS_DONE 1
+#define JMP_RELOCS_DONE 2
+#define INIT_FUNCS_CALLED 4
+#define FINI_FUNCS_CALLED 8
extern struct dyn_elf * _dl_symbol_tables;
extern struct elf_resolve * _dl_loaded_modules;