mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
Remove non-ELF support
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
# Copyright (C) 1994-2001,2003,2004,2007,2008,2011
|
||||
# Copyright (C) 1994-2001,2003,2004,2007,2008,2011,2012
|
||||
# Free Software Foundation, Inc.
|
||||
# This file is part of the GNU C Library.
|
||||
|
||||
@ -91,7 +91,7 @@ CFLAGS-res_hconf.c = -fexceptions
|
||||
$(objpfx)libresolv.so: $(common-objpfx)libc.so $(common-objpfx)libc_nonshared.a
|
||||
# Some hosts need '__stack_chk_guard', so pull in the definition from
|
||||
# ld.so if required.
|
||||
ifeq (yesyes,$(have-ssp)$(elf))
|
||||
ifeq (yes,$(have-ssp))
|
||||
LDLIBS-resolv.so += $(as-needed) $(elfobjdir)/ld.so $(no-as-needed)
|
||||
endif
|
||||
|
||||
|
@ -133,7 +133,7 @@ extern __thread struct __res_state *__libc_resp
|
||||
|
||||
/* We declare this with compat_symbol so that it's not
|
||||
visible at link time. Programs must use the accessor functions. */
|
||||
#if defined HAVE_ELF && defined SHARED && defined DO_VERSIONING
|
||||
#if defined SHARED && defined DO_VERSIONING
|
||||
# include <shlib-compat.h>
|
||||
compat_symbol (libc, _res, _res, GLIBC_2_0);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user