aboutsummaryrefslogtreecommitdiff
path: root/Makerules
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-05-02 05:56:40 +0000
committerRoland McGrath <roland@gnu.org>1995-05-02 05:56:40 +0000
commit08162fa888913a5153d2fcdc4e1a816b57b1fe56 (patch)
treeb396bf4869649f39bf52ab0489af4886b6780725 /Makerules
parentb7eb84454020c59d528e826ae1889f411ed69e26 (diff)
downloadglibc-08162fa888913a5153d2fcdc4e1a816b57b1fe56.tar
glibc-08162fa888913a5153d2fcdc4e1a816b57b1fe56.tar.gz
glibc-08162fa888913a5153d2fcdc4e1a816b57b1fe56.tar.bz2
glibc-08162fa888913a5153d2fcdc4e1a816b57b1fe56.zip
Tue May 2 01:52:58 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Implemented runtime dynamic linker to support ELF shared libraries. * elf/Makefile: Added rules to make ld.so and libdl. * elf/dl-error.c: New file. * elf/dl-fini.c: New file. * elf/dl-init.c: New file. * elf/dl-load.c: New file. * elf/dl-lookup.c: New file. * elf/dl-object.c: New file. * elf/dl-reloc.c: New file. * elf/dlclose.c: New file. * elf/dlerror.c: New file. * elf/dlopen.c: New file. * elf/dlsym.c: New file. * elf/dynamic-link.h: New file. * elf/link.h: New file. * elf/rtld.c: New file. Mon May 1 18:48:30 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> * Makerules (LDFLAGS-c.so): Add -interp and -e switches to make libc.so runnable. * version.c (__libc_print_version): Add "et al" and missing NL to author credit.
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makerules b/Makerules
index 6c01013e8d..0e67398dad 100644
--- a/Makerules
+++ b/Makerules
@@ -350,6 +350,8 @@ lib%.so: lib%_pic.a
# Also omits crti.o and crtn.o, which we do not want
# since we define our own `.init' section specially.
LDFLAGS-c.so = -nostdlib
+# Give libc.so an entry point and make it directly runnable itself.
+LDFLAGS-c.so += -Wl,-interp -Wl,/lib/ld.so -e __libc_print_version
endif
libobjs: $(foreach o,$(object-suffixes),\