aboutsummaryrefslogtreecommitdiff
path: root/libexec/rtld-elf/debug.h
Commit message (Collapse)AuthorAgeFilesLines
* Use C99's varadic macro syntax instead of gcc's.Dag-Erling Smørgrav2006-03-281-2/+2
| | | | Notes: svn path=/head/; revision=157219
* Add initial support for compiling a special 32 bit version ofPeter Wemm2004-03-211-2/+9
| | | | | | | | | | 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. Notes: svn path=/head/; revision=127250
* Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. TheSheldon Hearn2001-07-261-1/+1
| | | | | | | | | | definitions are more readable, and it's possible that they're more portable to pathalogical platforms. Submitted by: David Hill <david@phobia.ms> Notes: svn path=/head/; revision=80381
* Add a new function dllockinit() for registering thread lockingJohn Polstra1999-12-271-0/+9
| | | | | | | | | | | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=55122
* Enable -Wformat checking for debug_printf().John Polstra1999-09-041-1/+3
| | | | Notes: svn path=/head/; revision=50930
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50476
* Import the ELF dynamic linker. This is the ElfKit version withJohn Polstra1998-03-071-0/+48
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> Notes: svn path=/cvs2svn/branches/JDP/; revision=34192