From c8473092e07d4ab6b506706c7d8b1bef4c18dca6 Mon Sep 17 00:00:00 2001 From: Joakim Tjernlund Date: Thu, 7 Oct 2004 13:48:21 +0000 Subject: 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. --- ldso/include/dl-elf.h | 2 -- ldso/include/dl-hash.h | 9 ++++----- 2 files changed, 4 insertions(+), 7 deletions(-) (limited to 'ldso/include') 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; -- cgit v1.2.3