freebsd-dev/libexec/rtld-elf
Mark Murray 16fc3635f7 Make NULL a (void*)0 whereever possible, and fix the warnings(-Werror)
that this provokes. "Wherever possible" means "In the kernel OR NOT
C++" (implying C).

There are places where (void *) pointers are not valid, such as for
function pointers, but in the special case of (void *)0, agreement
settles on it being OK.

Most of the fixes were NULL where an integer zero was needed; many
of the fixes were NULL where ascii <nul> ('\0') was needed, and a
few were just "other".

Tested on: i386 sparc64
2004-03-05 08:10:19 +00:00
..
alpha Allow threading libraries to register their own locking 2003-05-29 22:58:26 +00:00
amd64 Fix dynamic linking a bit more.. enough that mozilla-firebird works if you 2003-12-12 01:12:41 +00:00
i386 Allow threading libraries to register their own locking 2003-05-29 22:58:26 +00:00
ia64 Don't fail if we encounter a relocation of type "none". Just ignore 2003-06-07 07:52:17 +00:00
powerpc Allow threading libraries to register their own locking 2003-05-29 22:58:26 +00:00
sparc64 Avoid using the global offset table to get the address of _DYNAMIC in 2003-07-04 00:05:15 +00:00
debug.c Fix warnings on 64 bit platforms. 2003-06-19 16:09:18 +00:00
debug.h Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. The 2001-07-26 11:02:39 +00:00
libmap.c Fix "warning: value computed is not used". 2004-02-03 18:53:40 +00:00
libmap.h Change libmap.c:lm_init() to return a status value; 0 for success 2003-09-13 21:43:08 +00:00
Makefile Retire the WITH_LIBMAP compile knob; libmap is now a standard feature. 2003-09-13 21:50:36 +00:00
malloc.c Very minor style nit: sort include files alphabetically. 2003-08-22 02:22:59 +00:00
map_object.c - Add support for DT_FLAGS. 2003-06-18 03:34:29 +00:00
rtld_lock.c Allow threading libraries to register their own locking 2003-05-29 22:58:26 +00:00
rtld_lock.h Fix warnings; no parameters in function prototypes. 2003-06-19 02:39:37 +00:00
rtld.1 LD_DUMP_REL_PRE and LD_DUMP_REL_POST don't output to stderr; don't 2003-06-19 04:34:09 +00:00
rtld.c Make NULL a (void*)0 whereever possible, and fix the warnings(-Werror) 2004-03-05 08:10:19 +00:00
rtld.h Prepend /lib to the builtin library search path in rtld. 2003-08-17 07:55:17 +00:00
xmalloc.c Add function prototypes. 2003-06-19 05:28:26 +00:00