summaryrefslogtreecommitdiff
path: root/ldso/ldso/dl-symbols.c
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2008-11-18 12:48:13 +0000
committerCarmelo Amoroso <carmelo.amoroso@st.com>2008-11-18 12:48:13 +0000
commit827c5f1b826b916a533c082e558fc7c6fc38de6d (patch)
tree8f4c4e4626d41801ececf13b9f06488e6ae98cb9 /ldso/ldso/dl-symbols.c
parent933df87e4e9a8d7f6901dd0417b0006c5b132439 (diff)
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 <carmelo.amoroso@st.com>
Diffstat (limited to 'ldso/ldso/dl-symbols.c')
-rw-r--r--ldso/ldso/dl-symbols.c21
1 files changed, 21 insertions, 0 deletions
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 <carmelo.amoroso@st.com>
+ *
+ *
+ * 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 <ldso.h>
+
+struct elf_resolve *_dl_loaded_modules = NULL;
+