From 827c5f1b826b916a533c082e558fc7c6fc38de6d Mon Sep 17 00:00:00 2001 From: Carmelo Amoroso Date: Tue, 18 Nov 2008 12:48:13 +0000 Subject: Move _dl_iterate_phdr into libc.so.0 and libc.a (as glibc does). Currently we have an implementation in ld.so and libdl.a. Signed-off-by: Carmelo Amoroso --- ldso/ldso/dl-symbols.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 ldso/ldso/dl-symbols.c (limited to 'ldso/ldso/dl-symbols.c') diff --git a/ldso/ldso/dl-symbols.c b/ldso/ldso/dl-symbols.c new file mode 100644 index 000000000..e5c00211a --- /dev/null +++ b/ldso/ldso/dl-symbols.c @@ -0,0 +1,21 @@ +/* + * This contains all symbols shared between + * dynamic linker ld.so and into static libc + * + * Copyright (c) 2008 STMicroelectronics Ltd + * Author: Carmelo Amoroso + * + * + * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. + * + */ + +/* + * This is the start of the linked list that describes all of the files present + * in the system with pointers to all of the symbol, string, and hash tables, + * as well as all of the other good stuff in the binary. + */ +#include + +struct elf_resolve *_dl_loaded_modules = NULL; + -- cgit v1.2.3