1998-11-19  Geoff Keating  <geoffk@ozemail.com.au>

	* elf/rtld.c (_dl_start): Handle weak undefined symbols in ld.so
	correctly.
This commit is contained in:
Ulrich Drepper 1998-11-19 17:46:16 +00:00
parent b0428320f5
commit 50463d27cd
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,8 @@
1998-11-19 Geoff Keating <geoffk@ozemail.com.au>
* elf/rtld.c (_dl_start): Handle weak undefined symbols in ld.so
correctly.
1998-11-19 Ulrich Drepper <drepper@cygnus.com>
* misc/error.c: Undo last change.

View file

@ -132,7 +132,8 @@ _dl_start (void *arg)
/* This #define produces dynamic linking inline functions for
bootstrap relocation instead of general-purpose relocation. */
#define RTLD_BOOTSTRAP
#define RESOLVE(sym, version, flags) bootstrap_map.l_addr
#define RESOLVE(sym, version, flags) \
((*(sym))->st_shndx == SHN_UNDEF ? 0 : bootstrap_map.l_addr)
#include "dynamic-link.h"
/* Figure out the run-time load address of the dynamic linker itself. */