summaryrefslogtreecommitdiffstats
path: root/libexec/rtld-elf/Makefile
Commit message (Collapse)AuthorAgeFilesLines
...
* Avoid an (ignored) error by invoking chflags on the link target, not theschweikh2004-11-141-1/+1
| | | | | | | | symlink. PR: kern/73016 Submitted by: John E. Hein <jhein@timing.com> MFC after: 1 week
* Introduce the PRECIOUSPROG knob in bsd.prog.mk, similarru2004-11-031-1/+2
| | | | | | | | to PRECIOUSLIB from bsd.lib.mk. The side effect of this is making installing the world under jail(8) possible by using another knob, NOFSCHG. Reviewed by: oliver
* For variables that are only checked with defined(), don't provideru2004-10-241-1/+1
| | | | any fake value.
* This comment should have been removed in the previous commit.cognet2004-06-171-1/+0
| | | | Spotted out by: marcus, simon
* Woohoo !cognet2004-06-171-2/+0
| | | | the latest binutils import mades this gross hack useless, so just remove it.
* Work around a problem somewhere with binutils (?) on arm, hopefully withoutcognet2004-05-151-0/+3
| | | | breaking any other arch this time.
* Fix breakage caused by alphabetically sorting SRCS: rtld_start.S must come ↵se2004-05-141-1/+2
| | | | | | first! The previous version made all shared binaries dump core.
* Import arm bits for rtld-elf.cognet2004-05-141-2/+2
| | | | Obtained from: NetBSD
* Add initial support for compiling a special 32 bit version ofpeter2004-03-211-1/+1
| | | | | | | ld-elf.so.1 on 64 bit systems. Most of this involves using alternate paths, environment variables and diagnostic messages. The build glue is seperate.
* Retire the WITH_LIBMAP compile knob; libmap is now a standard feature.mdodd2003-09-131-10/+1
|
* Forgot one instance of ld-elf.so.1. Convert to ${PROG}gordon2003-08-171-1/+1
| | | | Pointed out by: obrien
* Don't forget to honor DESTDIR. Also switch over to using PROG instead ofgordon2003-08-171-2/+2
| | | | the binary name directly.
* Don't forget to chflags noschg the existing binary so we can symlinkgordon2003-08-171-0/+5
| | | | | | over it safely. Pointed out by: yosimoto@waishi.jp
* As long threatened, stage 2 of making a dynamically-linked root a reality.gordon2003-08-171-0/+2
| | | | Install rtld into /libexec.
* Set CSTD to gnu99. We can only use on of the gnu?9 C languages.obrien2003-06-041-0/+1
| | | | We can't use c89 due to use of 'inline', and c99 produces bad code.
* Allow threading libraries to register their own lockingkan2003-05-291-2/+3
| | | | | | | | | | implementation in case default one provided by rtld is not suitable. Consolidate various identical MD lock implementation into a single file using appropriate machine/atomic.h. Approved by: re (scottl)
* Dynamic object dependency mapping: libmap.mdodd2003-04-071-0/+9
| | | | | | | This is an optional feature, disabled by default. This will be useful to people testing the various POSIX threading libraries under -CURRENT but can easily serve other needs.
* Advertize rtld(1) as ld.so(1) in manual pages worldphantom2003-02-131-1/+2
|
* Dillon's recent commits to the dynamic linker without running themjdp2002-06-101-1/+0
| | | | | | by me first have given me a good excuse to drop my MAINTAINERship. MFC after: 1 week
* Use new backup feature of install(1).ru2001-05-281-14/+1
|
* - Backout botched attempt to intoduce MANSECT feature.ru2001-03-261-1/+1
| | | | - MAN[1-9] -> MAN.
* We shouldn't use cp to save the old ld-elf.so.1. Use the sanctioned toolgreen2000-07-201-1/+2
| | | | ${INSTALL} with -C -p instead.
* When installing the dynamic linker, save the previous version injdp2000-07-081-0/+12
| | | | | | | | | "ld-elf.so.1.old". The dynamic linker is a critical component of the system, and it is difficult to recover if it is damaged and there isn't a working backup available. For instance, parts of the toolchain such as the assembler are dynamically linked, making it impossible to build a new dynamic linker if the installed one doesn't work.
* Fixed missing DPADDs.bde2000-03-271-4/+5
| | | | | Fixed some style bugs (some usual ones for LDADD, and misformatting of $FreeBSD$).
* Add a manual page for the ELF dynamic linker. I initially createdjdp2000-01-291-1/+2
| | | | | | rtld.1 by means of a repository copy from "src/libexec/rtld-aout/rtld.1". Then I edited it to make it (more) accurate for the ELF dynamic linker.
* Add a new function dllockinit() for registering thread lockingjdp1999-12-271-2/+2
| | | | | | | | | | | | | | | | | | | functions to be used by the dynamic linker. This can be called by threads packages at start-up time. I will add the call to libc_r soon. Also add a default locking method that is used up until dllockinit() is called. The default method works by blocking SIGVTALRM, SIGPROF, and SIGALRM in critical sections. It is based on the observation that most user-space threads packages implement thread preemption with one of these signals (usually SIGVTALRM). The dynamic linker has never been reentrant, but it became less reentrant in revision 1.34 of "src/libexec/rtld-elf/rtld.c". Starting with that revision, multiple threads each doing lazy binding could interfere with each other. The usual symptom was that a symbol was falsely reported as undefined at start-up time. It was rare but not unseen. This commit fixes it.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Add a MAINTAINER line naming myself. We control the vertical. Wejdp1999-07-091-1/+2
| | | | control the horizontal.
* Eliminate all machine-dependent code from the main source body andjdp1999-04-091-12/+27
| | | | | | | | | | | | | | | the Makefile, and move it down into the architecture-specific subdirectories. Eliminate an asm() statement for the i386. Make the dynamic linker work if it is built as an executable instead of as a shared library. See i386/Makefile.inc to find out how to do it. Note, this change is not enabled and it might never be enabled. But it might be useful in the future. Building the dynamic linker as an executable should make it start up faster, because it won't have any relocations. But in practice I suspect the difference is negligible.
* - Set the system immutable flag when installing ld.so to avoid peoplenate1999-02-151-2/+3
| | | | | | accidentally clobbering it. Submitted by: numberous people on -current
* Add alpha support.dfr1998-09-041-6/+14
| | | | | Submitted by: John Birrell <jb@cimlogic.com.au> (with extra hacks by me) Obtained from: Probably NetBSD
* Add "-C" to INSTALLFLAGS to install atomically. An elf->elfjdp1998-08-171-1/+3
| | | | | installworld dies at this point otherwise, leaving the system without a dynamic linker.
* Add GDB support. The method and some of the code came from NetBSD's elfdfr1998-04-301-2/+2
| | | | runtime linker.
* Import the ELF dynamic linker. This is the ElfKit version withjdp1998-03-071-0/+15
quite a few enhancements and bug fixes. There are still some known deficiencies, but it should be adequate to get us started with ELF. Submitted by: John Polstra <jdp@polstra.com>
OpenPOWER on IntegriCloud