summaryrefslogtreecommitdiffstats
path: root/libexec
Commit message (Collapse)AuthorAgeFilesLines
* Update to the binutils-2.9.1 PLT format.dfr1998-09-111-2/+4
|
* Add the r_addend of the relocation when processing GLOB_DAT relocations.dfr1998-09-111-3/+3
|
* Fix a cut&paste error which prevented LD_BIND_NOW from working.dfr1998-09-081-2/+2
|
* Don't recognize a file as an a.out shared library unless it has atjdp1998-09-051-6/+4
| | | | | | | | | | | | least 2 version numbers. This fixes the bug where the dynamic linker would try to load an ELF shared library if it found one. Note, this change also fixes the same thing in "ld", because the code is shared. For "ld" there is still a problem with ".a" libraries, which cannot be distinguished by name. I haven't decided what, if anything, to do about that.
* Chaneg MACHINE to MACHINE_ARCH to support MACHINE=pc98.jb1998-09-051-7/+3
| | | | Remove a couple of unsupported machines.
* Chaneg MACHINE to MACHINE_ARCH to support MACHINE=pc98.jb1998-09-051-3/+3
|
* Implement ldconfig functionality for ELF. The hints are stored injdp1998-09-051-3/+50
| | | | | | | | | | | | | | | | | | | | | | | a different file than the a.out hints, namely, "/var/run/ld-elf.so.hints". These hints consist only of the directory search path. There is no hash table as in the a.out hints, because ELF doesn't have to search for the file with the highest minor version number. (It doesn't have minor version numbers at all.) A single run of ldconfig updates either the a.out hints or the ELF hints, but not both. The set of hints to process is selected in the usual way, via /etc/objformat, or ${OBJFORMAT}, or the "-aout" or "-elf" command line option. The rationale is that you probably want to search different directories for ELF than for a.out. "ldconfig -r" is faked up to produce output like we are used to, except that for ELF there are no minor version numbers. This should enable "ldconfig -r" to be used for checking LIB_DEPENDS in ports even for ELF. I implemented the ELF functionality in a new source file, with an eye toward eliminating the a.out code entirely at some point in the future.
* Add -lcrypt when building kerberos.jb1998-09-052-6/+6
|
* Enable rtld-elf for build on alpha too. We now have support for sharedjb1998-09-041-2/+3
| | | | libraries on alpha!
* Add alpha support.dfr1998-09-0411-277/+1145
| | | | | Submitted by: John Birrell <jb@cimlogic.com.au> (with extra hacks by me) Obtained from: Probably NetBSD
* Suppress duplicate entries in ldd output.jdp1998-09-022-12/+12
|
* Style fixes. If it seems like a lot of lines of changes, it'sjdp1998-09-021-75/+79
| | | | | because I moved some functions. Mr. Tidy likes them to be in alphabetical order.
* Handle dlsym(NULL, ...) properly, by searching in the caller'sjdp1998-09-021-11/+26
| | | | | | | | shared object. Note, this searches _only_ that object, and not its needed objects, in accordance with the documentation. Also fix dlopen(NULL, ...) so that the executable's needed objects are searched as well as the executable itself.
* Sort cross references.wosch1998-08-311-2/+2
|
* BINFORMAT -> OBJFORMAT ready for E-day.jb1998-08-301-5/+5
|
* Pass me the pointy hat with the extra sequins. Just a moment, while I getmckay1998-08-221-6/+20
| | | | | | | | | it to sit right... The __error() hack gave out the wrong address. It returned the address of errno in ld.so instead of the address of errno in the main program. Oops. The hack is now correct, just in time to be obsoleted by elf.
* Update this header to use the revamped elf headers which select Elf32jb1998-08-211-12/+12
| | | | | | | | | or Elf64 based on the inclusion of the machine dependent header. I've left the addition of the extra fields to handle the relocation structures with addend for a separate commit after jdp has had a chance to review what I've done. The current change is needed to compile csu/alpha/crt1.c
* 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.
* Fix LIBDIR (for aout/ELF).markm1998-08-062-4/+4
|
* Build mail.local and smrsh (when building sendmail)peter1998-08-041-2/+6
|
* Build sendmail-8.9.1 smrshpeter1998-08-041-0/+9
|
* Use sendmail-8.9.1 mail.local (with our changes). It has LMTP support.peter1998-08-044-699/+5
|
* Fixed printf format errors.bde1998-08-023-9/+9
|
* Getty is missing the speed table entry for 230400 baud.phk1998-07-221-2/+3
| | | | | | PR: 7280 Reviewed by: phk Submitted by: Craig Leres <leres@ee.lbl.gov>
* Remove no longer needed FreeBSD specific code.steve1998-07-201-6/+1
| | | | | | PR: 5497 Submitted by: Jacob Bohn Lorensen <jacob@jblhome.ping.mk> Obtained from: OpenBSD (indirectly it seems so just to be safe)
* Document the use of lines beginning with a '#' as comment lines.jkoshy1998-07-091-1/+4
| | | | PR: 5676
* Clean up grammar. Provide proper pathnames for spool directories.jkoshy1998-07-011-13/+15
| | | | | | Document dependency on current load average for starting new batch jobs. PR: 7109
* Fixed printf format errors.bde1998-06-303-8/+10
|
* Don't assume that time_t is long.bde1998-06-291-2/+4
|
* Don't assume that time_t is long. Fixed printf format errors.bde1998-06-291-5/+5
|
* Since I got no objections to this patch, and no one has offered anymckay1998-06-211-1/+70
| | | | | | | | | | | | alternative, I present .. ta! da! .. the __error() hack. This patch to the a.out dynamic loader provides old a.out binaries with __error() if they are linked with an older libc that lacks it, but are also linked against a library that needs it. There is a smaller, tricker hack that takes advantage of the fact that ld.so has __error() too, courtesy of the new libc, but this hack is the straightforward version.
* Fix stupid typo, I had only tested this in elf mode.peter1998-06-121-2/+2
|
* Only build rtld-aout if we're in an a.out build environment.peter1998-06-121-2/+5
|
* Activate libbindpeter1998-06-111-1/+2
|
* Spelling fixes.phk1998-06-101-2/+2
| | | | | | PR: 6903 Reviewed by: phk Submitted by: Josh Gilliam <josh@quick.net>
* Search for libraries in dlopen() when the specified pathbrian1998-06-073-8/+13
| | | | | | contains no ``/''s. Elf already searches it seems. Mostly submitted by: Mike Smith <mike@smith.net.au>
* named-xfer can't be linked static due to the duplicated symbols injb1998-06-061-4/+4
| | | | | | | | libc and libbind. rpc.rstatd required libkvm. Only try to build these on i386 for the time being.
* Mention that syslog.conf(5) does not log LOG_FTP messages by default.jkoshy1998-06-051-2/+6
| | | | PR: 5287
* Use gethostname(3) to obtain the local host name, as opposed to uname(3).joerg1998-06-031-5/+4
| | | | Otherwise the length of the name is limited to 32 characters only.
* signal() returns SIG_ERR on error, not int.jb1998-06-031-4/+4
| | | | time() requires a time_t pointer, not a long.
* Spelling corrections.jkoshy1998-06-031-3/+3
| | | | | PR: 6829 Submitted by: Josh Gilliam <josh@quick.net>
* SUBDIR += rtld-aoutpeter1998-06-011-2/+5
|
* Seperate the Paul Kranenburg a.out rtld stuff into a stand-alone area awaypeter1998-06-011-5/+3
| | | | | from the gpl ld code. This is part 2 of something that I began in 1996. A repository copy has happened behind cvs's back.
* ELF preparation step 2:sos1998-05-262-4/+4
| | | | | | | | | | | | | | Move a.out libraries to /usr/lib/aout to make space for ELF libs. Make rtld usr /usr/lib/aout as default library path. Make ldconfig reject /usr/lib as an a.out library path. Fix various Makefiles for LIBDIR!=/usr/lib breakage. This will after a make world & reboot give a system that no longer uses /usr/lib/*, infact one could remove all the old libraries there, they are not used anymore. We are getting close to an ELF make world, but I'll let this all settle for a week or two...
* Make ftpd(8) honor its default group setting in the config files.steve1998-05-251-7/+16
| | | | | PR: 6682 Submitted by: Max Euston <meuston@jmrodgers.com>
* Back out "always UTC" fix since some people want visually identical 'ls'ache1998-05-181-4/+10
| | | | | | | | output for local users. FTP protocol RFC also says that 'ls' output is not machine-readable. "always UTC" still possible with TZ= in ftpd environment by price of having UTC in log files too. Fix INTERNAL_LS to sense new /etc/localtime after chroot
* Return back initial tzset() must be before first chrootache1998-05-161-1/+3
|
* Return back vfork and use execve with TZ="" environment in vfork caseache1998-05-151-5/+7
|
* Use fork instead of vfork since setenv clobber parent environmentache1998-05-151-4/+2
| | | | Fork already used for INTERNAL_LS in anycase
* Move TZ="" assignment just before exec to not touch other time stuffache1998-05-152-5/+4
|
OpenPOWER on IntegriCloud