mirror of
https://sourceware.org/git/glibc.git
synced 2025-05-28 16:21:30 +03:00
* elf/rtld.c (RESOLVE_MAP): Always return bootstrap_map reference.
* elf/Makefile ($(objpfx)ld.so): Check that ld.so has no undefined references.
This commit is contained in:
parent
5ed61e0fd6
commit
2f978feb67
@ -1,3 +1,9 @@
|
|||||||
|
2007-02-12 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* elf/rtld.c (RESOLVE_MAP): Always return bootstrap_map reference.
|
||||||
|
* elf/Makefile ($(objpfx)ld.so): Check that ld.so has no undefined
|
||||||
|
references.
|
||||||
|
|
||||||
2007-02-09 Ulrich Drepper <drepper@redhat.com>
|
2007-02-09 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/x86_64/sysdep.h: Remove incorrect comment.
|
* sysdeps/unix/sysv/linux/x86_64/sysdep.h: Remove incorrect comment.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 1995-2004, 2005, 2006 Free Software Foundation, Inc.
|
# Copyright (C) 1995-2004, 2005, 2006, 2007 Free Software Foundation, Inc.
|
||||||
# This file is part of the GNU C Library.
|
# This file is part of the GNU C Library.
|
||||||
|
|
||||||
# The GNU C Library is free software; you can redistribute it and/or
|
# The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -307,6 +307,7 @@ $(objpfx)ld.so: $(objpfx)librtld.os $(ld-map)
|
|||||||
$(filter-out $(map-file),$^) $(load-map-file) \
|
$(filter-out $(map-file),$^) $(load-map-file) \
|
||||||
-Wl,-soname=$(rtld-installed-name) -T $@.lds
|
-Wl,-soname=$(rtld-installed-name) -T $@.lds
|
||||||
rm -f $@.lds
|
rm -f $@.lds
|
||||||
|
nm -u $@ | cmp -s /dev/null -
|
||||||
|
|
||||||
# interp.c exists just to get this string into the libraries.
|
# interp.c exists just to get this string into the libraries.
|
||||||
CFLAGS-interp.c = -D'RUNTIME_LINKER="$(slibdir)/$(rtld-installed-name)"' \
|
CFLAGS-interp.c = -D'RUNTIME_LINKER="$(slibdir)/$(rtld-installed-name)"' \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* Run time dynamic linker.
|
/* Run time dynamic linker.
|
||||||
Copyright (C) 1995-2002,2003,2004,2005,2006 Free Software Foundation, Inc.
|
Copyright (C) 1995-2006, 2007 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -359,10 +359,11 @@ _dl_start (void *arg)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* This #define produces dynamic linking inline functions for
|
/* This #define produces dynamic linking inline functions for
|
||||||
bootstrap relocation instead of general-purpose relocation. */
|
bootstrap relocation instead of general-purpose relocation.
|
||||||
|
Since ld.so must not have any undefined symbols the result
|
||||||
|
is trivial: always the map of ld.so itself. */
|
||||||
#define RTLD_BOOTSTRAP
|
#define RTLD_BOOTSTRAP
|
||||||
#define RESOLVE_MAP(sym, version, flags) \
|
#define RESOLVE_MAP(sym, version, flags) (&bootstrap_map)
|
||||||
((*(sym))->st_shndx == SHN_UNDEF ? 0 : &bootstrap_map)
|
|
||||||
#include "dynamic-link.h"
|
#include "dynamic-link.h"
|
||||||
|
|
||||||
if (HP_TIMING_INLINE && HP_TIMING_AVAIL)
|
if (HP_TIMING_INLINE && HP_TIMING_AVAIL)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user