1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-26 11:47:31 +00:00
freebsd/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
amd64 Fix dynamic linking a bit more.. enough that mozilla-firebird works if you 2003-12-12 01:12:41 +00:00
i386
ia64
powerpc
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
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
rtld_lock.c
rtld_lock.h
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