From: Roland McGrath Date: Mon, 19 Apr 2010 22:38:48 +0000 (-0700) Subject: Link elf/noload test against -ldl. X-Git-Tag: upstream/2.20~5853 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1d4bf3155f06d7e807985589665c967d1af36517;p=platform%2Fupstream%2Flinaro-glibc.git Link elf/noload test against -ldl. --- diff --git a/ChangeLog b/ChangeLog index aa33b21..8b04cf9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2010-04-19 Roland McGrath + * elf/Makefile ($(objpfx)noload): Depend on libdl.so. + * Makeconfig (as-needed, no-as-needed): New variables. (link-libc): Add ld.so inside --as-needed. diff --git a/elf/Makefile b/elf/Makefile index d57c7fe..e600cc3 100644 --- a/elf/Makefile +++ b/elf/Makefile @@ -1,4 +1,4 @@ -# Copyright (C) 1995-2007, 2008, 2009 Free Software Foundation, Inc. +# Copyright (C) 1995-2007,2008,2009,2010 Free Software Foundation, Inc. # This file is part of the GNU C Library. # The GNU C Library is free software; you can redistribute it and/or @@ -654,7 +654,7 @@ $(objpfx)vismain: $(addprefix $(objpfx),vismod1.so vismod2.so) $(objpfx)vismain.out: $(addprefix $(objpfx),vismod3.so) vismain-ENV = LD_PRELOAD=$(addprefix $(objpfx),vismod3.so) -$(objpfx)noload: $(objpfx)testobj1.so +$(objpfx)noload: $(objpfx)testobj1.so $(common-objpfx)dlfcn/libdl.so LDFLAGS-noload = -rdynamic $(objpfx)noload.out: $(objpfx)testobj5.so