Skip to content

Commit 32c075e

Browse files
committed
.
1 parent d6220e9 commit 32c075e

File tree

448 files changed

+13887
-11028
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

448 files changed

+13887
-11028
lines changed

ChangeLog

Lines changed: 989 additions & 638 deletions
Large diffs are not rendered by default.

Makeconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -407,9 +407,11 @@ LDFLAGS.so += $(combreloc-LDFLAGS)
407407
LDFLAGS-rtld += $(combreloc-LDFLAGS)
408408
endif
409409

410+
ifeq (yes,$(have-z-relro))
410411
relro-LDFLAGS = -Wl,-z,relro
411412
LDFLAGS.so += $(relro-LDFLAGS)
412413
LDFLAGS-rtld += $(relro-LDFLAGS)
414+
endif
413415

414416
ifeq (yes,$(have-hash-style))
415417
# For the time being we unconditionally use 'both'. At some time we

Makerules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1233,7 +1233,10 @@ endif
12331233

12341234
ifeq ($(firstword $(sysd-sorted-done) f)$(firstword $(generating) f),tf)
12351235
-include $(common-objpfx)tls.make
1236+
config-tls := notls
1237+
ifeq ($(use-tls),yes)
12361238
config-tls := tls
1239+
endif
12371240
ifeq ($(use-thread),yes)
12381241
config-tls := thread
12391242
endif

NEWS

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,21 @@
1-
GNU C Library NEWS -- history of user-visible changes. 2006-10-11
1+
GNU C Library NEWS -- history of user-visible changes. 2006-09-29
22
Copyright (C) 1992-2002,2003,2004,2005,2006 Free Software Foundation, Inc.
33
See the end for copying conditions.
44

55
Please send GNU C library bug reports via <http://sources.redhat.com/bugzilla/>
66
using `glibc' in the "product" field.
77

8-
Version 2.6
8+
Version 2.5.1
99

10-
* New Linux interfaces: epoll_pwait.
10+
* The following bugs are resolved with this release:
11+
12+
2337, 2749, 3213, 3291, 3306, 3320, 3322, 3334, 3348, 3352, 3369, 3429,
13+
3451, 3458, 3559, 3632, 3664, 3673, 3674, 3747, 3842, 3851, 3855, 3884,
14+
3902, 3919, 3944, 3954, 3955, 3957, 3995, 4069, 4070, 4074, 4076, 4101,
15+
4102, 4130, 4131, 4181, 4342, 4344, 4364, 4368, 4381, 4405, 4406, 4411,
16+
4438, 4439, 4465, 4512, 4514, 4586, 4702, 4858
17+
18+
Visit <http://sources.redhat.com/bugzilla/> for the details of each bug.
1119

1220

1321
Version 2.5

README

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
This directory contains the version 2.5 release of the GNU C Library.
1+
This directory contains the version 2.5.1 release of the GNU C Library.
22

33
The GNU C Library is the standard system C library for all GNU systems,
44
and is an important part of what makes up a GNU system. It provides the
@@ -52,7 +52,7 @@ The GNU C Library supports these configurations for using Linux kernels:
5252

5353
The code for other CPU configurations supported by volunteers outside of
5454
the core glibc maintenance effort is contained in the separate `ports'
55-
add-on. You can find glibc-ports-2.5 distributed separately in the
55+
add-on. You can find glibc-ports-2.5.1 distributed separately in the
5656
same place where you got the main glibc distribution files.
5757
Currently these configurations are known to work using the `ports' add-on:
5858

Versions.def

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ libc {
2222
GLIBC_2.3.4
2323
GLIBC_2.4
2424
GLIBC_2.5
25-
GLIBC_2.6
2625
%ifdef USE_IN_LIBIO
2726
HURD_CTHREADS_0.3
2827
%endif
@@ -83,7 +82,6 @@ libpthread {
8382
GLIBC_2.3.3
8483
GLIBC_2.3.4
8584
GLIBC_2.4
86-
GLIBC_2.6
8785
GLIBC_PRIVATE
8886
}
8987
libresolv {

argp/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (C) 1997, 2002, 2003, 2006 Free Software Foundation, Inc.
1+
# Copyright (C) 1997, 2002, 2003, 2006, 2007 Free Software Foundation, Inc.
22
# This file is part of the GNU C Library.
33

44
# The GNU C Library is free software; you can redistribute it and/or
@@ -26,7 +26,7 @@ distribute = argp-fmtstream.h argp-namefrob.h
2626
routines = $(addprefix argp-, ba fmtstream fs-xinl help parse pv \
2727
pvh xinl eexst)
2828

29-
tests = argp-test tst-argp1 bug-argp1
29+
tests = argp-test tst-argp1 bug-argp1 tst-argp2
3030

3131
CFLAGS-argp-help.c = $(uses-callbacks) -fexceptions
3232
CFLAGS-argp-parse.c = $(uses-callbacks)

argp/argp-help.c

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/* Hierarchial argument parsing help output
2-
Copyright (C) 1995-2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2+
Copyright (C) 1995-2003, 2004, 2005, 2006, 2007
3+
Free Software Foundation, Inc.
34
This file is part of the GNU C Library.
45
Written by Miles Bader <[email protected]>.
56
@@ -672,9 +673,9 @@ hol_cluster_cmp (const struct hol_cluster *cl1, const struct hol_cluster *cl2)
672673
{
673674
/* If one cluster is deeper than the other, use its ancestor at the same
674675
level, so that finding the common ancestor is straightforward. */
675-
while (cl1->depth < cl2->depth)
676+
while (cl1->depth > cl2->depth)
676677
cl1 = cl1->parent;
677-
while (cl2->depth < cl1->depth)
678+
while (cl2->depth > cl1->depth)
678679
cl2 = cl2->parent;
679680

680681
/* Now reduce both clusters to their ancestors at the point where both have
@@ -987,7 +988,7 @@ static const char *
987988
filter_doc (const char *doc, int key, const struct argp *argp,
988989
const struct argp_state *state)
989990
{
990-
if (argp->help_filter)
991+
if (argp && argp->help_filter)
991992
/* We must apply a user filter to this output. */
992993
{
993994
void *input = __argp_input (argp, state);

argp/tst-argp2.c

Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
/* Copyright (C) 2007 Free Software Foundation, Inc.
2+
This file is part of the GNU C Library.
3+
Contributed by Jakub Jelinek <[email protected]>, 2007.
4+
5+
The GNU C Library is free software; you can redistribute it and/or
6+
modify it under the terms of the GNU Lesser General Public
7+
License as published by the Free Software Foundation; either
8+
version 2.1 of the License, or (at your option) any later version.
9+
10+
The GNU C Library is distributed in the hope that it will be useful,
11+
but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13+
Lesser General Public License for more details.
14+
15+
You should have received a copy of the GNU Lesser General Public
16+
License along with the GNU C Library; if not, write to the Free
17+
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
18+
02111-1307 USA. */
19+
20+
#include <argp.h>
21+
22+
static const struct argp_option opt1[] =
23+
{
24+
{ "opt1", '1', "NUMBER", 0, "Option 1" },
25+
{ NULL, 0, NULL, 0, NULL }
26+
};
27+
28+
static const struct argp_option opt2[] =
29+
{
30+
{ "opt2", '2', "NUMBER", 0, "Option 2" },
31+
{ NULL, 0, NULL, 0, NULL }
32+
};
33+
34+
static const struct argp_option opt3[] =
35+
{
36+
{ "opt3", '3', "NUMBER", 0, "Option 3" },
37+
{ NULL, 0, NULL, 0, NULL }
38+
};
39+
40+
static const struct argp_option opt4[] =
41+
{
42+
{ "opt4", '4', "NUMBER", 0, "Option 4" },
43+
{ NULL, 0, NULL, 0, NULL }
44+
};
45+
46+
static const struct argp_option opt5[] =
47+
{
48+
{ "opt5", '5', "NUMBER", 0, "Option 5" },
49+
{ NULL, 0, NULL, 0, NULL }
50+
};
51+
52+
static struct argp argp5 =
53+
{
54+
opt5, NULL, "args doc5", "doc5", NULL, NULL, NULL
55+
};
56+
57+
static struct argp argp4 =
58+
{
59+
opt4, NULL, "args doc4", "doc4", NULL, NULL, NULL
60+
};
61+
62+
static struct argp argp3 =
63+
{
64+
opt3, NULL, "args doc3", "doc3", NULL, NULL, NULL
65+
};
66+
67+
static struct argp_child children2[] =
68+
{
69+
{ &argp4, 0, "child3", 3 },
70+
{ &argp5, 0, "child4", 4 },
71+
{ NULL, 0, NULL, 0 }
72+
};
73+
74+
static struct argp argp2 =
75+
{
76+
opt2, NULL, "args doc2", "doc2", children2, NULL, NULL
77+
};
78+
79+
static struct argp_child children1[] =
80+
{
81+
{ &argp2, 0, "child1", 1 },
82+
{ &argp3, 0, "child2", 2 },
83+
{ NULL, 0, NULL, 0 }
84+
};
85+
86+
static struct argp argp1 =
87+
{
88+
opt1, NULL, "args doc1", "doc1", children1, NULL, NULL
89+
};
90+
91+
92+
static int
93+
do_test (void)
94+
{
95+
argp_help (&argp1, stdout, ARGP_HELP_LONG, (char *) "tst-argp2");
96+
return 0;
97+
}
98+
99+
100+
#define TEST_FUNCTION do_test ()
101+
#include "../test-skeleton.c"

catgets/gencat.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Copyright (C) 1996-2005, 2006, 2007 Free Software Foundation, Inc.
1+
/* Copyright (C) 1996-2005, 2006 Free Software Foundation, Inc.
22
This file is part of the GNU C Library.
33
Contributed by Ulrich Drepper <[email protected]>, 1996.
44
@@ -246,7 +246,7 @@ print_version (FILE *stream, struct argp_state *state)
246246
Copyright (C) %s Free Software Foundation, Inc.\n\
247247
This is free software; see the source for copying conditions. There is NO\n\
248248
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\
249-
"), "2007");
249+
"), "2006");
250250
fprintf (stream, gettext ("Written by %s.\n"), "Ulrich Drepper");
251251
}
252252

config.h.in

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919
/* Defined if building with SELinux support & audit libs are detected. */
2020
#undef HAVE_LIBAUDIT
2121

22+
/* Defined if building with SELinux support & libcap libs are detected. */
23+
#undef HAVE_LIBCAP
24+
2225
/* Define if using XCOFF. Set by --with-xcoff. */
2326
#undef HAVE_XCOFF
2427

@@ -120,6 +123,23 @@
120123
/* Define if the linker supports the -z combreloc option. */
121124
#undef HAVE_Z_COMBRELOC
122125

126+
/* Define if the assembler supported .protected. */
127+
#undef HAVE_PROTECTED
128+
129+
/* Define if the assembler supported .hidden. */
130+
#undef HAVE_HIDDEN
131+
132+
/* Define if the compiler supports __attribute__ ((visibility (...))). */
133+
#undef HAVE_VISIBILITY_ATTRIBUTE
134+
135+
/* Define if the compiler doesn't support __attribute__ ((visibility (...)))
136+
together with __asm__ redirection properly. */
137+
#undef HAVE_BROKEN_VISIBILITY_ATTRIBUTE
138+
139+
/* Define if the compiler doesn't support __attribute__ ((alias (...)))
140+
together with __asm__ redirection properly. */
141+
#undef HAVE_BROKEN_ALIAS_ATTRIBUTE
142+
123143
/* Define if _rtld_local structure should be forced into .sdata section. */
124144
#undef HAVE_SDATA_SECTION
125145

@@ -171,6 +191,9 @@
171191
/* Defined if forced unwind support is available. */
172192
#undef HAVE_FORCED_UNWIND
173193

194+
/* Defined if the linker supports the -z relro option. */
195+
#undef HAVE_Z_RELRO
196+
174197
/* Defined of libidn is available. */
175198
#undef HAVE_LIBIDN
176199

config.make.in

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,14 @@ c++-sysincludes = @CXX_SYSINCLUDES@
3838
all-warnings = @all_warnings@
3939

4040
elf = @elf@
41+
have-protected = @libc_cv_asm_protected_directive@
42+
have-z-nodelete = @libc_cv_z_nodelete@
43+
have-z-nodlopen = @libc_cv_z_nodlopen@
44+
have-z-initfirst = @libc_cv_z_initfirst@
4145
have-z-combreloc = @libc_cv_z_combreloc@
4246
have-z-execstack = @libc_cv_z_execstack@
4347
have-initfini = @libc_cv_have_initfini@
48+
have-z-relro = @libc_cv_z_relro@
4449
have-Bgroup = @libc_cv_Bgroup@
4550
have-as-needed = @libc_cv_as_needed@
4651
libgcc_s_suffix = @libc_cv_libgcc_s_suffix@

0 commit comments

Comments
 (0)