[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[commits] r13699 - in /fsf/trunk/libc: ChangeLog Makeconfig NEWS inet/protocols/timed.h nis/Makefile resolv/netdb.h
- To: commits@xxxxxxxxxx
- Subject: [commits] r13699 - in /fsf/trunk/libc: ChangeLog Makeconfig NEWS inet/protocols/timed.h nis/Makefile resolv/netdb.h
- From: eglibc@xxxxxxxxxx
- Date: Fri, 06 May 2011 07:03:21 -0000
Author: eglibc
Date: Fri May 6 00:03:18 2011
New Revision: 13699
Log:
Import glibc-mainline for 2011-05-06
Modified:
fsf/trunk/libc/ChangeLog
fsf/trunk/libc/Makeconfig
fsf/trunk/libc/NEWS
fsf/trunk/libc/inet/protocols/timed.h
fsf/trunk/libc/nis/Makefile
fsf/trunk/libc/resolv/netdb.h
Modified: fsf/trunk/libc/ChangeLog
==============================================================================
--- fsf/trunk/libc/ChangeLog (original)
+++ fsf/trunk/libc/ChangeLog Fri May 6 00:03:18 2011
@@ -1,3 +1,16 @@
+2011-05-05 Paul Pluzhnikov <ppluzhnikov@xxxxxxxxxx>
+
+ * Makeconfig (link-libc-static): Use --{start,end}-group to handle
+ circular dependency between libgcc.a and libc.a.
+
+2011-05-05 Andreas Schwab <schwab@xxxxxxxxxx>
+
+ * resolv/netdb.h: Don't include <rpc/netdb.h>.
+ * nis/Makefile: Don't install rpcsvc/*.
+ * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
+ instead of <rpc/types.h>.
+ (MAXHOSTNAMELEN): Define.
+
2011-05-03 Andreas Schwab <schwab@xxxxxxxxxx>
* elf/ldconfig.c (add_dir): Don't crash on empty path.
Modified: fsf/trunk/libc/Makeconfig
==============================================================================
--- fsf/trunk/libc/Makeconfig (original)
+++ fsf/trunk/libc/Makeconfig Fri May 6 00:03:18 2011
@@ -531,7 +531,7 @@
# The static libraries.
ifeq (yes,$(build-static))
-link-libc-static = $(common-objpfx)libc.a $(static-gnulib) $(common-objpfx)libc.a
+link-libc-static = -Wl,--start-group $(common-objpfx)libc.a $(static-gnulib) -Wl,--end-group
else
ifeq (yes,$(build-shared))
# We can try to link the programs with lib*_pic.a...
Modified: fsf/trunk/libc/NEWS
==============================================================================
--- fsf/trunk/libc/NEWS (original)
+++ fsf/trunk/libc/NEWS Fri May 6 00:03:18 2011
@@ -1,4 +1,4 @@
-GNU C Library NEWS -- history of user-visible changes. 2011-5-2
+GNU C Library NEWS -- history of user-visible changes. 2011-5-5
Copyright (C) 1992-2009, 2010, 2011 Free Software Foundation, Inc.
See the end for copying conditions.
@@ -11,6 +11,11 @@
but new programs cannot be linked with the routines in libc anymore.
Programs in need of RPC functionality must be linked against TI-RPC.
The TI-RPC implemtation is IPv6 enabled and there are other benefits.
+
+ Visible changes of this change include (obviously) the inability to link
+ programs using RPC functions without referencing the TI-RPC library, the
+ removal of the RPC headers from the glibc headers, and the lack of
+ symbols defined in <rpc/netdb.h> when <netdb.h> is installed.
Implemented by Ulrich Drepper.
* New Linux interfaces: clock_adjtime, name_to_handle_at, open_by_handle_at,
Modified: fsf/trunk/libc/inet/protocols/timed.h
==============================================================================
--- fsf/trunk/libc/inet/protocols/timed.h (original)
+++ fsf/trunk/libc/inet/protocols/timed.h Fri May 6 00:03:18 2011
@@ -32,7 +32,8 @@
#ifndef _PROTOCOLS_TIMED_H
#define _PROTOCOLS_TIMED_H 1
-#include <rpc/types.h>
+#include <sys/types.h>
+#include <sys/time.h>
/*
* Time Synchronization Protocol
@@ -40,6 +41,7 @@
#define TSPVERSION 1
#define ANYADDR NULL
+#define MAXHOSTNAMELEN 64
struct tsp {
u_char tsp_type;
Modified: fsf/trunk/libc/nis/Makefile
==============================================================================
--- fsf/trunk/libc/nis/Makefile (original)
+++ fsf/trunk/libc/nis/Makefile Fri May 6 00:03:18 2011
@@ -23,9 +23,9 @@
aux := nis_hash
-headers := $(wildcard rpcsvc/*.[hx])
distribute := nss-nis.h nss-nisplus.h nis_intern.h Banner \
- nisplus-parser.h nis_xdr.h nss
+ nisplus-parser.h nis_xdr.h nss \
+ $(wildcard rpcsvc/*.[hx])
# These are the databases available for the nis (and perhaps later nisplus)
# service. This must be a superset of the services in nss.
Modified: fsf/trunk/libc/resolv/netdb.h
==============================================================================
--- fsf/trunk/libc/resolv/netdb.h (original)
+++ fsf/trunk/libc/resolv/netdb.h Fri May 6 00:03:18 2011
@@ -27,11 +27,6 @@
#include <netinet/in.h>
#include <stdint.h>
-#ifdef __USE_MISC
-/* This is necessary to make this include file properly replace the
- Sun version. */
-# include <rpc/netdb.h>
-#endif
#ifdef __USE_GNU
# define __need_sigevent_t