diff options
author | Roland McGrath <roland@gnu.org> | 1996-03-18 18:32:47 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1996-03-18 18:32:47 +0000 |
commit | e384537164e04d46fe1749899715abd72d33c54e (patch) | |
tree | f906d3c3ecf09b014c1cd395683d7796e40b4921 /elf | |
parent | 9b431e31e15b4620c862208c1079fdace62313aa (diff) | |
download | glibc-e384537164e04d46fe1749899715abd72d33c54e.zip glibc-e384537164e04d46fe1749899715abd72d33c54e.tar.gz glibc-e384537164e04d46fe1749899715abd72d33c54e.tar.bz2 |
Mon Mar 18 13:20:46 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>cvs/libc-960319
* elf/Makefile (rtld-link): New canned sequence.
(ld.so, ld-linux.so.1): Use it. Pass -soname option.
* sysdeps/i386/setjmp.S (__setjmp): Define compatibility entry point.
Sun Mar 17 23:15:32 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/unix/sysv/linux/tcgetpgrp.c,
sysdeps/unix/sysv/linux/tcsetpgrp.c: New files.
Diffstat (limited to 'elf')
-rw-r--r-- | elf/Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/elf/Makefile b/elf/Makefile index e89bf7b..a77460d 100644 --- a/elf/Makefile +++ b/elf/Makefile @@ -61,9 +61,15 @@ $(objpfx)librtld.so: $(rtld-routines:%=$(objpfx)%.so) \ $(LINK.o) -nostdlib -nostartfiles -r -o $@ \ '-Wl,-(' $^ -lgcc '-Wl,-)' -$(objpfx)ld.so $(objpfx)ld-linux.so.1: $(objpfx)librtld.so - $(LINK.o) -nostdlib -nostartfiles -shared -o $@ \ - -Wl,-rpath=$(default-rpath) $^ +$(objpfx)ld.so: $(objpfx)librtld.so + $(rtld-link) -Wl,-soname=$(rtld-installed-name) +$(objpfx)ld-linux.so.1: $(objpfx)librtld.so + $(rtld-link) -Wl,-soname=ld-linux.so.1 + +define rtld-link +$(LINK.o) -nostdlib -nostartfiles -shared -o $@ \ + -Wl,-rpath=$(default-rpath) $^ +endef # The Linux-compatible dynamic linker shared object is just the same # with one object file of compatibility initialization code added. |