]> sourceware.org Git - glibc.git/blame - ChangeLog
Add --foreground option for nscd
[glibc.git] / ChangeLog
CommitLineData
bb90b80b
AJ
12012-05-09 Alexandre Oliva <aoliva@redhat.com>
2 Andreas Jaeger <aj@suse.de>
3
4 * nscd/nscd.c (go_background): Replaced with...
5 (run_mode): ... this.
6 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
7 (options): Add -F --foreground.
8 (main): Implement it.
9 (parse_opt): Parse it.
10
1a4b75a1
AJ
112012-05-09 Andreas Jaeger <aj@suse.de>
12
13 [BZ #14083]
14 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
15 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
16 -Wconversion warning.
17 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
18 Likewise.
19
b1cc2472
JM
202012-05-09 Joseph Myers <joseph@codesourcery.com>
21
22 * conform/data/locale.h-data (NULL): Use macro-constant. Require
23 == 0.
24 (LC_ALL): Use macro-int-constant.
25 (LC_COLLATE): Likewise.
26 (LC_CTYPE): Likewise.
27 (LC_MESSAGES): Likewise.
28 (LC_MONETARY): Likewise.
29 (LC_NUMERIC): Likewise.
30 (LC_TIME): Likewise.
31 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
32 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
35 Specify type.
36 [C99-based standards] (float_t): Expect type.
37 [C99-based standards] (double_t): Expect type.
38 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
39 type.
40 [C99-based standards] (HUGE_VALL): Likewise.
41 [C99-based standards] (INFINITY): Likewise.
42 [C99-based standards] (NAN): Likewise.
43 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
44 [C99-based standards] (FP_NAN): Likewise.
45 [C99-based standards] (FP_NORMAL): Likewise.
46 [C99-based standards] (FP_SUBNORMAL): Likewise.
47 [C99-based standards] (FP_ZERO): Likewise.
48 [C99-based standards] (FP_FAST_FMA): Use
49 optional-macro-int-constant. Specify type. Require == 1.
50 [C99-based standards] (FP_FAST_FMAF): Likewise.
51 [C99-based standards] (FP_FAST_FMAL): Likewise.
52 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
53 [C99-based standards] (FP_ILOGBNAN): Likewise.
54 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
55 Specify type.
56 [C99-based standards] (MATH_ERREXCEPT): Likewise.
57 [C99-based standards] (math_errhandling): Specify type.
58 [ISO99 || ISO11] (signgam): Do not allow.
59 [non-C99-based standards] (copysignf): Do not allow.
60 [non-C99-based standards] (exp2f): Likewise.
61 [non-C99-based standards] (log2f): Likewise.
62 [non-C99-based standards] (modff): Allow.
63 [non-C99-based standards] (erff): Do not allow.
64 [non-C99-based standards] (erfcf): Likewise.
65 [non-C99-based standards] (gammaf): Likewise.
66 [non-C99-based standards] (hypotf): Likewise.
67 [non-C99-based standards] (j0f): Likewise.
68 [non-C99-based standards] (j1f): Likewise.
69 [non-C99-based standards] (jnf): Likewise.
70 [non-C99-based standards] (lgammaf): Likewise.
71 [non-C99-based standards] (tgammaf): Likewise.
72 [non-C99-based standards] (y0f): Likewise.
73 [non-C99-based standards] (y1f): Likewise.
74 [non-C99-based standards] (ynf): Likewise.
75 [non-C99-based standards] (isnanf): Likewise.
76 [non-C99-based standards] (acoshf): Likewise.
77 [non-C99-based standards] (asinhf): Likewise.
78 [non-C99-based standards] (atanhf): Likewise.
79 [non-C99-based standards] (cbrtf): Likewise.
80 [non-C99-based standards] (expm1f): Likewise.
81 [non-C99-based standards] (ilogbf): Likewise.
82 [non-C99-based standards] (log1pf): Likewise.
83 [non-C99-based standards] (logbf): Likewise.
84 [non-C99-based standards] (nextafterf): Likewise.
85 [non-C99-based standards] (remainderf): Likewise.
86 [non-C99-based standards] (rintf): Likewise.
87 [non-C99-based standards] (scalbf): Likewise.
88 [non-C99-based standards] (copysignl): Likewise.
89 [non-C99-based standards] (exp2l): Likewise.
90 [non-C99-based standards] (log2l): Likewise.
91 [non-C99-based standards] (modfl): Allow.
92 [non-C99-based standards] (erfl): Do not allow.
93 [non-C99-based standards] (erfcl): Likewise.
94 [non-C99-based standards] (gammal): Likewise.
95 [non-C99-based standards] (hypotl): Likewise.
96 [non-C99-based standards] (j0l): Likewise.
97 [non-C99-based standards] (j1l): Likewise.
98 [non-C99-based standards] (jnl): Likewise.
99 [non-C99-based standards] (lgammal): Likewise.
100 [non-C99-based standards] (tgammal): Likewise.
101 [non-C99-based standards] (y0l): Likewise.
102 [non-C99-based standards] (y1l): Likewise.
103 [non-C99-based standards] (ynl): Likewise.
104 [non-C99-based standards] (isnanl): Likewise.
105 [non-C99-based standards] (acoshl): Likewise.
106 [non-C99-based standards] (asinhl): Likewise.
107 [non-C99-based standards] (atanhl): Likewise.
108 [non-C99-based standards] (cbrtl): Likewise.
109 [non-C99-based standards] (expm1l): Likewise.
110 [non-C99-based standards] (ilogbl): Likewise.
111 [non-C99-based standards] (log1pl): Likewise.
112 [non-C99-based standards] (logbl): Likewise.
113 [non-C99-based standards] (nextafterl): Likewise.
114 [non-C99-based standards] (remainderl): Likewise.
115 [non-C99-based standards] (rintl): Likewise.
116 [non-C99-based standards] (scalbl): Likewise.
117 [ISO || ISO99 || ISO11] (*_t): Do not allow.
118 [non-C99-based standards] (FP_*): Do not allow.
119 [C99-based standards] (FP_*): Change to
120 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
121 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
122 allow.
123 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
124 (SIG_ERR): Likewise.
125 [X/Open-based standards] (SIG_HOLD): Likewise.
126 (SIG_IGN): Likewise.
127 (SIGABRT): Use macro-int-constant. Specify type. Require
128 positive value.
129 (SIGFPE): Likewise.
130 (SIGILL): Likewise.
131 (SIGINT): Likewise.
132 (SIGSEGV): Likewise.
133 (SIGTER): Likewise.
134 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
135 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
136 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
137 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
138 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
139 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
140 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
141 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
142 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
143 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
144 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
145 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
146 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
147 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
148 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
149 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
150 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
151 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
152 [X/Open-based standards] (SIGTRAP): Likewise.
153 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
154 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
155 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
156 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
157 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
158 allow.
159
b9f1922d
IW
1602012-05-08 Ian Wienand <ianw@vmware.com>
161
162 [BZ #14080]
163 * time/tzset.c (__tzset_parse_tz): Update default rules for
164 daylight time changes in the Energy Policy Act of 2005.
165
1db86e88
AJ
1662012-05-09 Andreas Jaeger <aj@suse.de>
167
168 [BZ #13983]
169 * elf/ldconfig.c (parse_conf): Change string to make clear that
170 ldconfig only issued a warning if ld.so.conf does not exist.
171
dee4a4e3
DM
1722012-05-08 David S. Miller <davem@davemloft.net>
173
ee0db190
DM
174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
175 movxtod instead of popping the value on the stack.
176
dee4a4e3
DM
177 * sysdeps/sparc/fpu/libm-test-ulps: Update.
178
6a43ec98
CD
1792012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
180
181 * config.h.in: Add HAVE_ARM_PCS_VFP.
182
05c2c961
RMG
1832012-05-08 Roland Mc Grath <roland@hack.frob.com>
184
185 [BZ #13979]
186 * include/features.h: Warn if user requests __FORTIFY_SOURCE
187 checking but the checks are disabled for any reason.
188
4b30f61a
L
1892012-05-08 H.J. Lu <hongjiu.lu@intel.com>
190
191 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
192 and ELF64_R_TYPE with ELFW(R_TYPE).
193
eee2bc67
JM
1942012-05-08 Joseph Myers <joseph@codesourcery.com>
195
7ea5391a
JM
196 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
197 (ulimit): Likewise.
198
eee2bc67
JM
199 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
200 (settimeofday): Likewise.
201
abb66a67
MF
2022012-05-08 Mike Frysinger <vapier@gentoo.org>
203
204 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
205 a struct th_u2 inside the union, and move tu_block/tu_code into
206 a new th_u3 union of tu_block/tu_code inside of that. Move
207 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
208 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
209 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
210 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
211 (th_stuff): Change to th_u1.tu_stuff.
212 (th_data): Define.
213 (th_msg): Change to th_u1.th_u2.tu_data.
214
7f18b530
DM
2152012-05-07 David S. Miller <davem@davemloft.net>
216
05760585
DM
217 * sysdeps/sparc/fpu/libm-test-ulps: Update.
218
7f18b530
DM
219 [BZ #14074]
220 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
221 (SETUP_PIC_REG): Use it.
222 (SETUP_PIC_REG_LEAF): Use it.
223
495fd99f
JM
2242012-05-07 Joseph Myers <joseph@codesourcery.com>
225
226 [BZ #13885]
227 [BZ #13923]
228 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
229 USE_AS_EXPM1L.
230 (EXPL_FINITE): Likewise.
231 (FLDLOG): Likewise.
232 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
233 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
234 e_expl.S.
235 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
236 USE_AS_EXPM1L.
237 (EXPL_FINITE): Likewise.
238 (FLDLOG): Likewise.
239 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
240 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
241 e_expl.S.
242 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
243 test of -max_value argument for long double.
244 * sysdeps/i386/fpu/libm-test-ulps: Update.
245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
246
6693d694
DM
2472012-05-06 David S. Miller <davem@davemloft.net>
248
249 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
250 quad soft-float symbols whose references which are compiler
251 generated.
252 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
253
6c23e11c
JM
2542012-05-06 Joseph Myers <joseph@codesourcery.com>
255
d8b82cad
JM
256 [BZ #13884]
257 [BZ #13914]
258 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
259 USE_AS_EXP10L.
260 (EXPL_FINITE): Likewise.
261 (FLDLOG): Likewise.
262 (c0): Likewise.
263 (c1): Likewise.
264 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
265 Adjust comments for base varying.
266 (__expl_finite): Change alias to EXPL_FINITE.
267 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
268 e_expl.S.
269 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
270 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
271 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
272 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
273 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
274 USE_AS_EXP10L.
275 (EXPL_FINITE): Likewise.
276 (FLDLOG): Likewise.
277 (c0): Likewise.
278 (c1): Likewise.
279 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
280 Adjust comments for base varying.
281 (__expl_finite): Change alias to EXPL_FINITE.
282 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
283 tests for bugs.
284 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
285
6c23e11c
JM
286 [BZ #14064]
287 * math/libm-test.inc (check_float_internal): Correct ulp
288 calculation for subnormal expected results.
289
29ba805c
AJ
2902012-05-06 Andreas Jaeger <aj@suse.de>
291
292 * Makeconfig (+math-flags): New, set to -frounding-math.
293 (+cflags): Add +math-flags so that all of glibc gets compiled with
294 it.
295
296 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
297
7b17aeda
JM
2982012-05-05 Joseph Myers <joseph@codesourcery.com>
299
5779f134
JM
300 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
301 Disable one test.
302
41498f4d
JM
303 [BZ #13787]
304 [BZ #13922]
305 [BZ #14036]
306 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
307 (__ieee754_expl): Allow for and saturate large arguments.
308 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
309 (u_threshold): Likewise.
310 (__exp): Call __ieee754_exp before checking for overflow and
311 underflow.
312 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
313 (u_threshold): Likewise.
314 (__expf): Call __ieee754_expf before checking for overflow and
315 underflow.
316 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
317 (u_threshold): Likewise.
318 (__expl): Call __ieee754_expl before checking for overflow and
319 underflow.
320 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
321 (__ieee754_expl): Allow for and saturate large arguments.
322 * math/libm-test.inc (exp_test): Add another test. Do not allow
323 missing overflow exception on overflow.
324 (expm1_test): Do not allow missing overflow exception on overflow.
325
6698b8bf
JM
326 * sysdeps/i386/fpu/e_expl.c: Move to ...
327 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
328 rather than using inline asm.
329 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
330 * sysdeps/x86_64/fpu/e_expl.S: Copy from
331 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
332
7b17aeda
JM
333 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
334 (nice): Likewise.
335 (poll): Likewise.
336 (signal): Likewise.
337 (time): Likewise.
338 (times): Likewise.
339
f7c85819
JM
3402012-05-04 Joseph Myers <joseph@codesourcery.com>
341
342 * sysdeps/unix/syscalls.list (adjtime): Add entry from
343 sysdeps/unix/common/syscalls.list.
344 (fchmod): Likewise.
345 (fchown): Likewise.
346 (ftruncate): Likewise.
347 (getrusage): Likewise.
348 (gettimeofday): Likewise.
349 (setpgid): Likewise.
350 (setregid): Likewise.
351 (setreuid): Likewise.
352 (sigaction): Likewise.
353 (truncate): Likewise.
354 (vhangup): Likewise.
355 * sysdeps/unix/common/syscalls.list: Remove file.
356 * sysdeps/unix/bsd/Implies: Don't include unix/common.
357 * sysdeps/unix/sysv/linux/Implies: Likewise.
358
336270d0
L
3592012-05-04 H.J. Lu <hongjiu.lu@intel.com>
360
361 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
362 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
363 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
364 Moved to ...
365 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
366 Here.
367 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
368 to ...
369 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
370 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
371 to ...
372 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
373 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
374 to ...
375 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
376 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
377 to ...
378 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
379 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
380 to ...
381 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
382 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
383 to ...
384 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
385 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
386 to ...
387 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
388 Here.
389 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
390 to ...
391 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
392 Here.
393 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
394 to ...
395 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
396 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
397 Moved to ...
398 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
399 Here.
400 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
401 to ...
402 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
403
d128e450
JM
4042012-05-04 Joseph Myers <joseph@codesourcery.com>
405
fa8ee516
JM
406 * sysdeps/unix/common/bits/dirent.h: Remove file.
407 * sysdeps/unix/common/bits/fcntl.h: Likewise.
408
d128e450
JM
409 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
410 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
411 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
412 * sysdeps/unix/bsd/isatty.c: Likewise.
413 * sysdeps/unix/bsd/tcdrain.c: Likewise.
414 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
415 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
416
ff8faaf0 4172012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 418
62881be4 419 [BZ #13563]
31dc8730
AZ
420 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
421 long double comparison inaccuracies.
422 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
423 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
424
6fef930c
AS
4252012-05-04 Andreas Schwab <schwab@linux-m68k.org>
426
427 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
428 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
429
8f203e6c
JM
4302012-05-04 Joseph Myers <joseph@codesourcery.com>
431
432 [BZ #14049]
433 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
434 nonzero digits before rounding a hex value.
435 * stdlib/tst-strtod.c (tests): Add another test.
436
5197d9c2
AK
4372012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
438
439 * sysdeps/s390/fpu/libm-test-ulps: Update.
440
f0c1dedf
AJ
4412012-05-03 Andreas Jaeger <aj@suse.de>
442
443 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
444 does not get optimized out.
445 (malloc_opt_barrier): New.
446
a65ef2ae 4472012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 448 Roland McGrath <roland@hack.frob.com>
a65ef2ae 449
2b942cb7 450 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 451 intermediate file deletion.
2b942cb7 452 (generated): Add .symlist files.
a65ef2ae 453
54b71e02
JM
4542012-05-03 Joseph Myers <joseph@codesourcery.com>
455
456 [BZ #13775]
457 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
458 Redirect under this condition.
459 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
460 [__USE_GNU] (__dprintf_chk): Not under this condition.
461 [__USE_GNU] (__vdprintf_chk): Likewise.
462 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
463 under this condition.
464 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
465 [__USE_XOPEN2K8] (dprintf): Define under this condition.
466 [__USE_XOPEN2K8] (vdprintf): Likewise.
467 [__USE_GNU] (__dprintf_chk): Not under this condition.
468 [__USE_GNU] (__vdprintf_chk): Likewise.
469 [__USE_GNU] (dprintf): Likewise.
470 [__USE_GNU] (vdprintf): Likewise.
471
d3dfcc41
RM
4722012-05-03 Roland McGrath <roland@hack.frob.com>
473
474 * elf/Makefile (common-generated): Set this instead of generated for
475 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
476 $(all-built-dso)-derived lists.
477
7ac30cc5
AJ
4782012-05-03 Andreas Jaeger <aj@suse.de>
479
0c51e550
AJ
480 * sysdeps/i386/fpu/libm-test-ulps: Update.
481
7ac30cc5
AJ
482 * FAQ: Removed.
483 * FAQ.in: Likewise.
484 * scripts/gen-FAQ.pl: Likewise.
485 * manual/install.texi (Installation): Point to online location of
486 FAQ.
487 * Makefile (files-for-dist): Remove FAQ.
488 (FAQ): Remove.
489
d4c2917f
AM
4902012-05-02 Allan McRae <allan@archlinux.org>
491
492 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
493 (LDFLAGS-reldepmod5.so): Likewise.
494 (LDFLAGS-reldep6mod1.so): Likewise.
495 (LDFLAGS-reldep6mod4.so): Likewise.
496 (LDFLAGS-reldep8mod3.so): Likewise.
497 (LDFLAGS-unload4mod1.so): Likewise.
498 (LDFLAGS-unload4mod2.so): Likewise.
499 (LDFLAGS-tst-initorder): Likewise.
500 (LDFLAGS-tst-initordera2.so): Likewise.
501 (LDFLAGS-tst-initordera3.so): Likewise.
502 (LDFLAGS-tst-initordera4.so): Likewise.
503 (LDFLAGS-tst-initorderb2.so): Likewise.
504 (LDFLAGS-noload): Likewise.
505 (LDFLAGS-next): Likewise.
506 (LDFLAGS-order2mod1.so): Likewise.
507 (LDFLAGS-order2mod2.so): Likewise.
508 (LDFLAGS-tst-initorder2): Likewise.
509 (LDFLAGS-tst-initorder2a.so): Likewise.
510 (LDFLAGS-tst-initorder2b.so): Likewise.
511 (LDFLAGS-tst-initorder2c.so): Likewise.
512 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
513
d77f993f
DM
5142012-05-02 David S. Miller <davem@davemloft.net>
515
516 * sysdeps/sparc/fpu/libm-test-ulps: Update.
517
171a70b4
PP
5182012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
519
520 [BZ #14055]
521 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
522
0be196ad
AJ
5232012-05-02 Andreas Jaeger <aj@suse.de>
524
525 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
526 since we manipulate rounding mode.
527 (CPPFLAGS-test-idouble.c): Likewise.
528 (CPPFLAGS-test-ifloat.c): Likewise.
529 (CFLAGS-test-ldouble.c): Likewise.
530 (CFLAGS-test-double.c): Likewise.
531 (CFLAGS-test-float.c): Likewise.
532 (CFLAGS-test-misc.c): Likewise.
533 (CFLAGS-test-test-fenv.c): Likewise.
534
4f9d04aa
AZ
5352012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
536
2b942cb7
RM
537 [BZ #2550]
538 [BZ #2570]
539 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
540 comparisons to determine direction to adjust input.
4f9d04aa 541
82a79e7d
RM
5422012-05-01 Roland McGrath <roland@hack.frob.com>
543
f5a01ca9
RM
544 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
545 output to the target.
546
90fe4186
RM
547 * scripts/localplt.awk: New file.
548 * elf/Makefile ($(objpfx)check-localplt): Target removed.
549 (check-localplt-CFLAGS): Variable removed.
550 ($(all-built-dso:=.jmprel)): New static pattern rule.
551 (generated): Add those targets.
552 (localplt-built-dso): New variable.
553 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
554
555 * elf/check-localplt.c: File removed.
556
82397ed6
RM
557 * scripts/check-execstack.awk: New file.
558 * elf/Makefile ($(objpfx)check-execstack): Target removed.
559 (check-execstack-CFLAGS): Variable removed.
560 ($(objpfx)check-execstack.h): Target removed.
561 ($(objpfx)execstack-default): New target.
562 (generated): Add that instead of check-execstack.h.
563 ($(all-built-dso:=.phdr)): New static pattern rule.
564 (generated): Add those targets.
565 * elf/check-execstack.c: File removed.
566
82a79e7d
RM
567 * scripts/check-textrel.awk: New file.
568 * elf/Makefile ($(objpfx)check-textrel): Target removed.
569 (check-textrel-CFLAGS): Variable removed.
570 (all-built-dso): Use := to define.o
571 ($(all-built-dso:=.dyn)): New static pattern rule.
572 (generated): Add those targets.
573 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
574 * config.make.in (READELF): New substituted variable.
575 * elf/check-textrel.c: File removed.
576
62fde54f 5772012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 578
615605c9
JM
579 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
580 allow.
581 * conform/data/ctype.h-data [C99-based standards] (isblank):
582 Expect function.
583 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
584 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
585 [ISO || ISO99 || ISO11] (*_t): Do not allow.
586 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
587 Specify type. Require positive value.
588 (EILSEQ): Likewise.
589 (ERANGE): Likewise.
590 [ISO || POSIX] (EILSEQ): Do not expect.
591 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
592 Specify type. Require positive value.
593 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
594 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
595 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
596 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
597 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
598 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
599 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
600 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
601 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
602 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
603 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
604 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
605 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
606 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
607 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
608 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
609 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
610 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
611 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
612 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
613 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
614 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
615 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
616 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
617 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
618 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
619 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
620 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
621 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
622 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
623 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
624 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
625 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
626 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
627 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
628 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
629 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
630 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
631 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
632 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
633 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
634 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
635 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
636 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
637 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
638 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
639 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
640 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
641 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
642 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
643 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
644 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
645 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
646 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
647 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
648 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
649 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
650 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
651 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
652 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
653 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
654 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
655 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
656 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
657 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
658 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
659 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
660 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
661 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
662 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
663 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
664 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
665 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
666 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
667 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
668 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
669 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
670 Require >= 2.
671 (FLT_ROUNDS): Expect as macro, not constant.
672 (FLT_MANT_DIG): Use macro-int-constant.
673 (DBL_MANT_DIG): Likewise.
674 (LDBL_MANT_DIG): Likewise.
675 (FLT_DIG): Likewise.
676 (DBL_DIG): Likewise.
677 (LDBL_DIG): Likewise.
678 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
679 (DBL_MIN_EXP): Likewise.
680 (LDBL_MIN_EXP): Likewise.
681 (FLT_MAX_EXP): Use macro-int-constant.
682 (DBL_MAX_EXP): Likewise.
683 (LDBL_MAX_EXP): Likewise.
684 (FLT_MAX_10_EXP): Likewise.
685 (DBL_MAX_10_EXP): Likewise.
686 (LDBL_MAX_10_EXP): Likewise.
687 (FLT_MAX): Use macro-constant.
688 (DBL_MAX): Likewise.
689 (LDBL_MAX): Likewise.
690 (FLT_EPSILON): Use macro-constant. Give upper bound.
691 (DBL_EPSILON): Likewise.
692 (LDBL_EPSILON): Likewise.
693 (FLT_MIN): Likewise.
694 (DBL_MIN): Likewise.
695 (LDBL_MIN): Likewise.
696 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
697 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
698 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
699 [ISO11] (FLT_HAS_SUBNORM): Likewise.
700 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
701 [ISO11] (DBL_DECIMAL_DIG): Likewise.
702 [ISO11] (FLT_DECIMAL_DIG): Likewise.
703 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
704 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
705 [ISO11] (FLT_TRUE_MIN): Likewise.
706 [ISO11] (LDBL_TRUE_MIN): Likewise.
707 [ISO || ISO99 || ISO11] (*_t): Do not allow.
708 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
709 (SCHAR_MIN): Use macro-int-constant. Specify type.
710 (SCHAR_MAX): Likewise.
711 (UCHAR_MAX): Likewise.
712 (CHAR_MIN): Likewise.
713 (CHAR_MAX): Likewise.
714 (MB_LEN_MAX): Use macro-int-constant.
715 (SHRT_MIN): Use macro-int-constant. Specify type.
716 (SHRT_MAX): Likewise.
717 (USHRT_MAX): Likewise.
718 (INT_MAX): Likewise.
719 (INT_MIN): Use macro-int-constant. Specify type. Make upper
720 bound negative.
721 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
722 bound with "U".
723 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
724 bound with "L".
725 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
726 bound negative. Suffix upper bound with "L".
727 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
728 bound with "UL".
729 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
730 Specify type.
731 [C99-based standards] (LLONG_MAX): Likewise.
732 [C99-based standards] (ULLONG_MAX): Likewise.
733 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
734 == 0.
735 [ISO11] (max_align_t): Require type.
736 [ISO || ISO99 || ISO11] (*_t): Do not allow.
737
c9140a62
JM
738 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
739 from $CFLAGS, without defining away __attribute__ calls.
740 (checknamespace): Use $CFLAGS_namespace.
741
9af0bf29
JM
742 * conform/conformtest.pl (@keywords): Only include C99 keywords
743 for standards based on C99 or C11.
744
343222a2
JM
745 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
746 Disable tests.
747 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
748 UNIX98]: Likewise.
749
661f8cf0
JM
750 * conform/conformtest.pl: Handle "macro-int-constant" and test for
751 usability of symbols in #if.
752
ee74b9cb
JM
753 * conform/conformtest.pl: If macro or constant types start
754 "promoted:", expect the symbol to be of the following type
755 promoted by the integer promotions.
62fde54f 756
aafc49b3
JM
757 * conform/conformtest.pl: Parse all "constant" and "macro" lines
758 in one place. Also handle "macro-constant".
759
fefdf574
JM
760 * conform/conformtest.pl: Only accept expected macro values with
761 "==". Parse all "macro" lines in one place.
762 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
763
f2d922fe
JM
764 * conform/conformtest.pl: Handle braced types on "constant" lines
765 instead of handling "typed-constant".
766 * conform/data/signal.h-data: Use "constant" instead of
767 "typed-constant".
768
d22956c9
JM
769 * conform/conformtest.pl: Handle "optional-" at start of lines in
770 one place rather than duplicating several cases. Handle each
771 format of "macro" line with initial "optional-".
772
028e2e38
JM
773 * conform/conformtest.pl: Only accept expected constant or
774 optional-constant values with "==". Parse all "constant" lines in
775 one place. Parse all "optional-constant" lines in one place.
776 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
777 * conform/data/fmtmsg.h-data: Likewise.
778 * conform/data/netinet/in.h-data: Likewise.
779 * conform/data/tar.h-data: Likewise.
780 * conform/data/limits.h-data: Use "==" form on "constant" and
781 "optional-constant" lines.
782
1b8f2850
JM
783 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
784 Use -std=c99 for XOPEN2K.
785 (@knownproblems): Remove.
786 (newtoken): Don't check %isknown.
787
a05a144b
JM
788 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
789 Do not expect macro.
790 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
791 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
792 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
793 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
794 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
795 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
796 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
797 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
798 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
799 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
800 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
801 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
802 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
803 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
804 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
805 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
806 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
807 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
808 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
809 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
810 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
811 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
812 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
813 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
814 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
815 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
816 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
817 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
818 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
819 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
820 [XPG3] (acosh): Likewise.
821 [XPG3] (asinh): Likewise.
822 [XPG3] (atanh): Likewise.
823 [XPG3] (cbrt): Likewise.
824 [XPG3] (expm1): Likewise.
825 [XPG3] (ilogb): Likewise.
826 [XPG3] (log1p): Likewise.
827 [XPG3] (logb): Likewise.
828 [XPG3] (nextafter): Likewise.
829 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
830 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
831 [XPG3] (remainder): Likewise.
832 [XPG3] (rint): Likewise.
833 [XPG3 || XPG4 || UNIX98] (round): Likewise.
834 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
835 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
836 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
837 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
838 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
839 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
840 [UNIX98 || XOPEN2K] (scalb): Expect.
841 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
842 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
843 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
844 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
845 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
846 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
847 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
848 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
849 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
850 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
851 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
852 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
853 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
854 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
855 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
856 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
857 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
858 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
859 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
860 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
861 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
862 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
863 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
864 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
865 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
866 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
867 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
868 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
869 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
870 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
871 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
872 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
873 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
874 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
875 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
876 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
877 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
878 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
879 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
880 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
881 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
882 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
883 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
884 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
885 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
886 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
887 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
888 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
889 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
890 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
891 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
892 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
893 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
894 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
895 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
896 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
897 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
898 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
899 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
900 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
901 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
902 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
903 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
904 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
905 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
906 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
907 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
908 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
909 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
910 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
911 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
912 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
913 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
914 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
915 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
916 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
917 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
918 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
919 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
920 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
921 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
922 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
923 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
924 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
925 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
926 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
927 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
928 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
929 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
930 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
931 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
932 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
933 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
934 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
935 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
936 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
937 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
938 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
939 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
940 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
941 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
942 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
943 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
944 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
945 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
946 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
947 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
948 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
949 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
950 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
951 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
952 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
953 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
954 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
955 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
956 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
957 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
958 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
959 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
960 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
961 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
962 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
963 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
964 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
965 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
966 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
967 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
968 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
969 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
970 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
971 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
972 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
973 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
974 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
975 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
976 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
977 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
978
73c5ebe3
JM
979 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
980 _XOPEN_SOURCE_EXTENDED for XPG4.
981
39c33b6c
JM
982 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
983
62fde54f
JM
984 * Makeconfig (localtime): Remove variable.
985 (inst_localtime-file): Likewise.
986
0741d64c
AS
9872012-05-01 Andreas Schwab <schwab@linux-m68k.org>
988
989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
990 Update.
991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
992 Update.
993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
994 Update.
995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
996 Update.
997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
998 Update.
999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
1000 Update.
1001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1002 Update.
1003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
1004 Update.
1005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1006 Update.
1007
7cb029ee
JM
10082012-05-01 Joseph Myers <joseph@codesourcery.com>
1009
1010 [BZ #2550]
1011 [BZ #2570]
1012 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
1013 comparisons to determine direction to adjust input.
1014 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
1015 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
1016 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
1017 Likewise.
1018 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
1019 Likewise.
1020 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1021 Likewise.
1022 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
1023 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1024 Likewise.
1025 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1026 Likewise.
1027 * math/libm-test.inc (nexttoward_test): Add more tests.
1028
412bd966
AS
10292012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1030
1031 [BZ #14040]
1032 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
1033 in version GLIBC_2.1, not GLIBC_2.0.
1034 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
1035 Likewise.
1036
9568c0c2
JM
10372012-04-30 Joseph Myers <joseph@codesourcery.com>
1038
adfbc8ac
JM
1039 [BZ #13942]
1040 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
1041 (1 - x) * (1 + x).
1042 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1043 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
1044 * math/libm-test.inc (acos_test): Add more tests.
1045 (asin_test): Likewise.
1046 * sysdeps/i386/fpu/libm-test-ulps: Update.
1047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1048
5ba3cc69
JM
1049 [BZ #14034]
1050 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
1051 of square root.
1052 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
1053 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1054 * math/libm-test.inc (acos_test_tonearest): New function.
1055 (acos_test_towardzero): Likewise.
1056 (acos_test_downward): Likewise.
1057 (acos_test_upward): Likewise.
1058 (asin_test_tonearest): Likewise.
1059 (asin_test_towardzero): Likewise.
1060 (asin_test_downward): Likewise.
1061 (asin_test_upward): Likewise.
1062 (main): Call the new functions.
1063 * sysdeps/i386/fpu/libm-test-ulps: Update.
1064 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1065
9568c0c2
JM
1066 [BZ #13884]
1067 [BZ #13924]
1068 * math/e_exp10.c: Include <float.h>.
1069 (__ieee754_exp10): Handle underflow here rather than multiplying
1070 large negative argument by M_LN10.
1071 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
1072 of __ieee754_expf.
1073 * math/e_exp10l.c: Include <float.h>.
1074 (__ieee754_exp10l): Handle underflow here rather than multiplying
1075 large negative argument by M_LN10l.
1076 * math/libm-test.inc (exp10_test): Add another test. Do not allow
1077 spurious overflow exception on underflow.
1078
5ac3ea17
MP
10792012-04-29 Marek Polacek <polacek@redhat.com>
1080
1081 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
1082 (__fortify_function): New macro.
1083 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
1084 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
1085 __extern_always_inline.
1086 * libio/bits/stdio2.h: Likewise.
1087 * libio/bits/stdio.h: Likewise.
1088 * string/string.h: Likewise.
1089 * string/bits/string3.h: Likewise.
1090 * include/stdio.h: Likewise.
1091 * stdlib/bits/stdlib.h: Likewise.
1092 * stdlib/stdlib.h: Likewise.
1093 * rt/bits/mqueue2.h: Likewise.
1094 * rt/mqueue.h: Likewise.
1095 * posix/bits/unistd.h: Likewise.
1096 * posix/unistd.h: Likewise.
1097 * io/bits/poll2.h: Likewise.
1098 * io/bits/fcntl2.h: Likewise.
1099 * io/fcntl.h: Likewise.
1100 * io/sys/poll.h: Likewise.
1101 * misc/bits/syslog.h: Likewise.
1102 * misc/bits/syslog-ldbl.h: Likewise.
1103 * misc/sys/syslog.h: Likewise.
1104 * socket/bits/socket2.h: Likewise.
1105 * socket/sys/socket.h: Likewise.
1106 * debug/tst-chk1.c: Likewise.
1107 * wcsmbs/bits/wchar2.h: Likewise.
1108 * wcsmbs/bits/wchar-ldbl.h: Likewise.
1109 * wcsmbs/wchar.h: Likewise.
1110
ecf0ebfb
AJ
11112012-04-29 Andreas Jaeger <aj@suse.de>
1112
1113 * Makerules (tests): Remove enable-check-abi protection.
1114 (check-abi-warn): Remove.
1115 (check-abi-%): Remove check-abi-warn usage.
1116
1117 * configure.in: Remove check-abi configure option.
1118 * configure: Regenerated.
1119 * config.make.in (enable-check-abi): Remove.
1120
6d5c57fa
AS
11212012-04-28 Andreas Schwab <schwab@linux-m68k.org>
1122
24c5d07e 1123 [BZ #14033]
ded5180a
AS
1124 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
1125 double functions to double *_finite functions.
1126
7e0d315d
AS
1127 [BZ #13941]
1128 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
1129 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
1130 LDBL_MIN_EXP.
1131 * stdio-common/Makefile (tests): Add tst-sprintf3.
1132 * stdio-common/tst-sprintf3.c: New file.
1133
6d5c57fa
AS
1134 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
1135 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
1136
0749ff8b
JM
11372012-04-28 Joseph Myers <joseph@codesourcery.com>
1138
1139 * conform/conformtest.pl: Remove duplicate typed-constant
1140 handling.
1141
8dbd5d7b
DM
11422012-04-28 David S. Miller <davem@davemloft.net>
1143
1144 * Makerules (%.abilist): Add vpath on sysdep_dirs.
1145 (check-abi-%): Remove AWK script prerequisite and explicit
1146 abilist directory.
1147 (check-abi): Rewrite to just diff the symlist with the abilist.
1148 (config-tls, config-abi-config): Delete, no longer used.
1149 (update-abi-%): Remove AWK script and explicit abilist directory.
1150 (update-abi): Rewrite to simply compare and conditionally copy the
1151 symlist and the sysdep abilist file. Remove update-abi-config
1152 checks.
1153 * abilist/ld.abilist: Remove.
1154 * abilist/libBrokenLocale.abilist: Remove.
1155 * abilist/libanl.abilist: Remove.
1156 * abilist/libcrypt.abilist: Remove.
1157 * abilist/libdl.abilist: Remove.
1158 * abilist/librt.abilist: Remove.
1159 * abilist/libthread_db.abilist: Remove.
1160 * abilist/libutil.abilist: Remove.
1161 * scripts/extract-abilist.awk: Remove.
1162 * scripts/merge-abilist.awk: Remove.
1163 * sysdeps/generic/libcidn.abilist: New file.
1164 * sysdeps/generic/libnss_compat.abilist: New file.
1165 * sysdeps/generic/libnss_db.abilist: New file.
1166 * sysdeps/generic/libnss_dns.abilist: New file.
1167 * sysdeps/generic/libnss_files.abilist: New file.
1168 * sysdeps/generic/libnss_hesiod.abilist: New file.
1169 * sysdeps/generic/libnss_nis.abilist: New file.
1170 * sysdeps/generic/libnss_nisplus.abilist: New file.
1171 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
1172 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
1173 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
1174 file.
1175 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
1176 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
1177 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
1178 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
1179 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
1180 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
1181 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
1182 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
1183 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
1184 file.
1185 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
1186 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
1187 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
1188 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
1189 file.
1190 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
1191 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
1192 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
1193 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
1194 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
1195 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
1196 file.
1197 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
1198 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
1199 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
1200 file.
1201 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
1202 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
1203 New file.
1204 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
1205 New file.
1206 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
1207 New file.
1208 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
1209 New file.
1210 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
1211 New file.
1212 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
1213 New file.
1214 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
1215 New file.
1216 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
1217 New file.
1218 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
1219 New file.
1220 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
1221 New file.
1222 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
1223 New file.
1224 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
1225 New file.
1226 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
1227 New file.
1228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
1229 file.
1230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1231 New file.
1232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1233 New file.
1234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
1235 file.
1236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1237 New file.
1238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1239 New file.
1240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
1241 file.
1242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1243 New file.
1244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1245 New file.
1246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1247 New file.
1248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1249 New file.
1250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1251 New file.
1252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1253 New file.
1254 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
1255 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
1256 file.
1257 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1258 New file.
1259 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
1260 file.
1261 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
1262 file.
1263 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
1264 file.
1265 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
1266 file.
1267 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
1268 file.
1269 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1270 New file.
1271 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
1272 file.
1273 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
1274 file.
1275 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1276 New file.
1277 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
1278 file.
1279 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
1280 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
1281 file.
1282 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1283 New file.
1284 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
1285 file.
1286 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
1287 file.
1288 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
1289 file.
1290 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
1291 file.
1292 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
1293 file.
1294 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1295 New file.
1296 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
1297 file.
1298 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
1299 file.
1300 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1301 New file.
1302 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
1303 file.
1304 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1305 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
1306 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
1307 file.
1308 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
1309 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
1310 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
1311 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
1312 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
1313 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
1314 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
1315 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
1316 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
1317 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
1318 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
1319 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
1320 file.
1321 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1322 New file.
1323 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
1324 file.
1325 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
1326 file.
1327 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
1328 file.
1329 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
1330 file.
1331 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
1332 file.
1333 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1334 New file.
1335 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1336 New file.
1337 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
1338 file.
1339 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1340 New file.
1341 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
1342 file.
1343 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
1344 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
1345 file.
1346 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1347 New file.
1348 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
1349 file.
1350 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
1351 file.
1352 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
1353 file.
1354 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
1355 file.
1356 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
1357 file.
1358 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1359 New file.
1360 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1361 New file.
1362 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
1363 file.
1364 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1365 New file.
1366 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
1367 file.
1368
41d73a1b
JM
13692012-04-28 Joseph Myers <joseph@codesourcery.com>
1370
1371 * conform/conformtest.pl: Fix typo in handling typed-constant from
1372 allow-header.
1373
28aeeda4
JM
13742012-04-27 Joseph Myers <joseph@codesourcery.com>
1375
adae8f5e
JM
1376 * README: Cut down references to pre-2.6 Linux kernels and
1377 Linuxthreads. Update lists of configurations in libc and ports
1378 and sort alphabetically. Say "or newer" with Linux kernel version
1379 requirements.
1380
28aeeda4
JM
1381 * config.h.in [IS_IN_build]: Allow compiling without optimization.
1382
a462cb63
RA
13832012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1384
1385 [BZ #887]
1386 * math/libm-test.inc (logb_test_downward): New test to expose
1387 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
1388 rounding mode.
1389
6ad3493e
JM
13902012-04-27 Joseph Myers <joseph@codesourcery.com>
1391
1392 [BZ #14027]
1393 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
1394 to be done.
1395 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
1396 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
1397
2ce4f015
JM
13982012-04-26 Joseph Myers <joseph@codesourcery.com>
1399
5aeb141a
JM
1400 * sysdeps/unix/i386/brk.S: Remove file.
1401 * sysdeps/unix/i386/dl-brk.S: Likewise.
1402 * sysdeps/unix/i386/pipe.S: Likewise.
1403 * sysdeps/unix/i386/sigreturn.S: Likewise.
1404 * sysdeps/unix/i386/syscall.S: Likewise.
1405 * sysdeps/unix/i386/vfork.S: Likewise.
1406 * sysdeps/unix/i386/wait.S: Likewise.
1407
7143acae
JM
1408 * sysdeps/unix/common/tcsendbrk.c: Move to ...
1409 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
1410
2ce4f015
JM
1411 * configure.in (arm*-none*): Do not allow without
1412 --enable-hacker-mode.
1413 (netbsd*): Remove case setting base_os.
1414 (386bsd*): Likewise.
1415 (freebsd*): Likewise.
1416 (bsdi*): Likewise.
1417 (osf*): Likewise.
1418 (sunos*): Likewise.
1419 (ultrix*): Likewise.
1420 (newsos*): Likewise.
1421 (dynix*): Likewise.
1422 (*bsd*): Likewise.
1423 (sysv*): Likewise.
1424 (isc*): Likewise.
1425 (esix*): Likewise.
1426 (sco*): Likewise.
1427 (minix*): Likewise.
1428 (irix4*): Likewise.
1429 (irix6*): Likewise.
1430 (solaris[2-9]*): Likewise.
1431 (none): Likewise.
1432 * configure: Regenerated.
1433
0ac229c8
AZ
14342012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1435
1436 [BZ #11521]
1437 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
1438 overflow or cancellation in calculating denominator.
1439 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
1440 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
1441 down expression to avoid unexpected rounding in newer GCCs.
1442 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
1443
33f244f4
DM
14442012-04-26 David S. Miller <davem@davemloft.net>
1445
1446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
1447 long-double compat symbols.
1448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
1452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1453 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
1454 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
1455 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
1456 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
1457 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1458 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
1459 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
1460 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1461
cfa1f3e8
DM
14622012-04-25 David S. Miller <davem@davemloft.net>
1463
1464 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
1465 HWCAP_* values only after the memory barriers have been defined.
1466 (atomic_full_barrier): Define.
1467 (atomic_read_barrier): Define.
1468 (atomic_write_barrier): Define.
1469
6e236b92
SP
14702012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1471
1472 * shlib-versions: Add libgcc_s version information.
1473 * sysdeps/generic/libgcc_s.h: Remove.
1474 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
1475 libgcc_s.h.
1476 * sysdeps/gnu/unwind-resume.c: Likewise.
1477 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
1478
aab39a09
DM
14792012-04-25 David S. Miller <davem@davemloft.net>
1480
1481 * sysdeps/unix/sparc/brk.S: Delete.
1482 * sysdeps/unix/sparc/dl-brk.S: Delete.
1483 * sysdeps/unix/sparc/pipe.S: Delete.
1484 * sysdeps/unix/sparc/sysdep.S: Delete.
1485 * sysdeps/unix/sparc/sysdep.h: Delete.
1486 * sysdeps/unix/sparc/vfork.S: Delete.
1487 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
1488 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
1489 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
1490 ret_ERRVAL, r0, r1, MOVE): Define.
1491 (JUMPTARGET): Remove.
1492 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
1493 sysdeps/unix/sparc/sysdep.h
1494 (ENTRY, END): Remove.
1495 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1496
a3cc4f48
JM
14972012-04-25 Joseph Myers <joseph@codesourcery.com>
1498
2ed8cda2
JM
1499 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
1500 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
1501 -DIS_IN_build.
1502
35d76d59
JM
1503 * timezone/README: Update upstream location and email address for
1504 tzcode and tzdata.
1505 * timezone/zdump.c: Update from tzcode 2012b.
1506 * timezone/zic.c: Likewise.
1507
a3cc4f48
JM
1508 * configure.in (libc_cv_as_needed): Remove test.
1509 * configure: Regenerated.
1510 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
1511 conditional definition.
1512 [$(have-as-needed) != yes] (no-as-needed): Likewise.
1513 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
1514 * config.make.in (have-as-needed): Remove variable.
1515
ceab42c3
SP
15162012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1517 Paul Pluzhnikov <ppluzhnikov@google.com>
1518
1519 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
1520 strings correctly.
1521
3ce2865f
CLT
15222012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
1523
1524 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
1525 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
1526 * sysdeps/sh/strlen.S: Likewise.
1527
f37e0d68
JM
15282012-04-24 Joseph Myers <joseph@codesourcery.com>
1529
ae186e9a
JM
1530 * sysdeps/unix/fork.S: Remove file.
1531 * sysdeps/unix/i386/fork.S: Likewise.
1532 * sysdeps/unix/sparc/fork.S: Likewise.
1533
b96914af
JM
1534 * sysdeps/unix/system.c: Remove file.
1535 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
1536
f37e0d68
JM
1537 * sysdeps/unix/getegid.S: Remove file.
1538 * sysdeps/unix/geteuid.S: Likewise.
1539
87ef29ca
RM
15402012-04-24 Roland McGrath <roland@hack.frob.com>
1541
83bcd236
RM
1542 * scripts/check-localplt.awk: New file.
1543 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
1544 of diff.
1545 * scripts/data/localplt-generic.data: Add a comment.
1546
87ef29ca
RM
1547 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
1548 NODE when __dir_mkfile failed.
1549 * sysdeps/mach/hurd/symlinkat.c: Likewise.
1550 Reported by Ludovic Courtès <ludo@gnu.org>.
1551
e5a6e567
AJ
15522012-04-24 Andreas Jaeger <aj@suse.de>
1553
1554 * Makerules (common-clean): Also remove gen-as-const-headers
1555 files.
1556
c1820385
JM
15572012-04-24 Joseph Myers <joseph@codesourcery.com>
1558
1559 * Makerules (native-compile): Do not change working directory for
1560 build. Use $(OUTPUT_OPTION) in command.
1561 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
1562
94e02fc4
AZ
15632012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1564
1565 [BZ #13886]
1566 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
1567 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
1568 * math/libm-test.inc (floor_test): Add more tests.
1569 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
1570
3a533ca3
JM
15712012-04-24 Joseph Myers <joseph@codesourcery.com>
1572
940ab4b3
JM
1573 * sysdeps/unix/getdents.c: Remove file.
1574 * sysdeps/unix/sysv/getdents.c: Likewise.
1575 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
1576
90e037bd
JM
1577 * sysdeps/unix/syscalls.list (madvise): Add syscall from
1578 sysdeps/unix/mman/syscalls.list.
1579 (mmap): Likewise.
1580 (mprotect): Likewise.
1581 (msync): Likewise.
1582 (munmap): Likewise.
1583 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
1584 * sysdeps/unix/mman/syscalls.list: Remove.
1585 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
1586
3a533ca3
JM
1587 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
1588 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
1589 * configure: Regenerated.
1590 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
1591 $(libgcc_s_suffix).
1592 * config.make.in (libgcc_s_suffix): Remove variable.
1593
1ad743de
JM
15942012-04-23 Joseph Myers <joseph@codesourcery.com>
1595
4ad451e2
JM
1596 * sysdeps/unix/sysv/gethostname.c: Move to ...
1597 * sysdeps/posix/gethostname.c: ... here.
1598
5e37ce39
JM
1599 * sysdeps/unix/execve.S: Remove file.
1600
1ad743de
JM
1601 * sysdeps/unix/_exit.S: Remove file.
1602
4e681b5b
AJ
16032012-04-23 Andreas Jaeger <aj@suse.de>
1604
1605 [BZ #13739]
1606 * manual/Makefile: Remove make dist support, there's no
1607 need for a stand-alone documentation tar ball.
1608 (TEXI2DVI): Define always, it's not in Makeconfig.
1609 (dist): Removed.
1610 (tar-it): Removed.
1611 (edition): Removed.
1612 (glibc-doc-$(edition).tar): Removed
1613 (%.Z): Removed.
1614 (%.gz): Removed.
1615 (%.uu): Removed.
1616 (ETAGS): Remove, it's in Makeconfig.
1617 (move-if-change): Remove, it's in Makeconfig.
1618
c0baea34
PE
16192013-04-23 Paul Eggert <eggert@cs.ucla.edu>
1620
1621 [BZ #13970]
1622 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
1623 (strtod, strtof, strtold, strtol, strtoul, strtoq)
1624 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
1625 (strtod_l, strtof_l, strtold_l): Remove __wur.
1626 It is not necessarily an error to ignore strtol's return value.
1627 One can reliably look at the stored endptr to decide whether
1628 the number had valid syntax.
1629
7c0616fa
AJ
16302012-04-21 Andreas Jaeger <aj@suse.de>
1631
803cb6b7 1632 [BZ #13739]
7c0616fa
AJ
1633 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
1634
b0fe253f
JM
16352012-04-21 Joseph Myers <joseph@codesourcery.com>
1636
1637 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
1638 * sysdeps/unix/sysv/Versions: Remove file.
1639
8280f22d
MT
16402012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
1641
1642 [BZ #13927]
1643 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1644
75ce411f 16452012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
1646
1647 [BZ #7064]
1648 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
1649 version from __vm86.
1650
097d59fa
JM
16512012-04-20 Joseph Myers <joseph@codesourcery.com>
1652
a90f3bcb
JM
1653 * sysdeps/unix/common/lxstat.c: Remove file.
1654 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
1655
edc7ea78
JM
1656 * sysdeps/unix/sysv/Makefile: Remove file.
1657
cb78c221
JM
1658 * sysdeps/unix/sysv/direct.h: Remove file.
1659
efa6a45f
JM
1660 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
1661 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
1662 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
1663 * sysdeps/unix/sysv/bits/signum.h: Likewise.
1664 * sysdeps/unix/sysv/bits/stat.h: Likewise.
1665 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
1666 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
1667
9c9f2d0c
JM
1668 * sysdeps/unix/sysv/setrlimit.c: Remove file.
1669
4541c83b
JM
1670 * sysdeps/unix/xmknod.c: Remove file.
1671 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
1672
f5d153a0
JM
1673 * sysdeps/unix/sysv/settimeofday.c: Remove file.
1674
aa746595
JM
1675 * sysdeps/unix/sysv/i386/time.S: Remove file.
1676
cce5905e
JM
1677 * sysdeps/unix/fxstat.c: Remove file.
1678 * sysdeps/unix/xstat.c: Likewise.
1679 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
1680
37fa3841
JM
1681 * sysdeps/unix/sysv/sigaction.c: Remove file.
1682
ff1962a3
JM
1683 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
1684 (sysdep_headers): Remove variable.
1685 [termio.h not in sysdep_headers] (generated): Likewise.
1686 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
1687 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
1688 * sysdeps/unix/sysv/tcdrain.c: Likewise.
1689 * sysdeps/unix/sysv/tcflow.c: Likewise.
1690 * sysdeps/unix/sysv/tcflush.c: Likewise.
1691 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
1692 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
1693 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
1694 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
1695 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
1696
e7740d31
JM
1697 * sysdeps/unix/siglist.c: Remove file.
1698
ee06f18b
JM
1699 * sysdeps/unix/getppid.S: Remove file.
1700
097d59fa
JM
1701 * sysdeps/unix/mkdir.c: Remove file.
1702 * sysdeps/unix/rmdir.c: Likewise.
1703
ff3d51ec
AS
17042012-04-19 Andreas Schwab <schwab@linux-m68k.org>
1705
1706 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
1707 ERR_MAX value.
1708 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
1709 errlist-compat value.
1710
50f81fd7
DM
17112012-04-18 David S. Miller <davem@davemloft.net>
1712
1713 * sysdeps/generic/memcopy.h (reg_char): Delete.
1714 * debug/strcat_chk.c: Use char, not reg_char.
1715 * debug/strcpy_chk.c: Likewise.
1716 * debug/strncat_chk.c: Likewise.
1717 * debug/strncpy_chk.c: Likewise.
1718 * string/memchr.c: Likewise.
1719 * string/memrchr.c: Likewise.
1720 * string/rawmemchr.c: Likewise.
1721 * string/strcat.c: Likewise.
1722 * string/strchr.c: Likewise.
1723 * string/strchrnul.c: Likewise.
1724 * string/strcmp.c: Likewise.
1725 * string/strcpy.c: Likewise.
1726 * string/strncat.c: Likewise.
1727 * string/strncmp.c: Likewise.
1728 * string/strncpy.c: Likewise.
1729
8ff41c46
WS
17302012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1731
1732 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
1733 __builtin_memcopy is called when src and dest ranges are known to not
1734 overlap.
1735
6b652f46
WS
17362012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1737
1738 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
1739 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
1740 fwd_align_merge macro call.
1741 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
1742 bwd_align_merge macro call.
1743 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1744
b282631e
WS
17452012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1746
1747 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
1748 bwd_align_merge macros.
1749 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
1750 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
1751 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1752
95aa737c
DM
17532012-04-18 David S. Miller <davem@davemloft.net>
1754
1755 * sysdeps/sparc/sparc64/memcopy.h: Delete.
1756
7a99a614
AJ
17572012-04-18 Andreas Jaeger <aj@suse.de>
1758
1759 [BZ# 6794]
1760 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
1761 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
1762 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1763
1764 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
1765 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
1766 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1767
1768 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
1769 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
1770 Adjust for changed ldbl-128 files.
1771
1772 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
1773 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
1774 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1775
e5270c23
DM
17762012-04-17 David S. Miller <davem@davemloft.net>
1777
1778 * sysdeps/sparc/sparc32/memcopy.h: Delete.
1779
fb5e92c9
AS
17802012-04-17 Andreas Schwab <schwab@linux-m68k.org>
1781
1782 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
1783 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
1784 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
1785 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
1786 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1787 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
1788
76da7265
AZ
17892012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1790
1791 [BZ #6794]
1792 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
1793 * math/libm-test.inc: Add ilogb errno and exception tests.
1794 * math/w_ilogb.c: New file: ilogb wrapper.
1795 * math/w_ilogbf.c: New file: ilogbf wrapper.
1796 * math/w_ilogbl.c: New file: ilogbl wrapper.
1797 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
1798 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
1799 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
1800 exception being thrown with 0.0 as argument.
1801 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
1802 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
1803 exception being thrown with 0.0 as argument.
1804 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
1805 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1806 exception being thrown with 0.0 as argument.
1807 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
1808 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1809 exception being thrown with 0.0 as argument.
1810 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
1811 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 1812 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
1813 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
1814 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
1815 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
1816 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
1817 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
1818 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
1819
0396e69d
PB
18202012-04-17 Petr Baudis <pasky@ucw.cz>
1821
1822 * include/sys/uio.h: Change __vector to __iovec to avoid clash
1823 with altivec.
1824
750b5926
MP
18252012-04-16 Marek Polacek <polacek@redhat.com>
1826
1827 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
1828
751728a1
MP
18292012-04-16 Marek Polacek <polacek@redhat.com>
1830
1831 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
1832 operands of fdivp instruction.
1833
34a27407
L
18342012-04-13 H.J. Lu <hongjiu.lu@intel.com>
1835
1836 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
1837 * elf/tst-auditmod3b.c: Likewise.
1838 * elf/tst-auditmod4b.c: Likewise.
1839 * elf/tst-auditmod5b.c: Likewise.
1840 * elf/tst-auditmod6b.c: Likewise.
1841 * elf/tst-auditmod6c.c: Likewise.
1842 * elf/tst-auditmod7b.c: Likewise.
1843 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
1844 * sysdeps/x86_64/preconfigure.in: Likewise.
1845 * sysdeps/x86_64/preconfigure: Regenerated.
1846
7e73e17d
L
18472012-04-13 H.J. Lu <hongjiu.lu@intel.com>
1848
1849 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
1850 __ILP32__.
1851
c7a6ab72
AB
18522012-04-13 Antoine Balestrat <merkil33@gmail.com>
1853
1854 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1855 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
1856
a9e8e0e0
CL
18572012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
1858
1859 [BZ #13973]
1860 * locale/iso-639.def: Fix gl language name. Spotted by
1861 Yaron Shahrabani.
1862
ec98af7d
RM
18632012-04-12 Roland McGrath <roland@hack.frob.com>
1864
1865 [BZ #2074]
1866 * libio/libio.h (__io_write_fn): Update comment.
1867
247c3ede
PB
18682012-04-12 Petr Baudis <pasky@ucw.cz>
1869
1870 [BZ #2074]
1871 * stdio.texi (Hook Functions): The user provided writer function
1872 is not allowed to return -1.
1873
55939d6d
DM
18742012-04-11 David S. Miller <davem@davemloft.net>
1875
1876 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1877
90020f5a
MF
18782012-04-11 Mike Frysinger <vapier@gentoo.org>
1879
1880 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
1881 Add a leading slash to rtkaio.
1882
288f9098
JM
18832012-04-11 Jim Meyering <meyering@redhat.com>
1884
90020f5a
MF
1885 [BZ #11959]
1886 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
1887 It is not necessarily an error to ignore fwrite's return
1888 value. One can reliably use ferror to test for errors after
1889 the fact.
288f9098 1890
4be2b570
L
18912012-04-10 H.J. Lu <hongjiu.lu@intel.com>
1892
1893 * bits/types.h (__snseconds_t): New type.
1894 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
1895
1896 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
1897 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1898 (__SNSECONDS_T_TYPE): Likewise.
1899 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1900 (__SNSECONDS_T_TYPE): Likewise.
1901 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1902 (__SNSECONDS_T_TYPE): Likewise.
1903
288f9098 19042012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
1905
1906 [BZ #2636]
1907 * manual/time.texi (Processor Time): Return type of times is
1908 elapsed real time since an arbitrary point in the past.
1909 (CPU Time): Move CLK_TCK from here...
1910 (Processor Time): ...to here. Correct description.
1911 * manual/conf.texi (Constants for Sysconf): Correct description of
1912 _SC_CLK_TCK.
1913
d7dd4413
DM
19142012-04-10 David S. Miller <davem@davemloft.net>
1915
1916 [BZ #13967]
1917 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
1918 where the is a gap between DT_REL(A) and DT_JMPREL.
1919
b46068fc
L
19202012-04-10 H.J. Lu <hongjiu.lu@intel.com>
1921
1922 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
1923 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
1924 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
1925
73d65cc3
SP
19262012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1927
1928 * elf/dl-support.c (_dl_inhibit_cache): New variable.
1929 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
1930 (dl_main): Handle --inhibit-cache.
1931 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
1932 _dl_inhibit_cache.
1933 * elf/dl-load.c (_dl_map_object): Use it.
1934 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
1935
bcc8d661
JM
19362012-04-09 Joseph Myers <joseph@codesourcery.com>
1937
8f9a2fae
JM
1938 [BZ #13872]
1939 * sysdeps/i386/fpu/e_powl.S (p78): New object.
1940 (__ieee754_powl): Saturate large exponents rather than testing for
1941 overflow of y*log2(x).
1942 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1943 * math/libm-test.inc (pow_test): Do not permit spurious overflow
1944 exceptions.
1945
bcc8d661
JM
1946 [BZ #11521]
1947 * math/s_ctan.c: Include <float.h>.
1948 (__ctan): Avoid internal overflow or cancellation in calculating
1949 denominator.
1950 * math/s_ctanf.c: Likewise.
1951 * math/s_ctanl.c: Likewise.
1952 * math/s_ctanh.c: Likewise.
1953 * math/s_ctanhf.c: Likewise.
1954 * math/s_ctanhl.c: Likewise.
1955 * math/libm-test.inc (ctan_test): Add more tests.
1956 (ctanh_test): Likewise.
1957 * sysdeps/i386/fpu/libm-test-ulps: Update.
1958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1959
823fbbb4
AJ
19602012-04-09 Andreas Jaeger <aj@suse.de>
1961
03879793
AJ
1962 [BZ #6894]
1963 * manual/filesys.texi (Directory Entries): Mention that d_namlen
1964 is an optional BSD extension.
1965
823fbbb4
AJ
1966 [BZ #10254]
1967 * manual/stdio.texi (Opening Streams): Document additional fopen
1968 parameters.
1969
8de131cb
RM
19702012-04-09 Roland McGrath <roland@hack.frob.com>
1971
1972 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
1973 %eax without telling the compiler.
1974
c0ed9d7d
CD
19752012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
1976
1977 [BZ # 13963]
1978 * manual/install.texi: Use sourceware.org.
1979
c483f6b4
JM
19802012-04-09 Joseph Myers <joseph@codesourcery.com>
1981
d7dd9453
JM
1982 [BZ #13873]
1983 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
1984 (__ieee754_pow): Generate overflow and underflow using huge*huge
1985 and tiny*tiny rather than just returning constant infinity or zero
1986 for large exponents.
1987 * math/libm-test.inc (pow_test): Require overflow exceptions for
1988 applicable cases of large exponents.
1989
c483f6b4
JM
1990 [BZ #706]
1991 * sysdeps/i386/fpu/e_pow.S (p10): New object.
1992 (__ieee754_pow): Use iterative multiplication algorithm only for
1993 integer exponents with absolute value below 1024. Check for odd
1994 integer exponents when using algorithm for real exponents.
1995 * math/libm-test.inc (pow_test): Add more tests.
1996 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1997
d2de7579
JM
19982012-04-08 Joseph Myers <joseph@codesourcery.com>
1999
2000 [BZ #13705]
2001 * math/libm-test.inc (exp_test): Do not allow overflow exception
2002 on underflow test.
2003
f77f1232
AJ
20042012-04-08 Aurelien Jarno <aurelien@aurel32.net>
2005
2006 [BZ #13705]
2007 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
2008 instead of __kernel_standard_f.
2009
3884932b
MF
20102012-04-08 Mike Frysinger <vapier@gentoo.org>
2011
2012 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
2013 * sysdeps/x86_64/memset_chk.S: Likewise.
2014
54472e9c
AJ
20152012-04-08 Andreas Jaeger <aj@suse.de>
2016
6ab0fbfc
AJ
2017 [BZ #10153]
2018 * manual/startup.texi (Environment Access): Describe return value
2019 for putenv and setenv.
2020
61efba8c
AJ
2021 [BZ #6895]
2022 * manual/filesys.texi (Directory Entries): Add description for
2023 DT_LNK.
2024
95c3f29a
AJ
2025 [BZ #6890]
2026 * manual/filesys.texi (Directory Entries): Clarify that it's file
2027 system not operating system in the description of DT_UNKNOWN.
2028
54472e9c
AJ
2029 [BZ #6578]
2030 * manual/syslog.texi (closelog): Fix reference, it's openlog.
2031
624254b1
SC
20322012-04-08 Stephen Compall <s11@member.fsf.org>
2033
2034 [BZ #6649]
2035 * manual/llio.texi (Opening and Closing Files): Add cross
2036 reference to explain mode argument.
2037
1e4920e0
MF
20382012-04-07 Mike Frysinger <vapier@gentoo.org>
2039
2040 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
2041 * sysdeps/x86_64/memset_chk.S: Likewise.
2042
5ed848f3
DM
20432012-04-07 David S. Miller <davem@davemloft.net>
2044
2045 * elf/elf.h (R_SPARC_WDISP10): Define.
2046 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
2047 R_SPARC_SIZE32.
2048 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
2049 R_SPARC_SIZE64 and R_SPARC_H34.
2050
96154cd8
CD
20512012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
2052
2053 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
2054 conditions and remove no longer applicable assertion.
2055
9904dc47
L
20562012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2057
2058 * bits/byteswap.h: Include <features.h>.
2059 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2060 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2061
f8887d0a
L
20622012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2063
2064 * bits/byteswap.h (__bswap_16): Removed.
2065 Include <bits/byteswap-16.h> to get __bswap_16.
2066 * sysdeps/i386/bits/byteswap.h: Likewise.
2067 * sysdeps/s390/bits/byteswap.h: Likewise.
2068 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2069 * bits/byteswap-16.h: New file.
2070 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2071 * sysdeps/s390/bits/byteswap-16.h: Likewise.
2072 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
2073 * string/Makefile (headers): Add bits/byteswap-16.h.
2074
62470f60
PP
20752012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2076
2077 [BZ #13895]
2078 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
2079 extra indirection.
2080 * nss/Makefile (tests-static, tests): Add tst-nss-static.
2081 * nss/tst-nss-static.c: New.
2082
4dad7bab
RM
20832012-04-06 Robert Millan <rmh@gnu.org>
2084
2085 [BZ #6486]
2086 * manual/llio.texi (File Position Primitive): lseek
2087 refers to WHENCE when it really means OFFSET.
2088
e9142a17
AJ
20892012-04-06 Andreas Jaeger <aj@suse.de>
2090
2c040eff
AJ
2091 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
2092 strncmp declarations.
2093
e9142a17
AJ
2094 * abilist/libc.abilist: Add __poll and __ppoll.
2095
ff9f1c5f
DM
20962012-04-05 David S. Miller <davem@davemloft.net>
2097
dcd2ae90
DM
2098 * scripts/check-local-headers.sh: Accept a host triplet in the
2099 path matched by the exclude regexp.
2100
993eb054
DM
2101 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
2102 definition.
2103 * sysdeps/powerpc/powerpc32/dl-machine.h
2104 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
2105 * sysdeps/s390/s390-32/dl-machine.h
2106 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2107 * sysdeps/sparc/sparc32/dl-machine.h
2108 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2109 * sysdeps/sparc/sparc64/dl-machine.h
2110 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2111
ff9f1c5f
DM
2112 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
2113 lazy binding.
48e2e132 2114 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
2115 undefined symbol errors.
2116
48e2e132 2117 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
2118 DT_NEEDED entries.
2119
e80d6f94
MM
21202012-04-05 Michael Matz <matz@suse.de>
2121
2122 [BZ #13592]
2123 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
2124
349fa79f
AJ
21252012-04-05 Andreas Jaeger <aj@suse.de>
2126
2127 [BZ #13908]
2128 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
2129 comment.
2130
f402708f
KK
21312012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2132
2133 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
2134 which ROUND is no valid rounding mode.
2135
2ecccfc9
KK
21362012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2137
2138 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
2139 read again.
2140 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
2141
8a53f50f
KK
21422012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2143
2144 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
2145 an exception using FPU order intentionally.
2146
21472012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2148
2149 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
2150 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
2151 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
2152 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
2153
d653abb7
SJ
21542012-04-05 Simon Josefsson <simon@josefsson.org>
2155
2156 [BZ #12340]
2157 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
2158 EINVAL when BUFLEN is too smal.
2159
c3b1bf7d
TS
21602012-04-05 Thomas Schwinge <thomas@codesourcery.com>
2161
2162 [BZ #13553]
2163 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
2164 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
2165
b1aa60f3
AJ
21662012-04-03 Andreas Jaeger <aj@suse.de>
2167
c3b1bf7d 2168 [BZ #13938]
67f60a26
AJ
2169 * manual/setjmp.texi (System V contexts): Fix sentence.
2170
b1aa60f3
AJ
2171 [BZ #13926]
2172 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
2173 New macro for this case.
2174 [!__GNUC__] (__bswap_64): New inline function for this case.
2175 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2176 * bits/byteswap.h: Likewise.
2177 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
2178 ull, guard with __GLIBC_HAVE_LONG_LONG.
2179
2180 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
2181 __GLIBC_HAVE_LONG_LONG.
2182
2183 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
2184 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
2185
39c59c35
TMQMF
21862012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2187
2188 [BZ #13691]
2189 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
2190 inptr and inend, rather than using last_ch.
2191
135ffda8
DM
21922012-04-02 David S. Miller <davem@davemloft.net>
2193
2194 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
2195 * stdio-common/printf-parse.h (read_int): Change return type to
2196 'int', return -1 on INT_MAX overflow.
2197 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
2198 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
2199 overflows INT_MAX. Check for overflow of in-format-string precision
2200 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
2201 SIZE_MAX not INT_MAX for integer overflow test.
2202 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
2203 skip the construct in the format string but do not record anything.
2204 * stdio-common/bug22.c: Adjust to test both width/prevision
2205 INT_MAX overflow as well as total length INT_MAX overflow. Check
2206 explicitly for proper errno values.
2207
228c019e
TS
22082012-04-02 Thomas Schwinge <thomas@codesourcery.com>
2209
302cadd3
TS
2210 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
2211 CHAR_MAX.
2212 * string/test-strcmp.c [! WIDE]: Likewise.
2213 * time/tst-mktime2.c: Likewise for INT_MAX.
2214 * string/test-string.h: #include <sys/param.h> for MIN.
2215
228c019e
TS
2216 * csu/init-first.c (__libc_init_first): Call __ctype_init.
2217 * sysdeps/i386/init-first.c (init): Likewise.
2218 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
2219 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
2220 * sysdeps/sh/init-first.c (init): Likewise.
2221
cfa633f5
UD
22222012-04-01 Ulrich Drepper <drepper@gmail.com>
2223
2224 * po/ru.po: Update from translation team.
d1635ef8 2225 * po/vi.po: Likewise.
cfa633f5 2226
6cd0a5ea
SP
22272012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2228
2229 * resolv/nss_dns/dns-host.c: Merge copyright years.
2230
4b43400f
LD
22312012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2232
2233 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
2234 Optimize memcpy with prefetch if
2235 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
2236 src, dst pointers have unequal 16 byte alignments.
2237
48c41d04
SP
22382012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2239
2240 [BZ #13928]
2241 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
2242 from a CNAME entry and return the minimum ttl for the query.
2243 (gaih_getanswer_slice): Likewise.
2244
b8dc394d
JL
22452012-03-30 Jeff Law <law@redhat.com>
2246
2247 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
2248 due to long keys.
2249 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2250 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2251
2f5a5ed0
JL
2252 * resolv/nss_dns/dns-host.c: Update copyright year.
2253
1d39e359
UD
22542012-03-30 Ulrich Drepper <drepper@gmail.com>
2255
c030f70c 2256 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 2257 requests to save a system call. Fix check that all bytes are sent.
c030f70c 2258
1d39e359
UD
2259 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
2260 comments for sendmmsg.
2261
22622012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
2263
2264 [BZ #13691]
2265 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
2266 with only 1 character between 0x0041 and 0x01b0.
2267 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
2268 * wcsmbs/tst-mbsnrtowcs.c: New file.
2269
20fde227
DM
22702012-03-29 David S. Miller <davem@davemloft.net>
2271
2272 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
2273 small copies by hand.
2274
984a4237
JL
22752012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2276
2277 [BZ #13761]
2278 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
2279 _nss_compat_initgroups_dyn): Fall back to malloc/free
2280 for large group memberships.
2281
18c9d62b
DM
22822012-03-28 David S. Miller <davem@davemloft.net>
2283
88d85d4f
DM
2284 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
2285 that branches into memcpy.
2286 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2287 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2288 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2289 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2290 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
2291 bits.
2292 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
2293 implementation too.
2294 * sysdeps/sparc/mempcpy.S: New file.
2295
e5aa83e1
DM
2296 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
2297 the IFUNC routine in the libc case.
2298 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2299
88570753
DM
2300 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
2301 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
2302 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
2303 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
2304 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
2305 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
2306 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
2307 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
2308
249d7567
DM
2309 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
2310 loop to 256 bytes instead of 64 bytes and fix test signedness.
2311
18c9d62b
DM
2312 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
2313 * sysdeps/sparc/sparc32/Makefile: rather than here...
2314 * sysdeps/sparc/sparc64/Makefile: and here.
2315
05f3d1f6
UD
23162012-03-28 Ulrich Drepper <drepper@gmail.com>
2317
2318 * malloc/mallocbug.c: Avoid warnings about unused variables.
2319
86ae07a8
JL
23202012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2321
2322 [BZ #13760]
2323 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
2324 in the right place. Discard and retry query if response is
2325 larger than input buffer size.
2326
41bf21a1
JM
23272012-03-28 Joseph Myers <joseph@codesourcery.com>
2328
d6270972
JM
2329 [BZ #369]
2330 [BZ #2678]
2331 [BZ #3866]
2332 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
2333 x for large integer exponent.
2334 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2335 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
2336 sign of result as needed afterwards.
2337 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2338 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
2339 result for underflowing pow the same as for overflow.
2340 (__kernel_standard_l): Handle powl overflow and underflow here
2341 rather than calling __kernel_standard.
2342 * math/libm-test.inc (pow_test): Add more tests.
2343
414fca03 2344 [BZ #3868]
41bf21a1
JM
2345 [BZ #13879]
2346 [BZ #13910]
2347 [BZ #13911]
2348 [BZ #13912]
2349 [BZ #13913]
2350 [BZ #13915]
2351 [BZ #13916]
2352 [BZ #13917]
2353 [BZ #13918]
2354 [BZ #13919]
2355 [BZ #13920]
2356 [BZ #13921]
2357 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
2358 * sysdeps/ieee754/k_standard.c: Include <float.h>.
2359 (__kernel_standard_l): New function.
2360 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
2361 __kernel_standard.
2362 * math/w_acosl.c (__acosl): Likewise.
2363 * math/w_asinl.c (__asinl): Likewise.
2364 * math/w_atan2l.c (__atan2l): Likewise.
2365 * math/w_atanhl.c (__atanhl): Likewise.
2366 * math/w_coshl.c (__coshl): Likewise.
2367 * math/w_exp10l.c (__exp10l): Likewise.
2368 * math/w_exp2l.c (__exp2l): Likewise.
2369 * math/w_fmodl.c (__fmodl): Likewise.
2370 * math/w_hypotl.c (__hypotl): Likewise.
2371 * math/w_j0l.c (__j0l, __y0l): Likewise.
2372 * math/w_j1l.c (__j1l, __y1l): Likewise.
2373 * math/w_jnl.c (__jnl, __ynl): Likewise.
2374 * math/w_lgammal.c (__lgammal): Likewise.
2375 * math/w_log10l.c (__log10l): Likewise.
2376 * math/w_log2l.c (__log2l): Likewise.
2377 * math/w_logl.c (__logl): Likewise.
2378 * math/w_powl.c (__powl): Likewise.
2379 * math/w_remainderl.c (__remainderl): Likewise.
2380 * math/w_scalbl.c (sysv_scalbl): Likewise.
2381 * math/w_sinhl.c (__sinhl): Likewise.
2382 * math/w_sqrtl.c (__sqrtl): Likewise.
2383 * math/w_tgammal.c (__tgammal): Likewise.
2384 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
2385 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
2386 * math/libm-test.inc (acos_test): Add more tests.
2387 (acosh_test): Likewise.
2388 (asin_test): Likewise.
2389 (atanh_test): Likewise.
2390 (exp_test): Likewise.
2391 (exp10_test): Likewise.
2392 (exp2_test): Likewise.
2393 (expm1_test): Likewise.
2394 (lgamma_test): Likewise.
2395 (log_test): Likewise.
2396 (log10_test): Likewise.
2397 (log1p_test): Likewise.
2398 (log2_test): Likewise.
2399 (pow_test): Do not allow some spurious overflow exceptions.
2400 (sqrt_test): Add more tests.
2401 (tgamma_test): Likewise.
2402 (y0_test): Likewise.
2403 (y1_test): Likewise.
2404 (yn_test): Likewise.
2405
dd62fda6
AB
24062012-03-27 Anton Blanchard <anton@samba.org>
2407
2408 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
2409 MAP_HUGETLB.
2410 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2411 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
2412 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2413
1e3cdfda
AJ
24142012-03-27 David S. Miller <davem@davemloft.net>
2415
b855ab85
DM
2416 * conform/Makefile: Run run-conformtest.sh using $(BASH).
2417
1e3cdfda
AJ
2418 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
2419 have-as-vis3 check.
2420
24212012-03-27 Andreas Jaeger <aj@suse.de>
2422
2423 * sysdeps/x86_64/elf/configure.in: Moved to ...
2424 * sysdeps/x86_64/configure.in: ... here.
2425 * sysdeps/x86_64/elf/start.S: Moved to ...
2426 * sysdeps/x86_64/start.S: ... here.
2427 * sysdeps/x86_64/elf/configure: Delete.
2428
2429 * sysdeps/x86_64/configure.in: Merge contents from
2430 sysdeps/i386/configure.in (without i686 check).
2431
2432 * sysdeps/i386/elf/Versions: Merge into ...
2433 * sysdeps/i386/Versions: ... this.
2434 * sysdeps/i386/elf/Versions: Delete file.
2435 * sysdeps/i386/elf/start.S: Moved to ...
2436 * sysdeps/i386/start.S: ...here.
2437 * sysdeps/i386/elf/configure.in: Merge into...
2438 * sysdeps/i386/configure.in: ...here.
2439 * sysdeps/i386/elf/configure.in: Delete file.
2440 * sysdeps/i386/elf/configure: Delete file.
2441
2442 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
2443 * debug/backtracesyms.c: ... here.
2444 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
2445 * debug/backtracesymsfd.c: ... here.
2446 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
2447 * sysdeps/generic/ifunc-sel.h: ... here.
2448
2449 * sysdeps/unix/i386/start.c: Delete file.
2450 * sysdeps/unix/sparc/start.c: Delete file.
2451 * sysdeps/unix/start.c: Delete file.
2452
2453 * sysdeps/sh/elf/configure.in: Moved to ...
2454 * sysdeps/sh/configure.in: ... here.
2455 * sysdeps/sh/elf/start.S: Moved to ...
2456 * sysdeps/sh/start.S: ... here.
2457 * sysdeps/sh/elf/configure: Delete file.
2458
2459 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
2460 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
2461 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
2462 * sysdeps/powerpc/powerpc64/entry.h: ... here.
2463 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
2464 * sysdeps/powerpc/powerpc64/start.S: here.
2465 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
2466 * sysdeps/powerpc/powerpc64/Makefile: ... this.
2467 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
2468 * sysdeps/powerpc/powerpc64/configure.in: ... this.
2469 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
2470
2471 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
2472 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
2473 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
2474 * sysdeps/powerpc/powerpc32/start.S: ... here.
2475 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
2476 * sysdeps/powerpc/powerpc32/configure.in: ... this.
2477 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
2478
2479 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
2480 * sysdeps/powerpc/ifunc-sel.h: ... here.
2481 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
2482 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
2483
2484 * sysdeps/sparc/elf/configure.in: Moved to ...
2485 * sysdeps/sparc/configure.in: ... here.
2486 * sysdeps/sparc/elf/configure: Delete file.
2487 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
2488 * sysdeps/sparc/sparc32/start.S: ... here.
2489 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
2490 * sysdeps/sparc/sparc64/start.S: ... here.
2491 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
2492 * sysdeps/sparc/sparc32/Makefile: ... this.
2493 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
2494 * sysdeps/sparc/sparc64/Makefile: ... this.
2495
2496 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
2497 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
2498 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
2499 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
2500 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
2501 * sysdeps/s390/s390-32/setjmp.S: ... here.
2502 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
2503 * sysdeps/s390/s390-32/configure.in: ... here.
2504 * sysdeps/s390/s390-32/elf/configure: Delete file.
2505 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
2506 * sysdeps/s390/s390-32/start.S: ... here.
2507
2508 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
2509 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
2510 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
2511 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
2512 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
2513 * sysdeps/s390/s390-64/setjmp.S: ... here.
2514 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
2515 * sysdeps/s390/s390-64/configure.in: ... here
2516 * sysdeps/s390/s390-64/elf/configure: Delete file.
2517 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
2518 * sysdeps/s390/s390-64/start.S: ... here.
2519 * sysdeps/s390/s390-64/elf/configure: Delete.
2520
2521 * configure.in: Remove support for elf directories in sysdeps.
2522
2523 * configure: Regenerated.
2524 * sysdeps/i386/configure: Regenerated.
2525 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2526 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2527 * sysdeps/s390/s390-32/configure: Regenerated.
2528 * sysdeps/s390/s390-64/configure: Regenerated.
2529 * sysdeps/sh/configure: Regenerated.
2530 * sysdeps/sparc/configure: Regenerated.
2531 * sysdeps/x86_64/configure: Regenerated.
2532
a3f61311
AS
25332012-03-26 Andreas Schwab <schwab@linux-m68k.org>
2534
c876e002
AS
2535 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2536
a3f61311
AS
2537 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
2538 denormal result into account.
2539
ac4c54f0
RM
25402012-03-25 Roland McGrath <roland@hack.frob.com>
2541
2542 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
2543 Reported by Allan McRae <allan@archlinux.org>.
2544
6a9b9c02
JL
25452012-03-23 Jeff Law <law@redhat.com>
2546
2547 * nss/getnssent.c (__nss_getent): Fix typo.
2548
4c42a0c1
DM
25492012-03-23 David S. Miller <davem@davemloft.net>
2550
2551 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2552
1532c7ac
L
25532012-03-23 H.J. Lu <hongjiu.lu@intel.com>
2554
2555 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
2556 to pad to uint64_t for each field.
2557 (dl_tls_index): Replace unsigned long with uint64_t.
2558
3ff42526
PP
25592012-03-23 Daniel Jacobowitz <dmj@google.com>
2560 Paul Pluzhnikov <ppluzhnikov@google.com>
2561
2562 [BZ #6528]
2563 * grp/Makefile (otherlibs): Don't set it.
2564 * inet/Makefile (otherlibs): Likewise.
2565 * login/Makefile (otherlibs): Likewise.
2566 * nscd/Makefile (otherlibs): Likewise.
2567 * posix/Makefile (otherlibs): Likewise.
2568 * pwd/Makefile (otherlibs): Likewise.
2569 * rt/Makefile (otherlibs): Likewise.
2570 * sunrpc/Makefile (otherlibs): Likewise.
2571 * nss/Makefile (otherlibs): Likewise.
2572 Add libnss_files to routines and static-only-routines.
2573 ($(objpfx)getent): Remove rule.
2574 * resolv/Makefile: Add libnss_dns and libresolv to routines and
2575 static-only-routines.
2576
7c69cd14
JM
25772012-03-22 Joseph Myers <joseph@codesourcery.com>
2578
2579 [BZ #13892]
2580 * math/s_cexp.c: Include <float.h>.
2581 (__cexp): Handle exp result overflowing not necessarily
2582 overflowing both real and imaginary parts of result.
2583 * math/s_cexpf.c: Likewise.
2584 * math/s_cexpl.c: Likewise.
2585 * math/libm-test.inc (cexp_test): Add more tests.
2586 * sysdeps/i386/fpu/libm-test-ulps: Update.
2587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2588
81b035fe
L
25892012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2590
2591 * include/link.h (ELFW): New macro.
2592 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
2593 Replace ELF64_R_TYPE with ELFW(R_TYPE).
2594
1da7940c
L
25952012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2596
2597 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
2598 with uint64_t.
2599
b749dbb9
L
26002012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2601
2602 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
2603 declaration.
2604 (struct La_x32_retval): Likewise.
2605
2ff87f3f
L
26062012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2607
2608 * sysdeps/x86_64/preconfigure.in: New file.
2609 * sysdeps/x86_64/preconfigure: New generated file.
2610
c0df8e69
JM
26112012-03-22 Joseph Myers <joseph@codesourcery.com>
2612
48e44791
JM
2613 [BZ #13824]
2614 * math/e_exp2l.c: Include <float.h>.
2615 (__ieee754_exp2l): Handle overflow and underflow cases
2616 separately. Only pass fractional part of argument to
2617 __ieee754_expl.
2618 * math/libm-test.inc (exp2_test): Add more tests.
2619
c0df8e69
JM
2620 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
2621 negating x to take absolute value.
2622 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
2623 Likewise.
2624 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2625 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
2626 Likewise.
2627 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
2628 computing low part if x was negated.
2629 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2630
c8e43ba7
L
26312012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2632
2633 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
2634 la_x32_gnu_pltexit.
2635 (pltexit): Cast int_retval to ptrdiff_t.
2636 * elf/tst-auditmod3b.c: Likewise.
2637 * elf/tst-auditmod4b.c: Likewise.
2638 * elf/tst-auditmod5b.c: Likewise.
2639 * elf/tst-auditmod6b.c: Likewise.
2640 * elf/tst-auditmod6c.c: Likewise.
2641 * elf/tst-auditmod7b.c: Likewise.
2642
2643 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
2644 and x32_gnu_pltexit.
2645
2646 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
2647 __ELF_NATIVE_CLASS.
2648 (La_x32_regs): New macro.
2649 (La_x32_retval): Likewise.
2650 (la_x32_gnu_pltenter): New function prototype.
2651 (la_x32_gnu_pltexit): Likewise.
2652
7998fa78
AS
26532012-03-21 Andreas Schwab <schwab@linux-m68k.org>
2654
dcb33988
AS
2655 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
2656 exponent.
2657
233fc563
AS
2658 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2659
7998fa78
AS
2660 * configure.in (libc_cv_cc_nofma): Check for option to disable
2661 generation of FMA instructions.
2662 * configure: Regenerate.
2663 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
2664 * sysdeps/ieee754/dbl-64/Makefile: New file.
2665 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2666 Remove brandred-fma4.
2667 (CFLAGS-brandred-fma4.c): Remove.
2668 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
2669 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
2670 define.
2671 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
2672 define.
2673
8e95c99a
L
26742012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2675
2676 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2677 LLONG_MAX != LONG_MAX.
2678 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2679 (_fitoa_word): Likewise.
2680 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
2681 LLONG_MAX != LONG_MAX.
2682 * stdio-common/_itowa.h: Include <_itoa.h>.
2683 (_itowa_word): Use _ITOA_WORD_TYPE on value.
2684 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
2685 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
2686 only if not defined.
2687 (_ITOA_WORD_TYPE): Likewise.
2688 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2689 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
2690
6f4db457
DM
26912012-03-21 David S. Miller <davem@davemloft.net>
2692
2693 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2694
7785fe5a
L
26952012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2696
2697 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
2698 of x86_64 when setting libc_cv_slibdir, libdir and
2699 libc_cv_localedir.
2700 * sysdeps/unix/sysv/linux/configure: Regenerated.
2701
4535cd55
JM
27022012-03-21 Joseph Myers <joseph@codesourcery.com>
2703
2704 * manual/lang.texi (Old Varargs): Remove section.
2705 (How Variadic): Update menu.
2706 (va_start): Do not mention varargs.h.
2707
17228132
TS
27082012-03-21 Thomas Schwinge <thomas@codesourcery.com>
2709 Joseph Myers <joseph@codesourcery.com>
2710
2711 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
2712 link test.
2713 * configure: Regenerated.
2714
8149f976
TS
27152012-03-21 Thomas Schwinge <thomas@codesourcery.com>
2716
05f3d1f6
UD
2717 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
2718 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
2719 conformtest.pl
8149f976 2720
1a4ac776
JM
27212012-03-21 Joseph Myers <joseph@codesourcery.com>
2722
be22ce65
JM
2723 * NOTES: Remove.
2724 * Makefile (files-for-dist): Remove NOTES.
2725 (NOTES): Remove rule.
2726 * README: Don't refer to NOTES.
2727 * manual/creature.texi: Don't include macros.texi.
2728 * manual/intro.texi (creature.texi): Remove comment referring to
2729 NOTES.
2730
40b601fb
JM
2731 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
2732 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
2733 * configure: Regenerated.
2734 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
2735 LIBC_TRY_CC_OPTION.
2736 (libc_cv_as_i686): Likewise.
2737 (libc_cv_cc_avx): Likewise.
2738 (libc_cv_cc_sse2avx): Likewise.
2739 (libc_cv_cc_fma4): Likewise.
2740 (libc_cv_cc_novzeroupper): Likewise.
2741 * sysdeps/i386/configure: Regenerated.
2742
1a4ac776
JM
2743 [BZ #13883]
2744 * sysdeps/i386/fpu/s_cexp.S: Remove.
2745 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
2746 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
2747 * math/libm-test.inc (cexp_test): Add more tests.
2748 * sysdeps/i386/fpu/libm-test-ulps: Update.
2749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2750
a458e7fe
AM
27512012-03-21 Allan McRae <allan@archlinux.org>
2752
2753 * timezone/Makefile: Do not install iso3166.tab and zone.tab
2754
0cb7efc5
JM
27552012-03-21 Joseph Myers <joseph@codesourcery.com>
2756
2757 [BZ #13871]
2758 * math/w_exp2.c: Do not include <float.h>.
2759 (o_threshold, u_threshold): Remove.
2760 (__exp2): Calculate result before checking finiteness and calling
2761 __kernel_standard.
2762 * math/w_exp2f.c: Likewise.
2763 * math/w_exp2l.c: Likewise.
2764 * math/libm-test.inc (exp2_test): Require overflow exception for
2765 1e6 input.
2460d3aa
JM
2766
2767 [BZ #3866]
2768 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
2769 range of signed 64-bit integers before using fistpll. Remove
2770 checks for whether integers fit in mantissa bits.
2771 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
2772 the range of signed 32-bit integers before using fistpl. Remove
2773 checks for whether integers fit in mantissa bits.
2774 * sysdeps/i386/fpu/e_powl.S (p64): New object.
2775 (__ieee754_powl): Test for y outside the range of signed 64-bit
2776 integers before using fistpll. Reduce 64-bit values to 63-bit
2777 ones as needed.
2778 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
2779 divide-by-zero is raised for zero to large negative powers.
2780 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
2781 (__ieee754_powl): Test for y outside the range of signed 64-bit
2782 integers before using fistpll. Reduce 64-bit values to 63-bit
2783 ones as needed.
2784 * math/libm-test.inc (pow_test): Add more tests.
2785
eb96ffb0
L
27862012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2787
2788 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
2789 <stdio-common/_itoa.h>.
2790 * debug/segfault.c: Likewise.
2791 * elf/dl-cache.c: Likewise.
2792 * elf/dl-minimal.c: Likewise.
2793 * elf/dl-misc.c: Likewise.
2794 * elf/dl-sysdep.c: Likewise.
2795 * elf/dl-version.c: Likewise.
2796 * elf/rtld.c: Likewise.
2797 * hurd/hurdsock.c: Likewise.
2798 * hurd/lookup-retry.c: Likewise.
2799 * malloc/malloc.c: Likewise.
2800 * malloc/mtrace.c: Likewise.
2801 * nscd/nscd_getgr_r.c: Likewise.
2802 * nscd/nscd_getpw_r.c: Likewise.
2803 * nscd/nscd_getserv_r.c: Likewise.
2804 * posix/getopt_init.c: Likewise.
2805 * posix/wordexp.c: Likewise.
2806 * stdio-common/_itoa.c: Likewise.
2807 * stdio-common/printf_fphex.c: Likewise.
2808 * stdio-common/vfprintf.c: Likewise.
2809 * string/_strerror.c: Likewise.
2810 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
2811 * sysdeps/i386/i686/hp-timing.h: Likewise.
2812 * sysdeps/mach/_strerror.c: Likewise.
2813 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
2814 * sysdeps/mach/hurd/sethostid.c: Likewise.
2815 * sysdeps/mach/hurd/xmknodat.c: Likewise.
2816 * sysdeps/mach/xpg-strerror.c: Likewise.
2817 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2818 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2819 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
2820 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
2821 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2822 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
2823 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
2824 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
2825 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
2826 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
2827 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
2828 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2829 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
2830 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2831 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2832 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
2833 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
2834 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
2835 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2836 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2837 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
2838
2839 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
2840
2841 * stdio-common/_itoa.h: Moved to ...
2842 * sysdeps/generic/_itoa.h: Here.
2843
2844 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
2845
2846 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
2847 instead of "_itoa.h" and "_itowa.h".
2848 * stdio-common/vfprintf.: Likewise.
2849
d1af992d
L
28502012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2851
2852 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
2853 <bits/wordsize.h>.
2854 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
2855 (__signbit): Likwise.
2856 (llrintf): Likwise.
2857 (llrint): Likwise.
2858
114883e0
L
28592012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2860
2861 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
2862 __WORDSIZE != 64.
2863
c135cc1b
JM
28642012-03-20 Joseph Myers <joseph@codesourcery.com>
2865
2866 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
2867 OVERFLOW_EXCEPTION_OK.
2868 * math/libm-test.inc ("Philosophy"): Update comment about
2869 exception testing.
2870 (OVERFLOW_EXCEPTION): Define.
2871 (OVERFLOW_EXCEPTION_OK): Likewise.
2872 (INVALID_EXCEPTION_OK): Renumber.
2873 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2874 (IGNORE_ZERO_INF_SIGN): Likewise.
2875 (test_exceptions): Handle FE_OVERFLOW.
2876 (exp10_test): Expect overflow exceptions.
2877 (exp2_test): Likewise.
2878 (expm1_test): Likewise.
2879 (nextafter_test): Likewise.
2880 (pow_test): Likewise.
2881 (scalbn_test): Likewise.
2882 (scalbln_test): Likewise.
2883
95443d88
L
28842012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2885
2886 * sysdeps/x86_64/bits/atomic.h
2887 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
2888 64bit integer.
2889 (atomic_exchange_acq): Likewise.
2890 (__arch_exchange_and_add_body): Likewise.
2891 (__arch_add_body): Likewise.
2892 (atomic_add_negative): Likewise.
2893 (atomic_add_zero): Likewise.
2894
490df6c4
L
28952012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2896
c2722551 2897 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
2898 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
2899
5e52b189
L
29002012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2901
2902 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
2903 Check __x86_64__ instead of __WORDSIZE.
2904
a9879d4c
L
29052012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2906
2907 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
2908
5df98260
DM
29092012-03-19 David S. Miller <davem@davemloft.net>
2910
e1497744
DM
2911 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2912
5df98260
DM
2913 * sysdeps/sparc/fpu/fenv_private.h: New file.
2914 * sysdeps/sparc/fpu/math_private.h: Use it.
2915 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
2916 Remove.
2917 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
2918 (libc_feholdexcept_setroundl): Remove.
2919 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
2920 Remove.
2921 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
2922 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
2923
b4c35121
L
29242012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2925
2926 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
2927 int64_t instead of long int.
2928 (INSERT_WORDS64): Likwise.
2929
56965fd7
L
29302012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2931
2932 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
2933 _Unwind_GetCFA return to _Unwind_Ptr first.
2934
83d1aec8
JM
29352012-03-19 Joseph Myers <joseph@codesourcery.com>
2936
1897ad44
JM
2937 [BZ #13629]
2938 * math/s_clog.c: Include <float.h>.
2939 (__clog): Scale large or subnormal inputs.
2940 * math/s_clogf.c: Likewise.
2941 * math/s_clogl.c: Likewise.
2942 * math/s_clog10.c: Include <float.h>.
2943 (M_LOG10_2): Define.
2944 (__clog10): Scale large or subnormal inputs.
2945 * math/s_clog10f.c: Likewise.
2946 * math/s_clog10l.c: Likewise.
2947 * math/libm-test.inc (clog_test): Add more tests.
2948 (clog10_test): Likewise.
2949 * sysdeps/i386/fpu/libm-test-ulps: Update.
2950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2951
7726d6a9
JM
2952 [BZ #11451]
2953 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
2954 x and y.
2955 * math/libm-test.inc (atan2_test): Add another test.
2956
83d1aec8
JM
2957 * Makerules (common-objdir-compile): Remove.
2958 * sysdeps/unix/Makefile (config-generated): Do not add
2959 $(unix-generated) to variable.
2960 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
2961 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
2962 Remove rule.
2963 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
2964 Likewise.
2965 [generic bits/local_lim.h] (before-compile): Do not append to
2966 variable.
2967 [generic bits/local_lim.h] (common-generated): Likewise.
2968 [generic sys/param.h] (before-compile): Do not append to variable.
2969 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
2970 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
2971 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
2972 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
2973 include.
2974 [generic sys/param.h] (sys/param.h-includes): Remove variable.
2975 [generic sys/param.h] (sys/param.h-includes): Remove rule.
2976 [generic sys/param.h] ($(addprefix
2977 $(common-objpfx),$(sys/param.h-includes))): Likewise.
2978 [generic sys/param.h] (common-generated): Do not append to
2979 variable.
2980 [generic sys/param.h] (sysdep_headers): Likewise.
2981 [generic bits/errno.h] (before-compile): Do not append to
2982 variable.
2983 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
2984 rule.
2985 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
2986 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
2987 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
2988 [generic bits/errno.h] (common-generated): Do not append to
2989 variable.
2990 [generic bits/ioctls.h] (before-compile): Do not append to
2991 variable.
2992 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
2993 rule.
2994 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
2995 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
2996 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
2997 rule.
2998 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
2999 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
3000 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
3001 [generic bits/ioctls.h] (common-generated): Do not append to
3002 variable.
3003 [generic sys/syscall.h] (syscall.h): Remove variable.
3004 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
3005 rule.
3006 [generic sys/syscall.h] (before-compile): Do not append to
3007 variable.
3008 [generic sys/syscall.h] (common-generated): Likewise.
3009 * sysdeps/unix/errnos-tmpl.c: Remove file.
3010 * sysdeps/unix/errnos.awk: Likewise.
3011 * sysdeps/unix/ioctls-tmpl.c: Likewise.
3012 * sysdeps/unix/ioctls.awk: Likewise.
3013 * sysdeps/unix/mk-local_lim.c: Likewise.
3014 * sysdeps/unix/snarf-ioctls: Likewise.
3015
4851a949
RH
30162012-03-19 Richard Henderson <rth@twiddle.net>
3017
bd37f2ee
RH
3018 * sysdeps/i386/fpu/fenv_private.h: New file.
3019 * sysdeps/i386/fpu/math_private.h: Use it.
3020 (math_opt_barrier, math_force_eval): Remove.
3021 (libc_feholdexcept_setround_53bit): Remove.
3022 (libc_feupdateenv_53bit): Remove.
3023 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3024 (math_opt_barrier, math_force_eval): Remove.
3025 (libc_feholdexcept): Remove.
3026 (libc_feholdexcept_setround): Remove.
3027 (libc_fetestexcept, libc_fesetenv): Remove.
3028 (libc_feupdateenv_test): Remove.
3029 (libc_feupdateenv, libc_feholdsetround): Remove.
3030 (libc_feresetround): Remove.
3031
d0adc922
RH
3032 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
3033 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3034
0fe0f1f8
RH
3035 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
3036 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
3037 (libc_feupdateenv_testl): New.
3038 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
3039 (libc_feupdateenv_testf): New.
3040 (libc_feupdateenv): Use libc_feupdateenv_test.
3041 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
3042 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
3043
eb92c487
RH
3044 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
3045 (libc_feholdsetroundf, libc_feholdsetroundl): New.
3046 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
3047 (libc_feresetround_noex): New.
3048 (libc_feresetround_noexf): New.
3049 (libc_feresetround_noexl): New.
3050 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
3051 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
3052 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
3053 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
3054 SET_RESTORE_ROUND.
3055 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3056 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
3057 (__cos): Likewise.
3058 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
3059 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
3060 SET_RESTORE_ROUND_NOEX.
3061 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
3062 SET_RESTORE_ROUND_NOEXF.
3063 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
3064 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
3065 (libc_feholdsetroundf): New.
3066 (libc_feresetround, libc_feresetroundf): New.
3067
7d2e8012
RH
3068 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
3069 (libc_feholdexcept_setround_53bit): Convert from macro to function.
3070 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
3071
b4dabbb4
RH
3072 * sysdeps/generic/math_private.h: Include <fenv.h>.
3073 (default_libc_feholdexcept): New.
3074 (default_libc_feholdexcept_setround): New.
3075 (default_libc_fesetenv, default_libc_feupdateenv): New.
3076 (libc_feholdexcept): Only define if undefined.
3077 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
3078 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
3079 (libc_feholdexcept_setroundl): Likewise.
3080 (libc_feholdexcept_setround_53bit): Likewise.
3081 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
3082 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
3083 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
3084 (libc_feupdateenv_53bit): Likewise.
3085 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
3086 (libc_feholdexcept): Convert from macro to inline function.
3087 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
3088 (libc_fesetenv, libc_feupdateenv): Likewise.
3089
4851a949
RH
3090 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
3091 not previously defined.
3092 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
3093 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
3094 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
3095 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
3096 * sysdeps/ieee754/flt-32/math_private.h: New file.
3097 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
3098 math_private.h below SET_FLOAT_WORD.
3099 (__isnan, __isinf_ns, __finite): Remove.
3100 (__isnanf, __isinf_nsf, __finitef): Remove.
3101
e79d442e
AS
31022012-03-18 Andreas Schwab <schwab@linux-m68k.org>
3103
3104 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3105
90b80344
DM
31062012-03-17 David S. Miller <davem@davemloft.net>
3107
3108 [BZ #6471]
3109 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
3110 for 2.16.
3111
edc21804
DM
31122012-03-16 David S. Miller <davem@davemloft.net>
3113
77e927af
DM
3114 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
3115 warnings.
3116
374976dd
DM
3117 [BZ #6471]
3118 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
3119 properly.
3120 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
3121 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
3122 sysdep_routines when subdir is sysvipc.
3123 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
3124 __getshmlba helper.
3125
edc21804
DM
3126 * sysdeps/sparc/fpu/libm-test/ulps: Update.
3127
473c3ef3
L
31282012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3129
3130 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
3131 [__LP64__].
3132
eb0f39b6
L
31332012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3134
3135 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
3136 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
3137 (__lround): Renamed to ...
3138 (__llround): This. Replace long int with long long int.
3139 Define lround functions as aliases of llround functions.
3140 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
3141
6b6cd74b
L
31422012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3143
3144 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
3145 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
3146 adresses to uintptr_t. Replace "long int" and "unsigned long
3147 int" with "greg_t" on va_arg.
3148
f1a77b01
L
31492012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3150
3151 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
3152 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
3153
3154 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
3155 Move e_machine check before EI_CLASS check. Handle x32
3156 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
3157 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
3158 SKIP_EM_IA_64 and include
3159 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
3160
3161 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
3162 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
3163 (add_system_dir): New macro.
3164
3165 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
3166 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
3167
11b90b9f
JM
31682012-03-16 Joseph Myers <joseph@codesourcery.com>
3169
c36e1d23
JM
3170 [BZ #2551]
3171 [BZ #2552]
3172 [BZ #2553]
3173 [BZ #2554]
3174 [BZ #2562]
3175 [BZ #2563]
3176 [BZ #2565]
3177 [BZ #2566]
3178 [BZ #2576]
3179 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
3180 (y0): Likewise.
3181 * math/w_j0f.c (j0f): Likewise.
3182 (y0f): Likewise.
3183 * math/w_j0l.c (__j0l): Likewise.
3184 (__y0l): Likewise.
3185 * math/w_j1.c (j1): Likewise.
3186 (y1): Likewise.
3187 * math/w_j1f.c (j1f): Likewise.
3188 (y1f): Likewise.
3189 * math/w_j1l.c (__j1l): Likewise.
3190 (__y1l): Likewise.
3191 * math/w_jn.c (jn): Likewise.
3192 (yn): Likewise.
3193 * math/w_jnf.c (jnf): Likewise.
3194 (ynf): Likewise.
3195 * math/w_jnl.c (__jnl): Likewise.
3196 (__ynl): Likewise.
3197 * math/libm-test.inc (j0_test): Add more tests.
3198 (j1_test): Likewise.
3199 (jn_test): Likewise. Add trailing semicolon to existing test.
3200 (y0_test): Likewise.
3201 (y1_test): Likewise.
3202 * sysdeps/i386/fpu/libm-test-ulps: Update.
3203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3204
11b90b9f
JM
3205 [BZ #13851]
3206 [BZ #13854]
3207 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
3208 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
3209 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
3210 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
3211 (__tanl): Set errno for infinite argument.
3212 * sysdeps/i386/fpu/mptan.c: Remove.
3213 * sysdeps/i386/fpu/s_tan.S: Likewise.
3214 * sysdeps/i386/fpu/s_tanl.S: Likewise.
3215 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
3216 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
3217 * math/libm-test.inc (tan_test): Add more tests and enable more
3218 tests for double and long double.
3219 * sysdeps/i386/fpu/libm-test-ulps: Update.
3220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3221
6a1bd2a1
JK
32222012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3223
3224 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
3225 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
3226
10a803e0
RM
32272012-03-16 Roland McGrath <roland@hack.frob.com>
3228
3229 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
3230 * configure.in: Use it for both main tree and add-ons.
3231 * configure: Regenerated.
3232
f196c7f7
L
32332012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3234
3235 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
3236
8848d99d
JM
32372012-03-16 Joseph Myers <joseph@codesourcery.com>
3238
96cbe7f4
JM
3239 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
3240 in comment.
3241
8848d99d
JM
3242 [BZ #13851]
3243 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
3244 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
3245 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
3246 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
3247 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
3248 infinite argument.
3249 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
3250 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
3251 != 0 for prec == 2.
3252 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
3253 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
3254 * sysdeps/i386/fpu/s_cosl.S: Likewise.
3255 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
3256 * sysdeps/i386/fpu/s_sinl.S: Likewise.
3257 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
3258 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
3259 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
3260 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
3261 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
3262 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
3263 * math/libm-test.inc (cos_test): Add more tests and enable more
3264 tests for long double.
3265 (sin_test): Likewise.
3266 (sincos_test): Likewise.
3267 * sysdeps/i386/fpu/libm-test-ulps: Update.
3268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3269
dd7f4703
DM
32702012-03-16 David S. Miller <davem@davemloft.net>
3271
3272 * sysdeps/sparc/fpu/math_private.h: New file.
3273
006f1daa
DM
32742012-03-15 David S. Miller <davem@davemloft.net>
3275
c0c83bc8
DM
3276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
3277 file.
e6a62e18 3278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
3279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
3280 file.
e6a62e18
DM
3281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
3282 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
3283 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
3284 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
3285 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
3286 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
3287 sysdep routines.
3288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3289
88cb87d9
DM
3290 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
3291 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
3292
006f1daa 3293 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
3294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
3295 sparc-ifunc.h
006f1daa 3296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
3297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
3298 Likewise.
3299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
3300 Likewise.
006f1daa
DM
3301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
3302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
3303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
3304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3305 Likewise.
006f1daa
DM
3306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
3308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
3310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
3311 Likewise.
3312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
3313 Likewise.
006f1daa
DM
3314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
3316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
3317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
3318 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3319 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3320 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
3321 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
3322 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3323 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3324 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
3325 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
3326 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
3327 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
3328 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
3329 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
3330 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
3331 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
3332 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
3333 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
3334 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
3335 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
3336 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
3337 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
3338
11e0098e
AS
33392012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3340
3341 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
3342 scaling.
3343 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3344
e85b09d0
AJ
33452012-03-15 Andreas Jaeger <aj@suse.de>
3346
3347 [BZ #13852]
3348 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
3349 ieee754/flt-32 implementation for sin, cos and sincos.
3350 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
3351 * sysdeps/i386/fpu/s_cosf.S: Likewise.
3352 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
3353 * sysdeps/i386/fpu/s_sinf.S: Likewise.
3354 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
3355 ieee754/flt-32 implementation for tan.
3356
3357 * math/libm-test.inc (cos_test): Enable some large input tests for
3358 float as well
3359 (sin_test): Likewise.
3360 (sincos_test): Likewise.
3361 (tan_test): Add tests for large input.
3362
3363 * sysdeps/i386/fpu/libm-test-ulps: Update.
3364
81c64153
AJ
33652012-03-15 Andreas Jaeger <aj@suse.de>
3366
3367 [BZ #13658]
3368 * math/libm-test.inc (cos_test): Add more test cases.
3369 (sin_test): Likewise.
3370 (sincos_test): Likewise.
3371
7bbfa5c6
AJ
33722012-03-15 Andreas Jaeger <aj@suse.de>
3373
3374 [BZ #13837]
3375 * math/libm-test.inc (cos_test): Add a test case for large input
3376 value.
3377 (sin_test): Likewise.
3378 (sincos_test): Likewise.
3379
33802012-03-15 Andreas Jaeger <aj@suse.de>,
3381 Joseph Myers <joseph@codesourcery.com>
3382
3383 [BZ #13658]
0671f479 3384 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
3385 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
3386 * sysdeps/i386/fpu/branred.c: Likewise.
3387 * sysdeps/i386/fpu/dosincos.c: Likewise.
3388 * sysdeps/i386/fpu/mpa.c: Likewise.
3389 * sysdeps/i386/fpu/s_cos.S: Likewise.
3390 * sysdeps/i386/fpu/s_sin.S: Likewise.
3391 * sysdeps/i386/fpu/s_sincos.S: Likewise.
3392 * sysdeps/i386/fpu/sincos32.c: Likewise.
3393
3394 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
3395 Define.
3396 (libc_feupdateenv_53bit): Define.
3397 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
3398 Define.
3399 (libc_feupdateenv_53bit): Define.
3400
3401 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
3402 53 bit (without extend i386 double precision).
3403
3404 * math/libm-test.inc (sincos_test): Add tests for large input.
3405 (sin): Likewise.
3406 (cos): Likewise.
3407
3408 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3409
9cad04ea
AS
34102012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3411
3412 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3413
f7062b9a
DM
34142012-03-15 David S. Miller <davem@davemloft.net>
3415
3416 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
3417 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
3418 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
3419 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
3420 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
3421 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
3422 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
3423 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
3424 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
3425 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
3426 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
3427 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
3428 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
3429 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
3430 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
3431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
3432 file.
f7062b9a 3433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
3434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
3435 file.
f7062b9a 3436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
3437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
3438 file.
f7062b9a 3439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
3440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
3441 file.
f7062b9a
DM
3442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
3443 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
3444 fmin/fmax sysdep routines.
3445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3446
7bd951ff
DM
34472012-03-14 David S. Miller <davem@davemloft.net>
3448
559398ab
DM
3449 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
3450 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
3451 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
3452 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
3453 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
3454 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
3455 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
3456 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
3457 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
3458 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
3459 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
3460 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
3461 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
3462 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
3463 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
3464 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
3465 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
3466 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
3467 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
3468 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
3469 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
3470 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
3471 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
3472 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
3473 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
3474 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
3475 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
3476 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
3477 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
3478 routines.
3479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
3480 file.
559398ab 3481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
3482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
3483 file.
559398ab 3484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
3485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
3486 file.
559398ab 3487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
3488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
3489 file.
559398ab 3490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
3491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
3492 file.
559398ab 3493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
3494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
3495 file.
3496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
3497 file.
3498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
3499 file.
3500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
3501 file.
3502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
3503 New file.
3504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
3505 file.
3506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
3507 file.
559398ab 3508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
3509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
3510 file.
559398ab 3511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
3512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
3513 file.
559398ab 3514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
3515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
3516 file.
559398ab 3517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
3518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
3519 VIS3 routines.
559398ab
DM
3520
3521 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3522 New file.
3523
5a1c1e32
DM
3524 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3525
eae47a36
DM
3526 * sysdeps/sparc/configure.in: New file.
3527 * sysdeps/sparc/configure: Generate.
3528 * configure.in (libc_cv_sparc_as_vis3): Substitute.
3529 * configure: Regenerate.
3530 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
3531 * config.make.in (have-as-vis3): New.
3532 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
3533 available use -Av9d instead of -Av9a.
3534 * sysdeps/sparc/sparc64/Makefile: Likewise.
3535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
3536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
3537 New file.
3538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
3539 file.
3540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
3541 New file.
3542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
3543 file.
eae47a36
DM
3544 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
3545 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
3546 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
3547 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
3548 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
3549
c0c83bc8
DM
3550 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
3551 fzeros/fnegs to load 0x80000000 into a float register instead of
3552 using the stack.
7bd951ff
DM
3553 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
3554
bd951ccb
JM
35552012-03-14 Joseph Myers <joseph@codesourcery.com>
3556
3557 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3558 bits/syscall.h.
3559 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
3560 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
3561 ($(inst_includedir)/bits/syscall.h): Remove rule.
3562 ($(objpfx)bits/syscall.d): Include instead of
3563 $(objpfx)syscall-list.d.
3564 (generated): Change syscall-list.h and syscall-list.d to
3565 bits/syscall.h and bits/syscall.d.
3566
bb4e6db2
RM
35672012-03-14 Roland McGrath <roland@hack.frob.com>
3568
3569 [BZ #13846]
3570 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
3571
aa4a2ae1
JM
35722012-03-14 Joseph Myers <joseph@codesourcery.com>
3573
e456826d
JM
3574 [BZ #13841]
3575 * math/s_csqrt.c: Include <float.h>.
3576 (__csqrt): Scale large or subnormal inputs.
3577 * math/s_csqrtf.c: Likewise.
3578 * math/s_csqrtl.c: Likewise.
3579 * math/libm-test.inc (csqrt_test): Add more tests.
3580 * sysdeps/i386/fpu/libm-test-ulps: Update.
3581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3582
aa4a2ae1
JM
3583 [BZ #13840]
3584 * math/libm-test.inc (hypot_test): Add more tests.
3585
7c10fd35
DM
35862012-03-13 David S. Miller <davem@davemloft.net>
3587
3588 [BZ #13840]
3589 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
3590 double-precision for the calculation instead of scaling.
3591
f453b98b
JM
35922012-03-13 Joseph Myers <joseph@codesourcery.com>
3593
3594 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
3595 manipulate bits before adding and subtracting TWO52[sx].
3596 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
3597 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
3598 Likewise.
3599 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
3600
09a3453f
DM
36012012-03-13 David S. Miller <davem@davemloft.net>
3602
8e59da90
DM
3603 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
3604 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
3605 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
3606 rtld-global-offsets.h
3607 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3608
2a8ab7f2
DM
3609 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
3610 large parameters.
3611
10f62770
DM
3612 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
3613
5f0bdb18
DM
3614 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
3615 'err' in the ifdef scope in which it is actually used.
3616
09a3453f
DM
3617 * nss/nss_db/db-init.c: Include string.h
3618
b4b2eb5e
DM
36192012-03-12 David S. Miller <davem@davemloft.net>
3620
98bb2f1c
DM
3621 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
3622 masking out of the most significant byte of random value used.
3623 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3624 Fix coding style in previous change.
3625
b4b2eb5e
DM
3626 * sysdeps/unix/sysv/linux/kernel-features.h
3627 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
3628 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
3629 expression.
3630 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
3631 later.
3632
6e226b09
DM
36332012-03-11 David S. Miller <davem@davemloft.net>
3634
a1bcbd40
DM
3635 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
3636 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
3637 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
3638 for 'resultvar' otherwise things get truncated on 64-bit.
3639
cb9d6174
DM
3640 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3641 Fix masking out of the most significant byte of random value used.
3642
6e226b09
DM
3643 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3644
058c132d
AS
36452012-03-10 Andreas Schwab <schwab@linux-m68k.org>
3646
3647 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3648
2d2cd515
DM
36492012-03-09 David S. Miller <davem@davemloft.net>
3650
3651 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
3652 variables with appropriate CPP guards.
3653 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
3654 frame pointer, not the stack pointer. Correct layout comments. Fix test
3655 on resulting framesize and the management of the outregs buffer for pltexit.
3656 Preserve floating point return values across _dl_call_pltexit call.
3657 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
3658 framesize and the management of the outregs buffer for pltexit.
3659 Preserve floating point return values across _dl_call_pltexit
3660 call.
3661 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
3662 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
3663 (print_exit): Fix format string for return register value.
3664
9a07f9d0
JM
36652012-03-10 Joseph Myers <joseph@codesourcery.com>
3666
3667 * sunrpc/Makefile (others): Add rpcgen.
3668 ($(objpfx)rpcgen): Remove special build rule and dependency on
3669 libc.
3670 * sunrpc/rpcgen.c: New file.
3671
547b5e30
PE
36722012-03-09 Paul Eggert <eggert@cs.ucla.edu>
3673
c524201a
PE
3674 [BZ #13673]
3675 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
3676 * stdio-common/bug-vfprintf-nargs.c: Likewise.
3677 * sysdeps/i386/crti.S: Likewise.
3678 * sysdeps/i386/crtn.S: Likewise.
3679 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
3680 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
3681 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
3682 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
3683 * sysdeps/sh/crti.S: Likewise.
3684 * sysdeps/sh/crtn.S: Likewise.
3685 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
3686
7b6235f2
PE
3687 [BZ #13673]
3688 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
3689 with URL.
3690 * locale/programs/locfile-kw.gperf: Likewise.
3691 * locale/programs/charmap-kw.h: Regenerated.
3692 * locale/programs/locfile-kw.h: Likewise.
3693
547b5e30
PE
3694 [BZ #13673]
3695 * intl/plural.y: Replace FSF snail mail address with URL.
3696 * intl/plural.c: Regenerated.
3697
5f0a5dae
RH
36982012-03-09 Richard Henderson <rth@twiddle.net>
3699
3700 * include/math_private.h: Remove file.
3701 * math/math_private.h: Move file ...
3702 * sysdeps/generic/math_private.h: ... here.
3703
b8c03620
RH
3704 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
3705 * sysdeps/powerpc/fpu/math_private.h: Likewise.
3706 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3707
4e234f5d 3708 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
3709 and <math_private.h>.
3710 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3711 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3712 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3713 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3714 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3715 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
3716 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3717 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3718 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3719 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3720 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3721 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3722 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3723 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3724 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3725 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3726 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3727 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3728 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3729 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
3730 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3731 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3732 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3733 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3734 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3735 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3736 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3737 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3738 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3739 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3740 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3741 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3742 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3743 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3744 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3745 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3746 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3747 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3748 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3749 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3750 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
3751 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3752 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3753 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3754 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3755 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3756 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
3757 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3758 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3759 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3760 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3761 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
3762 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3763 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3764 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3765 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3766 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3767 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3768 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3769 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
3770 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3771 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3772 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3773 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3774 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
3775 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3776 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3777 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3778 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
3779 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
3780 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3781 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3782 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3783 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3784 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
3785 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
3786 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
3787 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3788 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
3789 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
3790 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3791 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
3792 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3793 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
3794 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3795 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3796 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
3797 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
3798 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
3799 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3800 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3801 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
3802 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3803 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
3804 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
3805 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
3806 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3807 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3808 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3809 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
3810 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
3811 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
3812 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
3813 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
3814 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3815 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
3816 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
3817 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
3818 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3819 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3820 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3821 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3822 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
3823 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3824 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
3825 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3826 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3827 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3828 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3829 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
3830 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3831 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3832 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3833 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
3834 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3835 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3836 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
3837 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
3838 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3839 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
3840 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
3841 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
3842 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3843 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
3844 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
3845 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3846 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
3847 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3848 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
3849 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
3850 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3851 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3852 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3853 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
3854 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
3855 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3856 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3857 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3858 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
3859 * sysdeps/ieee754/k_standard.c: Likewise.
3860 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
3861 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
3862 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3863 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
3864 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
3865 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
3866 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
3867 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
3868 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3869 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3870 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3871 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3872 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
3873 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
3874 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
3875 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
3876 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3877 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
3878 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
3879 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
3880 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
3881 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
3882 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3883 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3884 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3885 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3886 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3887 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3888 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3889 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3890 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3891 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3892 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3893 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3894 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3895 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3896 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3897 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
3898 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
3899 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3900 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3901 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3902 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3903 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3904 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3905 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3906 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3907 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3908 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3909 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3910 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3911 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3912 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3913 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
3914 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3915 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3916 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
3917 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
3918 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3919 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3920 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3921 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3922 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3923 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
3924 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3925 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3926 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
3927 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
3928 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
3929 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
3930 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
3931 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3932 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
3933 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
3934 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
3935 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
3936 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
3937 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
3938 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3939 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
3940 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
3941 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
3942 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3943 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3944 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
3945 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3946 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3947 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3948 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3949 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3950 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
3951 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3952 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3953 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3954 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3955 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3956 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
3957 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3958 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3959 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
3960 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3961 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3962 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3963 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3964 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
3965 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3966 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3967 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3968 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
3969 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3970 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3971 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3972 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
3973 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3974 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
3975 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
3976 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
3977 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3978 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
3979 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
3980 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3981 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
3982 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3983 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
3984 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3985 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
3986 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3987 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3988 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3989 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3990 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3991 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3992 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3993 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3994 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3995 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3996 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
3997 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3998 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3999 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
4000 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
4001 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4002 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
4003 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
4004 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4005 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4006 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4007 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4008 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4009 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
4010 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4011 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4012 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4013 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4014 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
4015 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
4016 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4017 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4018 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4019 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4020 * sysdeps/ieee754/s_lib_version.c: Likewise.
4021 * sysdeps/ieee754/s_matherr.c: Likewise.
4022 * sysdeps/ieee754/s_signgam.c: Likewise.
4023 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4024 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4025 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
4026 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
4027 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
4028 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4029 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
4030 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
4031 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
4032 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
4033 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4034 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
4035 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4036 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4037 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
4038 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4039 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4040 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4041 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4042 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4043 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 4044
1991fa03
JM
40452012-03-09 Joseph Myers <joseph@codesourcery.com>
4046
4047 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
4048 * sunrpc/rpc_main.c: Likewise.
4049 * sunrpc/rpc_svcout.c: Likewise.
4050
60d6f5a6
DM
40512012-03-09 David S. Miller <davem@davemloft.net>
4052
4053 * include/math_private.h: New file.
4054
4962050e
JM
40552012-03-09 Joseph Myers <joseph@codesourcery.com>
4056
02a6f887
JM
4057 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
4058 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
4059 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
4060 from <bits/socket_type.h>.
4061 (enum __socket_type): Don't define here.
4062 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
4063 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4064 bits/socket_type.h.
4065
c6e013c1
JM
4066 [BZ #13566]
4067 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
4068 checking __USE_GNU.
4069
4962050e
JM
4070 * Makerules ($(inst_includedir)/%.h): New rule.
4071 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
4072 (install-others): Remove variable setting.
4073 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
4074
38842f45
RH
40752012-03-08 Richard Henderson <rth@twiddle.net>
4076
67bb6da6
RH
4077 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
4078 from macro to inline function; merge with the
4079 !__LIBC_INTERNAL_MATH_INLINES version.
4080 (__ieee754_sqrtf): Likewise.
4081
15194b4b
RH
4082 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
4083 to inline function.
4084 (__rintf, __floor, __floorf): Likewise.
4085
64e21ede
RH
4086 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
4087 macro to inline function.
4088 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
4089
38842f45
RH
4090 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
4091 not <math/math_private.h>.
4092
c64bf5fe
DM
40932012-03-08 David S. Miller <davem@davemloft.net>
4094
4095 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
4096 copyright year.
4097 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
4098
82d86f28
TS
40992012-03-08 Thomas Schwinge <thomas@codesourcery.com>
4100
4101 * resolv/gai_misc.c (handle_requests): Fix struct timespec
4102 normalization.
4103 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
4104 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4105
aea5d727
UD
41062012-03-08 Ulrich Drepper <drepper@gmail.com>
4107
4108 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
4109 be defined individually, they must be defined as a block. Define
4110 S for printing a string instead of hidint the different by using a
4111 macro for adding the 'l'.
4112 * stdio-common/tst-fphex-wide.c: Adjust.
4113
70bca0a3
MP
41142012-03-07 Marek Polacek <polacek@redhat.com>
4115
4116 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
4117
65b81130
MP
41182012-03-08 Marek Polacek <polacek@redhat.com>
4119
4120 [BZ #13806]
4121 * stdio-common/Makefile (tests): Add tst-fphex-wide.
4122 * stdio-common/tst-fphex.c: Define a few macros to make the
4123 test reusable. Use them.
4124 * stdio-common/tst-fphex-wide.c: New file.
4125
07037eeb
JM
41262012-03-08 Joseph Myers <joseph@codesourcery.com>
4127
a7a93d50
JM
4128 [BZ #6911]
4129 * manual/macros.texi (gnusystems): New macro.
4130 (nongnusystems): Likewise.
4131 (gnulinuxhurdsystems): Likewise.
4132 (gnuhurdsystems): Likewise..
4133 (gnulinuxsystems): Likewise.
4134 * manual/charset.texi: Use new macros or @theglibc{} to refer to
4135 variants of the GNU system, not "GNU system".
4136 * manual/conf.texi: Likewise.
4137 * manual/errno.texi: Likewise. Update example of errno macro
4138 expansion.
4139 * manual/filesys.texi: Likewise.
4140 (getumask): Document as specific to GNU/Hurd.
4141 * manual/install.texi: Likewise. Reword some references to
4142 GNU/Linux.
4143 * manual/intro.texi: Likewise.
4144 * manual/io.texi: Likewise.
4145 (File Name Portability): Detail which constraints are inapplicable
4146 to all GNU systems and which are only inapplicable to GNU/Hurd.
4147 * manual/job.texi: Likewise.
4148 * manual/llio.texi: Likewise.
4149 (O_NOCTTY): Document as present on GNU/Linux.
4150 * manual/maint.texi: Likewise.
4151 * manual/memory.texi: Likewise.
4152 * manual/pattern.texi: Likewise.
4153 * manual/pipe.texi: Likewise.
4154 * manual/process.texi: Likewise.
4155 * manual/resource.texi: Likewise.
4156 (RUSAGE_CHILDREN): Remove statement about specifying a particular
4157 child on GNU/Hurd.
4158 * manual/setjmp.texi: Likewise.
4159 * manual/signal.texi: Likewise.
4160 * manual/startup.texi: Likewise.
4161 * manual/stdio.texi: Likewise.
4162 * manual/terminal.texi: Likewise.
4163 (ONLCR): Document as POSIX.
4164 (OXTABS): Document availability on GNU/Linux as XTABS.
4165 (ONOEOT): Document availability separately from other bits.
4166 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
4167 * manual/time.texi: Likewise.
4168 * manual/users.texi: Likewise.
4169 * INSTALL: Regenerated.
4170 * sysdeps/gnu/errlist.c: Regenerated.
4171
07037eeb
JM
4172 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
4173 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
4174 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
4175 puts.
4176 * configure: Regenerated.
4177
d1d3431a
JM
41782012-03-07 Joseph Myers <joseph@codesourcery.com>
4179
af6a1e37
JM
4180 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
4181 default includes instead of AC_HEADER_CHECK.
4182 * sysdeps/i386/configure: Regenerated.
4183
d1d3431a
JM
4184 [BZ #10716]
4185 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
4186 * math/s_cacoshf.c (__cacoshf): Likewise.
4187 * math/s_cacoshl.c (__cacoshl): Likewise.
4188 * math/s_casinh.c (__casinh): Set signs of result from argument.
4189 * math/s_casinhf.c (__casinhf): Likewise.
4190 * math/s_casinhl.c (__casinhl): Likewise.
4191 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
4192 (casinh_test): Add more tests.
4193 * sysdeps/i386/fpu/libm-test-ulps: Update.
4194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4195
482ff4da
UD
41962012-03-07 Ulrich Drepper <drepper@gmail.com>
4197
872fda05
UD
4198 * po/zh_TW.po: Update from translation team.
4199
a4300c7a
UD
4200 * login/Makefile (distribute): Remove variable.
4201 * catgets/Makefile: Likewise.
4202 * mach/Makefile: Likewise.
4203 * malloc/Makefile: Likewise.
4204 * misc/Makefile: Likewise.
4205 * iconv/Makefile: Likewise.
4206 * nscd/Makefile: Likewise.
4207 * hurd/Makefile: Likewise.
4208 * manual/Makefile: Likewise.
4209 * locale/Makefile: Likewise.
4210 * intl/Makefile: Likewise.
4211 * conform/Makefile: Likewise.
4212 * nss/Makefile: Likewise.
4213 * time/Makefile: Likewise.
4214 * soft-fp/Makefile: Likewise.
4215 * dirent/Makefile: Likewise.
4216 * gmon/Makefile: Likewise.
4217 * po/Makefile: Likewise.
4218 * rt/Makefile: Likewise.
4219 * socket/Makefile: Likewise.
4220 * math/Makefile: Likewise.
4221 * signal/Makefile: Likewise.
4222 * debug/Makefile: Likewise.
4223 * elf/Makefile: Likewise.
4224 * timezone/Makefile: Likewise.
4225 * stdlib/Makefile: Likewise.
4226 * iconvdata/Makefile: Likewise.
4227 * sunrpc/Makefile: Likewise.
4228 * io/Makefile: Likewise.
4229 * argp/Makefile: Likewise.
4230 * inet/Makefile: Likewise.
4231 * hesiod/Makefile: Likewise.
4232 * grp/Makefile: Likewise.
4233 * csu/Makefile: Likewise.
4234 * wctype/Makefile: Likewise.
4235 * crypt/Makefile: Likewise.
4236 * libio/Makefile: Likewise.
4237 * string/Makefile: Likewise.
4238 * nis/Makefile: Likewise.
4239 * resolv/Makefile: Likewise.
4240 * stdio-common/Makefile: Likewise.
4241 * wcsmbs/Makefile: Likewise.
4242 * dlfcn/Makefile: Likewise.
4243 * posix/Makefile: Likewise.
4244
3b7c4e74 4245 [BZ #6959]
482ff4da
UD
4246 * timezone/Makefile: Don't install timezone files, just the programs
4247 and scripts.
4248
f72ed77d
UD
42492012-03-06 Ulrich Drepper <drepper@gmail.com>
4250
a000466f
UD
4251 * nss/databases.def: Add missing gshadow entry.
4252
f72ed77d
UD
4253 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
4254
a53b7a4e
MP
42552012-03-06 Marek Polacek <polacek@redhat.com>
4256
4257 [BZ #13726]
4258 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
4259 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4260 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
4261 * stdio-common/tst-long-dbl-fphex.c: New file.
4262
e9258400
DM
42632012-03-06 David S. Miller <davem@davemloft.net>
4264
4265 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4266 (set_obp_int): New function.
4267 (get_obp_int): New function.
4268 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
4269 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
4270 Avoid unused variable warnings on 'val' and use builtin_expect.
4271 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
4272 __builtin_expect.
e9258400
DM
4273 (INLINE_CLONE_SYSCALL): Likewise.
4274
3bd2c723
DM
42752012-03-05 David S. Miller <davem@davemloft.net>
4276
4277 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4278
bbb78d03
AS
42792012-03-05 Andreas Schwab <schwab@linux-m68k.org>
4280
884c5db4
AS
4281 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4282
bbb78d03
AS
4283 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
4284 only for |x| >= 40.
4285 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4286
1c9f702a 42872012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
4288
4289 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
4290 Replace gettimeofday with __vdso_gettimeofday.
4291
7be16f82
RM
4292 * sysdeps/unix/sysv/linux/x86_64/init-first.c
4293 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
4294 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
4295
4296 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
4297 time with __vdso_time.
4298
ed58a00f
JM
42992012-03-05 Joseph Myers <joseph@codesourcery.com>
4300
4301 * manual/lang.texi (size_t): Note types to which size_t may be
4302 equivalent with the GNU C Library, but do not describe when
4303 differences between them are significant.
4304
30ee4ced
AJ
43052012-03-05 Andreas Jaeger <aj@suse.de>
4306
4307 * sysdeps/i386/fpu/libm-test-ulps: Update.
4308
b7cd39e8
JM
43092012-03-05 Joseph Myers <joseph@codesourcery.com>
4310
4311 [BZ #3976]
4312 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
4313 (__ieee754_pow): Save and restore rounding mode and use
4314 round-to-nearest for main computations.
4315 * math/libm-test.inc (pow_test_tonearest): New function.
4316 (pow_test_towardzero): Likewise.
4317 (pow_test_downward): Likewise.
4318 (pow_test_upward): Likewise.
4319 (main): Call the new functions.
4320 * sysdeps/i386/fpu/libm-test-ulps: Update.
4321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
4322
4323 [BZ #3976]
4324 * math/libm-test.inc (cosh_test_tonearest): New function.
4325 (cosh_test_towardzero): Likewise.
4326 (cosh_test_downward): Likewise.
4327 (cosh_test_upward): Likewise.
4328 (sinh_test_tonearest): Likewise.
4329 (sinh_test_towardzero): Likewise.
4330 (sinh_test_downward): Likewise.
4331 (sinh_test_upward): Likewise.
4332 (main): Call the new functions.
4333 * sysdeps/i386/fpu/libm-test-ulps: Update.
4334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4335
6c6a98c9
TV
43362012-03-05 Tom de Vries <tom@codesourcery.com>
4337
4338 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
4339 default stack guard is set in last bytes.
4340 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
4341
21bb2d2e 43422012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 4343
21bb2d2e 4344 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 4345
21bb2d2e
AJ
4346 [BZ #13656]
4347 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
4348 possibly allocate from heap instead of stack.
4349 * stdio-common/bug-vfprintf-nargs.c: New file.
4350 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 4351
c6922934
AS
43522012-03-03 Andreas Schwab <schwab@linux-m68k.org>
4353
4354 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4355
bc957d53
MP
43562012-03-03 Marek Polacek <polacek@redhat.com>
4357
4358 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
4359 * math/math_private.h: Likewise.
4360 * stdlib/tst-strtod.c: Likewise.
4361 * sysdeps/i386/i486/bits/atomic.h: Likewise.
4362 * sysdeps/x86_64/bits/atomic.h: Likewise.
4363
6358490d
DM
43642012-03-02 David S. Miller <davem@davemloft.net>
4365
4366 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
4367 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
4368 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
4369 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
4370 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
4371 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
4372 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
4373 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
4374
01ae168d
RM
43752012-03-02 Roland McGrath <roland@hack.frob.com>
4376
d9a17c07
RM
4377 [BZ #13792]
4378 * manual/examples/README: New file, says the example source files
4379 can be used under GPL>=2.
4380 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
4381 line containing just "*/".
4382 * manual/examples/add.c: Add copyright header (GPL>=2).
4383 * manual/examples/argp-ex1.c: Likewise.
4384 * manual/examples/argp-ex2.c: Likewise.
4385 * manual/examples/argp-ex3.c: Likewise.
4386 * manual/examples/argp-ex4.c: Likewise.
4387 * manual/examples/atexit.c: Likewise.
4388 * manual/examples/db.c: Likewise.
4389 * manual/examples/dir.c: Likewise.
4390 * manual/examples/dir2.c: Likewise.
4391 * manual/examples/execinfo.c: Likewise.
4392 * manual/examples/filecli.c: Likewise.
4393 * manual/examples/filesrv.c: Likewise.
4394 * manual/examples/fmtmsgexpl.c: Likewise.
4395 * manual/examples/genpass.c: Likewise.
4396 * manual/examples/inetcli.c: Likewise.
4397 * manual/examples/inetsrv.c: Likewise.
4398 * manual/examples/isockad.c: Likewise.
4399 * manual/examples/longopt.c: Likewise.
4400 * manual/examples/memopen.c: Likewise.
4401 * manual/examples/memstrm.c: Likewise.
4402 * manual/examples/mkfsock.c: Likewise.
4403 * manual/examples/mkisock.c: Likewise.
4404 * manual/examples/mygetpass.c: Likewise.
4405 * manual/examples/pipe.c: Likewise.
4406 * manual/examples/popen.c: Likewise.
4407 * manual/examples/rprintf.c: Likewise.
4408 * manual/examples/search.c: Likewise.
4409 * manual/examples/select.c: Likewise.
4410 * manual/examples/setjmp.c: Likewise.
4411 * manual/examples/sigh1.c: Likewise.
4412 * manual/examples/sigusr.c: Likewise.
4413 * manual/examples/stpcpy.c: Likewise.
4414 * manual/examples/strdupa.c: Likewise.
4415 * manual/examples/strftim.c: Likewise.
4416 * manual/examples/strncat.c: Likewise.
4417 * manual/examples/subopt.c: Likewise.
4418 * manual/examples/swapcontext.c: Likewise.
4419 * manual/examples/termios.c: Likewise.
4420 * manual/examples/testopt.c: Likewise.
4421 * manual/examples/testpass.c: Likewise.
4422 * manual/examples/timeval_subtract.c: Likewise.
4423
01ae168d
RM
4424 [BZ #13792]
4425 * manual/time.texi (Elapsed Time): Move timeval_subtract example
4426 function to ...
4427 * manual/timeval_subtract.c.texi: ... here, new file.
4428
49efa33d
DM
44292012-03-02 David S. Miller <davem@davemloft.net>
4430
4431 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
4432
28afd92d
JM
44332012-03-02 Joseph Myers <joseph@codesourcery.com>
4434
804360ed
JM
4435 [BZ #3976]
4436 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
4437 (__sin): Save and restore rounding mode and use round-to-nearest
4438 for all computations.
4439 (__cos): Save and restore rounding mode and use round-to-nearest
4440 for all computations.
4441 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
4442 <fenv.h>.
4443 (tan): Save and restore rounding mode and use round-to-nearest for
4444 all computations.
4445 * math/libm-test.inc (cos_test_tonearest): New function.
4446 (cos_test_towardzero): Likewise.
4447 (cos_test_downward): Likewise.
4448 (cos_test_upward): Likewise.
4449 (sin_test_tonearest): Likewise.
4450 (sin_test_towardzero): Likewise.
4451 (sin_test_downward): Likewise.
4452 (sin_test_upward): Likewise.
4453 (tan_test_tonearest): Likewise.
4454 (tan_test_towardzero): Likewise.
4455 (tan_test_downward): Likewise.
4456 (tan_test_upward): Likewise.
4457 (main): Call the new functions.
4458 * sysdeps/i386/fpu/libm-test-ulps: Update.
4459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4460
a6d06d7b
JM
4461 [BZ #10135]
4462 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
4463 small n, then large n, before computing and testing k+n.
4464 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4465 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
4466 Likewise.
4467 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
4468 Likewise.
4469 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
4470 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
4471 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
4472 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
4473 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4474 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4475 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
4476 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
4477 * math/libm-test.inc (scalbn_test): Add more tests.
4478 (scalbln_test): Likewise.
4479
07e12bb3
JM
4480 * manual/filesys.texi (mode_t): Describe constraints on size and
4481 signedness, not exact equivalence to a particular type.
4482 (ino_t): Likewise.
4483 (ino64_t): Likewise.
4484 (dev_t): Likewise.
4485 (nlink_t): Likewise.
4486 (blkcnt_t): Likewise.
4487 (blkcnt64_t): Likewise.
4488 * manual/llio.texi (off_t): Likewise.
4489
28afd92d
JM
4490 [BZ #3976]
4491 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
4492 (__ieee754_exp): Save and restore rounding mode and use
4493 round-to-nearest for all computations.
4494 * math/libm-test.inc (exp_test_tonearest): New function.
4495 (exp_test_towardzero): Likewise.
4496 (exp_test_downward): Likewise.
4497 (exp_test_upward): Likewise.
4498 (main): Call the new functions.
4499 * sysdeps/i386/fpu/libm-test-ulps: Update.
4500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4501
b1eeb65d
CD
45022012-03-01 Chris Demetriou <cgd@google.com>
4503
4504 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
4505 have predictable order.
4506
53362a4b
DM
45072012-03-01 David S. Miller <davem@davemloft.net>
4508
3c969083
DM
4509 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
4510
759707de
DM
4511 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
4512 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
4513 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
4514 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
4515
dfdb8ff2
DM
4516 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
4517 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
4518 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
4519 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
4520 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
4521 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
4522 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
4523 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
4524 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
4525
ead89f96
DM
4526 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4527
7f66bd07
DM
4528 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
4529 * sysdeps/sparc/fpu/libm-test-ulps: to here.
4530 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
4531
53362a4b
DM
4532 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
4533 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4534 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4535 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
4536 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
4537 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
4538 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
4539 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4540 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4541 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
4542 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
4543 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4544 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4545 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4546 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4547 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4548 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
4549 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
4550 * sysdeps/sparc/elf/configure: Regenerated.
4551
7b1902cb
JM
45522012-03-01 Joseph Myers <joseph@codesourcery.com>
4553
bec039bc
JM
4554 * configure.in (AS, LD): Require binutils 2.20 or later.
4555 * configure: Regenerated.
4556 * manual/install.texi (Tools for Compilation): Give binutils 2.20
4557 as required minimum version.
4558 * INSTALL: Regenerated.
4559
7b1902cb
JM
4560 [BZ #2541]
4561 [BZ #4108]
4562 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
4563 before squaring exponent.
4564 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
4565 bottom long double and 27 bits of top long double before squaring
4566 exponent.
4567 * math/libm-test.inc (erfc_test): Add more tests.
4568 * sysdeps/i386/fpu/libm-test-ulps: Update.
4569 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4571
f775c276
KT
45722012-03-01 Kai Tietz <ktietz@redhat.com>
4573
4574 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
4575 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
4576 containing bit-fields.
4577 * soft-fp/extended.h (_FP_UNION_E): Likewise.
4578 * soft-fp/single.h (_FP_UNION_S): Likewise.
4579 * soft-fp/double.h (_FP_UNION_D): Likewise.
4580
5b8a4d4a
JM
45812012-02-29 Joseph Myers <joseph@codesourcery.com>
4582
0bab47b6
JM
4583 [BZ #13786]
4584 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
4585 not include ../strcmp.S.
4586 [USE_AS_STRNCASECMP_L]: Likewise.
4587 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
4588 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
4589 * sysdeps/i386/i686/multiarch/strncase_l-c.c
4590 (__strncasecmp_l_ia32): Define as alias to
4591 __strncasecmp_l_nonascii.
4592
0fcad3e2
JM
4593 [BZ #5794]
4594 * math/libm-test.inc (expm1_test): Add test for bug 5794.
4595 * sysdeps/i386/fpu/libm-test-ulps: Update.
4596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4597
5b8a4d4a
JM
4598 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
4599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4600
8fdceb2e
JL
46012012-02-29 Jeff Law <law@redhat.com>
4602
4603 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
4604 out of bounds read.
4605
1f393a11
MP
46062012-02-29 Marek Polacek <polacek@redhat.com>
4607
4608 [BZ #13706]
4609 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
4610 * elf/Makefile: Add rules to run tst-unused-dep.out.
4611
8847f037
DM
46122012-02-28 David S. Miller <davem@davemloft.net>
4613
4614 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
4615 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
4616 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
4617 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
4618 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
4619 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
4620
169d7f11
JM
46212012-02-29 Joseph Myers <joseph@codesourcery.com>
4622
4623 * math/libm-test.inc (llround_test): Move one test from
4624 lround_test. Use TEST_f_L in moved test.
4625 (lround_test): Move misplaced test to llround_test. Add testcase
4626 from bug 2561.
4627
39adf059
UD
46282012-02-28 Ulrich Drepper <drepper@gmail.com>
4629
4630 * sysdeps/x86_64/fpu/e_expf.S: New file.
4631 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
4632
71b5d1c5
SB
46332012-02-28 Stanislav Brabec <sbrabec@suse.cz>
4634
4635 [BZ #13637]
4636 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
4637 of remain_len that may cause incomplete multi-byte character and
4638 false match.
4639 * posix/bug-regex33.c: New file.
4640 * posix/Makefile (tests): Add bug-regex33.
4641
1f77f049
JM
46422012-02-28 Joseph Myers <joseph@codesourcery.com>
4643
4644 * manual/macros.texi: New file.
4645 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
4646 * manual/libc.texinfo: Include macros.texi.
4647 * manual/creatute.texi: Likewise.
4648 * manual/install.texi: Likewise.
4649 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
4650 @glibcadj{} in references to the GNU C Library.
4651 * manual/charset.texi: Likewise.
4652 * manual/conf.texi: Likewise.
4653 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
4654 when not using those macros.
4655 * manual/creature.texi: Likewise.
4656 * manual/crypt.texi: Likewise.
4657 * manual/errno.texi: Likewise.
4658 * manual/filesys.texi: Likewise.
4659 * manual/header.texi: Likewise.
4660 * manual/install.texi: Likewise.
4661 * manual/intro.texi: Likewise.
4662 * manual/io.texi: Likewise.
4663 * manual/job.texi: Likewise.
4664 * manual/lang.texi: Likewise.
4665 * manual/libc.texiinfo: Likewise.
4666 * manual/llio.texi: Likewise.
4667 * manual/locale.texi: Likewise.
4668 * manual/maint.texi: Likewise.
4669 * manual/math.texi: Likewise.
4670 * manual/memory.texi: Likewise.
4671 * manual/message.texi: Likewise.
4672 * manual/nss.texi: Likewise.
4673 * manual/pattern.texi: Likewise.
4674 * manual/process.texi: Likewise.
4675 * manual/resource.texi: Likewise.
4676 * manual/search.texi: Likewise.
4677 * manual/setjmp.texi: Likewise.
4678 * manual/signal.texi: Likewise.
4679 * manual/socket.texi: Likewise.
4680 * manual/startup.texi: Likewise.
4681 * manual/stdio.texi: Likewise.
4682 * manual/string.texi: Likewise.
4683 * manual/sysinfo.texi: Likewise.
4684 * manual/syslog.texi: Likewise.
4685 * manual/terminal.texi: Likewise.
4686 * manual/time.texi: Likewise.
4687 * manual/users.texi: Likewise.
4688 * INSTALL: Regenerated.
4689 * NOTES: Regenerated.
d40c5d54 4690 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 4691
450bf206
AS
46922012-02-28 Andreas Schwab <schwab@linux-m68k.org>
4693
4694 * include/dirent.h: Include <dirstream.h> before
4695 <dirent/dirent.h>.
4696
741a235b
DM
46972012-02-28 David S. Miller <davem@davemloft.net>
4698
4699 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
4700 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
4701 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
4702 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
4703
d6b5aa58
DM
47042012-02-27 David S. Miller <davem@davemloft.net>
4705
1aff59a3
DM
4706 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
4707 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
4708 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
4709 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
4710
d6b5aa58
DM
4711 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
4712 frame pointer instead of stack pointer relative arg slot.
4713 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4714 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4715 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4716
433f48bf
CD
47172012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
4718
4719 [BZ #3992]
4720 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
4721
d674b76d
DM
47222012-02-27 David S. Miller <davem@davemloft.net>
4723
4724 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
4725 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4726 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4727 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
4728 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4729 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4730 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
4731 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
4732
0e7727f7
JM
47332012-02-27 Joseph Myers <joseph@codesourcery.com>
4734
4735 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
4736 later. Allow versions 5-9.
43be4ca2 4737 * configure: Regenerated.
0e7727f7
JM
4738 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
4739 required minimum version and 4.6 as recommended version. Do not
4740 mention bugs in GCC 2.7 and 2.8.
43be4ca2 4741 * INSTALL: Regenerated.
0e7727f7 4742
a78bc654
DM
47432012-02-27 David S. Miller <davem@davemloft.net>
4744
428d5830
DM
4745 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
4746 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
4747 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
4748 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
4749 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
4750 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
4751 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
4752 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
4753
a78bc654
DM
4754 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
4755 manipulate bits before adding and subtracting TWO112[sx].
4756 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4757
4579f81c
RM
47582012-02-27 Roland McGrath <roland@hack.frob.com>
4759
36c8acb4
RM
4760 [BZ #13775]
4761 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
4762 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
4763 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
4764 being in POSIX, because they are in 1003.1-2008.
4765
84ad622b
RM
4766 * rt/tst-aio.c: Include <fcntl.h>.
4767 * rt/tst-aio7.c: Likewise.
4768 * rt/tst-aio64.c: Likewise.
4769
4579f81c
RM
4770 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
4771
abd923db
JM
47722012-02-27 Joseph Myers <joseph@codesourcery.com>
4773
4774 * manual/install.texi (--with-headers): Describe headers as
4775 interface headers, not private headers.
4776 (Specific advice for GNU/Linux systems): Describe use of headers
4777 from "make headers_install", not private headers from older
4778 kernels.
43be4ca2 4779 * INSTALL: Regenerated.
abd923db
JM
4780 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
4781 Change to 2.6.19.
4782 * sysdeps/unix/sysv/linux/configure: Regenerated.
4783
6664049b
JM
4784 * manual/llio.texi (fclean): Remove documentation.
4785
bb8b6697
JM
4786 * manual/Makefile (libc-texi-generated): New variable. Include
4787 version.texi.
4788 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
4789 $(libc-texi-generated), not duplicated list of files.
4790 (version.texi, stamp-version): New rules.
4791 (realclean): Remove $(libc-texi-generated), not individual files
4792 from that list. Do not remove dir-add.texinfo.
4793 * manual/libc.texinfo: Comment out uses of edition numbers and
4794 references to printed manual. Remove last-updated dates.
4795 (EDITION): Comment out.
4796 (ISBN): Likewise.
4797 (VERSION, UPDATED): Remove.
4798 (version.texi): Include.
4799
12e5c3b9
AS
48002012-02-27 Andreas Schwab <schwab@linux-m68k.org>
4801
4802 * sysdeps/posix/spawni.c: Include <signal.h>.
4803 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
4804 * sysdeps/pthread/aio_fsync.c: Likewise.
4805
4efeffc1 48062012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 4807
ba63ba08
UD
4808 * conform/Makefile (tests): Run only when not cross-compiling and
4809 when fast-check is not defined.
4810
d94a4670
UD
4811 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
4812 * conform/data/limits.h-data: Fixes for POSIX2008.
4813 * conform/run-conformtest.sh: Run all tests.
4814 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
4815 headers.
4816 * include/bits/dlfcn.h: Likewise.
4817 * include/langinfo.h: Likewise.
4818 * include/monetary.h: Likewise.
4819 * include/sys/poll.h: Likewise.
4820
4821 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
4822 for __USE_GNU.
4823 * posix/spawn.h: Define __need_sigset_t.
4824 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
4825 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
4826 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
4827 to get sigevent_t only.
4828 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
4829 only for __USE_GNU.
4830 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4831 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
4832 process_vm_writev only for __USE_GNU.
4833 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
4834
4835 * conform/Makefile: For now ignore errors from run-conformtest.
4836 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
4837 POSIX to avoid namespace pollution. Don't prepend headers.
4838 * conform/data/aio.h-data: Fixes for POSIX testing.
4839 * conform/data/fcntl.h-data: Likewise.
4840 * conform/data/glob.h-data: Likewise.
4841 * conform/data/grp.h-data: Likewise.
4842 * conform/data/pthread.h-data: Likewise.
4843 * conform/data/pwd.h-data: Likewise.
4844 * conform/data/signal.h-data: Likewise.
4845 * conform/data/spawn.h-data: Likewise.
4846 * conform/data/stdio.h-data: Likewise.
4847 * conform/data/stdlib.h-data: Likewise.
4848 * conform/data/stropts.h-data: Likewise.
4849 * conform/data/sys/mman.h-data: Likewise.
4850 * conform/data/sys/stat.h-data: Likewise.
4851 * conform/data/sys/types.h-data: Likewise.
4852 * conform/data/sys/wait.h-data: Likewise.
4853 * conform/data/time.h-data: Likewise.
4854 * conform/data/unistd.h-data: Likewise.
4855 * conform/data/utime.h-data: Likewise.
4856
4857 * io/sys/stat.h: fchmod was always in POSIX.
4858 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
4859 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
4860 * rt/aio.h: Define __need_timespec before including <time.h>.
4861 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
4862 struct. Add forward declaration of pthread_attr_t and use it in
4863 sigevent.
4864 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
4865 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4866 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
4867 always remove CLK_TCK definition.
4868
c20105c3
AS
48692012-02-26 Andreas Schwab <schwab@linux-m68k.org>
4870
4871 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
4872
7a270350
UD
48732012-02-25 Ulrich Drepper <drepper@gmail.com>
4874
31341567
UD
4875 * conform/run-conformtest.sh: New file.
4876 * conform/Makefile: Run run-conformtest for tests.
4877 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
4878 support.
4879
4880 * conform/data/uchar.h-data: New file.
4881 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
4882 * conform/data/arpa/inet.h-data: Likewise.
4883 * conform/data/assert.h-data: Likewise.
4884 * conform/data/complex.h-data: Likewise.
4885 * conform/data/cpio.h-data: Likewise.
4886 * conform/data/ctype.h-data: Likewise.
4887 * conform/data/dirent.h-data: Likewise.
4888 * conform/data/dlfcn.h-data: Likewise.
4889 * conform/data/errno.h-data: Likewise.
4890 * conform/data/fcntl.h-data: Likewise.
4891 * conform/data/float.h-data: Likewise.
4892 * conform/data/fmtmsg.h-data: Likewise.
4893 * conform/data/fnmatch.h-data: Likewise.
4894 * conform/data/ftw.h-data: Likewise.
4895 * conform/data/glob.h-data: Likewise.
4896 * conform/data/grp.h-data: Likewise.
4897 * conform/data/iconv.h-data: Likewise.
4898 * conform/data/inttypes.h-data: Likewise.
4899 * conform/data/langinfo.h-data: Likewise.
4900 * conform/data/libgen.h-data: Likewise.
4901 * conform/data/limits.h-data: Likewise.
4902 * conform/data/locale.h-data: Likewise.
4903 * conform/data/math.h-data: Likewise.
4904 * conform/data/monetary.h-data: Likewise.
4905 * conform/data/mqueue.h-data: Likewise.
4906 * conform/data/ndbm.h-data: Likewise.
4907 * conform/data/net/if.h-data: Likewise.
4908 * conform/data/netdb.h-data: Likewise.
4909 * conform/data/netinet/in.h-data: Likewise.
4910 * conform/data/nl_types.h-data: Likewise.
4911 * conform/data/poll.h-data: Likewise.
4912 * conform/data/pthread.h-data: Likewise.
4913 * conform/data/pwd.h-data: Likewise.
4914 * conform/data/regex.h-data: Likewise.
4915 * conform/data/sched.h-data: Likewise.
4916 * conform/data/search.h-data: Likewise.
4917 * conform/data/semaphore.h-data: Likewise.
4918 * conform/data/setjmp.h-data: Likewise.
4919 * conform/data/signal.h-data: Likewise.
4920 * conform/data/spawn.h-data: Likewise.
4921 * conform/data/stdarg.h-data: Likewise.
4922 * conform/data/stdio.h-data: Likewise.
4923 * conform/data/stdlib.h-data: Likewise.
4924 * conform/data/string.h-data: Likewise.
4925 * conform/data/strings.h-data: Likewise.
4926 * conform/data/stropts.h-data: Likewise.
4927 * conform/data/sys/ipc.h-data: Likewise.
4928 * conform/data/sys/mman.h-data: Likewise.
4929 * conform/data/sys/msg.h-data: Likewise.
4930 * conform/data/sys/resource.h-data: Likewise.
4931 * conform/data/sys/select.h-data: Likewise.
4932 * conform/data/sys/sem.h-data: Likewise.
4933 * conform/data/sys/shm.h-data: Likewise.
4934 * conform/data/sys/socket.h-data: Likewise.
4935 * conform/data/sys/stat.h-data: Likewise.
4936 * conform/data/sys/statvfs.h-data: Likewise.
4937 * conform/data/sys/time.h-data: Likewise.
4938 * conform/data/sys/timeb.h-data: Likewise.
4939 * conform/data/sys/times.h-data: Likewise.
4940 * conform/data/sys/types.h-data: Likewise.
4941 * conform/data/sys/uio.h-data: Likewise.
4942 * conform/data/sys/un.h-data: Likewise.
4943 * conform/data/sys/utsname.h-data: Likewise.
4944 * conform/data/sys/wait.h-data: Likewise.
4945 * conform/data/syslog.h-data: Likewise.
4946 * conform/data/tar.h-data: Likewise.
4947 * conform/data/termios.h-data: Likewise.
4948 * conform/data/utime.h-data: Likewise.
4949 * conform/data/utmpx.h-data: Likewise.
4950 * conform/data/varargs.h-data: Likewise.
4951 * conform/data/wchar.h-data: Likewise.
4952 * conform/data/wctype.h-data: Likewise.
4953 * conform/data/wordexp.h-data: Likewise.
4954
4955 * include/stropts.h: New file.
4956 * include/uchar.h: New file.
4957 * include/aio.h: Changes to allow conformtest.pl to use the headers.
4958 * include/assert.h: Likewise.
4959 * include/ctype.h: Likewise.
4960 * include/dirent.h: Likewise.
4961 * include/dlfcn.h: Likewise.
4962 * include/fcntl.h: Likewise.
4963 * include/fnmatch.h: Likewise.
4964 * include/glob.h: Likewise.
4965 * include/grp.h: Likewise.
4966 * include/libio.h: Likewise.
4967 * include/locale.h: Likewise.
4968 * include/math.h: Likewise.
4969 * include/net/if.h: Likewise.
4970 * include/netdb.h: Likewise.
4971 * include/netinet/in.h: Likewise.
4972 * include/pthread.h: Likewise.
4973 * include/pwd.h: Likewise.
4974 * include/regex.h: Likewise.
4975 * include/sched.h: Likewise.
4976 * include/search.h: Likewise.
4977 * include/setjmp.h: Likewise.
4978 * include/signal.h: Likewise.
4979 * include/stdio.h: Likewise.
4980 * include/stdlib.h: Likewise.
4981 * include/string.h: Likewise.
4982 * include/sys/cdefs.h: Likewise.
4983 * include/sys/mman.h: Likewise.
4984 * include/sys/msg.h: Likewise.
4985 * include/sys/resource.h: Likewise.
4986 * include/sys/select.h: Likewise.
4987 * include/sys/socket.h: Likewise.
4988 * include/sys/stat.h: Likewise.
4989 * include/sys/statvfs.h: Likewise.
4990 * include/sys/time.h: Likewise.
4991 * include/sys/times.h: Likewise.
4992 * include/sys/uio.h: Likewise.
4993 * include/sys/utsname.h: Likewise.
4994 * include/sys/wait.h: Likewise.
4995 * include/termios.h: Likewise.
4996 * include/time.h: Likewise.
4997 * include/ulimit.h: Likewise.
4998 * include/unistd.h: Likewise.
4999 * include/utime.h: Likewise.
5000 * include/wchar.h: Likewise.
5001 * include/wctype.h: Likewise.
5002 * include/wordexp.h: Likewise.
5003
5004 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
5005
7a270350
UD
5006 * time/time.h: TIME_UTC must be a macro.
5007 Make timespec_get available for ISO C11 only as well.
5008
7724defc
UD
50092012-02-24 Ulrich Drepper <drepper@gmail.com>
5010
5011 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
5012 Reported by Peng Haitao <penght@cn.fujitsu.com>.
5013
6b1d1d46
JM
50142012-02-24 Joseph Myers <joseph@codesourcery.com>
5015
5016 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 5017
0f8bbd69
JM
50182012-02-24 Joseph Myers <joseph@codesourcery.com>
5019
5020 * manual/texinfo.tex: Update to version 2012-01-19.16.
5021
66ab80bc
JM
50222012-02-24 Joseph Myers <joseph@codesourcery.com>
5023
5024 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
5025
74981cc5
RM
50262012-02-24 Roland McGrath <roland@hack.frob.com>
5027
ee968201
RM
5028 [BZ #13738]
5029 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
5030 * manual/fdl-1.3.texi: New file.
5031 * manual/fdl-1.1.texi: File removed.
5032
74981cc5
RM
5033 [BZ #13738]
5034 * manual/libc.texinfo (FDL_VERSION): New @set.
5035 Use it for mention of FDL in cover text.
5036 (Documentation License): Use it in @include file name.
5037
7bb764bc
JM
50382012-02-22 Joseph Myers <joseph@codesourcery.com>
5039 Roland McGrath <roland@hack.frob.com>
5040
5041 [BZ #5461]
5042 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
5043 not LONG_LONG_MAX and LONG_LONG_MIN.
5044 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
5045 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
5046 name.
5047 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
5048
6cbeae47
JM
50492012-02-22 Joseph Myers <joseph@codesourcery.com>
5050
5051 [BZ #2547]
5052 [BZ #11365]
5053 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
5054 manipulate bits before adding and subtracting TWO23[sx].
5055 * math/libm-test.inc (nearbyint_test): Add more tests.
5056
fe45ce09
JM
50572012-02-22 Joseph Myers <joseph@codesourcery.com>
5058
5059 [BZ #2548]
5060 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
5061 bits before adding and subtracting TWO23[sx].
5062 * math/libm-test.inc (rint_test): Add more tests.
5063 (rint_test_tonearest): Likewise.
5064 (rint_test_towardzero): Likewise.
5065 (rint_test_downward): Likewise.
5066 (rint_test_upward: Likewise.
5067
ff3b3d82
JM
50682012-02-22 Joseph Myers <joseph@codesourcery.com>
5069
5070 [BZ #10110]
5071 * include/stdc-predef.h: New file. Extracted from features.h.
5072 * include/features.h: Include stdc-predef.h.
5073 * Makefile (headers): Add stdc-predef.h.
5074 * CONFORMANCE (Compiler limitations): Update.
5075
ef0aab35
JM
50762012-02-22 Joseph Myers <joseph@codesourcery.com>
5077
5078 * manual/libc.texinfo (VERSION, UPDATED): Revert.
5079
58639409
DM
50802012-02-21 David S. Miller <davem@davemloft.net>
5081
5082 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
5083 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5084
c0e70b25
DM
50852012-02-20 David S. Miller <davem@davemloft.net>
5086
5087 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
5088 using a normal save/restore sequence, rather than allocating a
5089 dummy stack frame just to store a frame pointer and restore.
5090 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5091
fb06851d
JM
50922012-02-21 Joseph Myers <joseph@codesourcery.com>
5093
5094 * manual/install.texi: Fix stray word in line-wrapped comment.
5095
7a8b71c3
DM
50962012-02-20 David S. Miller <davem@davemloft.net>
5097
d510c123
DM
5098 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
5099 both binutils and gcc support GOTDATA.
5100
0722d7c2
DM
5101 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
5102 "rd %pc" in the PIC register setup sequences.
5103
3d2b3019
DM
5104 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
5105 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5106 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5107 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5108 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5109 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5110 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5111 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5112 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
5113 (SYSCALL_ERROR_HANDLER): Likewise.
5114 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5115 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5116 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
5117 (SYSCALL_ERROR_HANDLER): Likewise.
5118
c80098a9
DM
5119 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
5120 (HAVE_GCC_GOTDATA): New.
5121 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
5122 relocation support in both binutils and gcc.
5123 * sysdeps/sparc/elf/configure: Regenerate.
5124
3a2545a0
DM
5125 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
5126 * sysdeps/sparc/sparc32/elf/configure: Delete.
5127 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
5128 * sysdeps/sparc/sparc64/elf/configure: Delete.
5129 * sysdeps/sparc/elf/configure.in: New file.
5130 * sysdeps/sparc/elf/configure: Generate.
5131
7a8b71c3
DM
5132 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
5133 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
5134 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5135 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
5136 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
5137
f1e86fca
JM
51382012-02-21 Joseph Myers <joseph@codesourcery.com>
5139
5140 * manual/install.texi: Do not mention specific glibc version
5141 numbers.
5142 * manual/libc.texinfo (VERSION, UPDATED): Update.
5143 (@copying): Use @copyright{} and range of years.
5144
0e7dfaef
JM
51452012-02-21 Joseph Myers <joseph@codesourcery.com>
5146
5147 [BZ #13695]
5148 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
5149 [crti.S not in sysdirs] (generated): Do not append.
5150 [crti.S not in sysdirs] (omit-deps): Likewise.
5151 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
5152 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
5153 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
5154 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
5155 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
5156 Likewise.
5157 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
5158 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
5159 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
5160 * csu/defs.awk: Remove file.
5161 * sysdeps/generic/initfini.c: Likewise.
5162 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
5163 variable.
5164 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
5165 Likewise.
5166
599af3ca
JM
51672012-02-20 Joseph Myers <joseph@codesourcery.com>
5168
5169 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
5170 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
5171 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
5172 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
5173 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5174 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
5175 <bits/epoll.h>.
5176 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
5177 (__EPOLL_PACKED): Define to empty if not defined by
5178 <bits/epoll.h>.
5179 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
5180 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5181 bits/epoll.h.
5182
0e499750
JM
51832012-02-20 Joseph Myers <joseph@codesourcery.com>
5184
5185 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
5186 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
5187 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
5188 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
5189 <bits/timerfd.h>.
5190 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
5191 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5192 bits/timerfd.h.
5193
5ad91f6e
JM
51942012-02-20 Joseph Myers <joseph@codesourcery.com>
5195
5196 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
5197 in C locale.
5198 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5199 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5200 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
5201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5202
06b99b02
AJ
52032012-02-20 Aurelien Jarno <aurelien@aurel32.net>
5204
5205 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5206 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5207
7638c0fd
AS
52082012-02-19 Andreas Schwab <schwab@linux-m68k.org>
5209
5210 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
5211 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
5212 defined.
5213 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
5214 Likewise.
5215 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
5216 entry for 2.16.
5217
92221550
AJ
52182012-02-19 Aurelien Jarno <aurelien@aurel32.net>
5219
5220 * math/w_acos.c: Use non-signaling floating-point comparisons.
5221 * math/w_acosf.c: Likewise.
5222 * math/w_acosh.c: Likewise.
5223 * math/w_acoshf.c: Likewise.
5224 * math/w_acoshl.c: Likewise.
5225 * math/w_acosl.c: Likewise.
5226 * math/w_asin.c: Likewise.
5227 * math/w_asinf.c: Likewise.
5228 * math/w_asinl.c: Likewise.
5229 * math/w_atanh.c: Likewise.
5230 * math/w_atanhf.c: Likewise.
5231 * math/w_atanhl.c: Likewise.
5232 * math/w_exp2.c: Likewise.
5233 * math/w_exp2f.c: Likewise.
5234 * math/w_exp2l.c: Likewise.
5235 * math/w_j0.c: Likewise.
5236 * math/w_j0f.c: Likewise.
5237 * math/w_j0l.c: Likewise.
5238 * math/w_j1.c: Likewise.
5239 * math/w_j1f.c: Likewise.
5240 * math/w_j1l.c: Likewise.
5241 * math/w_jn.c: Likewise.
5242 * math/w_jnf.c: Likewise.
5243 * math/w_log.c: Likewise.
5244 * math/w_log10.c: Likewise.
5245 * math/w_log10f.c: Likewise.
5246 * math/w_log10l.c: Likewise.
5247 * math/w_log2.c: Likewise.
5248 * math/w_log2f.c: Likewise.
5249 * math/w_log2l.c: Likewise.
5250 * math/w_logf.c: Likewise.
5251 * math/w_logl.c: Likewise.
5252 * math/w_sqrt.c: Likewise.
5253 * math/w_sqrtf.c: Likewise.
5254 * math/w_sqrtl.c: Likewise.
5255 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5256 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5257 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5258 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5259 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5260
ebaf36eb
JM
52612012-02-19 Joseph Myers <joseph@codesourcery.com>
5262
5263 [BZ #9739]
5264 * manual/string.texi (strnlen): Use correct parameter name in
5265 equivalent expression.
5266
71c254a6
JM
52672012-02-19 Joseph Myers <joseph@codesourcery.com>
5268
5269 [BZ #11174]
5270 * manual/users.texi (seteuid): Consistently use neweuid for
5271 argument name.
5272
16d2c631
JM
52732012-02-19 Joseph Myers <joseph@codesourcery.com>
5274
5275 [BZ #13704]
5276 * manual/nss.texi (Services in the NSS configuration): Correct
5277 list of services in example configuration file.
5278
cd837b09
NB
52792012-02-19 Nick Bowler <nbowler@draconx.ca>
5280
5281 [BZ #11322]
5282 * manual/arith.texi: Remove statements about negative zero
5283 behaving identically to zero.
5284
02c4bbad
JM
52852012-02-18 Joseph Myers <joseph@codesourcery.com>
5286
5287 [BZ #5993]
5288 * manual/install.texi: Do not document upgrading from libc5.
5289
366842e7
JM
52902012-02-18 Joseph Myers <joseph@codesourcery.com>
5291
5292 [BZ #4596]
5293 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
5294
dd54084d
DM
52952012-02-18 David S. Miller <davem@davemloft.net>
5296
5297 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
5298 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
5299 %o7 across the call.
5300 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
5301 instead.
5302 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
5303 SETUP_PIC_REG_LEAF.
5304 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5305 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
5306 * sysdeps/sparc/crtn.S: Likewise.
5307
2bcc53a3
UD
53082012-02-17 Ulrich Drepper <drepper@gmail.com>
5309
5310 * aout/Makefile: Remove.
5311
09c093b5
RK
53122012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
5313
5314 [BZ #13058]
5315 * manual/examples/argp-ex1.c (main): Format definition in GNU
5316 style.
5317 * manual/examples/argp-ex2.c (main): Likewise.
5318 * manual/examples/argp-ex3.c (main): Likewise.
5319 * manual/examples/argp-ex4.c (main): Likewise.
5320 * manual/examples/longopt.c (main): Use new-style prototype
5321 definition.
5322 * manual/examples/strncat.c (main): Specify return type and use
5323 (void) for arguments.
5324 * manual/examples/subopt.c (main): Use char **argv argument.
5325
2ee633a2
JM
53262012-02-17 Joseph Myers <joseph@codesourcery.com>
5327
5328 [BZ #5077]
5329 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
5330 rounding modes.
5331
0520adde
FB
53322012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
5333
5334 [BZ #6907]
5335 * manual/string.texi (strchr): Change when strchrnul is
5336 recommended.
5337
3f4081cd
DGM
53382012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
5339
5340 [BZ #174]
5341 * manual/locale.texi (setlocale): Document LOCPATH.
5342
d1b10e78
JM
53432012-02-17 Joseph Myers <joseph@codesourcery.com>
5344
5345 [BZ #10210]
5346 * manual/process.texi (execle): Move @dots{} before last argument.
5347
79c6869c
PB
53482012-02-17 Paul Bolle <pebolle@tiscali.nl>
5349
5350 [BZ #12047]
5351 * manual/charset.texi (Generic Charset Conversion): Fix typo
5352 (LC_TYPE -> LC_CTYPE).
5353
cc6e48bc
NB
53542012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
5355
5356 [BZ #5805]
5357 * manual/arith.texi (scalbn): Use @var{} on parameter names.
5358 (scalbnf): Likewise.
5359 (scalbnl): Likewise.
5360 (scalbln): Likewise.
5361 (scalblnf): Likewise.
5362 (scalblnl): Likewise.
5363 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
5364 (vwarnx): Likewise.
5365 (verr): Likewise.
5366 (verrx): Likewise.
5367 * manual/filesys.texi (telldir): Use braces around return type.
5368 * manual/llio.texi (mmap): Add space after comma.
5369 (mmap64): Likewise.
5370 * manual/math.texi (jn): Use @var{} on parameter names.
5371 (jnf): Likewise.
5372 (jnl): Likewise.
5373 (yn): Likewise.
5374 (ynf): Likewise.
5375 (ynl): Likewise.
5376 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
5377 line.
5378 * manual/resource.texi (ulimit): Use @dots{} instead of literal
5379 "...".
5380 (sched_get_priority_min): Remove semicolon on @deftypefun line.
5381 (sched_get_priority_max): Likewise.
5382 * manual/signal.texi (sigvec): Add space after comma.
5383 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
5384 names.
5385 (if_indextoname): Likewise.
5386 (if_freenameindex): Likewise.
5387 (sendto): Use ',' instead of '.' in prototype.
5388 * manual/startup.texi (syscall): Use @dots{} instead of literal
5389 "...".
5390 * manual/stdio.texi (__fpending): Separate initial words of
5391 paragraph from @deftypefun line.
5392 * manual/syslog.texi (syslog): Use @dots{} instead of literal
5393 "...".
5394 (vsyslog): Use @var{} on parameter names.
5395 * manual/terminal.texi (stty): Use @var{} on parameter names.
5396 * manual/users.texi (getutmp): Use @var{} on parameter names.
5397 (getutmpx): Likewise.
5398
5b23062f
JM
53992012-02-17 Joseph Myers <joseph@codesourcery.com>
5400
5401 [BZ #6884]
5402 * manual/stdio.texi (fopen): Fix typos in description of
5403 ",ccs=STRING".
5404
8dee4833
AJ
54052012-02-17 Aurelien Jarno <aurelien@aurel32.net>
5406
5407 [BZ #4026]
5408 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
5409 get clock_id definition.
5410
9078ce93
TS
54112012-02-17 Thomas Schwinge <thomas@schwinge.name>
5412
5413 [BZ #4822]
5414 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
5415 (madvise): Cast every argument to void on its own.
5416
3835c55f
JM
54172012-02-17 Joseph Myers <joseph@codesourcery.com>
5418
5419 [BZ #9902]
5420 * manual/startup.texi (Exit Status): Fix typo.
5421
35c47e37
JM
54222012-02-17 Joseph Myers <joseph@codesourcery.com>
5423
5424 [BZ #10140]
5425 * manual/examples/argp-ex1.c: Include <stdlib.h>.
5426 * manual/examples/argp-ex2.c: Likewise.
5427 * manual/examples/argp-ex3.c: Likewise.
5428
e3b69ca7
RH
54292012-02-16 Richard Henderson <rth@redhat.com>
5430
5431 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
5432 * sysdeps/s390/s390-32/initfini.c: Remove.
5433 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
5434 * sysdeps/s390/s390-64/initfini.c: Remove.
5435
df83af67
KK
54362012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5437
5438 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
5439 compiler output for sysdeps/generic/initfini.c.
5440 * sysdeps/sh/elf/initfini.c: Remove file.
5441
f63f3380
DM
54422012-02-16 David S. Miller <davem@davemloft.net>
5443
fb59b3a4
DM
5444 [BZ #11494]
5445 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
5446
f63f3380
DM
5447 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
5448 * sysdeps/sparc/crti.S: New file.
5449 * sysdeps/sparc/crtn.S: New file.
5450 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
5451 * sysdeps/sparc/sparc64/Makefile: Likewise.
5452
df6a4a4a
MF
54532012-02-15 Mike Frysinger <vapier@gentoo.org>
5454
6dd8f3dc 5455 [BZ #3335]
df6a4a4a
MF
5456 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
5457
1cac7236
RM
54582012-02-15 Roland McGrath <roland@hack.frob.com>
5459
d2c736f8
RM
5460 [BZ #4822]
5461 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
5462
1cac7236
RM
5463 * mach/devstream.c (cookie_io_functions_t): Macro removed.
5464 (write, read, close): Likewise.
5465 Patch by Aurelien Jarno <aurelien@aurel32.net>.
5466
8e475601
JM
54672012-02-15 Joseph Myers <joseph@codesourcery.com>
5468
5469 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
5470 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
5471 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
5472 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
5473 <bits/signalfd.h>.
5474 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
5475 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5476 bits/signalfd.h.
5477
ed656b40
MP
54782012-02-14 Marek Polacek <polacek@redhat.com>
5479
5480 * sysdeps/x86_64/crti.S: New file.
5481 * sysdeps/x86_64/crtn.S: New file.
5482 * sysdeps/x86_64/elf/initfini.c: Remove file.
5483
2a979d3a
JM
54842012-02-13 Joseph Myers <joseph@codesourcery.com>
5485
5486 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
5487 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
5488 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
5489 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
5490 <bits/inotify.h>.
5491 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
5492 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5493 bits/inotify.h.
5494
2a418ac3
JM
54952012-02-13 Joseph Myers <joseph@codesourcery.com>
5496
5497 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
5498 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
5499 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
5500 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
5501 <bits/eventfd.h>.
5502 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
5503 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5504 bits/eventfd.h.
5505
fb779be7
TS
55062012-02-10 Thomas Schwinge <thomas@codesourcery.com>
5507
e19e83c5
RM
5508 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
5509 __feraiseexcept instead of feraiseexcept.
7c35ffed 5510
fb779be7
TS
5511 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
5512 nanosleep invocations.
5513 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
5514 strings, and add error checking for a nanosleep invocations.
5515
59ba27a6
PE
55162012-02-09 Paul Eggert <eggert@cs.ucla.edu>
5517
5518 Replace FSF snail mail address with URLs, as per GNU coding standards.
5519 Most of the snail mail addresses were wrong anyway, and omitting
5520 them makes the source code easier to maintain. Almost all of the
5521 changes are to license notices and to locale LC_IDENTIFICATION
5522 addresses, except for this one:
5523 * manual/libc.texinfo: In "Published by", give the FSF's URL,
5524 not its snail mail address.
5525
57b957eb
RH
55262012-02-09 Richard Henderson <rth@twiddle.net>
5527
af850b1c
RH
5528 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
5529 of kernel-features.h.
5530
57b957eb
RH
5531 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
5532
6b73181a
MP
55332012-02-08 Marek Polacek <polacek@redhat.com>
5534
5535 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
5536 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
5537 * sysdeps/gnu/_G_config.h: Likewise.
5538 * sysdeps/generic/_G_config.h: Likewise.
5539
26ecc33a
AS
55402012-02-08 Andreas Schwab <schwab@linux-m68k.org>
5541
6c6dbc63
AS
5542 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
5543 tests.
5544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5545
e216c012
AS
5546 * sysdeps/powerpc/powerpc32/crti.S: New file.
5547 * sysdeps/powerpc/powerpc32/crtn.S: New file.
5548 * sysdeps/powerpc/powerpc64/crti.S: New file.
5549 * sysdeps/powerpc/powerpc64/crtn.S: New file.
5550
26ecc33a
AS
5551 * Makeconfig (have-initfini): Don't set.
5552 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
5553 * configure.in (nopic_initfini): Don't substitute.
5554 * config.h.in (HAVE_INITFINI): Don't #undef.
5555 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
5556 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
5557
3add8e13
JM
55582012-02-08 Joseph Myers <joseph@codesourcery.com>
5559
5560 Support crti.S and crtn.S provided directly by architectures.
5561 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
5562 [crti.S in sysdirs] (omit-deps): Likewise.
5563 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
5564 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
5565 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
5566 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
5567 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
5568 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
5569 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
5570 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
5571 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
5572 compiler output for sysdeps/generic/initfini.c.
5573 * sysdeps/i386/elf/Makefile: Remove file.
5574 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
5575
a22f12b4
MP
55762012-02-07 Marek Polacek <polacek@redhat.com>
5577
5578 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
5579 * sysdeps/gnu/_G_config.h: Likewise.
5580 * sysdeps/mach/hurd/_G_config.h: Likewise.
5581
148cf100
MP
55822012-02-07 Marek Polacek <polacek@redhat.com>
5583
5584 * math/Makefile (tests): Add tst-CMPLX2.
5585 * math/tst-CMPLX2.c: New file.
5586
cfdc0dd7
AS
55872012-02-07 Andreas Schwab <schwab@linux-m68k.org>
5588
84ba42c4
AS
5589 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5590
cfdc0dd7
AS
5591 * math/libm-test.inc (jn_test): Add missing L suffix.
5592
622c86f4
MP
55932012-02-06 Marek Polacek <polacek@redhat.com>
5594
5595 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
5596 * sysdeps/i386/fpu/e_powf.S: Likewise.
5597 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5598 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5599 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5600 * sysdeps/i386/fpu/e_pow.S: Likewise.
5601 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5602 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5603 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5604 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5605 * sysdeps/i386/fpu/e_log2.S: Likewise.
5606 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5607 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5608 * sysdeps/i386/fpu/e_powl.S: Likewise.
5609 * sysdeps/i386/fpu/s_log1p.S: Likewise.
5610 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5611 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5612 * sysdeps/i386/fpu/e_logl.S: Likewise.
5613 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5614 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
5615 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5616 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5617 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5618 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5619 * sysdeps/i386/fpu/e_log.S: Likewise.
5620 * sysdeps/i386/fpu/s_cexp.S: Likewise.
5621 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5622 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
5623 * sysdeps/i386/fpu/e_logf.S: Likewise.
5624 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5625 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5626 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
5627 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5628 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5629 * sysdeps/i386/fpu/e_log10.S: Likewise.
5630 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5631 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5632 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5633 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5634 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5635 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5636 * sysdeps/i386/asm-syntax.h: Likewise.
5637 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5638 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5639 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5640 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
5641 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
5642 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5643 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5644 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5645 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5646 * sysdeps/powerpc/sysdep.h: Likewise.
5647 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
5648 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5649
d4a54ac6
JM
56502012-02-06 Joseph Myers <joseph@codesourcery.com>
5651
5652 [BZ #411]
5653 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
5654
314054ea
JM
56552012-02-06 Joseph Myers <joseph@codesourcery.com>
5656
5657 * sysdeps/i386/sysdep.h: Include <features.h>.
5658 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
5659 version.
5660
d8e0ca50
JM
56612012-02-05 Joseph Myers <joseph@codesourcery.com>
5662
5663 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
5664 Define.
5665 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
5666 LOAD_PIC_REG_STR.
5667
b1da7dd9
JM
56682012-02-03 Joseph Myers <joseph@codesourcery.com>
5669
5670 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
5671 (SETUP_PIC_REG): Use GET_PC_THUNK.
5672 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
5673 macro.
5674
9a1d9254
JM
56752012-02-03 Joseph Myers <joseph@codesourcery.com>
5676
5677 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
5678 for non-PIC compilation.
5679 (SETUP_PIC_REG): Add .p2align directive.
5680 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
5681 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
5682 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5683 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5684 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5685 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5686 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
5687 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5688 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5689 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5690 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5691 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5692 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5693 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5694 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5695 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5696 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5697 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5698 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5699 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5700 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5701 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5702 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5703 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5704 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5705 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5706 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5707 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5708 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5709 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5710 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5711 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5712 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5713 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5714 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5715 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5716 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5717 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5718 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5719 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5720 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5721
65dc3b75
JM
57222012-02-03 Joseph Myers <joseph@codesourcery.com>
5723
5724 * math/tst-CMPLX.c: Include <stdio.h>.
5725
d55bf177
JM
57262012-01-31 Joseph Myers <joseph@codesourcery.com>
5727
5728 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
5729 float.
5730 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5731 * sysdeps/sparc/bits/mathdef.h: Likewise.
5732
69db4f8f
MP
57332012-01-31 Marek Polacek <polacek@redhat.com>
5734
5735 * libio/libio.h: Don't define _PARAMS.
5736 * locale/programs/config.h: Don't define PARAMS.
5737 * stdlib/strtol_l.c: Likewise.
5738 (__strtol_l): Remove PARAMS from the prototype.
5739
41b81892
UD
57402012-01-31 Ulrich Drepper <drepper@gmail.com>
5741
3b49edc0
UD
5742 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
5743 names. Just use the correct names. Remove unnecessary wrapper
5744 functions.
5745 * malloc/arena.c: Likewise.
5746 * malloc/hooks.c: Likewise.
5747
41b81892
UD
5748 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
5749 ARENA_TEST says not to. Simplify test for creation of a new arena.
5750 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
5751
27a25b6e
UD
57522012-01-30 Ulrich Drepper <drepper@gmail.com>
5753
5754 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
5755 into tail calls.
5756 (update_get_addr): New function.
5757 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
5758 GET_ADDR_MODULE parameter.
5759
c8a89e7d
JM
57602012-01-30 Joseph Myers <joseph@codesourcery.com>
5761
5762 * crypt/cert.c: Remove __STDC__ conditionals.
5763 * crypt/crypt-entry.c: Likewise.
5764 * crypt/crypt_util.c: Likewise.
5765 * libio/filedoalloc.c: Likewise.
5766 * libio/fileops.c: Likewise.
5767 * libio/genops.c: Likewise.
5768 * libio/iofclose.c: Likewise.
5769 * libio/iofdopen.c: Likewise.
5770 * libio/iofopen.c: Likewise.
5771 * libio/iofopen64.c: Likewise.
5772 * libio/iogetdelim.c: Likewise.
5773 * libio/iopopen.c: Likewise.
5774 * libio/obprintf.c: Likewise.
5775 * libio/oldfileops.c: Likewise.
5776 * libio/oldiofclose.c: Likewise.
5777 * libio/oldiofdopen.c: Likewise.
5778 * libio/oldiofopen.c: Likewise.
5779 * libio/oldiopopen.c: Likewise.
5780 * libio/wfiledoalloc.c: Likewise.
5781 * libio/wgenops.c: Likewise.
5782 * locale/programs/xmalloc.c: Likewise.
5783 * misc/syslog.c: Likewise.
5784 * stdio-common/xbug.c: Likewise.
5785 * string/memchr.c: Likewise.
5786 * string/memcmp.c: Likewise.
5787 * string/memrchr.c: Likewise.
5788 * string/rawmemchr.c: Likewise.
5789 * sysdeps/posix/getcwd.c: Likewise.
5790 * time/strftime_l.c: Likewise.
5791
3b100462
JM
57922012-01-30 Joseph Myers <joseph@codesourcery.com>
5793
5794 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
5795 * config.make.in (config-cflags-sse2avx): Define.
5796 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
5797 Fix typo.
5798
607998af
CM
57992012-01-29 Chris Metcalf <cmetcalf@tilera.com>
5800
5801 * scripts/config.guess: Update from upstream config git repository.
5802 * scripts/config.sub: Likewise.
5803
3601428f
CM
58042012-01-28 Chris Metcalf <cmetcalf@tilera.com>
5805
3ac8b282
CM
5806 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
5807 (EM_NUM): Update.
5808 (R_TILEPRO_*, R_TILEGX_*): New macros.
5809
e034841e
CM
5810 * scripts/firstversions.awk: Fix bug in version range handling.
5811
540d7568
CM
5812 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
5813
3601428f
CM
5814 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
5815
463de862
CM
5816 * include/sys/epoll.h: New file.
5817 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
5818 libc_hidden_def.
5819
73139a76
UD
58202012-01-28 Ulrich Drepper <drepper@gmail.com>
5821
96bc5b45
UD
5822 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
5823 Avoid unnecessary __WORDSIZE == 64 test.
5824 (fmaxf): Use VEX format if possible.
5825 (fmax): Likewise.
5826 (fminf): Likewise.
5827 (fmin): Likewise.
5828
56f6f6a2
UD
5829 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
5830 * math/math_private.h: Remove libc_fegetround* and
5831 libc_fesetround*.
5832 * sysdeps/i386/configure.in: Check for -msse2avx.
5833 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
5834 also if SSE2AVX is defined.
5835 Remove libc_fegetround* and libc_fesetround*.
5836 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
5837 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
5838 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
5839 of HAS_YMM_USABLE.
5840 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5841 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5842 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5843 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5844 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5845
73139a76
UD
5846 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
5847
d73f93a4
AZ
58482012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5849
5850 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
5851 size is not set.
5852 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
5853
6ee65ed6
UD
58542012-01-27 Ulrich Drepper <drepper@gmail.com>
5855
5856 [BZ #13618]
5857 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
5858 relocation.
5859 * Makeconfig (libm): Define.
5860 * elf/Makefile: Add rules to build and run tst-relsort1.
5861 * elf/tst-relsort1.c: New file.
5862 * elf/tst-relsort1mod1.c: New file.
5863 * elf/tst-relsort1mod2.c: New file.
5864
8db21882
JM
58652012-01-27 Joseph Myers <joseph@codesourcery.com>
5866
5867 * math/s_ldexp.c: Remove __STDC__ conditionals.
5868 * math/s_ldexpf.c: Likewise.
5869 * math/s_ldexpl.c: Likewise.
5870 * math/s_nextafter.c: Likewise.
5871 * math/s_nexttowardf.c: Likewise.
5872 * math/s_significand.c: Likewise.
5873 * math/s_significandf.c: Likewise.
5874 * math/s_significandl.c: Likewise.
5875 * math/w_jnl.c: Likewise.
5876 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5877 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5878 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5879 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5880 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5881 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5882 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
5883 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5884 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5885 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5886 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5887 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5888 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5889 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5890 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5891 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5892 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5893 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5894 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5895 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5896 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5897 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5898 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5899 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5900 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5901 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5902 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5903 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5904 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5905 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5906 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5907 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5908 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5909 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5910 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5911 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5912 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5913 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5914 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5915 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5916 * sysdeps/ieee754/k_standard.c: Likewise.
5917 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5918 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5919 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5920 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5921 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5922 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5923 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5924 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5925 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5926 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5927 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5928 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5929 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5930 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5931 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5932 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5933 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5934 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5935 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5936 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5937 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5938 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5939 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5940 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5941 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5942 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5943 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5944 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5945 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5946 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5947 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5948 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
5949 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5950 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5951 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5952 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5953 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
5954 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5955 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5956 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
5957 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
5958 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5959 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
5960 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
5961 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5962 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5963 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
5964 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5965 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5966 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
5967 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
5968 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5969 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5970 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5971 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5972 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5973 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
5974 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5975 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5976 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5977 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5978 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5979 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5980 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5981 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5982 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5983 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5984 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5985 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5986 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5987 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5988 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5989 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5990 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5991 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5992 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5993 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5994 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5995 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5996 * sysdeps/ieee754/s_matherr.c: Likewise.
5997 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5998 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5999 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6000 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6001
965a54a4
JM
60022012-01-26 Joseph Myers <joseph@codesourcery.com>
6003
6004 * crypt/md5.h: Remove __STDC__ conditionals.
6005 * libio/libioP.h: Likewise.
6006 * locale/programs/config.h: Likewise.
6007 * sysdeps/generic/sysdep.h: Likewise.
6008 * sysdeps/i386/asm-syntax.h: Likewise.
6009 * sysdeps/s390/asm-syntax.h: Likewise.
6010 * sysdeps/unix/sysdep.h: Likewise.
6011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6013
7071ad79
JM
60142012-01-26 Joseph Myers <joseph@codesourcery.com>
6015
6016 * libio/libio.h: Remove __STDC__ conditionals.
6017 * malloc/obstack.h: Likewise.
6018 * math/complex.h: Likewise.
6019 * math/math.h: Likewise.
6020 * sysdeps/generic/_G_config.h: Likewise.
6021 * sysdeps/gnu/_G_config.h: Likewise.
6022 * sysdeps/mach/hurd/_G_config.h: Likewise.
6023 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6024 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6025 * sysdeps/sparc/bits/mathdef.h: Likewise.
6026
afc5ed09
UD
60272012-01-26 Ulrich Drepper <drepper@gmail.com>
6028
6029 [BZ #13583]
6030 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 6031 Clean up HAS_* macros.
afc5ed09 6032 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
6033 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
6034 possible.
6035 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
6036 HAS_AVX.
6037 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6038 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6039 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6040 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6041 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 6042
bdb6de1d
JM
60432012-01-25 Joseph Myers <joseph@codesourcery.com>
6044
6045 * elf/tst-unique3.cc (gets): Remove declaration.
6046 * elf/tst-unique3lib.cc (gets): Likewise.
6047 * elf/tst-unique3lib2.cc (gets): Likewise.
6048 * elf/tst-unique4.cc (gets): Likewise.
6049
b15549e6
UD
60502012-01-24 Ulrich Drepper <drepper@gmail.com>
6051
6052 * include/stdio.h: Add C++ protection. Add gets declarations and
6053 definitions.
6054 * debug/tst-chk1.c: Don't declare gets here.
6055 * stdio-common/tst-gets.c: Likewise.
6056
a037381f
JM
60572012-01-24 Joseph Myers <joseph@codesourcery.com>
6058
6059 * posix/glob: Remove directory.
6060
f1d4aa75
JM
60612012-01-24 Joseph Myers <joseph@codesourcery.com>
6062
6063 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
6064
81c0c964
PT
60652012-01-22 Pino Toscano <toscano.pino@tiscali.it>
6066
6067 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
6068 of the non-standard EPFNOSUPPORT.
6069
0ea698ae
ST
60702011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
6071
6072 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
6073 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
6074 ANYWHERE set to 1 only on KERN_NO_SPACE error.
6075
d220b117
UD
60762012-01-21 Ulrich Drepper <drepper@gmail.com>
6077
6078 * wcsmbs/uchar.h: Test __STDC_VERSION__.
6079
3e1aa84e
UD
60802012-01-20 Ulrich Drepper <drepper@gmail.com>
6081
6082 * nscd/aicache.c (addhstaiX): Do not cache negative results of
6083 transient errors.
6084 * nscd/grpcache.c (cache_addgr): Likewise.
6085 * nscd/hstcache.c (cache_addhst): Likewise.
6086 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6087 * nscd/pwdcache.c (cache_addpw): Likewise.
6088 * nscd/servicescache.c (cache_addserv): Likewise.
6089
400aa020
UD
60902012-01-16 Ulrich Drepper <drepper@gmail.com>
6091
d77e7869
UD
6092 * malloc/malloc.c: Various cleanups.
6093 * malloc/hooks.c: Likewise.
6094
400aa020
UD
6095 * stdlib/Makefile (tests): Add bug-fmtmsg1.
6096 * stdlib/bug-fmtmsg1.c: New file.
6097
6098 * stdlib/fmtmsg.c (init): Add missing unlock.
6099 Patch by Peng Haitao <penght@cn.fujitsu.com>.
6100
e0a309cf
MP
61012012-01-12 Marek Polacek <polacek@redhat.com>
6102
6103 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
6104 and _GNU_SOURCE.
6105
929d11c7
WS
61062012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6107
6108 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
6109 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
6110 macro to ensure uniqueness of label name.
6111 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6112 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6113
41d0e869
UD
61142012-01-11 Ulrich Drepper <drepper@gmail.com>
6115
0cc5ed3b
UD
6116 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
6117
41d0e869
UD
6118 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
6119 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6120 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6121 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
6122
a47a831a
UD
61232012-01-10 Ulrich Drepper <drepper@gmail.com>
6124
daa891c0
UD
6125 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
6126
6127 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
6128 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6129 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6130
e58ef0f2
UD
6131 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
6132
a47a831a 6133 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
6134 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6135 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 6136 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
6137
6138 * math/bits/math-finite.h: Add ldexp support.
6139
a0bfc9c7
MP
61402012-01-10 Marek Polacek <polacek@redhat.com>
6141
6142 * locale/programs/localedef.h (show_archive_content): Add noreturn
6143 attribute.
6144
d6e97a1d
UD
61452012-01-09 Ulrich Drepper <drepper@gmail.com>
6146
6147 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
6148
d5835c26
UD
61492012-01-08 Ulrich Drepper <drepper@gmail.com>
6150
e5f484c6
UD
6151 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
6152
d5835c26
UD
6153 * io/Makefile (headers): Add bits/poll2.h.
6154
d1f741e9
WS
61552011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
6156
6157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
6158 typo #include statement.
6159
ec09c1c4
UD
61602012-01-08 Ulrich Drepper <drepper@gmail.com>
6161
6162 * include/sys/cdefs.h: Define __attribute_alloc_size.
6163 * catgets/gencat.c: Add alloc_size attribute and apply consistently
6164 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
6165 * elf/pldd.c: Likewise.
6166 * iconv/iconv_charmap.c: Likewise.
6167 * iconv/iconvconfig.c: Likewise.
6168 * iconv/strtab.c: Likewise.
6169 * locale/programs/locale.c: Likewise.
6170 * locale/programs/localedef.h: Likewise.
6171 * locale/programs/simple-hash.c: Likewise.
6172 * nscd/nscd.h: Likewise.
6173 * nss/makedb.c: Likewise.
6174 * sysdeps/generic/ldconfig.h: Likewise.
6175 * locale/programs/localedef.c: Remove xmalloc prototype.
6176 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
6177
20b38e03
PP
61782012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6179
6180 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
6181 appropriate.
6182
a0da5fe1
UD
61832012-01-08 Ulrich Drepper <drepper@gmail.com>
6184
1d5a644a 6185 * math/Makefile (tests): Add tst-CMPLX.
669704fd 6186 * math/tst-CMPLX.c: New file.
1d5a644a 6187
8784a6db
UD
6188 * math/complex.h (CMPLXL): Fix typo.
6189
d9a216c0
UD
6190 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
6191 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
6192 GLIBC_2.16.
6193 * debug/tst-chk1.c: Add poll and ppoll tests.
6194 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
6195 * include/sys/poll.h: Add hidden proto for ppoll.
6196 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
6197 * sysdeps/mach/hurd/ppoll.c: Likewise.
6198 * io/ppoll.c: Likewise.
6199 * debug/poll_chk.c: New file.
6200 * debug/ppoll_chk.c: New file.
6201 * include/bits/poll2.h: New file.
6202 * io/bits/poll2.h: New file.
6203
ac097f5c
UD
6204 [BZ #1350]
6205 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
6206
2119dcfa
UD
6207 * configure.in: static is always set to yes. Remove.
6208 * config.make.in: Don't set build-static.
6209 * Makeconfig: Remove use of build-static.
6210 * dlfcn/Makefile: Likewise.
6211 * elf/Makefile: Likewise.
6212 * math/Makefile: Likewise.
6213 * misc/Makefile: Likewise.
6214 * nptl/Makefile: Likewise.
6215 * sysdeps/mach/hurd/Makefile: Likewise.
6216
121766a9
UD
6217 * configure.in: PWD_P is not used anymore.
6218 * config.make.in: Remove PWD_P entry.
6219
51a1d39c 6220 * configure.in: Remove last remnants of RANLIB.
8720d066 6221 No need to check for signed size_t anymore.
215f4bdc
UD
6222 Don't set libc_commonpagesize and libc_relro_required here for Alpha
6223 and IA-64.
3857022a 6224 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
6225 * aclocal.m4: Likewise.
6226
d3ed7225
UD
6227 * wcsmbs/mbrtoc16.c: Implement using towc function.
6228 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
6229 * wcsmbs/wcsmbsload.c: Likewise.
6230 * iconv/gconv_simple.c: Likewise.
6231 * iconv/gconv_int.h: Likewise.
6232 * iconv/gconv_builtin.h: Likewise.
6233 * iconv/iconv_prog.c: Remove CHAR16 handling.
6234
6235 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
6236
6237 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
6238
a0da5fe1
UD
6239 * configure.in: Remove --with-elf and --enable-bounded options.
6240 Dont set base_machine for ia64. More non-ELF conditions removed.
6241 Remove testing and setting of leading underscore information.
6242 * config.make.in (build-bounded): Set to no.
6243 * config.h.in: Remove NO_UNDERSCORES entry.
6244 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
6245 them.
6246 * csu/start.c: Remove !NO_UNDERSCORE code.
6247 * locale/localeinfo.h: Likewise.
6248 * sysdeps/generic/machine-gmon.h: Likewise.
6249 * sysdeps/generic/sysdep.h: Likewise.
6250 * sysdeps/i386/sysdep.h: Likewise.
6251 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6252 * sysdeps/mach/sysdep.h: Likewise.
6253 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6254 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6255 * sysdeps/sh/sysdep.h: Likewise.
6256 * sysdeps/sparc/sparc32/alloca.S: Likewise.
6257 * sysdeps/unix/i386/sysdep.S: Likewise.
6258 * sysdeps/unix/sparc/start.c: Likewise.
6259 * sysdeps/unix/sparc/sysdep.S: Likewise.
6260 * sysdeps/unix/sparc/sysdep.h: Likewise.
6261 * sysdeps/unix/start.c: Likewise.
6262 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6263 * sysdeps/x86_64/sysdep.h: Likewise.
6264
df78418a
UD
62652012-01-07 Ulrich Drepper <drepper@gmail.com>
6266
a784e502
UD
6267 [BZ #13553]
6268 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
6269 for non-gcc.
6270 * argp/argp-fmtstream.h: Use const instead __const.
6271 * argp/argp.h: Likewise.
6272 * assert/assert.h: Likewise.
6273 * bits/fenv.h: Likewise.
6274 * bits/sched.h: Likewise.
6275 * bits/sigset.h: Likewise.
6276 * bits/sigthread.h: Likewise.
6277 * catgets/nl_types.h: Likewise.
6278 * conform/data/pthread.h-data: Likewise.
6279 * crypt/crypt-private.h: Likewise.
6280 * crypt/crypt.h: Likewise.
6281 * crypt/crypt_util.c: Likewise.
6282 * ctype/ctype.h: Likewise.
6283 * debug/execinfo.h: Likewise.
6284 * debug/mbsnrtowcs_chk.c: Likewise.
6285 * debug/mbsrtowcs_chk.c: Likewise.
6286 * debug/wcsnrtombs_chk.c: Likewise.
6287 * debug/wcsrtombs_chk.c: Likewise.
6288 * debug/wcstombs_chk.c: Likewise.
6289 * dirent/dirent.h: Likewise.
6290 * dlfcn/dlfcn.h: Likewise.
6291 * elf/neededtest4.c: Likewise.
6292 * grp/grp.h: Likewise.
6293 * gshadow/gshadow.h: Likewise.
6294 * iconv/gconv.h: Likewise.
6295 * iconv/gconv_int.h: Likewise.
6296 * iconv/gconv_simple.c: Likewise.
6297 * iconv/iconv.h: Likewise.
6298 * iconv/loop.c: Likewise.
6299 * iconv/skeleton.c: Likewise.
6300 * include/aio.h: Likewise.
6301 * include/aliases.h: Likewise.
6302 * include/argz.h: Likewise.
6303 * include/arpa/inet.h: Likewise.
6304 * include/assert.h: Likewise.
6305 * include/dirent.h: Likewise.
6306 * include/dlfcn.h: Likewise.
6307 * include/execinfo.h: Likewise.
6308 * include/fcntl.h: Likewise.
6309 * include/fenv.h: Likewise.
6310 * include/glob.h: Likewise.
6311 * include/grp.h: Likewise.
6312 * include/libintl.h: Likewise.
6313 * include/mntent.h: Likewise.
6314 * include/netdb.h: Likewise.
6315 * include/pwd.h: Likewise.
6316 * include/rpc/netdb.h: Likewise.
6317 * include/sched.h: Likewise.
6318 * include/search.h: Likewise.
6319 * include/shadow.h: Likewise.
6320 * include/signal.h: Likewise.
6321 * include/stdio.h: Likewise.
6322 * include/stdlib.h: Likewise.
6323 * include/string.h: Likewise.
6324 * include/sys/socket.h: Likewise.
6325 * include/sys/stat.h: Likewise.
6326 * include/sys/statfs.h: Likewise.
6327 * include/sys/statvfs.h: Likewise.
6328 * include/sys/syslog.h: Likewise.
6329 * include/sys/time.h: Likewise.
6330 * include/sys/uio.h: Likewise.
6331 * include/time.h: Likewise.
6332 * include/unistd.h: Likewise.
6333 * include/utmp.h: Likewise.
6334 * include/wchar.h: Likewise.
6335 * include/wctype.h: Likewise.
6336 * inet/aliases.h: Likewise.
6337 * inet/arpa/inet.h: Likewise.
6338 * inet/netinet/ether.h: Likewise.
6339 * inet/netinet/in.h: Likewise.
6340 * intl/libintl.h: Likewise.
6341 * io/bits/fcntl2.h: Likewise.
6342 * io/fcntl.h: Likewise.
6343 * io/ftw.h: Likewise.
6344 * io/sys/poll.h: Likewise.
6345 * io/sys/stat.h: Likewise.
6346 * io/sys/statfs.h: Likewise.
6347 * io/sys/statvfs.h: Likewise.
6348 * io/utime.h: Likewise.
6349 * libio/bits/stdio.h: Likewise.
6350 * libio/bits/stdio2.h: Likewise.
6351 * libio/libio.h: Likewise.
6352 * libio/libioP.h: Likewise.
6353 * libio/stdio.h: Likewise.
6354 * locale/lc-ctype.c: Likewise.
6355 * locale/locale.h: Likewise.
6356 * login/utmp.h: Likewise.
6357 * malloc/arena.c: Likewise.
6358 * malloc/malloc.c: Likewise.
6359 * malloc/malloc.h: Likewise.
6360 * malloc/mcheck.c: Likewise.
6361 * malloc/mtrace.c: Likewise.
6362 * math/bits/mathcalls.h: Likewise.
6363 * math/fenv.h: Likewise.
6364 * math/math_private.h: Likewise.
6365 * misc/bits/error.h: Likewise.
6366 * misc/bits/syslog.h: Likewise.
6367 * misc/err.h: Likewise.
6368 * misc/error.h: Likewise.
6369 * misc/fstab.h: Likewise.
6370 * misc/mntent.h: Likewise.
6371 * misc/regexp.h: Likewise.
6372 * misc/search.h: Likewise.
6373 * misc/sgtty.h: Likewise.
6374 * misc/sys/mman.h: Likewise.
6375 * misc/sys/syslog.h: Likewise.
6376 * misc/sys/uio.h: Likewise.
6377 * misc/sys/xattr.h: Likewise.
6378 * misc/ttyent.h: Likewise.
6379 * nis/rpcsvc/ypclnt.h: Likewise.
6380 * nss/nss.h: Likewise.
6381 * posix/bits/unistd.h: Likewise.
6382 * posix/fnmatch.h: Likewise.
6383 * posix/glob.h: Likewise.
6384 * posix/sched.h: Likewise.
6385 * posix/spawn.h: Likewise.
6386 * posix/sys/wait.h: Likewise.
6387 * posix/unistd.h: Likewise.
6388 * posix/wordexp.h: Likewise.
6389 * pwd/pwd.h: Likewise.
6390 * resolv/netdb.h: Likewise.
6391 * resource/sys/resource.h: Likewise.
6392 * rt/aio.h: Likewise.
6393 * rt/bits/mqueue2.h: Likewise.
6394 * rt/mqueue.h: Likewise.
6395 * shadow/shadow.h: Likewise.
6396 * signal/signal.h: Likewise.
6397 * socket/send.c: Likewise.
6398 * socket/sendto.c: Likewise.
6399 * socket/sys/socket.h: Likewise.
6400 * stdio-common/printf.h: Likewise.
6401 * stdlib/bits/stdlib.h: Likewise.
6402 * stdlib/fmtmsg.h: Likewise.
6403 * stdlib/monetary.h: Likewise.
6404 * stdlib/stdlib.h: Likewise.
6405 * stdlib/ucontext.h: Likewise.
6406 * streams/stropts.h: Likewise.
6407 * string/argz.h: Likewise.
6408 * string/bits/string2.h: Likewise.
6409 * string/string.h: Likewise.
6410 * string/strings.h: Likewise.
6411 * sunrpc/rpc/auth.h: Likewise.
6412 * sunrpc/rpc/auth_des.h: Likewise.
6413 * sunrpc/rpc/clnt.h: Likewise.
6414 * sunrpc/rpc/netdb.h: Likewise.
6415 * sunrpc/rpc/pmap_clnt.h: Likewise.
6416 * sunrpc/rpc/xdr.h: Likewise.
6417 * sysdeps/generic/inttypes.h: Likewise.
6418 * sysdeps/generic/net/if.h: Likewise.
6419 * sysdeps/generic/sys/swap.h: Likewise.
6420 * sysdeps/gnu/net/if.h: Likewise.
6421 * sysdeps/gnu/utmpx.h: Likewise.
6422 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
6423 * sysdeps/i386/i486/bits/string.h: Likewise.
6424 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
6425 * sysdeps/s390/bits/string.h: Likewise.
6426 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
6427 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
6428 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
6429 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
6430 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
6431 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
6432 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6433 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
6434 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
6435 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
6436 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
6437 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6438 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
6439 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6440 * sysdeps/unix/sysv/linux/readv.c: Likewise.
6441 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
6442 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6443 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6444 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6445 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6446 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6447 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
6448 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
6449 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
6450 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
6451 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
6452 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
6453 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6454 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
6455 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
6456 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
6457 * sysvipc/sys/ipc.h: Likewise.
6458 * sysvipc/sys/msg.h: Likewise.
6459 * sysvipc/sys/sem.h: Likewise.
6460 * sysvipc/sys/shm.h: Likewise.
6461 * termios/termios.h: Likewise.
6462 * time/sys/time.h: Likewise.
6463 * time/time.h: Likewise.
6464 * wcsmbs/bits/wchar2.h: Likewise.
6465 * wcsmbs/uchar.h: Likewise.
6466 * wcsmbs/wchar.h: Likewise.
6467 * wctype/wctype.h: Likewise.
6468
0269750c
UD
6469 [BZ #13551]
6470 * Makeconfig: Remove all but ELF support including AIX support.
6471 * Makerules: Likewise.
6472 * config.h.in: Likewise.
6473 * config.make.in: Likewise.
6474 * configure: Likewise.
6475 * configure.in: Likewise.
6476 * csu/Makefile: Likewise.
6477 * csu/version.c: Likewise.
6478 * debug/Makefile: Likewise.
6479 * dlfcn/Makefile: Likewise.
6480 * elf/Makefile: Likewise.
6481 * extra-lib.mk: Likewise.
6482 * iconv/Makefile: Likewise.
6483 * include/libc-symbols.h: Likewise.
6484 * include/shlib-compat.h: Likewise.
6485 * resolv/Makefile: Likewise.
6486 * resolv/res_libc.c: Likewise.
6487 * rt/Makefile: Likewise.
6488 * sysdeps/i386/asm-syntax.h: Likewise.
6489 * sysdeps/i386/sysdep.h: Likewise.
6490 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6491 * sysdeps/mach/sysdep.h: Likewise.
6492 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
6493 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
6494 * sysdeps/s390/asm-syntax.h: Likewise.
6495 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6496 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6497 * sysdeps/sh/sysdep.h: Likewise.
6498 * sysdeps/unix/sparc/sysdep.h: Likewise.
6499 * sysdeps/wordsize-32/divdi3.c: Likewise.
6500 * sysdeps/x86_64/sysdep.h: Likewise.
6501
00bbd29b
UD
6502 * argp/Versions: Remove _argp_unlock_xxx.
6503
6504 [BZ #13559]
6505 * abilist/ld.abilist: Update. Adjust for removal of tls option.
6506 * abilist/libBrokenLocale.abilist: Likewise.
6507 * abilist/libanl.abilist: Likewise.
6508 * abilist/libc.abilist: Likewise.
6509 * abilist/libcrypt.abilist: Likewise.
6510 * abilist/libdl.abilist: Likewise.
6511 * abilist/libm.abilist: Likewise.
6512 * abilist/libnsl.abilist: Likewise.
6513 * abilist/libpthread.abilist: Likewise.
6514 * abilist/libresolv.abilist: Likewise.
6515 * abilist/librt.abilist: Likewise.
6516 * abilist/libthread_db.abilist: Likewise.
6517 * abilist/libutil.abilist: Likewise.
6518 * abilist/libnss_db.abilist: New file.
6519
6520 * scripts/abilist.awk: Add support for indirect functions.
6521
a2693a0e
UD
6522 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
6523
3f05895f
UD
6524 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
6525
ecb6fb48
UD
6526 * shlib-versions: Remove entries for ports architectures.
6527
664f8cb9
UD
6528 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
6529 files in ports.
6530 * elf/stackguard-macros.h: Remove support for IA-64.
6531 * elf/tst-auditmod1.c: Likewise.
6532 * sysdeps/generic/ldsodefs.h: Likewise.
6533
7ae81d88
UD
6534 * sysdeps/unix/sysv/linux/configure.in: Ports should define
6535 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
6536 configure files.
6537
bdeba135
UD
6538 [BZ #13552]
6539 * configure.in: Remove --enable-omitfp support.
6540 * FAQ.in: Adjust.
6541 * config.make.in: Likewise.
6542 * Makeconfig: Likewise.
6543 * manual/install.texi: Likewise.
6544
d75a0a62
UD
6545 In case anyone cares, the IA-64 architecture could move to ports.
6546 * sysdeps/ia64/*: Removed.
6547 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 6548 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 6549
dcc9756b
UD
6550 [BZ #13555]
6551 * configure.in: Remove entries for unsupported architectures.
6552
d3761ebc 6553 [BZ #13533]
9954432e
UD
6554 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
6555 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
6556 routines.
6557 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
6558 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
6559 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
6560 fall back to using wcrtomb.
6561 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
6562 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
6563 renaming.
6564 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
6565 * wcsmbs/tst-c16c32-1.c: New file.
6566
6567 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
6568 local variable.
6569
c3a87236
UD
6570 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
6571
28926a1b
UD
6572 * elf/tst-unique3.cc: Add explicit declaration of gets.
6573 * elf/tst-unique3lib.cc: Likewise.
6574 * elf/tst-unique3lib2.cc: Likewise.
6575 * elf/tst-unique4.cc: Likewise.
6576
df78418a
UD
6577 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
6578
8ecd6b2a
JM
65792012-01-06 Joseph Myers <joseph@codesourcery.com>
6580
6581 [BZ #13566]
6582 * assert/assert.h (static_assert): Don't define for C++.
6583 * libio/stdio.h (gets): Do declare for C++ <= C++11.
6584 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
6585
9f115170
UD
65862012-01-03 Ulrich Drepper <drepper@gmail.com>
6587
5e0d0300
UD
6588 * iconv/loop.c (single loop): Fix assertion in storing of
6589 remaining bytes.
6590
9f115170
UD
6591 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
6592
81fb02b0
UD
65932012-01-01 Ulrich Drepper <drepper@gmail.com>
6594
6595 * posix/getconf.c: Update copyright year.
6596 * nss/getent.c: Likewise.
a316c1f6 6597 * nss/makedb.c: Likewise.
81fb02b0
UD
6598 * iconv/iconvconfig.c: Likewise.
6599 * iconv/iconv_prog.c: Likewise.
6600 * elf/ldconfig.c: Likewise.
a316c1f6
UD
6601 * elf/pldd.c: Likewise.
6602 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
6603 * catgets/gencat.c: Likewise.
6604 * csu/version.c: Likewise.
6605 * elf/ldd.bash.in: Likewise.
6606 * elf/sprof.c (print_version): Likewise.
6607 * locale/programs/locale.c: Likewise.
6608 * locale/programs/localedef.c: Likewise.
a316c1f6 6609 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
6610 * nscd/nscd.c (print_version): Likewise.
6611 * debug/xtrace.sh: Likewise.
6612 * malloc/memusage.sh: Likewise.
6613 * malloc/mtrace.pl: Likewise.
6614 * debug/catchsegv.sh: Likewise.
6615
2ba92745
JJ
66162011-12-30 Jakub Jelinek <jakub@redhat.com>
6617
6618 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
6619 pure attribute.
6620
dadebdae
UD
66212011-12-24 Ulrich Drepper <drepper@gmail.com>
6622
d3761ebc 6623 [BZ #13533]
db6af3eb
UD
6624 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
6625 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
6626 transformations.
6627 * iconv/gconv_int.h: Likewise.
6628 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
6629 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
6630 from libc for GLIBC_2.16.
6631 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
6632 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
6633 * wcsmbs/uchar.h: Really define mbstate_t.
6634 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
6635 * wcsmbs/c16rtomb.c: New file.
6636 * wcsmbs/mbrtoc16.c: New file.
6637 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
6638 for C/POSIX locale.
6639 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
6640 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
6641
dadebdae
UD
6642 * wcsmbs/wchar.h: Add missing __restrict.
6643
67371b56
UD
66442011-12-23 Ulrich Drepper <drepper@gmail.com>
6645
74033a25
UD
6646 [BZ #13532]
6647 * time/Makefile (routines): Add timespec_get.
6648 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
6649 * time/time.h: Define TIME_UTC and declare timespec_get. Define
6650 timespec for ISO C11.
6651 * time/timespec_get.c: New file.
6652 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
6653 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
6654
380d7e87
UD
6655 [BZ #13531]
6656 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
6657 * stdlib/stdlib.h: Declare aligned_alloc.
6658 * Versions.def: Add GLIBC_2.16 for libc.
6659 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
6660
4e9e7a35
UD
6661 [BZ 13527]
6662 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
6663 ISO C11.
6664
380d7e87 6665 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
6666 code.
6667
03a71829
UD
6668 [BZ #13528]
6669 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
6670
839e283e
UD
6671 [BZ #13529]
6672 * assert/assert.h (static_assert): Define.
6673
ce5294e2 6674 * version.h: Update for 2.16 development version.
90fa7312 6675
8d44e150 6676 [BZ #13526]
d7809905
UD
6677 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
6678 _ISOC11_SOURCE.
6679
c0da14cd
UD
6680 * version.h (RELEASE): Bump for 2.15 release.
6681 * include/features.h (__GLIBC_MINOR__): Bump to 15.
6682
530a3249
MP
6683 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
6684 Patch by Marek Polacek <mpolacek@redhat.com>.
6685
67371b56
UD
6686 * bits/byteswap.h: Protect long long constants with __extension__.
6687 * sysdeps/i386/bits/byteswap.h: Likewise.
6688 * sysdeps/ia64/bits/byteswap.h: Likewise.
6689 * sysdeps/s390/bits/byteswap.h: Likewise.
6690 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6691
15db4de1
LD
66922011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6693
6694 [BZ #13540]
bbe315ea
LD
6695 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
6696 destination buffer.
15db4de1
LD
6697 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
6698
2b2596b1
MP
66992011-12-23 Marek Polacek <polacek@redhat.com>
6700
6701 * elf/dl-addr.c (determine_info): Add inline keyword.
6702 * elf/tst-auditmod4b.c (check_avx): Likewise.
6703 * elf/tst-auditmod6b.c (check_avx): Likewise.
6704 * elf/tst-auditmod6c.c (check_avx): Likewise.
6705 * elf/tst-auditmod7b.c (check_avx): Likewise.
6706
70c6c246
UD
67072011-12-23 Ulrich Drepper <drepper@gmail.com>
6708
6709 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
6710 !__SSE_MATH__.
6711
c044cf14
LD
67122011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6713
15db4de1 6714 [BZ #13540]
c044cf14
LD
6715 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
6716 processing for last bytes.
6717
6b13d9d9
BH
67182011-08-06 Bruno Haible <bruno@clisp.org>
6719
d455f537
BH
6720 [BZ #13061]
6721 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
6722 U+0385, not to U+1FEE.
6723
6b13d9d9
BH
6724 [BZ #13062]
6725 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
6726 entry for U+00A5 U+0301.
6727
db910efd
UD
67282011-12-22 Ulrich Drepper <drepper@gmail.com>
6729
27deeafc
UD
6730 [BZ #13166]
6731 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
6732 buffer for the output is too small.
6733
aed9d171
UD
6734 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
6735 optimization.
6736
db910efd
UD
6737 [BZ #13185]
6738 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
6739 SSE flags if possible.
6740
2bd779ae
LD
67412011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6742
e7f9dac3 6743 [BZ #13540]
2bd779ae
LD
6744 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
6745 processing for last bytes.
6746
154bfc16
JM
67472011-12-22 Joseph Myers <joseph@codesourcery.com>
6748
6749 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
6750 (syscall-list-default-options, syscall-list-default-condition)
6751 (syscall-list-includes): Define.
6752 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
6753 list of ABIs and options and #if conditions for each ABI. Do not
6754 handle common syscalls between ABIs specially.
6755 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
6756 Remove.
6757 (syscall-list-variants, syscall-list-32bit-options)
6758 (syscall-list-32bit-condition, syscall-list-64bit-options)
6759 (syscall-list-64bit-condition): Define.
6760 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
6761 (syscall-list-variants, syscall-list-32bit-options)
6762 (syscall-list-32bit-condition, syscall-list-64bit-options)
6763 (syscall-list-64bit-condition): Define.
6764 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
6765 Remove.
6766 (syscall-list-variants, syscall-list-32bit-options)
6767 (syscall-list-32bit-condition, syscall-list-64bit-options)
6768 (syscall-list-64bit-condition): Define.
6769 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
6770 Remove.
6771 (syscall-list-variants, syscall-list-32bit-options)
6772 (syscall-list-32bit-condition, syscall-list-64bit-options)
6773 (syscall-list-64bit-condition): Define.
6774
21eaf3a5
UD
67752011-12-22 Ulrich Drepper <drepper@gmail.com>
6776
16c6f992
UD
6777 * locale/iso-639.def: Add brx entry.
6778
41043168
UD
6779 [BZ #13328]
6780 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
6781 Proposed by Mariusz_Cukr <marcukr@op.pl>.
6782
21eaf3a5
UD
6783 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
6784 __feraiseexcept_renamed.
6785
e3a851a2
UD
67862011-12-21 Ulrich Drepper <drepper@gmail.com>
6787
4920765e
UD
6788 [BZ #13538]
6789 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
6790 EPOLLET with unsigned values.
6791 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6792 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6793
e3a851a2
UD
6794 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
6795 to large cancellation.
6796 * math/s_cacoshf.c: Likewise.
6797 * math/s_cacoshl.c: Likewise.
6798
b27e24b8
RK
67992011-11-18 Richard B. Kreckel <kreckel@ginac.de>
6800
6801 [BZ #13305]
aebefeee 6802 [BZ #12786]
b27e24b8
RK
6803 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
6804 * math/s_cacoshf.c: Likewise.
6805 * math/s_cacoshl.c: Likewise.
6806
ee190f67
UD
68072011-12-21 Ulrich Drepper <drepper@gmail.com>
6808
6809 [BZ #13439]
6810 * iconv/gconv.h: Define __GCONV_SWAP.
6811 * iconvdata/unicode.c: The swap bit must be stored in __flags.
6812 * iconvdata/utf-16.c: Likewise.
6813 * iconvdata/utf-32.c: Likewise.
6814
707f25df
AS
68152011-12-21 Andreas Schwab <schwab@linux-m68k.org>
6816
6817 [BZ #13524]
6818 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
6819 numerator after shifting it by one limb.
6820
d2daaa1e
RÁE
68212011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
6822
6823 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
6824 under [__USE_EXTERN_INLINES].
6825
a4647e72
UD
68262011-12-17 Ulrich Drepper <drepper@gmail.com>
6827
6828 [BZ #13446]
6829 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
6830
f0b264f1
AZ
68312011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6832
6833 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
6834 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
6835 optimized code.
6836 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
6837 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
6838 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
6839 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
6840 for strncasecmp/strncasecmp_l compilation.
6841 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
6842 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
6843
8ef4f244
MP
68442011-12-08 Marek Polacek <mpolacek@redhat.com>
6845
6846 [BZ #13484]
6847 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
6848 of __asm__.
6849
97ac2654
UD
68502011-12-17 Ulrich Drepper <drepper@gmail.com>
6851
6852 [BZ #13506]
6853 * time/tzfile.c (__tzfile_read): Check values from file header.
6854
91d2a845
WS
68552011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
6856
6857 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
6858 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
6859 * powerpc/powerpc32/dl-start.S: Likewise.
6860 * powerpc/powerpc32/elf/start.S: Likewise.
6861 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6862 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
6863 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
6864 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
6865 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6866 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
6867 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
6868 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6869 * powerpc/powerpc32/fpu/s_round.S: Likewise.
6870 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6871 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6872 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6873 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
6874 * powerpc/powerpc32/memset.S: Likewise.
6875 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6876 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6877 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6878 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6879 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6880 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6881 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6882 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6883 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
6884 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
6885 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
6886 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6887 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6888
a1267ba1
AZ
68892011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6890
6891 * math/libm-test.inc: Added more nearbyint tests.
6892 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
6893 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
6894 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
6895 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
6896
ad8ac1bd
RL
68972011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
6898
6899 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
6900 FD_CLOEXEC.
6901
1d3e4b61
UD
69022011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6903
6904 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
6905 Add wcscpy-ssse3 wcscpy-c.
6906 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
6907 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
6908 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
6909 * sysdeps/x86_64/wcschr.S: New file.
6910 * sysdeps/x86_64/wcsrchr.S: New file.
6911 * string/test-strcmp.c: Remove checking of wcscmp function for
6912 wrong alignments.
6913 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
6914 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
6915 wcsrchr-sse2 wcsrchr-c.
6916 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
6917 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
6918 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
6919 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
6920 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
6921 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
6922 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
6923 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
6924 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
6925 * wcsmbc/wcschr.c (WCSCHR): New macro.
6926
5b330a2d
UD
69272011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6928
6929 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
6930 * wcsmbs/test-wcsrchr.c: New file.
6931 * string/test-strrchr.c: Add wcsrchr support.
6932 (WIDE): New macro.
6933 * wcsmbs/test-wcscpy.c: New file.
6934 * string/test-strcpy.c: Add wcscpy support.
6935 (WIDE): New macro.
26428b7c 6936
f039c043
UD
69372011-12-10 Ulrich Drepper <drepper@gmail.com>
6938
6939 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
6940 the inner loop.
6941
850fb039
AS
69422011-12-06 Andreas Schwab <schwab@linux-m68k.org>
6943
6944 [BZ #13472]
6945 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
6946
4efbd5cb
UD
69472011-12-04 Ulrich Drepper <drepper@gmail.com>
6948
52ff5dd0 6949 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 6950 Minor optimizations.
52ff5dd0 6951
4efbd5cb
UD
6952 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
6953 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
6954 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
6955
8a426e12
UD
69562011-12-03 Ulrich Drepper <drepper@gmail.com>
6957
aff2453d
UD
6958 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
6959 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
6960 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
6961 for gcc to avoid warnings.
6962 * inet/Makefile (tests): Add tst-checks.
6963 * inet/tst-checks.c: New file.
6964
6965 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
6966 warning.
6967
6968 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
6969 __wmemcmp_sse2.
6970
6971 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
6972 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
6973
8a426e12
UD
6974 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
6975
9bea3473
UD
69762011-12-02 Ulrich Drepper <drepper@gmail.com>
6977
3a965496
UD
6978 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
6979 problem.
6980
9bea3473
UD
6981 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
6982
f101631b
UD
69832011-11-29 Joseph Myers <joseph@codesourcery.com>
6984
6985 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
6986 conditional on GCC version.
6987 (__arch_compare_and_exchange_val_8_acq)
6988 (__arch_compare_and_exchange_val_16_acq)
6989 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
6990 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
6991 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
6992
a98275aa
UD
69932011-12-02 Joseph Myers <joseph@codesourcery.com>
6994
6995 * sysdeps/sh/backtrace.c: New file.
6996
d4cc29a2
AS
69972011-12-02 Andreas Schwab <schwab@redhat.com>
6998
6999 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
7000 parenthesis.
7001
6257af2d
AS
70022011-12-01 Andreas Schwab <schwab@redhat.com>
7003
7004 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
7005 falling back to utime.
7006
b5f44c1a
AS
70072011-11-30 Andreas Schwab <schwab@redhat.com>
7008
7009 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
7010 expectations for float.
7011
f3a6cc0a
AS
70122011-11-29 Andreas Schwab <schwab@redhat.com>
7013
7014 * locale/weight.h (findidx): Add parameter len.
7015 * locale/weightwc.h (findidx): Likewise.
7016 * posix/fnmatch_loop.c (FCT): Adjust caller.
7017 * posix/regcomp.c (build_equiv_class): Likewise.
7018 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
7019 * posix/regexec.c (check_node_accept_bytes): Likewise.
7020 * string/strcoll_l.c (STRCOLL): Likewise.
7021 * string/strxfrm_l.c (STRXFRM): Likewise.
7022
9d65ea3a
UD
70232011-11-17 Ulrich Drepper <drepper@gmail.com>
7024
7025 * Makefile.in: Remove CVSOPT handling.
7026 * configure.in: Remove use of AC_REVISION.
7027 * iconvdata/Makefile (distribute): No need to filter out CVS.
7028 * scripts/list-sources.sh: Remove CVS, subversion and monotone
7029 handling.
7030
5583a086
AS
70312011-11-16 Andreas Schwab <schwab@redhat.com>
7032
7033 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
7034 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
7035 [USE_AS_STRNCASECMP_L]: Likewise.
7036 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
7037 NO_TLS_DIRECT_SEG_REFS.
7038 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
7039 Fix argument offsets for non-PIC.
7040 [USE_AS_STRNCASECMP_L]: Likewise.
7041 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
7042 NO_TLS_DIRECT_SEG_REFS.
7043
d62a8200
UD
70442011-11-15 Ulrich Drepper <drepper@gmail.com>
7045
9d65ea3a 7046 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
7047 O_CLOEXEC.
7048 * locale/loadlocale.c (_nl_load_locale): Likewise.
7049
09f93bd3
AS
70502011-11-15 Andreas Schwab <schwab@redhat.com>
7051
446514f9
AS
7052 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
7053 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
7054 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
7055 (SYSCALL_GETTIME): Set errno on error.
7056
09f93bd3
AS
7057 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
7058 count references to noai6ai_cached.
7059
312be3f9
UD
70602011-11-15 Ulrich Drepper <drepper@gmail.com>
7061
7062 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
7063
7064 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
7065 FD_CLOEXEC for /proc/self/maps.
7066
7067 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
7068 FD_CLOEXEC for /proc/meminfo.
7069
7070 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
7071 gai.conf.
7072
7073 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
7074 FD_CLOEXEC for given file.
7075
7076 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
7077
7078 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
7079 FD_CLOEXEC for /etc/hosts.
7080 (_gethtent): Likewise.
7081
7082 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
7083
7084 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
7085 cancellation and set FD_CLOEXEC for /etc/netgroup.
7086
7087 * nss/nss_files/files-key.c (search): Don't allow cancellation when
7088 reading /etc/publickey.
7089
7090 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
7091 allow cancellation when reading /etc/group.
7092
7093 * nss/nss_files/files-alias.c (internal_setent): Don't allow
7094 cancellation.
7095 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
7096
7097 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
7098 when using data file.
7099
7100 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
7101
7102 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
7103 (write_nis_obj): Use "c" and "e" in fopen.
7104
7105 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
7106
7107 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
7108
7109 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
7110
7111 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
7112
7113 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
7114 locale.alias.
7115
7116 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
7117
7118 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
7119
7120 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
7121
7122 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
7123 file parsing and set FD_CLOEXEC.
7124
82af0fa8
UD
71252011-11-14 Ulrich Drepper <drepper@gmail.com>
7126
7127 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
7128
a5fb313c
AS
71292011-11-14 Andreas Schwab <schwab@redhat.com>
7130
7131 * malloc/arena.c (arena_get2): Don't call reused_arena when
7132 _int_new_arena failed.
7133
6abf3465
UD
71342011-11-14 Ulrich Drepper <drepper@gmail.com>
7135
7136 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
7137 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
7138 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
7139 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7140 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7141 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
7142 to compile strcasecmp and strncasecmp.
7143 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
7144 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
7145
7146 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
7147
76e3966e
UD
71482011-11-13 Ulrich Drepper <drepper@gmail.com>
7149
7150 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
7151 locale-defines.sym to gen-as-const-headers.
7152 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
7153 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
7154 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
7155 to compile strcasecmp and strncasecmp.
7156 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
7157 strcasecmp_l and strncasecmp_l.
7158 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
7159 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
7160 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
7161 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
7162 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
7163 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
7164 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
7165 * sysdeps/i386/i686/multiarch/strncase.S: New file.
7166 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
7167 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
7168 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
7169
ab26144e
UD
71702011-11-12 Ulrich Drepper <drepper@gmail.com>
7171
7edb22ef
UD
7172 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
7173 result of SYSDEP_GETTIME_CPU to retval.
7174 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
7175 parameter list to macro. Remove trailing semicolon. Adjust users.
7176
9694fc44
UD
7177 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
7178 variable.
7179
8ad89ef8
UD
7180 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
7181 mantissa words.
7182 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7183
0c822ef9
UD
7184 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
7185 from unused variable.
7186
874e0564
UD
7187 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
7188 DWARF definitions.
7189 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
7190 for assembling.
7191
3a2edc79
UD
7192 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
7193 over namespaces.
7194
f3c2577f
UD
7195 * sunrpc/rpc_prot.c (rejected): Fix case value.
7196
294ce126
UD
7197 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
7198 unsigned long long int to avoid warnings in shift.
7199
5e2b63c6
UD
7200 * posix/regex_internal.c (re_string_reconstruct): Actually use result
7201 of use of trans.
7202 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
7203 variable tmp.
7204
e7f4b08e
UD
7205 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
7206 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7207 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7208
ab26144e
UD
7209 * nis/nis_table.c (nis_list): Use variable of correct type for
7210 result of __follow_path call.
7211
8a6d5255
AZ
72122011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7213
7214 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
7215 of math functions ceil, trunc, floor, round, and sqrt, when
7216 avaliable on the platform.
7217 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
7218 name clash.
7219 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7220 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7221 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7222
aaddc98c
MP
72232011-10-30 Marek Polacek <mpolacek@redhat.com>
7224
7225 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
7226 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7227
95b7042b
RM
72282011-11-11 Roland McGrath <roland@hack.frob.com>
7229
7230 * include/unistd.h: Fix __readlink return type.
7231 Reported by Chris Metcalf <cmetcalf@tilera.com>.
7232
57769839
UD
72332011-11-11 Ulrich Drepper <drepper@gmail.com>
7234
7235 * stdlib/ucontext.h: Undo last change for makecontext.
7236
edc5984d
AS
72372011-11-11 Andreas Schwab <schwab@redhat.com>
7238
98591e58
AS
7239 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
7240
edc5984d
AS
7241 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
7242 * setjmp/setjmp.h: Mark functions as non-leaf.
7243 * setjmp/bits/setjmp2.h: Likewise.
7244 * stdlib/ucontext.h: Likewise.
7245
77cdc054
AS
72462011-11-10 Andreas Schwab <schwab@redhat.com>
7247
7248 * malloc/arena.c (_int_new_arena): Don't increment narenas.
7249 (reused_arena): Don't check arena limit.
7250 (arena_get2): Atomically check arena limit.
7251
fe72eebd
UD
72522011-11-08 Ulrich Drepper <drepper@gmail.com>
7253
5f078c32
UD
7254 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
7255 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
7256
fe72eebd
UD
7257 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
7258 instructions.
7259
ae1bc2fa
AS
72602011-11-07 Andreas Schwab <schwab@redhat.com>
7261
7583a88d
AS
7262 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
7263 handler when locking.
7264
ae1bc2fa
AS
7265 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7266 Fix size of allocated buffer.
7267
10fb0bfa
AS
72682011-11-04 Andreas Schwab <schwab@redhat.com>
7269
998832a4
AS
7270 [BZ #10103]
7271 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
7272 declarations for long double functions.
7273 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
7274
10fb0bfa
AS
7275 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
7276
3d7ba52b
AS
72772011-11-03 Andreas Schwab <schwab@redhat.com>
7278
a9ae54a1
AS
7279 * nscd/nscd.c (main): Don't start AVC thread until credentials are
7280 installed.
7281
3d7ba52b
AS
7282 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
7283 is disabled.
7284
bc8db248
ST
72852011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7286
7287 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
7288
45b96dd6
AS
72892011-11-01 Andreas Schwab <schwab@linux-m68k.org>
7290
647776f6
AS
7291 * include/alloca.h (stackinfo_alloca_round): Define.
7292 (extend_alloca): Use it.
7293 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
7294 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
7295 here.
7296
d91a8b93
AS
7297 * scripts/check-local-headers.sh: Ignore libaudit.h.
7298
45b96dd6
AS
7299 * nscd/Makefile (extra-objs): Make recursively expanded.
7300
432d41ce
UD
73012011-11-01 Ulrich Drepper <drepper@gmail.com>
7302
34372fc6
UD
7303 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
7304 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7305
fadb59f8
UD
7306 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
7307 * posix/tst-rfc3484-2.c: Likewise.
7308 * posix/tst-rfc3484-3.c: Likewise.
7309
78239589
UD
7310 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7311 process_vm_writev.
7312 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
7313 process_vm_writev.
7314 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
7315 process_vm_writev from libc using GLIBC_2.15 version.
7316
432d41ce
UD
7317 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
7318
02f9c6cf
PP
73192011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7320
7321 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
7322 stack usage.
7323
3a2c0242
UD
73242011-10-31 Ulrich Drepper <drepper@gmail.com>
7325
f4ec4833
UD
7326 [BZ #13367]
7327 * nss/getent.c (initgroups_keys): Show error message in case no group
7328 names are given.
7329
3a2c0242
UD
7330 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
7331 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
7332 __bump_nl_timestamp.
7333 * nscd/connections (nscd_init): When host database is served open
7334 netlink socket and request notification about configuration changes.
7335 (main_loop_poll): Track netlink file descriptor and bump timestamp
7336 in case data becomes available.
7337 (main_loop_epoll): Likewise.
7338 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
7339 (database_pers_head): Add extra_data fileds.
7340 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
7341 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
7342 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
7343 Adjust caller.
7344 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
7345 in6ai data, call __free_in6ai.
7346 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
7347 Add -DHAVE_NETLINK.
7348 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
7349 interface information. Reuse previous data if netlink timestamp
7350 is not changed.
7351 (__bump_nl_timestamp): New function.
7352 (__free_in6ai): New function.
7353
636064eb
UD
73542011-10-30 Ulrich Drepper <drepper@gmail.com>
7355
7356 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
7357 close_not_cancel_no_status here.
7358 (__check_pf): Reorganize code a bit to not call close twice if OOM.
7359
9beb2334
UD
73602011-10-29 Ulrich Drepper <drepper@gmail.com>
7361
6ef76f3b
UD
7362 [BZ #13276]
7363 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
7364 return value.
7365
0ffc4f3e 7366 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
7367 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
7368 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
7369
cb95113e
UD
73702011-07-03 Andreas Jaeger <aj@suse.de>
7371
7372 [BZ #10709]
7373 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
7374 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
7375 * math/libm-test.inc (sin_test): Add test case.
7376
a1b560ff
UD
73772011-10-29 Ulrich Drepper <drepper@gmail.com>
7378
c9aaface
UD
7379 [BZ #13337]
7380 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
7381 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7382
d272e7f1
UD
7383 * elf/chroot_canon.c (chroot_canon): Cleanups.
7384
1bc33071
UD
7385 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
7386
1760874d
TJ
7387 [BZ #13335]
7388 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
7389 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7390
51d91b18
UD
7391 * string/test-strchr.c: Make usable for strchrnul testing.
7392 * string/test-strchrnul.c: New file.
7393 * string/Makefile (strop-tests): Add strchrnul.
7394
a1b560ff 7395 * po/it.po: Update from translation team.
b611fb81 7396 * po/es.po: Likewise.
a1b560ff 7397
a5b81e1f
UD
73982011-10-28 Ulrich Drepper <drepper@gmail.com>
7399
fd52bc6d
UD
7400 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
7401 the three constants needed as parameters. Drop the others.
7402 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
7403 __m128i_strloadu_tolower.
52e4b9eb
UD
7404 Create and initialize variable zero and use it in all the places
7405 where _mm_setzero_si128 was used.
fd52bc6d 7406
a5b81e1f
UD
7407 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
7408 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
7409 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
7410 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
7411 anymore.
7412 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
7413 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
7414 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
7415 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
7416 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
7417 __mpranred, __mptan.
7418 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
7419 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
7420 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
7421 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
7422 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
7423 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
7424 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
7425 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
7426 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
7427
b4343346
AS
74282011-10-28 Andreas Schwab <schwab@redhat.com>
7429
0c92d8a8
AS
7430 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
7431 redefine if SHARED.
7432 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
7433
b4343346
AS
7434 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
7435 wide char related routines to wcsmbs subdir.
7436
3871f58f
AS
74372011-10-27 Andreas Schwab <schwab@redhat.com>
7438
7439 [BZ #13344]
7440 * misc/sys/cdefs.h (__THROWNL): Define.
7441 * posix/unistd.h: Use __THREADNL instead of __THREAD
7442 for memory synchronization functions.
7443
94d44d9f
RM
74442011-10-26 Roland McGrath <roland@hack.frob.com>
7445
21b64b15 7446 [BZ #13349]
94d44d9f
RM
7447 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
7448 doesn't exist.
7449 * manual/stdio.texi (Obstack Streams): Node removed.
7450
f6ce9294
AS
74512011-10-26 Andreas Schwab <schwab@redhat.com>
7452
80479147
AS
7453 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
7454 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7455 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7456
f6ce9294
AS
7457 * math/math_private.h (math_force_eval): Allow non-addressable
7458 arguments.
7459 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
7460
618280a1
UD
74612011-10-25 Ulrich Drepper <drepper@gmail.com>
7462
e0016b11
UD
7463 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
7464 file is not needed.
7465
7466 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
7467 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7468 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7469 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7470 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7471 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7472 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7473 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
7474 Add AVX variants.
7475 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
7476 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
7477 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
7478 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
7479 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
7480 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
7481 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
7482 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
7483 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
7484 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
7485 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
7486 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
7487 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
7488 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
7489 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
7490 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
7491 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
7492 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
7493 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
7494
7495 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
7496 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
7497
618280a1
UD
7498 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
7499 place. Use VEX encoding when compiling for AVX.
7500
37822576
AS
75012011-10-25 Andreas Schwab <schwab@redhat.com>
7502
1f1e1947
AS
7503 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
7504 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7505
37822576
AS
7506 * string/test-strchr.c (do_test): Don't generate NUL bytes.
7507
31ea014d
UD
75082011-10-25 Ulrich Drepper <drepper@gmail.com>
7509
d7826aa1 7510 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 7511 useless if() expression.
d7826aa1
UD
7512 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7513 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7514 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7515 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7516 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7517 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7518 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7519 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7520 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7521 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7522 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7523 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7524 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7525 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7526 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7527 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7528 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7529 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7530 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7531
31ea014d
UD
7532 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
7533
16437fec
AS
75342011-10-25 Andreas Schwab <schwab@redhat.com>
7535
7536 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
7537 condition.
7538 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7539
31d3cc00
UD
75402011-10-25 Ulrich Drepper <drepper@gmail.com>
7541
7542 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
7543 .text section. Avoid duplicate constants.
7544 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7545 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7546 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7547 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7548 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7549 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7550 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7551 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7552 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7553 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
7554 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7555 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7556 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7557 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7558 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7559 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7560 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7561 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7562 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7563 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7564 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7565 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7566 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7567 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
7568 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
7569 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
7570 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
7571 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
7572 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
7573 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
7574 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
7575 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
7576 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7577 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
7578 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
7579 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
7580 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
7581 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
7582 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
7583 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
7584 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
7585 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
7586 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
7587 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
7588 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
7589
58985aa9
UD
75902011-10-24 Ulrich Drepper <drepper@gmail.com>
7591
202c9deb
UD
7592 * sysdeps/x86_64/dla.h: Move to ...
7593 * sysdeps/x86_64/fpu/dla.h: ...here.
7594 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
7595 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 7596
af968f62
UD
7597 * config.make.in: Add have-mfma4 entry.
7598 * configure.in: Substitute libc_cv_cc_fma4.
7599 * math/Makefile (dbl-only-routines): Add sincostab.
7600 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
7601 Use __sincostab not sincos.
7602 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
7603 name is a macro.
7604 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7605 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7606 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7607 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
7608 using __copysign.
7609 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
7610 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
7611 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
7612 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
7613 and __inv.
7614 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
7615 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
7616 __copysign.
7617 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
7618 define aliases when function name is a macro.
7619 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
7620 sysdeps/ieee754/dbl-64/sincos.tbl.
7621 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
7622 fma4-enabled routines.
7623 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
7624 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
7625 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
7626 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
7627 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
7628 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
7629 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
7630 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
7631 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
7632 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
7633 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
7634 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
7635 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
7636 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
7637 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
7638 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
7639 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
7640 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
7641 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
7642 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
7643 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
7644 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
7645 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
7646 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
7647 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
7648 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
7649 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
7650 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
7651 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
7652 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
7653
58985aa9
UD
7654 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
7655 rename.
7656 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7657 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7658 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7659 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7660 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7661 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7662 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7663 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7664
a201fbcf
AS
76652011-10-24 Andreas Schwab <schwab@redhat.com>
7666
7667 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
7668
fc2ee42a
LD
76692011-10-23 Ulrich Drepper <drepper@gmail.com>
7670
bb3129bd
UD
7671 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
7672
0275fff8
UD
7673 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
7674 prediction.
7675 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
7676
2fa2ae85
UD
7677 * string/strnlen.c: Don't define STRNLEN, reverse logic.
7678 Remove unused variable magic_bits.
7679 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
7680
fc2ee42a
LD
7681 * string/strnlen.c: Define and use STRNLEN macro.
7682 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
7683 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
7684 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
7685 * wcsmbs/wcslen.c: Define and use WCSLEN.
7686 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
7687 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
7688 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
7689 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
7690 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
7691 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
7692 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7693
ce7dd29f
LD
76942011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7695
7696 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7697 strnlen-sse2-no-bsf.
7698 Rename strlen-no-bsf to strlen-sse2-no-bsf.
7699 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
7700 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
7701 Add strnlen support.
7702 (USE_AS_STRNLEN): New macro.
7703 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
7704 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
7705 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
7706 * sysdeps/x86_64/wcslen.S: New file.
7707
979c70a3
MZ
77082011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
7709
7710 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7711 XMM-moves are used for copying on small sizes.
7712
2d09f82f
LD
77132011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7714
7715 * wcsmbs/Makefile (strop-tests): Add wcschr.
7716 * wcsmbs/test-wcschr.c: New file.
7717 * string/test-strchr.c: Update.
7718 Add wcschr support.
7719 (WIDE): New macro.
7720
619fccca
LD
77212011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7722
2d09f82f 7723 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
7724 * wcsmbs/test-wcslen.c: New file.
7725 * string/test-strlen.c: Update.
7726 Add wcslen support.
7727 (WIDE): New macro.
7728
09f699ea
UD
77292011-10-23 Ulrich Drepper <drepper@gmail.com>
7730
7731 * po/it.po: Update from translation team.
7732
95584d3b
LD
77332011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7734
7735 * sysdeps/x86_64/wcscmp.S: Update.
7736 Fix wrong comparison semantics.
7737 wcscmp shall use signed comparison not unsigned.
7738 Don't use substraction to avoid overflow bug.
7739 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
7740 * wcsmbc/wcscmp.c: Likewise.
7741 * string/test-strcmp.c: Likewise.
7742 Add new tests to check cases with negative values.
7743
c8b3296b
UD
77442011-10-23 Ulrich Drepper <drepper@gmail.com>
7745
7746 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
7747 * sysdeps/x86_64/dla.h: ...here. New file.
7748 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
7749 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7750 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7751 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7752 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7753 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7754 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7755 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7756 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7757
246ad57a
AS
77582011-10-23 Andreas Schwab <schwab@linux-m68k.org>
7759
7760 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
7761 __ynl_finite aliases.
7762
a1a87169
UD
77632011-10-22 Ulrich Drepper <drepper@gmail.com>
7764
0d355eb7
UD
7765 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7766
a1a87169
UD
7767 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
7768 define DLA_FMA.
7769 [DLA_FMA] (EMULV): Use DLA_FMA.
7770 [DLA_FMA] (MUL12): Use EMULV.
7771 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
7772 that are not needed.
7773 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7774 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7775 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7776 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7777 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7778 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7779 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7780
ee2aafe0
AS
77812011-10-22 Andreas Schwab <schwab@linux-m68k.org>
7782
7783 * math/s_nan.c: Undef __nan.
7784 * math/s_nanf.c: Undef __nanf.
7785 * math/s_nanl.c: Undef __nanl.
7786 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
7787 "math_private.h".
7788
bc62c2fb
UD
77892011-10-22 Ulrich Drepper <drepper@gmail.com>
7790
77425c63
UD
7791 * math/s_catan.c: Add branch predictions.
7792 * math/s_catanf.c: Likewise.
7793 * math/s_catanh.c: Likewise.
7794 * math/s_catanhf.c: Likewise.
7795 * math/s_catanhl.c: Likewise.
7796 * math/s_catanl.c: Likewise.
7797 * math/s_cexp.c: Likewise.
7798 * math/s_cexpf.c: Likewise.
7799 * math/s_cexpl.c: Likewise.
7800 * math/s_clog.c: Likewise.
7801 * math/s_clog10.c: Likewise.
7802 * math/s_clog10f.c: Likewise.
7803 * math/s_clog10l.c: Likewise.
7804 * math/s_clogf.c: Likewise.
7805 * math/s_clogl.c: Likewise.
7806 * math/s_csqrt.c: Likewise.
7807 * math/s_csqrtf.c: Likewise.
7808 * math/s_csqrtl.c: Likewise.
7809 * math/s_ctanf.c: Likewise.
7810 * math/s_ctanh.c: Likewise.
7811 * math/s_ctanhf.c: Likewise.
7812 * math/s_ctanhl.c: Likewise.
7813 * math/s_ctanl.c: Likewise.
7814
bc62c2fb
UD
7815 * math/math_private.h: Define __nan, __nanf, __nanl.
7816 * math/s_cacosh.c: Include <math_private.h>.
7817 * math/s_cacoshl.c: Likewise.
7818 * math/s_casinh.c: Likewise.
7819 * math/s_casinhf.c: Likewise.
7820 * math/s_casinhl.c: Likewise.
7821 * math/s_ccos.c: Rely entire on ccosh.
7822 * math/s_ccosf.c: Rely entire on ccoshf.
7823 * math/s_ccosl.c: Rely entirely on ccoshl.
7824 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
7825 Remove tests for FE_INVALID.
7826 * math/s_ccoshf.c: Likewise.
7827 * math/s_ccoshl.c: Likewise.
7828 * math/s_csin.c: Likewise.
7829 * math/s_csinf.c: Likewise.
7830 * math/s_csinh.c Likewise.
7831 * math/s_csinhf.c: Likewise.
7832 * math/s_csinhl.c: Likewise.
7833 * math/s_csinl.c: Likewise.
7834 * math/s_ctan.c: Likewise.
7835 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
7836 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
7837 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
7838
8ec250a4
UD
78392011-10-21 Ulrich Drepper <drepper@gmail.com>
7840
c196fed8
UD
7841 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
7842 compilation problems.
7843
8ec250a4
UD
7844 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
7845 __builtin_expect.
7846
8d4f46c6
UD
78472011-10-20 Ulrich Drepper <drepper@gmail.com>
7848
ed72b654
UD
7849 * sysdeps/i386/configure.in: Test for -mfma4 option.
7850 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
7851 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
7852 COMMON_CPUID_INDEX_80000001.
7853 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
7854 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
7855 use it if FMA3 is not supported.
7856 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
7857
8d4f46c6
UD
7858 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
7859 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
7860
d45c60c2
AS
78612011-10-20 Andreas Schwab <schwab@redhat.com>
7862
7863 [BZ #12892]
7864 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
7865 it would create a cycle with a link time dependency.
7866
d9a4d2ab
UD
78672011-10-19 Ulrich Drepper <drepper@gmail.com>
7868
855d1560
UD
7869 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
7870 instruction.
7871 * string/Makefile (strop-tests): Add rawmemchr.
7872 * string/test-rawmemchr.c: New file.
7873
d9a4d2ab
UD
7874 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
7875 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
7876 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
7877 when compiling str{,n}casecmp and when AVX is available. Hook up
7878 new optimized code in initializers.
7879
8f3b1ffe
AS
78802011-10-19 Andreas Schwab <schwab@redhat.com>
7881
7882 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
7883 __feraiseexcept instead of feraiseexcept.
7884
d38f1dba
UD
78852011-10-18 Ulrich Drepper <drepper@gmail.com>
7886
d9a8d0ab
UD
7887 * math/math_private.h: Define defaults for libc_fetestexcept and
7888 libc_feupdateenv.
7889 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
7890 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7891 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7892 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7893 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7894 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7895 libc_fetestexcept and libc_feupdateenv.
7896
4855e3dd
UD
7897 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
7898 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
7899 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
7900 * sysdeps/x86_64/fpu/math_private.h: Define special version of
7901 libc_feholdexcept_setround.
7902
581d30e3
UD
7903 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
7904 Add s_nearbyint-c and s_nearbyintf-c.
7905 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
7906 nearbyintf inlines.
7907 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
7908 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
7909 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
7910 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
7911
d38f1dba
UD
7912 * math/math_private.h: Define defaults for libc_fegetround,
7913 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
7914 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
7915 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
7916 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
7917 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
7918 standard functions.
7919 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7920 Remove comments and hacks for old compiler versions.
7921 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7922 libc_fegetround, libc_fesetround, libc_feholdexcept, and
7923 libc_feholdexceptl.
7924
caa6c9d8
AS
79252011-10-18 Andreas Schwab <schwab@redhat.com>
7926
7927 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
7928 (__feraiseexcept_renamed): Add __NTH.
7929 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
7930 namespace violations.
7931
97c066e6
UD
79322011-10-17 Ulrich Drepper <drepper@gmail.com>
7933
99ce7b04
UD
7934 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
7935
1004d182
UD
7936 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
7937
228a984d
UD
7938 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
7939 recently added interfaces.
7940 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
7941
c8553a6a
UD
7942 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
7943 about macro parameter expansion.
7944
ed22dcf6
UD
7945 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
7946 __NO_MATH_INLINES is defined. Cleanups.
7947
7948 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
7949 and __floorf is target has SSE4.1.
7950 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
7951 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
7952 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
7953 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
7954
b171c137
UD
7955 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
7956 name.
7957 (floorf): Likewise.
7958
97c066e6
UD
7959 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
7960
629f62ef
AS
79612011-10-17 Andreas Schwab <schwab@redhat.com>
7962
49a43d80
AS
7963 * misc/sys/cdefs.h: Fix last change.
7964
629f62ef
AS
7965 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
7966 database lookup.
7967
e453f6cd
UD
79682011-10-16 Ulrich Drepper <drepper@gmail.com>
7969
aa78043a
UD
7970 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
7971
ad0f5cad
UD
7972 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
7973 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7974 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7975 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7976 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7977 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7978 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7979 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7980 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7981 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
7982 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
7983 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
7984 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
7985 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
7986 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
7987 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
7988 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
7989 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
7990 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
7991 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
7992 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
7993 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
7994
7995 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
7996 ceil, ceilf, floor, floorf.
7997
7998 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
7999 Perform IRELATIVE relocations last.
8000
e453f6cd
UD
8001 * elf/do-rel.h: Add another parameter nrelative, replacing the
8002 local variable with the same name. Change name of the function
8003 to end in Rel or Rela (uppercase).
8004 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
8005 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
8006 elf_dynamic_do_##reloc function.
8007
fd5bdc09
UD
80082011-10-15 Ulrich Drepper <drepper@gmail.com>
8009
79b195b5
UD
8010 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
8011 is sufficient, at least on modern CPUs.
8012
d4a28569
UD
8013 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
8014
b61099b5
UD
8015 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
8016 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
8017
bcf01e6d
UD
8018 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
8019 __expl_finite.
8020 * math/bits/math-finite.h: Add entries for exp.
8021 * math/e_expl.c: Add __*_finite alias.
8022 * sysdeps/i386/fpu/e_exp.S: Likewise.
8023 * sysdeps/i386/fpu/e_expf.S: Likewise.
8024 * sysdeps/i386/fpu/e_expl.c: Likewise.
8025 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8026 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8027 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8028 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8029 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
8030 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8031 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8032
ba1a0d59
UD
8033 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
8034 is sufficient, at least on modern CPUs.
8035
fd5bdc09
UD
8036 * ctype/ctype-info.c (__ctype_init): Define.
8037 * include/ctype.h (__ctype_init): Declare.
8038 (__ctype_b_loc): The variable is always initialized.
8039 (__ctype_toupper_loc): Likewise.
8040 (__ctype_tolower_loc): Likewise.
8041 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
8042 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
8043
7872cfb0
AS
80442011-10-15 Andreas Schwab <schwab@linux-m68k.org>
8045
b468825a
AS
8046 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
8047
7872cfb0
AS
8048 * configure.in: Also look in $cxxmachine/include for C++ system
8049 headers.
8050
be13f7bf
LD
80512011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8052
8053 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
8054 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
8055 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
8056 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
8057 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
8058 (USE_AS_WMEMCMP): New macro.
8059 Fixing indents.
8060 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
8061 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
8062 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
8063 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
8064 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8065 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
8066 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
8067 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
8068 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
8069 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
8070 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
8071 (USE_AS_WMEMCMP): New macro.
8072 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
8073 * sysdeps/string/test-memcmp.c: Update.
8074 Fix simple_wmemcmp.
8075 Add new tests.
8076 * wcsmbs/wmemcmp.c: Update.
8077 (WMEMCMP): New macro.
8078 Fix overflow bug.
8079
556a2007
AJ
80802011-10-12 Andreas Jaeger <aj@suse.de>
8081
8082 [BZ #13268]
8083 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
8084
538faaa7
UD
80852011-10-15 Ulrich Drepper <drepper@gmail.com>
8086
ab6737ff
UD
8087 * libio/iofwide.c (do_length): Avoid warning.
8088
538faaa7
UD
8089 * ctype/ctype.h (__isctype_f): Add missing __THROW.
8090
396a21b1
UD
80912011-10-14 Ulrich Drepper <drepper@gmail.com>
8092
cdf2901f
UD
8093 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
8094
38ad40ce
UD
8095 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
8096 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
8097 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
8098 * sysdeps/i386/i686/fpu/e_log.S: New file.
8099 * sysdeps/i386/i686/fpu/e_logf.S: New file.
8100 * sysdeps/i386/i686/fpu/e_logl.S: New file.
8101
396a21b1
UD
8102 * ctype/ctype.h: Add support for inlined isXXX functions when
8103 compiling C++ code.
8104
6b1f68c9
AS
81052011-10-14 Andreas Schwab <schwab@redhat.com>
8106
349290c0
AS
8107 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8108
6b1f68c9
AS
8109 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
8110
f2282d42
RM
81112011-10-13 Roland McGrath <roland@hack.frob.com>
8112
8113 [BZ #13291]
8114 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
8115
5298ffa8
AS
81162011-10-13 Andreas Schwab <schwab@redhat.com>
8117
714fad23
AS
8118 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
8119 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
8120 feraiseexcept.
8121
81dcc7fb
AS
8122 * sysdeps/x86_64/memrchr.S: Check for zero size.
8123
5298ffa8
AS
8124 * string/stratcliff.c: Add memrchr tests.
8125
951fbcec
LD
81262011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8127
8128 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8129 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
8130 rawmemchr-sse2 rawmemchr-sse2-bsf.
8131 * sysdeps/i386/i686/multiarch/memchr.S: New file.
8132 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
8133 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
8134 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
8135 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
8136 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
8137 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
8138 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
8139 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
8140 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
8141 * string/memrchr.c (MEMRCHR): New macro.
8142
0ac5ae23
UD
81432011-10-12 Ulrich Drepper <drepper@gmail.com>
8144
8145 Add integration with gcc's -ffinite-math-only and optimize wrapper
8146 functions in libm.
8147 * Versions.def: Define GLIBC_2.15 version for libm.
8148 * math/Makefile (headers): Add bits/math-finite.h.
8149 * math/bits/math-finite.h: New file.
8150 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
8151 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
8152 * math/e_acoshl.c: Add __*_finite alias.
8153 * math/e_acosl.c: Likewise.
8154 * math/e_asinl.c: Likewise.
8155 * math/e_atan2l.c: Likewise.
8156 * math/e_atanhl.c: Likewise.
8157 * math/e_coshl.c: Likewise.
8158 * math/e_exp10.c: Likewise.
8159 * math/e_exp10f.c: Likewise.
8160 * math/e_exp10l.c: Likewise.
8161 * math/e_exp2l.c: Likewise.
8162 * math/e_fmodl.c: Likewise.
8163 * math/e_gammal_r.c: Likewise.
8164 * math/e_hypotl.c: Likewise.
8165 * math/e_j0l.c: Likewise.
8166 * math/e_j1l.c: Likewise.
8167 * math/e_jnl.c: Likewise.
8168 * math/e_lgammal_r.c: Likewise.
8169 * math/e_log10l.c: Likewise.
8170 * math/e_log2l.c: Likewise.
8171 * math/e_logl.c: Likewise.
8172 * math/e_powl.c: Likewise.
8173 * math/e_sinhl.c: Likewise.
8174 * math/e_sqrtl.c: Likewise.
8175 * math/e_scalb.c: Completely rewritten and optimized.
8176 * math/e_scalbf.c: Likewise.
8177 * math/e_scalbl.c: Likewise.
8178 * math/w_acos.c: Likewise.
8179 * math/w_acosf.c: Likewise.
8180 * math/w_acosl.c: Likewise.
8181 * math/w_acosh.c: Likewise.
8182 * math/w_acoshf.c: Likewise.
8183 * math/w_acoshl.c: Likewise.
8184 * math/w_asin.c: Likewise.
8185 * math/w_asinf.c: Likewise.
8186 * math/w_asinl.c: Likewise.
8187 * math/w_atan2.c: Likewise.
8188 * math/w_atan2f.c: Likewise.
8189 * math/w_atan2l.c: Likewise.
8190 * math/w_atanh.c: Likewise.
8191 * math/w_atanhf.c: Likewise.
8192 * math/w_atanhl.c: Likewise.
8193 * math/w_exp10.c: Likewise.
8194 * math/w_exp10f.c: Likewise.
8195 * math/w_exp10l.c: Likewise.
8196 * math/w_fmod.c: Likewise.
8197 * math/w_fmodf.c: Likewise.
8198 * math/w_fmodl.c: Likewise.
8199 * math/w_j0.c: Likewise.
8200 * math/w_j0f.c: Likewise.
8201 * math/w_j0l.c: Likewise.
8202 * math/w_j1.c: Likewise.
8203 * math/w_j1f.c: Likewise.
8204 * math/w_j1l.c: Likewise.
8205 * math/w_jn.c: Likewise.
8206 * math/w_jnf.c: Likewise.
8207 * math/w_log.c: Likewise.
8208 * math/w_logf.c: Likewise.
8209 * math/w_logl.c: Likewise.
8210 * math/w_log10.c: Likewise.
8211 * math/w_log10f.c: Likewise.
8212 * math/w_log10l.c: Likewise.
8213 * math/w_log2.c: Likewise.
8214 * math/w_log2f.c: Likewise.
8215 * math/w_log2l.c: Likewise.
8216 * math/w_pow.c: Likewise.
8217 * math/w_powf.c: Likewise.
8218 * math/w_powl.c: Likewise.
8219 * math/w_remainder.c: Likewise.
8220 * math/w_remainderf.c: Likewise.
8221 * math/w_remainderl.c: Likewise.
8222 * math/w_scalb.c: Likewise.
8223 * math/w_scalbf.c: Likewise.
8224 * math/w_scalbl.c: Likewise.
8225 * math/w_sqrt.c: Likewise.
8226 * math/w_sqrtf.c: Likewise.
8227 * math/w_sqrtl.c: Likewise.
8228 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
8229 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
8230 used.
8231 * math/math_private.h: Declare __kernel_standard_f.
8232 * math/w_cosh.c: Remove cruft and optimize a bit.
8233 * math/w_coshf.c: Likewise.
8234 * math/w_coshl.c: Likewise.
8235 * math/w_exp2.c: Likewise.
8236 * math/w_exp2f.c: Likewise.
8237 * math/w_exp2l.c: Likewise.
8238 * math/w_hypot.c: Likewise.
8239 * math/w_hypotf.c: Likewise.
8240 * math/w_hypotl.c: Likewise.
8241 * math/w_lgamma.c: Likewise.
8242 * math/w_lgamma_r.c: Likewise.
8243 * math/w_lgammaf.c: Likewise.
8244 * math/w_lgammaf_r.c: Likewise.
8245 * math/w_lgammal.c: Likewise.
8246 * math/w_lgammal_r.c: Likewise.
8247 * math/w_sinh.c: Likewise.
8248 * math/w_sinhf.c: Likewise.
8249 * math/w_sinhl.c: Likewise.
8250 * math/w_tgamma.c: Likewise.
8251 * math/w_tgammaf.c: Likewise.
8252 * math/w_tgammal.c: Likewise.
8253 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8254 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8255 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
8256 Minor optimizations. Pretty printing. Remove cruft.
8257 * sysdeps/i386/fpu/e_acosf.S: Likewise.
8258 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8259 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8260 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8261 * sysdeps/i386/fpu/e_acosl.c: Likewise.
8262 * sysdeps/i386/fpu/e_asin.S: Likewise.
8263 * sysdeps/i386/fpu/e_asinf.S: Likewise.
8264 * sysdeps/i386/fpu/e_atan2.S: Likewise.
8265 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
8266 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
8267 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8268 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8269 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8270 * sysdeps/i386/fpu/e_exp10.S: Likewise.
8271 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
8272 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
8273 * sysdeps/i386/fpu/e_exp2.S: Likewise.
8274 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
8275 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
8276 * sysdeps/i386/fpu/e_fmod.S: Likewise.
8277 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
8278 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
8279 * sysdeps/i386/fpu/e_hypot.S: Likewise.
8280 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
8281 * sysdeps/i386/fpu/e_log.S: Likewise.
8282 * sysdeps/i386/fpu/e_log10.S: Likewise.
8283 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8284 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8285 * sysdeps/i386/fpu/e_log2.S: Likewise.
8286 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8287 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8288 * sysdeps/i386/fpu/e_logf.S: Likewise.
8289 * sysdeps/i386/fpu/e_logl.S: Likewise.
8290 * sysdeps/i386/fpu/e_pow.S: Likewise.
8291 * sysdeps/i386/fpu/e_powf.S: Likewise.
8292 * sysdeps/i386/fpu/e_powl.S: Likewise.
8293 * sysdeps/i386/fpu/e_remainder.S: Likewise.
8294 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
8295 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
8296 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8297 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8298 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8299 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
8300 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
8301 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
8302 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8303 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8304 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8305 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8306 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8307 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8308 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8309 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8310 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8311 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8312 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8313 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8314 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8315 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8316 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8317 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8318 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8319 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8320 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8321 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8322 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8323 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8324 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8325 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8326 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8327 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8328 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8329 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8330 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8331 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8332 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8333 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8334 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8335 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8336 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8337 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8338 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8339 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8340 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8341 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8342 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8343 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8344 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8345 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8346 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8347 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8348 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8349 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8350 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8351 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8352 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8353 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8354 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8355 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8356 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8357 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8358 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8359 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8360 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8361 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8362 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8363 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8364 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8365 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8366 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8367 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8368 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8369 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8370 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8371 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8372 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8373 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8374 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8375 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8376 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8377 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8378 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8379 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8380 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8381 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8382 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8383 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8384 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8385 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8386 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8387 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8388 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8389 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8390 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8391 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8392 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8393 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8394 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8395 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8396 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8397 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8398 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8399 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
8400 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
8401 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
8402 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
8403 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
8404 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
8405 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
8406 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8407 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8408 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8409 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8410 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
8411 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8412 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
8413 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
8414 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
8415 (__isnanf): Likewise.
8416 (__isinf_ns): Likewise.
8417 (__isinf_nsf): Likewise.
8418 (__finite): Likewise.
8419 (__finitef): Likewise.
8420 (__ieee754_sqrt): Define as macro.
8421 (__ieee754_sqrtf): Define as macro.
8422 (__ieee754_sqrtl): Define as macro.
8423 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
8424 inlined copy.
8425 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
8426 __FINITE_MATH_ONLY__ consistent.
8427 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
8428
12cc2fcd
AS
84292011-10-10 Andreas Schwab <schwab@linux-m68k.org>
8430
a843a204
AS
8431 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
8432 of rawmemchr.
8433
12cc2fcd
AS
8434 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
8435
c853acd5
UD
84362011-10-09 Ulrich Drepper <drepper@gmail.com>
8437
8438 * po/ja.po: Update from translation team.
8439
c658d255
RM
84402011-10-08 Roland McGrath <roland@hack.frob.com>
8441
110946e4
RM
8442 * locale/programs/locarchive.c (prepare_address_space): New function.
8443 (create_archive, enlarge_archive, open_archive): Use it.
8444
50604220
RM
8445 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
8446 inside [SHARED], where it is used.
8447
c658d255
RM
8448 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
8449
8450 * nss/getent.c (netgroup_keys): Remove unused variable.
8451 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8452
6a621eb7
UD
84532011-10-08 Ulrich Drepper <drepper@gmail.com>
8454
7edb55ce
UD
8455 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
8456 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
8457 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
8458 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
8459 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
8460 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
8461 * math/Makefile (libm-calls): Add s_isinf_ns.
8462 * math/divtc3.c: Use __isinf_nsl instead of isinf.
8463 * math/multc3.c: Likewise.
8464 * math/s_casin.c: Likewise.
8465 * math/s_casinf.c: Likewise.
8466 * math/s_casinl.c: Likewise.
8467 * math/s_ccos.c: Likewise.
8468 * math/s_ccosf.c: Likewise.
8469 * math/s_ccosl.c: Likewise.
8470 * math/s_ctan.c: Likewise.
8471 * math/s_ctanf.c: Likewise.
8472 * math/s_ctanh.c: Likewise.
8473 * math/s_ctanhf.c: Likewise.
8474 * math/s_ctanhl.c: Likewise.
8475 * math/s_ctanl.c: Likewise.
8476 * math/w_fmod.c: Likewise.
8477 * math/w_fmodf.c: Likewise.
8478 * math/w_fmodl.c: Likewise.
8479 * math/w_remainder.c: Likewise.
8480 * math/w_remainderf.c: Likewise.
8481 * math/w_remainderl.c: Likewise.
8482 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
8483 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
8484 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
8485 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
8486 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
8487 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
8488 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
8489 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
8490
187da0ae
UD
8491 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
8492 of the number.
8493 * stdio-common/printf_fphex.c: Likewise.
8494 * stdio-common/printf_size.c: Likewise.
8495
9277c064
UD
8496 * math/e_exp10.c: Include math_private.h using <...> not "...".
8497 * math/e_exp10f.c: Likewise.
8498 * math/e_exp10l.c: Likewise.
8499 * math/e_exp2l.c: Likewise.
8500 * math/e_j0l.c: Likewise.
8501 * math/e_j1l.c: Likewise.
8502 * math/e_jnl.c: Likewise.
8503 * math/e_lgammal_r.c: Likewise.
8504 * math/e_rem_pio2l.c: Likewise.
8505 * math/e_scalb.c: Likewise.
8506 * math/e_scalbf.c: Likewise.
8507 * math/e_scalbl.c: Likewise.
8508 * math/k_cosl.c: Likewise.
8509 * math/k_sinl.c: Likewise.
8510 * math/k_tanl.c: Likewise.
8511 * math/s_cacoshf.c: Likewise.
8512 * math/s_catan.c: Likewise.
8513 * math/s_catanf.c: Likewise.
8514 * math/s_catanh.c: Likewise.
8515 * math/s_catanhf.c: Likewise.
8516 * math/s_catanhl.c: Likewise.
8517 * math/s_catanl.c: Likewise.
8518 * math/s_ccosh.c: Likewise.
8519 * math/s_ccoshf.c: Likewise.
8520 * math/s_ccoshl.c: Likewise.
8521 * math/s_cexp.c: Likewise.
8522 * math/s_cexpf.c: Likewise.
8523 * math/s_cexpl.c: Likewise.
8524 * math/s_clog.c: Likewise.
8525 * math/s_clog10.c: Likewise.
8526 * math/s_clog10f.c: Likewise.
8527 * math/s_clog10l.c: Likewise.
8528 * math/s_clogf.c: Likewise.
8529 * math/s_clogl.c: Likewise.
8530 * math/s_csin.c: Likewise.
8531 * math/s_csinf.c: Likewise.
8532 * math/s_csinh.c: Likewise.
8533 * math/s_csinhf.c: Likewise.
8534 * math/s_csinhl.c: Likewise.
8535 * math/s_csinl.c: Likewise.
8536 * math/s_csqrt.c: Likewise.
8537 * math/s_csqrtf.c: Likewise.
8538 * math/s_csqrtl.c: Likewise.
8539 * math/s_ctan.c: Likewise.
8540 * math/s_ctanf.c: Likewise.
8541 * math/s_ctanh.c: Likewise.
8542 * math/s_ctanhf.c: Likewise.
8543 * math/s_ctanhl.c: Likewise.
8544 * math/s_ctanl.c: Likewise.
8545 * math/s_ldexp.c: Likewise.
8546 * math/s_ldexpf.c: Likewise.
8547 * math/s_ldexpl.c: Likewise.
8548 * math/s_significand.c: Likewise.
8549 * math/s_significandf.c: Likewise.
8550 * math/s_significandl.c: Likewise.
8551 * math/w_acos.c: Likewise.
8552 * math/w_acosf.c: Likewise.
8553 * math/w_acosh.c: Likewise.
8554 * math/w_acoshf.c: Likewise.
8555 * math/w_acoshl.c: Likewise.
8556 * math/w_acosl.c: Likewise.
8557 * math/w_asin.c: Likewise.
8558 * math/w_asinf.c: Likewise.
8559 * math/w_asinl.c: Likewise.
8560 * math/w_atan2.c: Likewise.
8561 * math/w_atan2f.c: Likewise.
8562 * math/w_atan2l.c: Likewise.
8563 * math/w_atanh.c: Likewise.
8564 * math/w_atanhf.c: Likewise.
8565 * math/w_atanhl.c: Likewise.
8566 * math/w_cosh.c: Likewise.
8567 * math/w_coshf.c: Likewise.
8568 * math/w_coshl.c: Likewise.
8569 * math/w_dremf.c: Likewise.
8570 * math/w_exp10.c: Likewise.
8571 * math/w_exp10f.c: Likewise.
8572 * math/w_exp10l.c: Likewise.
8573 * math/w_exp2.c: Likewise.
8574 * math/w_exp2f.c: Likewise.
8575 * math/w_fmod.c: Likewise.
8576 * math/w_fmodf.c: Likewise.
8577 * math/w_fmodl.c: Likewise.
8578 * math/w_hypot.c: Likewise.
8579 * math/w_hypotf.c: Likewise.
8580 * math/w_hypotl.c: Likewise.
8581 * math/w_j0.c: Likewise.
8582 * math/w_j0f.c: Likewise.
8583 * math/w_j0l.c: Likewise.
8584 * math/w_j1.c: Likewise.
8585 * math/w_j1f.c: Likewise.
8586 * math/w_j1l.c: Likewise.
8587 * math/w_jn.c: Likewise.
8588 * math/w_jnf.c: Likewise.
8589 * math/w_jnl.c: Likewise.
8590 * math/w_lgamma.c: Likewise.
8591 * math/w_lgamma_r.c: Likewise.
8592 * math/w_lgammaf.c: Likewise.
8593 * math/w_lgammaf_r.c: Likewise.
8594 * math/w_lgammal.c: Likewise.
8595 * math/w_lgammal_r.c: Likewise.
8596 * math/w_log.c: Likewise.
8597 * math/w_log10.c: Likewise.
8598 * math/w_log10f.c: Likewise.
8599 * math/w_log10l.c: Likewise.
8600 * math/w_log2.c: Likewise.
8601 * math/w_log2f.c: Likewise.
8602 * math/w_log2l.c: Likewise.
8603 * math/w_logf.c: Likewise.
8604 * math/w_logl.c: Likewise.
8605 * math/w_pow.c: Likewise.
8606 * math/w_powf.c: Likewise.
8607 * math/w_powl.c: Likewise.
8608 * math/w_remainder.c: Likewise.
8609 * math/w_remainderf.c: Likewise.
8610 * math/w_remainderl.c: Likewise.
8611 * math/w_scalb.c: Likewise.
8612 * math/w_scalbf.c: Likewise.
8613 * math/w_scalbl.c: Likewise.
8614 * math/w_sinh.c: Likewise.
8615 * math/w_sinhf.c: Likewise.
8616 * math/w_sinhl.c: Likewise.
8617 * math/w_sqrt.c: Likewise.
8618 * math/w_sqrtf.c: Likewise.
8619 * math/w_sqrtl.c: Likewise.
8620 * math/w_tgamma.c: Likewise.
8621 * math/w_tgammaf.c: Likewise.
8622 * math/w_tgammal.c: Likewise.
8623
6a621eb7
UD
8624 * po/ja.po: Update from translation team.
8625
bf582445
AJ
86262011-09-29 Andreas Jaeger <aj@suse.de>
8627
f9efbf3a
AJ
8628 [BZ #13179]
8629 * sunrpc/netname.c (netname2host): Fix logic.
8630
bf582445
AJ
8631 [BZ #6779]
8632 [BZ #6783]
8633 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
8634 correctly.
8635 * math/w_remainder.c (__remainder): Likewise.
8636 * math/w_remainderf.c (__remainderf): Likewise.
8637 * math/libm-test.inc (remainder_test): Add test cases.
8638
48693bea
AK
86392011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8640
8641 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
8642 sdiv_qrnnd.
8643
42622229
LD
86442011-10-07 Ulrich Drepper <drepper@gmail.com>
8645
8646 * string/test-memcmp.c: Avoid unncessary #defines.
8647 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8648
093ecf92
LD
86492011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8650
8651 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
8652 Use new sse2 version for core i3 - i7 as it's faster
8653 than sse42 version.
8654 (bit_Prefer_PMINUB_for_stringop): New.
8655 * sysdeps/x86_64/rawmemchr.S: Update.
8656 Replace with faster SSE2 version.
8657 * sysdeps/x86_64/memrchr.S: New file.
8658 * sysdeps/x86_64/memchr.S: Update.
8659 Replace with faster SSE2 version.
8660
fde56e5c
MP
86612011-09-12 Marek Polacek <mpolacek@redhat.com>
8662
8663 * elf/dl-load.c (lose): Add cast to avoid warning.
8664
21fd49a9
UD
86652011-10-07 Ulrich Drepper <drepper@gmail.com>
8666
5a06e643
UD
8667 * po/ca.po: Update from translation team.
8668
684ae515
UD
8669 * inet/getnetgrent_r.c: Hook up nscd.
8670 * nscd/Makefile (routines): Add nscd_netgroup.
8671 (nscd-modules): Add netgroupcache.
8672 (CFLAGS-netgroupcache.c): Define.
8673 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
8674 (cache_search): Add const to second parameter.
8675 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
8676 INNETGR.
8677 (dbs): Add netgrdb entry.
8678 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
8679 (verify_persistent_db): Handle netgrdb.
8680 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
8681 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
8682 GETFDNETGR.
8683 (netgroup_response_header): Define.
8684 (innetgroup_response_header): Define.
8685 (datahead): Add netgroup_response_header and innetgroup_response_header
8686 elements.
8687 * nscd/nscd.conf: Add entries for netgroup cache.
8688 * nscd/nscd.h (dbtype): Add netgrdb.
8689 (_PATH_NSCD_NETGROUP_DB): Define.
8690 (netgroup_iov_disabled): Declare.
8691 (xmalloc, xcalloc, xrealloc): Move declarations here.
8692 (cache_search): Adjust prototype.
8693 Add netgroup-related prototypes.
8694 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
8695 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
8696 (__nscd_innetgr): Declare.
8697 * nscd/selinux.c (perms): Use access_vector_t as element type and
8698 add netgroup-related initializers.
8699 * nscd/netgroupcache.c: New file.
8700 * nscd/nscd_netgroup.c: New file.
8701 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
8702 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
8703 For four parameters use innetgr.
8704 * nss/nss_files/files-init.c: Add definition and callback for netgr.
8705 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
8706 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
8707 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
8708
21fd49a9
UD
8709 * nscd/connections.c (register_traced_file): Don't register file
8710 for disabled databases.
8711
054c0457
UD
87122011-10-06 Ulrich Drepper <drepper@gmail.com>
8713
32b63198
UD
8714 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
8715
054c0457
UD
8716 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
8717 from tree and freeing node.
8718
64031225
JO
87192011-09-25 Jiri Olsa <jolsa@redhat.com>
8720
8721 * nss/nsswitch.c (__nss_database_lookup): Handle
8722 nss_parse_service_list out of memory case.
8723
0490345c
JO
87242011-09-15 Jiri Olsa <jolsa@redhat.com>
8725
8726 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
8727 out of memory case.
8728
3a62d00d
AS
87292011-10-04 Andreas Schwab <schwab@redhat.com>
8730
8731 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
8732 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
8733 pass it down.
8734 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
8735 elf_machine_rela, elf_machine_lazy_rel.
8736 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
8737 (ELF_DYNAMIC_DO_REL): Likewise.
8738 (ELF_DYNAMIC_DO_RELA): Likewise.
8739 (ELF_DYNAMIC_RELOCATE): Likewise.
8740 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
8741 to ELF_DYNAMIC_DO_REL.
8742 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
8743 (dl_main): In trace mode always set __RTLD_NOIFUNC.
8744 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
8745 elf_machine_rela.
8746 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
8747 skip_ifunc, don't call ifunc function if non-zero.
8748 (elf_machine_rela): Likewise.
8749 (elf_machine_lazy_rel): Likewise.
8750 (elf_machine_lazy_rela): Likewise.
8751 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
8752 (elf_machine_lazy_rel): Likewise.
8753 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
8754 Likewise.
8755 (elf_machine_lazy_rel): Likewise.
8756 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8757 Likewise.
8758 (elf_machine_lazy_rel): Likewise.
8759 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
8760 (elf_machine_lazy_rel): Likewise.
8761 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
8762 (elf_machine_lazy_rel): Likewise.
8763 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8764 (elf_machine_lazy_rel): Likewise.
8765 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
8766 (elf_machine_lazy_rel): Likewise.
8767 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
8768 (elf_machine_lazy_rel): Likewise.
8769 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8770 (elf_machine_lazy_rel): Likewise.
8771
68577918
UD
87722011-09-28 Ulrich Drepper <drepper@gmail.com>
8773
8774 * nss/nss_files/files-init.c (_nss_files_init): Use static
8775 initialization for all the *_traced_file variables.
8776
68822d74
AS
87772011-09-28 Andreas Schwab <schwab@redhat.com>
8778
8779 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8780
2056100b
RM
87812011-09-27 Roland McGrath <roland@hack.frob.com>
8782
8783 [BZ #13226]
8784 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
8785
32c76b63
AS
87862011-09-27 Andreas Schwab <schwab@redhat.com>
8787
8788 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8789 Reread the line before reparsing it.
8790
bf972c9d
AS
87912011-09-26 Andreas Schwab <schwab@redhat.com>
8792
8793 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
8794
e057a1b5
JM
87952011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
8796 Maxim Kuvyrkov <maxim@codesourcery.com>
8797 Joseph Myers <joseph@codesourcery.com>
8798
8799 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
8800 if needed for __stack_chk_guard.
8801
bc7e1c36
RM
88022011-09-19 Roland McGrath <roland@hack.frob.com>
8803
ecb1482f
RM
8804 * sysdeps/posix/spawni.c (script_execute): Always define it.
8805 It will be optimized away if unused.
8806 (maybe_script_execute): New function.
8807 (__spawni): Call it.
8808
bc7e1c36
RM
8809 * Makerules: Don't include tls.make.
8810 (config-tls): Always set to thread.
8811 * tls.make.c: File removed.
8812
1c3b002b
MF
88132011-09-19 Mike Frysinger <vapier@gentoo.org>
8814
8815 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
8816 * config.make.in (CPPFLAGS-config): New substituted variable.
8817
2840865d
UD
88182011-09-15 Ulrich Drepper <drepper@gmail.com>
8819
88738eb6
UD
8820 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
8821
cbf645a6 8822 [BZ #13192]
2840865d
UD
8823 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
8824 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
8825
b402e91a
RM
88262011-09-15 Roland McGrath <roland@hack.frob.com>
8827
8828 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
8829 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
8830 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
8831 (CALL_FAIL): Likewise.
8832 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
8833 (CALL_FAIL): Macro removed.
8834 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
8835
4c1a1f71
UD
88362011-09-15 Ulrich Drepper <drepper@gmail.com>
8837
8838 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
8839 for __FINITE_MATH_ONLY__ == 1.
8840
edc121be
AS
88412011-09-15 Andreas Schwab <schwab@redhat.com>
8842
8843 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
8844 __ieee754_sqrt instead of sqrt.
8845 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
8846 __ieee754_sqrtf instead of sqrtf.
8847 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
8848 __floorf instead of floorf.
8849 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
8850 __floorf, __truncf instead of floorf, truncf.
8851
cd205654
UD
88522011-09-14 Ulrich Drepper <drepper@gmail.com>
8853
ee4d0315
UD
8854 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
8855
cd205654
UD
8856 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
8857 __extern_always_inline.
8858 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
8859 32-bit.
8860
48b67d71
AS
88612011-09-14 Andreas Schwab <schwab@redhat.com>
8862
8863 * elf/rtld.c (dl_main): Also relocate in dependency order when
8864 doing symbol dependency testing.
8865
1ae12c75
AS
88662011-09-13 Andreas Schwab <schwab@linux-m68k.org>
8867
8868 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8869 Always define `refsym'.
8870
995a80df
AS
88712011-09-13 Andreas Schwab <schwab@redhat.com>
8872
e529793b
AS
8873 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
8874 (__FD_ELT): Renamed from __FDELT.
8875 * misc/bits/select2.h (__FD_ELT): Likewise.
8876 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
8877 __FD_MASK instead of __FDELT, __FDMASK.
8878 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8879 Likewise.
8880 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8881 Likewise.
8882
52d4fef8
AS
8883 * elf/Makefile (gen-ldd): Fix pattern.
8884
995a80df
AS
8885 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
8886 (init_tls): Likewise.
8887
8682f8b0
UD
88882011-09-12 Ulrich Drepper <drepper@gmail.com>
8889
8890 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
8891
de82006d
AS
88922011-09-12 Andreas Schwab <schwab@redhat.com>
8893
a7c8e6a1
AS
8894 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
8895 `struct cmsghdr *' instead of `void *'.
8896 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
8897 Likewise.
8898
0f31fe77
AS
88992011-09-11 Andreas Schwab <schwab@linux-m68k.org>
8900
8901 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
8902 if non-absolute.
8903 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
8904 ldd_rewrite_script.
0f31fe77 8905
32b4c839
UD
89062011-09-11 Ulrich Drepper <drepper@gmail.com>
8907
83cd1420
UD
8908 * configure.in: Remove --with-tls option.
8909 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
8910 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
8911 out in case it is missing.
8912 * sysdeps/ia64/elf/configure.in: Likewise.
8913 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
8914 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
8915 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
8916 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
8917 * sysdeps/sh/elf/configure.in: Likewise.
8918 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
8919 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8920 * sysdeps/x86_64/elf/configure.in: Likewise.
8921 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
8922 * sysdeps/mach/hurd/tls.h: Likewise.
8923
633f745d
UD
8924 [BZ #13067]
8925 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
8926
f318beb8
UD
8927 [BZ #13090]
8928 * configure.in: Fix use of AC_INIT.
8929
32b4c839
UD
8930 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
8931
3ce1f295
UD
89322011-09-10 Ulrich Drepper <drepper@gmail.com>
8933
bb016596
UD
8934 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
8935 __set_errno.
8e58439c
UD
8936 * malloc/hooks.c: Likewise.
8937
aebae053 8938 [BZ #11929]
02d46fc4
UD
8939 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
8940 variables statically.
8941 (narenas): Initialize.
8942 (list_lock): Initialize.
bb016596
UD
8943 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
8944 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
8945 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
8946 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
8947 Add initializers to main_arena and mp_.
8948 (malloc_state): Remove pagesize member. Change all users to use
8949 GLRO(dl_pagesize).
8950
8951 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
8952 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
8953 is always initialized.
8954
22a89187
UD
8955 * malloc/malloc.c: Removed unused configurations and dead code.
8956 * malloc/arena.c: Likewise.
8957 * malloc/hooks.c: Likewise.
02d46fc4 8958 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 8959
d063d164
UD
8960 * include/tls.h: Removed. USE___THREAD must always be defined.
8961 * bits/libc-tsd.h: Don't handle !USE___THREAD.
8962 * elf/dl-libc.c: Likewise.
8963 * elf/dl-tsd.c: Likewise.
8964 * include/errno.h: Likewise.
8965 * include/netdb.h: Likewise.
8966 * include/resolv.h: Likewise.
8967 * inet/herrno-loc.c: Likewise.
8968 * inet/herrno.c: Likewise.
8969 * malloc/arena.c: Likewise.
8970 * malloc/hooks.c: Likewise.
8971 * malloc/malloc.c: Likewise.
8972 * resolv/res-state.c: Likewise.
8973 * resolv/res_libc.c: Likewise.
8974 * sysdeps/i386/dl-machine.h: Likewise.
8975 * sysdeps/ia64/dl-machine.h: Likewise.
8976 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8977 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8978 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8979 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8980 * sysdeps/sh/dl-machine.h: Likewise.
8981 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8982 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8983 * sysdeps/unix/i386/sysdep.S: Likewise.
8984 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8985 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
8986 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
8987 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8988 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
8989 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8990 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8991 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8992 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8993 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8994 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8995 * sysdeps/x86_64/dl-machine.h: Likewise.
8996 * tls.make.c: Likewise.
8997
3ce1f295
UD
8998 * configure.in: Remove --with-__thread option. Make tests for
8999 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
9000 tls_model attribute fail if no support is available. Remove
9001 USE_IN_LIBIO.
9002 * Makeconfig: Adjust for dropped configure option. All features are
9003 now mandatory.
9004 * Makerules: Likewise.
9005 * Versions.def: Likewise.
9006 * argp/argp-fmtstream.c: Likewise.
9007 * argp/argp-fmtstream.h: Likewise.
9008 * argp/argp-help.c: Likewise.
9009 * assert/assert.c: Likewise.
9010 * config.h.in: Likewise.
9011 * config.make.in: Likewise.
9012 * configure: Likewise.
9013 * configure.in: Likewise.
9014 * csu/Versions: Likewise.
9015 * csu/init.c: Likewise.
9016 * elf/tst-audit2.c: Likewise.
9017 * elf/tst-tls10.c: Likewise.
9018 * elf/tst-tls10.h: Likewise.
9019 * elf/tst-tls11.c: Likewise.
9020 * elf/tst-tls12.c: Likewise.
9021 * elf/tst-tls14.c: Likewise.
9022 * elf/tst-tlsmod11.c: Likewise.
9023 * elf/tst-tlsmod12.c: Likewise.
9024 * elf/tst-tlsmod13.c: Likewise.
9025 * elf/tst-tlsmod13a.c: Likewise.
9026 * elf/tst-tlsmod14a.c: Likewise.
9027 * elf/tst-tlsmod15b.c: Likewise.
9028 * elf/tst-tlsmod16a.c: Likewise.
9029 * elf/tst-tlsmod16b.c: Likewise.
9030 * elf/tst-tlsmod7.c: Likewise.
9031 * elf/tst-tlsmod8.c: Likewise.
9032 * elf/tst-tlsmod9.c: Likewise.
9033 * gmon/gmon.c: Likewise.
9034 * grp/fgetgrent_r.c: Likewise.
9035 * grp/putgrent.c: Likewise.
9036 * hurd/fopenport.c: Likewise.
9037 * include/libc-symbols.h: Likewise.
9038 * include/tls.h: Likewise.
9039 * intl/gettextP.h: Likewise.
9040 * intl/loadinfo.h: Likewise.
9041 * locale/global-locale.c: Likewise.
9042 * locale/localeinfo.h: Likewise.
9043 * mach/devstream.c: Likewise.
9044 * malloc/arena.c: Likewise.
9045 * malloc/set-freeres.c: Likewise.
9046 * misc/err.c: Likewise.
9047 * misc/getttyent.c: Likewise.
9048 * misc/mntent_r.c: Likewise.
9049 * posix/getopt.c: Likewise.
9050 * posix/wordexp.c: Likewise.
9051 * pwd/fgetpwent_r.c: Likewise.
9052 * resolv/Versions: Likewise.
9053 * resolv/res_hconf.c: Likewise.
9054 * shadow/fgetspent_r.c: Likewise.
9055 * shadow/putspent.c: Likewise.
9056 * stdio-common/printf_fphex.c: Likewise.
9057 * stdio-common/tmpfile.c: Likewise.
9058 * stdlib/abort.c: Likewise.
9059 * stdlib/fmtmsg.c: Likewise.
9060 * sunrpc/auth_unix.c: Likewise.
9061 * sunrpc/clnt_perr.c: Likewise.
9062 * sunrpc/clnt_tcp.c: Likewise.
9063 * sunrpc/clnt_udp.c: Likewise.
9064 * sunrpc/clnt_unix.c: Likewise.
9065 * sunrpc/openchild.c: Likewise.
9066 * sunrpc/svc_simple.c: Likewise.
9067 * sunrpc/svc_tcp.c: Likewise.
9068 * sunrpc/svc_udp.c: Likewise.
9069 * sunrpc/svc_unix.c: Likewise.
9070 * sunrpc/xdr.c: Likewise.
9071 * sunrpc/xdr_array.c: Likewise.
9072 * sunrpc/xdr_rec.c: Likewise.
9073 * sunrpc/xdr_ref.c: Likewise.
9074 * sunrpc/xdr_stdio.c: Likewise.
9075
1248c1c4
PB
90762011-09-09 Ulrich Drepper <drepper@gmail.com>
9077
9078 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9079
90802011-07-03 Andreas Jaeger <aj@suse.de>
9081
9082 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
9083 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
9084 regenerate with gen-libm-tests.pl.
9085
90862010-05-12 Petr Baudis <pasky@suse.cz>
9087
9088 [BZ #11589]
9089 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
9090 around j0() zero points by switching to j1().
9091 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9092 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9093 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9094 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9095
f22e1074
UD
90962011-09-09 Ulrich Drepper <drepper@gmail.com>
9097
f19009c1
UD
9098 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
9099 instead of 0.
9100 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
9101 instead of 0. .
9102 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9103 Patch in part by Pavel Roskin <proski@gnu.org>.
9104
3f8cc204
UD
9105 [BZ #13138]
9106 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
9107 realloc.
9108 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
9109 Free memory block if necessary.
9110
f22e1074
UD
9111 [BZ #12847]
9112 * libio/genops.c (INTDEF): For string streams the _lock pointer can
9113 be NULL. Don't lock in this case.
9114
0a2349f9
RM
91152011-09-09 Roland McGrath <roland@hack.frob.com>
9116
9117 * elf/elf.h (ELFOSABI_GNU): New macro.
9118 (ELFOSABI_LINUX): Define to that.
9119
f3cdd467
DZ
91202011-07-29 Denis Zaitceff <zaitceff@gmail.com>
9121
9122 * string/strncat.c (strncat): Undef the symbol in case it has been
9123 defined in bits/string.h.
9124
74718d13
UD
91252011-09-09 Ulrich Drepper <drepper@gmail.com>
9126
633e9e0f
UD
9127 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
9128
0a2349f9 9129 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
9130 link map.
9131
f9924780
AJ
91322011-08-17 Andreas Jaeger <aj@suse.de>
9133
9134 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
9135
7f5517aa
PP
91362011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9137 Ian Lance Taylor <iant@google.com>
9138
9139 * math/libm-test.inc (lround_test): New testcase.
9140 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
9141
762011fe
UD
91422011-09-08 Ulrich Drepper <drepper@gmail.com>
9143
92963737
UD
9144 * Makefile: Remove support for automatic cvs check-ins.
9145 * Makerules: Likewise.
9146 * config.make.in: Likewise.
9147 * configure.in: Likewise.
9148 * intl/Makefile: Likewise.
9149 * locale/Makefile: Likewise.
9150 * po/Makefile: Likewise.
9151 * posix/Makefile: Likewise.
9152 * sysdeps/gnu/Makefile: Likewise.
9153 * sysdeps/mach/hurd/Makefile: Likewise.
9154 * sysdeps/sparc/sparc32/Makefile: Likewise.
9155
b0727fd8
JS
9156 [BZ #13118]
9157 * posix/Makefile (bug-regex32-ENV): Define.
9158 Patch by John Stanley <jpsinthemix@verizon.net>.
9159
a0f33f99
UD
9160 * misc/Makefile (headers): Add bits/select2.h.
9161 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
9162 * misc/bits/select2.h: New file.
9163 * include/bits/select2.h: New file.
9164 * debug/Makefile (routines): Add fdelt_chk.
9165 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
9166 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
9167 FD_ISSET.
9168 * debug/fdelt_chk.c: New file.
9169
762011fe
UD
9170 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
9171 * wcsmbs/test-wmemcmp.c: Likewise.
9172 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 9173 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
9174
91752011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9176
9177 * string/Makefile (strop-tests): Add memcmp.
9178 * string/test-wmemcmp.c: New file.
9179 * string/test-memcmp.c: Add wmemcmp support.
9180
7f513ec8
RM
91812011-09-08 Roland McGrath <roland@hack.frob.com>
9182
0442afb4
RM
9183 [BZ #13153]
9184 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
9185 2011-07-19 change.
9186
7f513ec8
RM
9187 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
9188 garbage value in a __mach_port_mod_refs call in the cases of the
9189 task-self and thread-self ports.
9190
a12b2239
ST
91912011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
9192
9193 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
9194
610f9ab4
AS
91952011-09-08 Andreas Schwab <schwab@redhat.com>
9196
7f513ec8 9197 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 9198
48882a1a
LD
91992011-09-07 Ulrich Drepper <drepper@gmail.com>
9200
b49865be
UD
9201 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
9202
fdc86bc9
UD
9203 * elf/dl-libc.c (dlerror_run): Pass back error code from
9204 dl_catch_error.
9205
c966526a
UD
9206 [BZ #13123]
9207 * elf/dl-load.c (lose): Free l_origin if it is valid.
9208
48882a1a
LD
9209 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
9210 names.
9211 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9212 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9213 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9214 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9215 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9216 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
9217
77a2a8b4
AZ
92182011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9219
9220 * sysdeps/powerpc/fpu/e_hypot.c: New file.
9221 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
9222 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
9223 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
9224 * sysdeps/powerpc/fpu/k_cosf.c: New file.
9225 * sysdeps/powerpc/fpu/k_sinf.c: New file.
9226 * sysdeps/powerpc/fpu/s_cosf.c: New file.
9227 * sysdeps/powerpc/fpu/s_sinf.c: New file.
9228 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
9229 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
9230
24f579d8
AM
92312011-08-15 Alan Modra <amodra@gmail.com>
9232
9233 [BZ #13092]
9234 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
9235 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
9236 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
9237 ppc_mcount to static-only-routines.
9238 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
9239 __mcount_internal.
9240 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
9241 __mcount_internal with usual JUMPTARGET. Remove useless nop.
9242
3d4837df
UD
92432011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
9244
9245 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
9246 for finite and infinity parameters.
9247
22700377
WS
92482011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9249
9250 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
9251 and add nop instructions for throughput optimization.
9252 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9253
5025581e
WS
92542011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
9255
9256 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
9257 aligned copy for power7 with vector-scalar instructions.
9258 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9259
08a300c9
L
92602011-07-24 H.J. Lu <hongjiu.lu@intel.com>
9261
9262 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
9263 AVX check.
9264
59178ef9
AS
92652011-09-07 Andreas Schwab <schwab@redhat.com>
9266
9267 [BZ #13144]
9268 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
9269 last change.
9270
e38ba7ab
UD
92712011-09-07 Ulrich Drepper <drepper@gmail.com>
9272
9273 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9274 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
9275 syscall wrapper around clock_gettime in __vdso_clock_gettime.
9276 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
9277 clock_gettime.
9278
d53a73ac
UD
92792011-09-06 Ulrich Drepper <drepper@gmail.com>
9280
fc8bffcc
UD
9281 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
9282 Forgot to demangle the pointer.
9283
ceaa0c5d
UD
9284 * sysdeps/i386/sysdep.h: Define atom_text_section.
9285 * sysdeps/x86_64/sysdep.h: Likewise.
9286 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
9287 section with atom_text_section.
9288 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9289 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9290 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9291 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9292 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
9293
a77d3c17
UD
9294 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
9295 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
9296 already be defined. Change to take two parameters and don't assign
9297 result to variable. Adjust all users.
9298 Define INTERNAL_GETTIME if not already defined.
9299 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
9300 call.
9301 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
9302 HAVE_CLOCK_GETTIME_VSYSCALL.
9303 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
9304
d53a73ac
UD
9305 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
9306 gettimeofday vsyscall, just use time.
9307
a8f84144
AS
93082011-09-06 Andreas Schwab <schwab@redhat.com>
9309
9310 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
9311 <errno.h>.
9312
ef606249
UD
93132011-09-06 Ulrich Drepper <drepper@gmail.com>
9314
9315 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
9316 syscall on x86-64.
9317 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
9318 syscall.
9319 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
9320 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
9321 syscall if possible.
9322
6585cb60
UD
93232011-09-05 Ulrich Drepper <drepper@gmail.com>
9324
9325 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
9326 e_ident. Don't pass to find_mapsXX.
9327 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
9328
a5f524e4
LD
93292011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9330
9331 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9332 strchr-sse2-no-bsf strrchr-sse2-no-bsf
9333 * sysdeps/x86_64/multiarch/strchr.S: Update.
9334 Check bit_slow_BSF bit.
9335 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9336 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
9337 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
9338
554881ef
UD
93392011-09-05 Ulrich Drepper <drepper@gmail.com>
9340
d96de963
UD
9341 [BZ #13134]
9342 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
9343 before glibc 2.15.
9344 (tryshell): Define.
9345 (__spawni): Change last parameter to be flag. Test
9346 SPAWN_XFLAGS_USE_PATH flag to use path or not.
9347 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
9348 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
9349 * posix/spawni.c: Likewise.
9350 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
9351 * posix/spawnp.c: Likewise. Change normal version to use
9352 SPAWN_XFLAGS_USE_PATH.
9353 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
9354 SPAWN_XFLAGS_TRY_SHELL.
9355
d48e5868
UD
9356 [BZ #13150]
9357 * posix/glob.h: Remove gcc 1.x support.
9358
554881ef
UD
9359 [BZ #13068]
9360 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
9361
693fb948
LD
93622011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9363
9364 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9365 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
9366 strrchr-sse2-bsf
9367 * sysdeps/i386/i686/multiarch/strchr.S: New file.
9368 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
9369 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
9370 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
9371 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
9372 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
9373
1b48c537
UD
93742011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9375
49d42c37
UD
9376 * sysdeps/x86_64/wcscmp.S: New file.
9377
1b48c537
UD
9378 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
9379 wcscmp-c wcscmp-sse2
9380 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
9381 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
9382 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
9383 * wcsmbs/wcscmp.c: Allow renaming.
9384
15c95c5d
DM
93852011-09-05 David S. Miller <davem@davemloft.net>
9386
9387 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
9388 stack slot, rather than the struct return pointer slot.
9389 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
9390 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
9391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
9392 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
9393
2f0ad8f3
UD
93942011-09-05 Ulrich Drepper <drepper@gmail.com>
9395
d88ae418
UD
9396 * po/ja.po: Update from translation team.
9397
2f0ad8f3
UD
9398 [BZ #13144]
9399 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
9400 kernel in 64-bit binaries.
9401
5f4318d1
DM
94022011-09-01 David S. Miller <davem@davemloft.net>
9403
9404 * elf/elf.h (HWCAP_SPARC_*): Move to..
9405 * sysdeps/sparc/sysdep.h: this new file and add new values.
9406 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
9407 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
9408 _DL_HWCAP_COUNT to 24.
9409 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9410 entries.
9411 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
9412 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
9413 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
9414 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
9415 instead of magic constants.
9416 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9417
3ba57516
DM
94182011-08-31 David S. Miller <davem@davemloft.net>
9419
9420 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
9421 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
9422 Reimplement to do errno handling inline.
9423 (SYSCALL_ERROR_HANDLER): New macro.
9424 (__SYSCALL_STRING): Do not do errno handling in asm.
9425 (__CLONE_SYSCALL_STRING): Delete.
9426 (__INTERNAL_SYSCALL_STRING): Delete.
9427 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
9428 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
9429 (PSEUDO): Reimplement to do errno handling inline.
9430 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
9431 (SYSCALL_ERROR_HANDLER): New macro.
9432 (__SYSCALL_STRING): Do not do errno handling in asm.
9433 (__CLONE_SYSCALL_STRING): Delete.
9434 (__INTERNAL_SYSCALL_STRING): Delete.
9435 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
9436 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
9437 i386.
9438 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
9439 (inline_syscall*): Add 'err' argument.
9440 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
9441 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
9442 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
9443 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
9444
9445 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
9446 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9447
2bc17433
AS
94482011-08-30 Andreas Schwab <schwab@redhat.com>
9449
9450 * elf/rtld.c (dl_main): Relocate objects in dependency order.
9451
fbeb5f4d
JO
94522011-08-29 Jiri Olsa <jolsa@redhat.com>
9453
9454 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
9455 directive.
9456
ad69cc26
DM
94572011-08-24 David S. Miller <davem@davemloft.net>
9458
9459 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
9460
39dd69df
AS
94612011-08-24 Andreas Schwab <schwab@redhat.com>
9462
9463 * elf/Makefile: Add rules to build and run unload8 test.
9464 * elf/unload8.c: New file.
9465 * elf/unload8mod1.c: New file.
9466 * elf/unload8mod1x.c: New file.
9467 * elf/unload8mod2.c: New file.
9468 * elf/unload8mod3.c: New file.
9469
9470 * elf/dl-close.c (_dl_close_worker): Reset private search list if
9471 it wasn't used.
9472
2c0b250a
DM
94732011-08-23 David S. Miller <davem@davemloft.net>
9474
9475 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
9476 subtract stack bias.
9477 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
9478 %sp not %fp in calculations.
9479 (_JMPBUF_UNWINDS_ADJ): Likewise.
9480
22044b48
DM
9481 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
9482 (aio_suspend): Call it to force an exception region around the
9483 AIO_MISC_WAIT() invocation.
9484
2cae4995
AS
94852011-08-23 Andreas Schwab <schwab@redhat.com>
9486
9487 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
9488 backslash.
9489
873a772e
AJ
94902011-07-04 Aurelien Jarno <aurelien@aurel32.net>
9491
9492 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
9493 protection macro.
9494 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
9495 and <dl-machine.h>.
9496 (Elf64_FuncDesc): Remove.
9497
25ad0df1
DM
94982011-08-22 David S. Miller <davem@davemloft.net>
9499
9500 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
9501 sigaltstack check, add missing cfi directives.
9502 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
9503 missing cfi directives, and sigaltstack handling.
9504
e888bcbe
AS
95052011-08-16 Andreas Schwab <schwab@redhat.com>
9506
9507 [BZ #11724]
9508 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
9509 object is seen twice.
9510 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9511
9512 * elf/Makefile (distribute): Add tst-initorder2.c.
9513 (tests): Add tst-initorder2.
9514 (modules-names): Add tst-initorder2a tst-initorder2b
9515 tst-initorder2c tst-initorder2d. Add rules to build them.
9516 ($(objpfx)tst-initorder2.out): New rule.
9517 * elf/tst-initorder2.c: New file.
9518 * elf/tst-initorder2.exp: New file.
9519
87162f46
AS
95202011-08-22 Andreas Schwab <schwab@redhat.com>
9521
70538b7f
AS
9522 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
9523
f55ffe58
AS
9524 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
9525 dependencies back to end of function.
9526
87162f46
AS
9527 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
9528 $(elfobjdir)/ld.so.
9529
91b392a4
UD
95302011-08-21 Ulrich Drepper <drepper@gmail.com>
9531
9532 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
9533 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
9534 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
9535 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
9536 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
9537 of __vdso_gettimeofday.
9538 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
9539 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
9540 attribute_hidden.
9541 (_libc_vdso_platform_setup): Remove initialization of
9542 __vdso_gettimeofday and __vdso_time.
9543
5c43483f
UD
95442011-08-20 Ulrich Drepper <drepper@gmail.com>
9545
775a77e7
UD
9546 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
9547 and fgetc_unlocked.
9548 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
9549 getc_unlocked.
89f447ed 9550
49c74ba9
UD
9551 * elf/dl-open.c (add_to_global): Report additions to the global scope
9552 for LD_DEBUG=scopes.
9553 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 9554 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 9555
5c43483f
UD
9556 [BZ #13114]
9557 * stdio-common/Makefile (tests): Add bug24.
9558 * stdio-common/bug24.c: New file.
9559
a101b025
AJ
95602011-08-19 Andreas Jaeger <aj@suse.de>
9561
9562 [BZ #13114]
9563 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
9564 non-existant file when using close-on-exec mode.
9565
c88f1766
UD
95662011-08-20 Ulrich Drepper <drepper@gmail.com>
9567
0276a718
UD
9568 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
9569 the very first instruction.
9570
c88f1766
UD
9571 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
9572 the CFI state in the end.
9573 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
9574 inclusion of dl-trampoline.h.
9575 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
9576
51ccffa0
AS
95772011-08-19 Andreas Schwab <schwab@redhat.com>
9578
94d7165f
AS
9579 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
9580 expectations for long double.
9581
51ccffa0
AS
9582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
9583 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
9584
fd708658 95852011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
9586
9587 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
9588 artificual limit depends upon the system page size.
9589
44f0a71e
UD
95902011-08-17 Ulrich Drepper <drepper@gmail.com>
9591
9592 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
9593 * resolv/Makefile: Define CFLAGS-libresolv.
9594
8de79a24
AS
95952011-08-17 Andreas Schwab <schwab@redhat.com>
9596
9597 * nss/makedb.c (compute_tables): Make variables used in nested
9598 function static.
9599
27724598
UD
96002011-08-17 Ulrich Drepper <drepper@gmail.com>
9601
c5305d88
UD
9602 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
9603 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
9604 if buffer was too small.
9605
27724598
UD
9606 * elf/pldd.c (main): Attach to all threads in the process.
9607 Rewrite /proc handling to use *at functions.
9608
076fe015
UD
96092011-08-16 Ulrich Drepper <drepper@gmail.com>
9610
174baab3
UD
9611 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
9612 specifies first scope to show.
9613 (dl_open_worker): Update callers. Move printing scope of new
9614 object to before the relocation.
44f0a71e 9615 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
9616 * sysdeps/generic/ldsodefs.h: Update declaration.
9617
076fe015
UD
9618 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
9619 string for the scope number.
9620
a60df2c3
UD
96212011-08-14 Ulrich Drepper <drepper@gmail.com>
9622
9623 * nscd/servicescache.c (cache_addserv): Make sure written is always
9624 initialized.
9625
5e4287d1
RM
96262011-08-14 Roland McGrath <roland@hack.frob.com>
9627
85ae0589
RM
9628 * sysdeps/i386/i486/bits/atomic.h
9629 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
9630 statement expression, so as to suppress "set but not used" warning.
9631 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
9632
69f63097
RM
9633 * string/strncat.c (STRNCAT): Use prototype definition.
9634
675456ef
RM
9635 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
9636 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
9637 -Iprograms here.
9638 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
9639 (localedef-modules): Add localedef.
9640 (locale-modules): Add locale.
9641
5e4287d1
RM
9642 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
9643 * elf/rtld.c (dl_main): Invert order of assignment in last change,
9644 to avoid a warning.
9645
9c96ff23
DM
96462011-08-14 David S. Miller <davem@davemloft.net>
9647
9648 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
9649 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
9650
f9ddf089
UD
96512011-08-13 Ulrich Drepper <drepper@gmail.com>
9652
44f0a71e 9653 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
9654 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
9655 * elf/rtld.c (dl_main): Set l_name of vDSO.
9656 Call _dl_show_scope when DL_DEBUG_SCOPES.
9657 (process_dl_debug): Recognize scopes flag and also set it for all.
9658 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
9659 Declare _dl_show_scope.
9660
1dc27704
UD
9661 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
9662 (do_dlopen): Pass caller_dlopen to dl_open.
9663 (__libc_dlopen_mode): Initialize caller_dlopen.
9664
f9ddf089
UD
9665 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
9666 of libc. Make tolower call locale-independent. Optimize a bit by
9667 using isdigit instead of isalnum.
9668 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
9669
9ac533d3
UD
96702011-08-12 Ulrich Drepper <drepper@gmail.com>
9671
9672 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
9673 was a dependency or dynamically loaded.
9674
89edf2e9
UD
96752011-08-11 Ulrich Drepper <drepper@gmail.com>
9676
8e999d29
UD
9677 * intl/l10nflist.c: Allow architecture-specific pop function.
9678 * sysdeps/x86_64/l10nflist.c: New file.
9679
89edf2e9
UD
9680 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
9681 classification.
9682
14d96785
AS
96832011-08-10 Andreas Schwab <schwab@redhat.com>
9684
9685 * include/dirent.h: Add libc_hidden_proto for scandirat and
9686 scandirat64. Don't declare __scandirat64.
9687 * dirent/scandirat.c: Add libc_hidden_def.
9688 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
9689 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
9690
6761ac04
DM
96912011-08-10 David S. Miller <davem@davemloft.net>
9692
9693 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
9694 enum.
9695 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9696 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9697 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9698
c55fbd1e
UD
96992011-08-09 Ulrich Drepper <drepper@gmail.com>
9700
9701 * Versions.def [libc]: Add GLIBC_2.15.
9702 * dirent/Makefile (routines): Add scandirat and scandirat64.
9703 * dirent/Versions [libc]: Export scandirat and scandirat64 for
9704 GLIBC_2.15.
9705 * dirent/dirent.h: Declare scandirat and scandirat64.
9706 * dirent/scandirat.c: New file.
9707 * dirent/scandirat64.c: New file.
9708 * sysdeps/wordsize-64/scandirat.c: New file.
9709 * sysdeps/wordsize-64/scandirat64.c: New file.
9710 * dirent/opendir.c: Define opendirat.
9711 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
9712 using scandirat.
9713 * dirent/scandir64.c: Adjust for scandir.c change.
9714 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
9715 __scandirat64, and __scandir_cancel_handler.
9716 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
9717 additional parameter and use openat instead of open (outside of ld.so).
9718 Add new __opendir as wrapper around __opendirat.
9719 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
9720 here without requiring old scandirat implementation.
9721
879165f2
UD
97222011-08-08 Ulrich Drepper <drepper@gmail.com>
9723
9724 * dirent/scandir.c (cancel_handler): Renamed to
9725 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
9726 defined. Adjust users.
9727 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
9728 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
9729
cb7e923b
UD
97302011-08-04 Ulrich Drepper <drepper@gmail.com>
9731
16292edd
UD
9732 * string/test-string.h (IMPL): Use __STRING to expand name and then
9733 stringify it.
9734
cb7e923b
UD
9735 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
9736 of cleanups.
9737
cff82933
LD
97382011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9739
9740 * string/Makefile: Update.
9741 (strop-tests): Append strncat.
9742 * string/test-wcscmp.c: New file.
9743 New comprehensive test for wcscmp.
9744 * string/test-strcmp.c: Update.
9745 (WIDE): New define.
9746
9be9bfcc
AS
97472011-07-22 Andreas Schwab <schwab@redhat.com>
9748
9749 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
9750 line.
9751
2e96f1c7
AS
97522011-07-26 Andreas Schwab <schwab@redhat.com>
9753
9754 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9755 encoding to ACE if AI_IDN.
9756
85188888
JJ
97572011-08-01 Jakub Jelinek <jakub@redhat.com>
9758
9759 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
9760 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
9761
5fa16e9b
LD
97622011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9763
9764 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
9765 Fix overflow bug in strncat.
9766 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9767
9768 * string/test-strncat.c: Update.
9769 Add new tests for checking overflow bugs.
9770
97712011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9772
9773 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9774 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
9775 * sysdeps/i386/i686/multiarch/strcat.S: New file.
9776 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
9777 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
9778 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
9779 * sysdeps/i386/i686/multiarch/strncat.S: New file.
9780 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
9781 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
9782
9783 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
9784 (USE_AS_STRCAT): Define.
9785 Add strcat and strncat support.
9786 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9787
8c1a459f
AS
97882011-07-25 Andreas Schwab <schwab@redhat.com>
9789
9790 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
9791 __n bigger than INT_MAX+1.
9792 (__strncmp_g): Likewise.
9793
bba33c28
UD
97942011-07-23 Ulrich Drepper <drepper@gmail.com>
9795
798be72d
UD
9796 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
9797 * libio/stido.h: Likewise.
9798
8accd4dc
UD
9799 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
9800 (AF_NFC): Define.
9801 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
9802 (AF_NFC): Define.
9803
cbff0d96
UD
9804 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
9805 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9806 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9807 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
9808 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9809
9191c04a
UD
9810 [BZ #13021]
9811 * scripts/test-installation.pl: Don't expect libnss_test1 to be
9812 installed.
9813
bba33c28
UD
9814 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
9815 typo.
9816 (_dl_x86_64_save_sse): Likewise.
9817
90f139dd
UD
98182011-07-22 Ulrich Drepper <drepper@gmail.com>
9819
1aae088a
UD
9820 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
9821 OSXSAVE.
9822 (_dl_x86_64_save_sse): Likewise.
9823
8e2045f5
UD
9824 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
9825
90f139dd
UD
9826 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
9827
1d002f25
AS
98282011-07-21 Andreas Schwab <schwab@redhat.com>
9829
9830 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
9831 change.
9832 (_dl_x86_64_save_sse): Use correct AVX check.
9833
21137f89
UD
98342011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9835
9836 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
9837 bug in strncpy/strncat.
9838 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
9839
a65c0b7a
UD
98402011-07-21 Ulrich Drepper <drepper@gmail.com>
9841
9842 * string/tester.c (test_strcat): Add tests for different alignments
9843 of source and destination.
9844 (test_strncat): Likewise.
9845
6986b98a
UD
98462011-07-20 Ulrich Drepper <drepper@gmail.com>
9847
90bb2039
UD
9848 [BZ #12852]
9849 * posix/glob.c (glob): Check passed in values before using them in
9850 expressions to avoid some overflows.
9851 (glob_in_dir): Likewise.
9852
5644ef54
UD
9853 [BZ #13007]
9854 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
9855 check for AVX enablement so that we don't crash with old kernels and
9856 new hardware.
9857 * elf/tst-audit4.c: Add same checks here.
9858 * elf/tst-audit6.c: Likewise.
9859
9860 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 9861
bfc9dc9b
AS
98622011-07-09 Andreas Schwab <schwab@linux-m68k.org>
9863
9864 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
9865
702e64bb
UD
98662011-07-20 Ulrich Drepper <drepper@gmail.com>
9867
9868 * po/cs.po: Update from translation team.
9869 * po/bg.po: Likewise.
9870
295e904f
MP
98712011-07-12 Marek Polacek <mpolacek@redhat.com>
9872
9873 * misc/sys/cdefs.h: Add support for const attribute.
9874 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
9875 to gnu_dev_{major,minor,makedev} functions.
9876
3ff94596
MP
98772011-07-20 Marek Polacek <mpolacek@redhat.com>
9878
9879 * intl/dcigettext.c (get_output_charset): Add missing bracket.
9880
28b59fca
AS
98812011-07-20 Andreas Schwab <schwab@redhat.com>
9882
9883 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
9884 strlen results.
9885
19df733e
AK
98862011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9887
9888 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
9889 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
9890 register in order to avoid conflicts with the soft frame pointer
9891 being held in r11 when necessary.
9892 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
9893 (INTERNAL_VSYSCALL_NCS): Likewise.
9894
c8835729
MP
98952011-07-14 Marek Polacek <mpolacek@redhat.com>
9896
9897 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
9898 * elf/dl-fini.c (_dl_fini): Adjust caller.
9899 * elf/dl-close.c (_dl_close_worker): Likewise.
9900 * sysdeps/generic/ldsodefs.h: Adjust declaration.
9901
b902330c
MP
99022011-07-15 Marek Polacek <mpolacek@redhat.com>
9903
8991e135
MP
9904 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
9905 "aux_cache->nlibs < 0".
9906
b902330c
MP
9907 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
9908 in the reload-count case.
9909
99710781
LD
99102011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9911
9912 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9913 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
9914 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
9915 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
9916 * sysdeps/x86_64/multiarch/strcat.S: New file.
9917 * sysdeps/x86_64/multiarch/strncat.S: New file.
9918 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
9919 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
9920 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
9921 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
9922 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
9923 (USE_AS_STRCAT): Define.
9924 Add strcat and strncat support.
9925 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9926 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9927 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
9928 * string/strncat.c: Update.
9929 (USE_AS_STRNCAT): Define.
9930 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9931 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
9932 and i7.
9933 * sysdeps/x86_64/multiarch/init-arch.h
9934 (bit_Prefer_PMINUB_for_stringop): New.
9935 (index_Prefer_PMINUB_for_stringop): Likewise.
9936 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
9937 bit_Prefer_PMINUB_for_stringop.
9938
7dc6bd90
UD
99392011-07-19 Ulrich Drepper <drepper@gmail.com>
9940
9941 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
9942 buffer64.
9943 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
9944 of casting of buffer.
9945 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
9946 buffer32 and buffer64.
9947 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
9948 writes instead of casting of buffer.
9949 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
9950 buffer32.
9951 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
9952 casting of buffer.
9953
e0e72284
AS
99542011-07-19 Andreas Schwab <schwab@redhat.com>
9955
9956 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
9957
feb1eb0b
UD
99582011-07-19 Ulrich Drepper <drepper@gmail.com>
9959
9960 * nscd/nscd.c (termination_handler): Don't do anything for a database
9961 if it has not yet been initialized.
9962
298711ff
UD
99632011-07-18 Ulrich Drepper <drepper@gmail.com>
9964
9965 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
9966
99672011-07-15 Marek Polacek <mpolacek@redhat.com>
9968
9969 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
9970
f9d68389
UD
99712011-07-18 Ulrich Drepper <drepper@gmail.com>
9972
9973 * po/nl.po: Update from translation team.
9974 * po/sv.po: Likewise.
9975
db290cf5
RM
99762011-07-16 Roland McGrath <roland@hack.frob.com>
9977
9978 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
9979 now disallowed by GCC.
5c550700 9980
fd5e21c7
RM
9981 * configure.in (use-default-link): Default to yes if a test -shared
9982 link meets our qualifications.
9983 * configure: Regenerated.
9984
5c550700
RM
9985 * config.make.in (output-format): New variable.
9986 * configure.in: Check for ld --print-output-format support.
9987 * configure: Regenerated.
9988 * Makerules ($(common-objpfx)format.lds)
9989 [$(output-format) != unknown]: Just use $(output-format),
9990 instead of the linker-script munging.
9991
9fa2c032
RM
99922011-07-14 Roland McGrath <roland@hack.frob.com>
9993
a6928d51
RM
9994 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
9995 of $(common-objpfx)shlib.lds.
9996 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
9997
661607b3
RM
9998 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
9999 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
10000
9fa2c032
RM
10001 * configure.in (-z relro check): Adjust test code to add a large
10002 writable data section after it.
10003 * configure: Regenerated.
10004
defe9061
RM
100052011-07-11 Roland McGrath <roland@hack.frob.com>
10006
10007 * configure.in (-z relro check): Fix test code to make the variable
10008 truly const.
10009 * configure: Regenerated.
10010
319b9ad4
UD
100112011-07-11 Ulrich Drepper <drepper@gmail.com>
10012
10013 * nscd/nscd.h (struct traced_file): Define.
10014 (struct database_dyn): Remove inotify_descr, reset_res, and filename
10015 elements. Add traced_files.
10016 (inotify_fd): Declare.
10017 (register_traced_file): Declare.
10018 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
10019 (inotify_fd): Export.
10020 (resolv_conf_descr): Remove.
10021 (nscd_init): Move inotify descriptor creation to main.
10022 Don't register files for notification here.
10023 (register_traced_file): New function.
10024 (invalidate_cache): Don't use reset_res to determine whether to call
10025 res_init, go through the list of registered files.
10026 (main_loop_poll): The inotify descriptors are now stored in the
10027 structures for the traced files.
10028 (main_loop_epoll): Likewise
10029 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
10030 to __nss_disable_nscd.
10031 * nscd/cache.c (prune_cache): There is no single inotify descriptor
10032 for a database anymore. Check the records for all the registered
10033 files instead.
10034 * nss/Makefile (libnss_files-routines): Add files-init.
10035 (libnss_db-routines): Add db-init.
10036 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
10037 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
10038 * nss/nss_db/db-init.c: New file.
10039 * nss/nss_files/files-init.c: New file.
10040 * nss/nsswitch.c (nss_load_library): New function. Broken out of
10041 __nss_lookup_function.
10042 (__nss_lookup_function): Call nss_load_library.
10043 (nss_load_all_libraries): New function.
10044 (__nss_disable_nscd): Take parameter with callback function for files
10045 to register. Set is_nscd. Load all the DSOs for the NSS modules
10046 used for the cached services.
10047 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
10048 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
10049 options for features to all the files in nscd.
10050
10051 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
10052
23bee3e8
RM
100532011-07-10 Roland McGrath <roland@hack.frob.com>
10054
10055 * csu/elf-init.c (__libc_csu_init): Comment typo.
10056
46a5b7f0
UD
100572011-07-09 Ulrich Drepper <drepper@gmail.com>
10058
10059 * po/pl.po: Update from translation team.
10060 * po/ja.po: Likewise.
10061 * po/ru.po: Likewise.
10062 * po/ko.po: Likewise.
10063 * po/fr.po: Likewise.
10064
d30cf5bb
RM
100652011-07-09 Roland McGrath <roland@hack.frob.com>
10066
113ddea4
RM
10067 * configure.in (.ctors/.dtors header and trailer check):
10068 Use an empirical test on a built program.
10069 * configure: Regenerated.
10070
574920b4
RM
10071 * configure.in (-z relro check): Use an empirical test on a built DSO.
10072 Detect, but do not require, on ia64.
10073 * configure: Regenerated.
10074
d30cf5bb
RM
10075 * configure.in (READELF): Find it with AC_CHECK_TOOL.
10076 Update tests that use readelf to use $READELF instead.
10077 * configure: Regenerated.
10078
8538fdb3
UD
100792011-07-08 Ulrich Drepper <drepper@gmail.com>
10080
10081 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
10082 if the result is not used.
10083
04d08991
AJ
100842011-07-05 Andreas Jaeger <aj@suse.de>
10085
10086 [BZ#9696]
10087 * stdlib/tst-strtod.c: Add testcase.
10088
de283087
AD
100892011-07-07 Ulrich Drepper <drepper@gmail.com>
10090
4e5f31c8 10091 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 10092 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
10093 The latter has a higher limit. Take additional parameter to pass to
10094 the new function.
10095 (__pathconf): Pass file to __statfs_link_max.
10096 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
10097 __statfs_link_max.
10098 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
10099 __statfs_link_max.
10100
de283087
AD
10101 [BZ #12868]
10102 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
10103 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10104 Handle Lustre.
10105 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
10106 (__statfs_filesize_max): Likewise.
10107 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
10108
c75fa153
AJ
101092011-07-05 Andreas Jaeger <aj@suse.de>
10110
10111 * resolv/res_comp.c (dn_skipname): Remove unused variable.
10112
1a544854
UD
101132011-07-06 Marek Polacek <mpolacek@redhat.com>
10114
10115 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
10116 `status' variable.
10117 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
10118 Likewise.
10119
6f0eec67
UD
101202011-07-04 H.J. Lu <hongjiu.lu@intel.com>
10121
10122 * Makefile (strop-tests): Add strncat.
10123 * string/test-strncat.c: New file.
10124
aae30307
UD
101252011-06-30 Marek Polacek <mpolacek@redhat.com>
10126
10127 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
10128
c0cfb5eb
UD
101292011-06-21 Andreas Jaeger <aj@suse.de>
10130
10131 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
10132 Copy rule from iconvdata/Makefile.
10133
01636b21
UD
101342011-07-06 Ulrich Drepper <drepper@gmail.com>
10135
10136 [BZ #12922]
10137 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
10138 but no long options are defined, just return 'W'.
10139
9895c8bc
UD
101402011-06-22 Marek Polacek <mpolacek@redhat.com>
10141
10142 [BZ #9696]
10143 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
10144
5d4cf042
UD
101452011-07-06 Ulrich Drepper <drepper@gmail.com>
10146
10147 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
10148 netgroups to read.
960e5535 10149 (innetgr): Likewise.
5d4cf042 10150
751eb97e
RM
101512011-07-05 Roland McGrath <roland@hack.frob.com>
10152
10153 * config.make.in (install_root): Default to $(DESTDIR).
10154
f15f1e45
UD
101552011-07-05 Ulrich Drepper <drepper@gmail.com>
10156
10157 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
10158
4e34ac6a
RM
101592011-07-02 Roland McGrath <roland@hack.frob.com>
10160
5e9b6af4
RM
10161 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
10162
84f9ea0f
RM
10163 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
10164 containing directory rather than embedding absolute directory names.
10165
ea5ee9f7
RM
10166 * scripts/check-local-headers.sh: Rewritten using awk.
10167 Match by word, not by line. Print error messages for matches.
10168 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
10169
1b74661a
RM
10170 * Makerules [shlib-lds-flags empty]:
10171 ($(common-objpfx)libc_pic.opts): New target.
10172 ($(common-objpfx)libc_pic.os.clean): New target.
10173 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
10174
10175 * config.make.in (OBJCOPY): New variable.
10176 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
10177 * configure: Regenerated.
10178
f781ef40
RM
10179 * config.make.in (use-default-link): New variable.
10180 * configure.in (use_default_link): Grok --with-default-link to set it.
10181 * configure: Regenerated.
10182 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
10183 (shlib-lds, shlib-lds-flags): Define to empty.
10184
2d4fa81e
RM
10185 * Makerules (shlib-lds): New variable.
10186 (shlib-lds-flags): New variable.
10187 (build-shlib, build-moduile, build-module-asneeded): Use it.
10188 ($(common-objpfx)libc.so): Use $(shlib-lds).
10189 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
10190 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
10191
31fffa6b
RM
10192 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
10193 DT_FLAGS/DT_FLAGS_1 with zero flags.
10194
4e34ac6a
RM
10195 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
10196 linker script munging.
10197
fcfc776b
UD
101982011-07-02 Ulrich Drepper <drepper@gmail.com>
10199
10200 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
10201 as 128-bit value.
10202 * crypt/sha512.c (sha512_process_block): Perform total addition using
10203 128-bit if possible.
10204 (__sha512_finish_ctx): Likewise.
10205 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
10206 as 64-bit value.
10207 * crypt/sha256.c (SWAP64): Define.
10208 (sha256_process_block): Perform total addition using 64-bit if
10209 possible.
10210 (__sha256_finish_ctx): Likewise.
10211
99231d9a
UD
102122011-07-01 Ulrich Drepper <drepper@gmail.com>
10213
10214 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
10215 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10216 * nscd/hstcache.c (cache_addhst): Likewise.
10217 * nscd/grpcache.c (cache_addgr): Likewise.
10218 * nscd/aicache.c (addhstaiX): Likewise
10219 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
10220
445b4a53
TK
102212011-07-01 Thorsten Kukuk <kukuk@suse.de>
10222
10223 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
10224 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10225 * nscd/hstcache.c (cache_addhst): Likewise.
10226 * nscd/grpcache.c (cache_addgr): Likewise.
10227 * nscd/aicache.c (addhstaiX): Likewise
10228
6d4d8e8e
AS
102292011-07-01 Andreas Schwab <schwab@redhat.com>
10230
10231 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
10232 domain only when needed.
10233
89f654c5
AS
102342011-06-30 Andreas Schwab <schwab@redhat.com>
10235
10236 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
10237 is always restored.
10238
cf3b23ff
UD
102392011-06-29 Ulrich Drepper <drepper@gmail.com>
10240
10241 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
10242 are re-adding the entry.
10243 * nscd/servicescache.c (cache_addserv): Likewise.
10244
751626f9
AJ
102452011-06-30 Aurelien Jarno <aurelien@aurel32.net>
10246
10247 * sysdeps/generic/dl-irel.h: fix protection against multiple
10248 inclusions.
10249 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
10250
9113ea1f
UD
102512011-06-28 Ulrich Drepper <drepper@gmail.com>
10252
5c0b8d90
UD
10253 [BZ #12935]
10254 * malloc/memusage.sh: Fix quoting in message.
10255 * debug/xtrace.sh: Likewise.
10256
9113ea1f
UD
10257 * configure.in: Remove support for --experimental-malloc option, make
10258 it the default.
10259 * config.make.in: Likewise.
10260 * malloc/Makefile: Likewise.
10261
a4172181
AS
102622011-06-27 Andreas Schwab <schwab@redhat.com>
10263
10264 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
10265 two-byte characters.
10266
78a7eee7
RM
102672011-06-27 Roland McGrath <roland@hack.frob.com>
10268
62bede13
RM
10269 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
10270 AC_CACHE_CHECK invocation.
10271 * configure: Regenerated.
10272
78a7eee7
RM
10273 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
10274
5ce33a62
UD
102752011-06-27 Ulrich Drepper <drepper@gmail.com>
10276
034807a9
UD
10277 [BZ #12350]
10278 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
10279 bit from old_res_options.
10280
4902da17
UD
10281 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
10282
5ce33a62
UD
10283 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
10284 value type for setfct.
10285
c2344f56
L
102862011-06-23 H.J. Lu <hongjiu.lu@intel.com>
10287
10288 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10289 __gettimeofday instead of gettimeofday.
10290
68468076
UD
102912011-06-26 Ulrich Drepper <drepper@gmail.com>
10292
10293 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
10294
acb0d739
L
102952011-06-24 H.J. Lu <hongjiu.lu@intel.com>
10296
10297 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
10298
10299 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
10300 info.
10301
8912479f
L
103022011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10303
10304 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10305 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10306 strcpy-sse2-unaligned strncpy-sse2-unaligned
10307 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
10308 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
10309 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
10310 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
10311 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
10312 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
10313 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
10314 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
10315 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
10316 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
10317 (STRCPY): Support SSE2 and SSSE3 versions.
10318
d5495a11
UD
103192011-06-24 Ulrich Drepper <drepper@gmail.com>
10320
10321 [BZ #12874]
10322 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
10323 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
10324 kernels which artificially limit size of requests.
10325
0b1cbaae
L
103262011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10327
10328 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10329 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10330 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
10331 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
10332 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
10333 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
10334 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
10335 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
10336 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
10337 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
10338 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
10339 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
10340 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
10341 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
10342 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
10343 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10344 Enable unaligned load optimization for Intel Core i3, i5 and i7
10345 processors.
10346 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
10347 Define.
10348 (index_Fast_Unaligned_Load): Define.
10349 (HAS_FAST_UNALIGNED_LOAD): Define.
10350
07f494a0
MP
103512011-06-23 Marek Polacek <mpolacek@redhat.com>
10352
10353 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
10354
fa3fc0fe
UD
103552011-06-22 Ulrich Drepper <drepper@gmail.com>
10356
10357 [BZ #12907]
10358 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
10359 until it is clear that the information is realy needed.
10360 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
10361
e12df166
AS
103622011-06-22 Andreas Schwab <schwab@redhat.com>
10363
10364 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
10365
852eb34d
UD
103662011-06-22 Ulrich Drepper <drepper@gmail.com>
10367
84e2a551
UD
10368 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10369 /sys/devices/system/cpu/online if it is usable.
10370
852eb34d
UD
10371 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
10372 reading the information from the /proc filesystem to once a second.
10373
6e502e19
UD
103742011-06-21 Andreas Jaeger <aj@suse.de>
10375
10376 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
10377 NULL after inclusion of kernel headers.
10378
75d39ff2
UD
103792011-06-21 Ulrich Drepper <drepper@gmail.com>
10380
51f9aa6a
UD
10381 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
10382 calls to internal_setent.
10383
c0244a9d
UD
10384 [BZ #12885]
10385 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
10386 addresses using gethostbyname4_r ignore IPv4 addresses.
10387
c5e3c2ae
UD
10388 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
10389 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
10390
75d39ff2
UD
10391 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
10392
42675c6f
DM
103932011-06-20 David S. Miller <davem@davemloft.net>
10394
10395 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
10396 inclusions.
10397 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
10398
10399 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
10400 (elf_irel): Use it.
10401 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
10402 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
10403 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
10404 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
10405 * sysdeps/x86_64/dl-irel.h: Likewise.
10406
10407 * elf/dl-runtime.c: Use elf_ifunc_invoke.
10408 * elf/dl-sym.c: Likewise.
10409
57912a71
UD
104102011-06-15 Ulrich Drepper <drepper@gmail.com>
10411
10412 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
10413 need to dereference resplen2.
10414
ee22793d
AS
104152011-06-14 Andreas Schwab <schwab@redhat.com>
10416
10417 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
10418
a9e836b0
UD
104192011-06-15 Ulrich Drepper <drepper@gmail.com>
10420
77fb9117
UD
10421 * Makeconfig: Define vardbdir and inst_vardbdir.
10422 * nss/Makefile: Add rules to install db-Makefile.
10423
40c1b22c
UD
10424 * nss/nss_db/db-XXX.c: Cleanup.
10425
9f2da732
UD
10426 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
10427 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
10428 GLIBC_PRIVATE.
10429 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
10430 * nss/makedb.c: Implement -g option to specify that value strings
10431 are generated and should not be added to table iterated over for
10432 get*ent calls.
10433 * nss/nss_db/db-initgroups.c: New file.
10434
82e9a1f7
UD
10435 * nss/getent.c: Add support for initgroups lookups through getgrouplist
10436 interface.
10437
c41af17e
UD
10438 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
10439 (internal_getgrouplist): Adjust to name change.
10440 Update use_initgroups_entry if this is not the first call.
10441 * nss/databases.def: Add initgroups entry.
10442
a9e836b0
UD
10443 * nss/makedb.c (compute_tables): Check result of multiple hash table
10444 sizes to minimize maximum chain length.
10445
2666d441
UD
104462011-06-14 Ulrich Drepper <drepper@gmail.com>
10447
10448 * Versions.def: Add entry for libnss_db.
10449 * shlib-versions: Likewise.
10450 * nss/Makefile: Add rules to build libnss_db.
10451 * nss/Versions: Add libnss_db information. Organize libnss_files
10452 entries better.
10453 * nss/db-Makefile: Add gshadow support. Change rules for the new
10454 makedb progra. Some minor improvements to generate smaller files.
10455 * nss/nss_db/nss_db.h: Move NSS database header data structures to
10456 here from...
10457 * nss/makedb.c: ...here.
10458 Improve database format to be smaller and require less memory at
10459 runtime.
10460 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
10461 db anymore.
10462 * nss/nss_db/db-netgrp.c: Likewise.
10463 * nss/nss_db/db-open.c: Likewise.
10464 * nss/nss_files/flies-XXX.x: Adjust comments.
10465 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
10466 * nss/nss_files/files-grp.c: Likewise.
10467 * nss/nss_files/files-hosts.c: Likewise.
10468 * nss/nss_files/files-network.c: Likewise.
10469 * nss/nss_files/files-proto.c: Likewise.
10470 * nss/nss_files/files-pwd.c: Likewise.
10471 * nss/nss_files/files-rpc.c: Likewise.
10472 * nss/nss_files/files-service.c: Likewise.
10473 * nss/nss_files/files-sgrp.c: Likewise.
10474 * nss/nss_files/files-spwd.c: Likewise.
10475 * nss/nss_db/db-alias.c: Removed.
10476 * nss/nss_db/dummy-db.h: Removed.
10477
9ee76b5a
UD
104782011-06-02 Ulrich Drepper <drepper@gmail.com>
10479
10480 * nss/makedb.c: Rewritten to not use database library.
10481 * nss/Makefile: Update to build new makedb program.
10482
c71ca1f8
AJ
104832011-06-14 Andreas Jaeger <aj@suse.de>
10484
10485 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
10486 memset declaration.
10487
3154bfb8
UD
104882011-06-10 Andreas Schwab <schwab@redhat.com>
10489
10490 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
10491 tmpbuf.
10492
b350afab
RM
104932011-06-10 Roland McGrath <roland@hack.frob.com>
10494
decd4e50
RM
10495 * Makerules (shlib.lds): Fail if the linker script comes out empty.
10496 * elf/Makefile ($(objpfx)ld.so): Likewise.
10497
5615eaf2
RM
10498 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
10499 Don't list ld.so twice in dependencies.
10500
10501 * posix/bug-regex31.c: Include <stdlib.h>.
10502
10503 * nscd/hstcache.c (cache_addhst): Remove unused variable.
10504
10505 * nis/nss_compat/compat-spwd.c
10506 (getspent_next_nss_netgr): Remove unused variable.
10507 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
10508
10509 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
10510 nonmembers" output to use the right array.
10511
10512 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
10513
10514 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
10515
10516 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
10517 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
10518 * catgets/gencat.c (read_input_file): Likewise.
10519 * locale/programs/locarchive.c (enlarge_archive): Likewise.
10520
10521 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
10522 variable definition inside #if's controlling its use.
10523
10524 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
10525
10526 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
10527
10528 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
10529
10530 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
10531 unreachable code.
10532
10533 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
10534
b68e08db
RM
10535 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
10536 * configure: Regenerated.
10537
b350afab
RM
10538 * Makerules: Revert last change.
10539 * elf/Makefile: Likewise.
10540
28368601
RM
105412011-06-09 Roland McGrath <roland@hack.frob.com>
10542
10543 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
10544 * elf/Makefile ($(objpfx)librtld.os): Likewise.
10545 (reloc-link): Likewise.
10546
11988f8f
UD
105472011-06-09 Ulrich Drepper <drepper@gmail.com>
10548
10549 * elf/Makefile: Add rules to build pldd.
10550 * elf/pldd.c: New file.
10551 * elf/pldd-xx.c: New file.
10552
e80fab37
UD
105532011-06-07 Ulrich Drepper <drepper@gmail.com>
10554
10555 * version.h: Update for 2.15 development version.
10556
9b849836
DM
105572011-06-07 David S. Miller <davem@davemloft.net>
10558
10559 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
10560 ifuncs.
10561 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
10562 elf_machine_lazy_rel): Likewise.
10563 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10564 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
10565 elf_machine_lazy_rel): Likewise.
10566 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
10567 dl_hwcap via passed in argument.
10568 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
10569 Likewise.
10570
5a31b283
AK
105712011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10572
10573 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
10574
069e52f8
RM
105752011-06-06 Roland McGrath <roland@hack.frob.com>
10576
10577 [BZ #12849]
10578 * manual/fdl-1.1.texi: New file, verbatim from:
10579 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
10580 * manual/lgpl-2.1.texi: New file, verbatim from:
10581 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
10582 * manual/Makefile (licenses): New variable, list those new file names.
10583 (texis): Use it.
10584 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
10585
10586 * manual/fdl.texi: File removed.
10587 * manual/lesser.texi: File removed.
10588 * manual/libc.texinfo (Copying, Documentation License):
10589 Use new @include file names, put @appendix directive before @include.
10590
f16846a5
JJ
105912011-06-04 Jakub Jelinek <jakub@redhat.com>
10592
10593 [BZ #12841]
10594 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
10595 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
10596 (mq_open): Add __NTH.
10597
3d29045b
L
105982011-06-02 H.J. Lu <hongjiu.lu@intel.com>
10599
10600 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10601 Assume Intel Core i3/i5/i7 processor if AVX is available.
10602
8c297311
UD
106032011-05-31 Ulrich Drepper <drepper@gmail.com>
10604
10605 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10606 typo.
10607
c8fc0c91
UD
106082011-05-31 Andreas Schwab <schwab@redhat.com>
10609
10610 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
10611 memory. Use alloca_account. Fix memory leak when retrying.
10612
5b27a807
UD
106132011-05-31 Ulrich Drepper <drepper@gmail.com>
10614
356f8bc6
UD
10615 * version.h (RELEASE): Bump for 2.14 release.
10616 * include/features.h (__GLIBC_MINOR__): Bump to 14.
10617
5b27a807
UD
10618 * config.make.in (RANLIB): Remove entry.
10619
01f16ab0
UD
106202011-05-30 Ulrich Drepper <drepper@gmail.com>
10621
41fce8bd
UD
10622 * po/Makefile (po-sed-cmd): Add ksh to extensions.
10623 (libc.pot): Work around missing support for .ksh extension in xgettext.
10624
4769ae77
UD
10625 [BZ #12684]
10626 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
10627 if both request failed.
10628 (send_dg): In case of server errors clear resplen or *resplen2.
10629
6b1e7d19
UD
10630 [BZ #12454]
10631 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
10632 when there are multiple maps.
10633 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
10634 (_dl_fini): Remove test here.
10635
01f16ab0
UD
10636 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
10637
b1ebd700
UD
106382011-05-29 Ulrich Drepper <drepper@gmail.com>
10639
7ae22829
UD
10640 [BZ #12350]
10641 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
10642 bit from old_res_options.
10643 (gaih_inet): Likewise.
10644
553149f6 10645 [BZ #11099]
18a84741 10646 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
10647 as signed.
10648
652ffab1
UD
10649 * resolv/res_init.c (res_setoptions): Make the code more compact.
10650
16985fd0
UD
10651 [BZ #11558]
10652 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
10653 set RES_USEVC.
10654
0464f746
UD
10655 [BZ #11634]
10656 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
10657
7d17596c
UD
10658 * malloc/malloc.h: Mark malloc hook variables as deprecated.
10659
cf6bbbd7
UD
10660 [BZ #11781]
10661 * malloc/malloc.h: Declare malloc hook variables as volatile.
10662
13f1ab36
UD
10663 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
10664 in last patch.
10665
b1ebd700
UD
10666 [BZ #11799]
10667 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 10668 raise in the comment.
80e2212d
UD
10669 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10670 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10671 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 10672
ce67228d
UD
106732011-05-28 Ulrich Drepper <drepper@gmail.com>
10674
8887a920
UD
10675 [BZ #12811]
10676 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
10677 grow the buffers more if it already has to be sufficient.
10678 (build_wcs_upper_buffer): Likewise.
10679 * posix/regexec.c (check_matching): Likewise.
10680 (clean_state_log_if_needed): Likewise.
10681 (extend_buffers): Don't enlarge buffers beyond size of the input
10682 buffer.
10683 Patches mostly by Emil Wojak <emil@wojak.eu>.
10684 * posix/bug-regex32.c: New file.
10685 * posix/Makefile (tests): Add bug-regex32.
10686
4f031072
UD
10687 * locale/findlocale.c (_nl_find_locale): Return right away if
10688 _nl_explode_name failed.
10689 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
10690
d0478f0c
UD
10691 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
10692
de81b246
UD
10693 * debug/xtrace.sh: Unify messages.
10694 * malloc/memusage.sh: Likewise.
10695
c738465a
UD
10696 [BZ #12813]
10697 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
10698 time symbol from vDSO. Substitute with vsyscall if not available.
10699 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
10700 __vdso_time.
10701
f1f929d7
UD
10702 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
10703 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
10704 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
10705 Add sendmmsg and internal_sendmmsg.
10706 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
10707 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
10708 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
10709
ce67228d
UD
10710 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
10711 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
10712 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
10713
e57420c6
UD
107142011-05-27 Ulrich Drepper <drepper@gmail.com>
10715
a8509ca5
UD
10716 [BZ #12813]
10717 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
10718 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
10719 available.
10720 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
10721 __vdso_getcpu.
10722
e57420c6
UD
10723 [BZ #12814]
10724 * iconvdata/Makefile (tests): Add bug-iconv9.
10725 * iconvdata/bug-iconv9.c: New file.
10726
4d07db15
AS
107272011-05-27 Andreas Schwab <schwab@redhat.com>
10728
10729 [BZ #12814]
10730 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
10731
ea486f69
JJ
107322011-05-25 Jakub Jelinek <jakub@redhat.com>
10733
10734 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10735 (struct user_regs_struct): Change intcs field back to cs.
10736
6f038433
UD
107372011-05-25 Ulrich Drepper <drepper@gmail.com>
10738
10739 * po/ja.po: Update from translation team.
10740
67f86a25
UD
107412011-05-23 Ulrich Drepper <drepper@gmail.com>
10742
10743 [BZ #12795]
10744 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
10745 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
10746
def7fbd6
AS
107472011-05-20 Andreas Schwab <schwab@redhat.com>
10748
10749 * stdlib/longlong.h: Update from GCC.
10750
f50ef8f1
AS
107512011-05-23 Andreas Schwab <schwab@redhat.com>
10752
10753 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
10754 parameter name.
10755 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
10756 Add parameter name.
10757 (__sysconf): Pass it down.
10758
de7ce8f1
UD
107592011-05-22 Ulrich Drepper <drepper@gmail.com>
10760
f2962a71
UD
10761 [BZ #12671]
10762 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
10763 some situations.
10764 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10765 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
10766 add in in __libc_use_alloca calls. Adjust callers.
10767 (glob): Use malloc in some situations.
10768
de7ce8f1
UD
10769 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
10770 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
10771 pltexit.
10772
aec84f53
UD
107732011-05-21 Ulrich Drepper <drepper@gmail.com>
10774
05bb4a68
UD
10775 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
10776 and CLOCK_BOOTTIME_ALARM.
10777
7ea72f99
UD
10778 [BZ #12782]
10779 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
10780 is returned.
10781
7e4afad5
UD
10782 * string/_strerror.c (__strerror_r): Print negative errors as signed
10783 numbers.
10784
8e211fec
UD
10785 [BZ #12777]
10786 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
10787 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
10788 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
10789
f7d82dc9
UD
10790 * configure.in: Fix typo in redirection and correct removal of test
10791 files in two cases.
10792
cc9e536d
UD
10793 [BZ #12788]
10794 * locale/setlocale.c (new_composite_name): Fix test to check for
10795 identical name of all categories.
10796
aec84f53
UD
10797 [BZ #12792]
10798 * libio/filedoalloc.c (local_isatty): New function.
10799 (_IO_file_doallocate): Use local_isatty.
10800 * stdio-common/perror.c (perror): In case a new stream is used
10801 forward the stream error.
10802 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
10803 error flag.
10804
78e64fdc
RT
108052011-05-20 Ulrich Drepper <drepper@gmail.com>
10806
34a9094f
UD
10807 [BZ #11869]
10808 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
10809 alloca.
10810 * include/alloca.h (extend_alloca_account): Define.
10811
78e64fdc
RT
10812 [BZ #11857]
10813 * posix/regex.h: Fix comments with documentation of user-accessible
10814 fields after compilation and describe correct free'ing of pattern
10815 after re_compile_pattern.
10816 Patch by Reuben Thomas <rrt@sc3d.org>.
10817
457bddfc
RA
108182011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
10819
10820 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
10821 and -mno-altivec to prevent the compiler from using Altivec and/or
10822 VSX instructions when the corresponding registers are not available.
10823
a4527b51
AS
108242011-05-19 Andreas Schwab <schwab@redhat.com>
10825
10826 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
10827
ed690b2f
UD
108282011-05-19 Ulrich Drepper <drepper@gmail.com>
10829
10830 * libio/freopen.c (freopen): Use __dup2, not dup2.
10831 * libio/freopen64.c (freopen64): Likewise.
10832
8db73634
L
108332011-05-17 H.J. Lu <hongjiu.lu@intel.com>
10834
10835 [BZ #12775]
10836 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
10837 * math/Makefile (tests): Add test-powl.
10838 (CFLAGS-test-powl.c): Define.
10839 * math/test-powl.c: New file.
10840
0a197a9d
L
108412011-05-16 H.J. Lu <hongjiu.lu@intel.com>
10842
10843 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
10844
ee30c380
UD
108452011-05-17 Ulrich Drepper <drepper@gmail.com>
10846
10847 [BZ #11837]
10848 * iconvdata/gb18030.c: Update to GB18020-2005.
10849
6ce75379
UD
108502011-05-16 Ulrich Drepper <drepper@gmail.com>
10851
a4b89fd8
AR
10852 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
10853 RE_SYNTAX_POSIX_AWK): Update to match recent development.
10854 Patch by Aharon Robbins <arnold@skeeve.com>.
10855
ea389b12
UD
10856 [BZ #11892]
10857 * stdlib/putenv.c (putenv): Don't always create copy of the variable
10858 on the stack.
10859
68a3f91f
UD
10860 [BZ #11895]
10861 * misc/pselect.c (__pselect): Handle timeout value errors hidden
10862 through underflows.
10863
15cc7dd1
UD
10864 [BZ #12766]
10865 * misc/error.c (error_at_line): Ensure file_name and old_file_name
10866 point to strings before performing equality test for error_one_per_line
10867 mode.
10868
f3799213
UD
10869 [BZ #11697]
10870 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
10871
d79a9c94
UD
10872 [BZ #11820]
10873 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10874 (struct user_fpregs_struct): Avoid __uint*_t types.
10875
56e5eb46
UD
10876 [BZ #6420]
10877 * malloc/mtrace.c (tr_where): Add additional parameter to point to
10878 symbol info. Use it instead of calling _dl_addr locally.
10879 (lock_and_info): New function.
10880 (tr_freehook): Call lock_and_info and pass symbol info as additional
10881 parameter to tr_where.
10882 (tr_mallochook): Likewise.
10883 (tr_reallochook): Likewise.
10884 (tr_memalignhook): Likewise.
10885
6ce75379
UD
10886 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
10887 used and couldn't be at all thread-safe.
10888
f8a3b5bf
UD
108892011-05-15 Ulrich Drepper <drepper@gmail.com>
10890
94b7cc37
UD
10891 * libio/freopen.c (freopen): Don't close old file descriptor
10892 before the new one is opened. Instead dup the new file descriptor
10893 to the old one after the new stream is created.
10894 * libio/freopen64.c (freopen64): Likewise.
10895 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
10896 * libio/fileops.c (_IO_new_file_close_it): Handle new
10897 _IO_FLAGS2_NOCLOSE flag.
10898 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
10899 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
10900 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
10901 _IO_FLAGS2_NOCLOSE flag.
10902 * include/unistd.h: Add hidden_proto for dup3.
10903 Define __have_dup3.
10904 * io/dup3.c: Define hidden symbol.
10905 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
10906
bd25564e
UD
10907 [BZ #7101]
10908 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
10909 when an incomplete long option is used.
10910 * posix/tst-getopt_long1.c: New file.
10911 * posix/Makefile (tests): Add tst-getopt_long1.
10912
c84cfef4
UD
10913 [BZ #10138]
10914 * scripts/config.guess: Update from autoconf-2.68.
10915 * scripts/config.sub: Likewise.
10916
3b85df27
UD
10917 [BZ #10157]
10918 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
10919 tests into ...
10920 (has_cpuclock): ...this. New function.
10921 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
10922 macro here based on has_cpuclock code.
10923
15a856b1
UD
10924 [BZ #10149]
10925 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10926 First byte (not low byte) is now always NUL.
10927 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
10928
05f399e6
UD
10929 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10930 Use non-cancelable interfaces.
10931
10a52685 10932 [BZ #9809]
94ecc67d
UD
10933 * locale/iso-639.def: Add entry for Sorani.
10934
f8a3b5bf
UD
10935 [BZ #11901]
10936 * include/stdlib.h: Move include protection to the right place.
10937 Define abort_msg_s. Declare __abort_msg with it.
10938 * stdlib/abort.c (__abort_msg): Adjust type.
10939 * assert/assert.c (__assert_fail_base): New function. Majority
10940 of code from __assert_fail. Allocate memory for __abort_msg with
10941 mmap.
10942 (__assert_fail): Now call __assert_fail_base.
10943 * assert/assert-perr.c: Remove bulk of implementation. Use
10944 __assert_fail_base.
10945 * include/assert.hL Declare __assert_fail_base.
10946 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
10947 mmap.
10948 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
10949
1af4e298
UD
109502011-05-14 Ulrich Drepper <drepper@gmail.com>
10951
f8a3b5bf 10952 [BZ #11952]
d26dfc60
MG
10953 [BZ #12453]
10954 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
10955 until all modules are registered in the DTV.
10956 * elf/Makefile: Add rules to build and run tst-tls19.
10957 * elf/tst-tls19.c: New file.
10958 * elf/tst-tls19mod1.c: New file.
10959 * elf/tst-tls19mod2.c: New file.
10960 * elf/tst-tls19mod3.c: New file.
10961 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
10962
2fc54d6f
UD
10963 [BZ #12083]
10964 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
10965 correctly.
10966
98d76b46
UD
10967 [BZ #12601]
10968 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
10969 two-byte sequence errors.
10970 * iconvdata/Makefile (tests): Add bug-iconv8.
10971 * iconvdata/bug-iconv8.c: New file.
10972
da3c19ef
UD
10973 [BZ #12626]
10974 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
10975 buf2 definition.
10976
ca408c15
UD
10977 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
10978
d6f67f7d
UD
10979 [BZ #12432]
10980 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
10981 (dummy_getcfa): New function.
10982 (init): Get _Unwind_GetCFA address, use dummy if not found.
10983 (backtrace_helper): In recursion check, also check whether CFA changes.
10984 (__backtrace): Completely initialize arg.
10985
1af4e298 10986 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
10987 storing incomplete byte sequence in state object. Avoid testing for
10988 guaranteed too small input if we know there is enough data available.
1af4e298 10989
da62f81b
AS
109902011-05-11 Andreas Schwab <schwab@redhat.com>
10991
10992 * Makeconfig (+link-pie): Indent.
10993 * Rules (binaries-pie): Define if $(have-fpie) and
10994 $(build-shared).
10995 (binaries-shared): Also filter out $(binaries-pie).
10996 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
10997 * nscd/Makefile (others-pie): Add nscd.
10998 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
10999 ($(objpfx)nscd): Remove command override.
11000 * login/Makefile (others-pie): Add pt_chown.
11001 ($(objpfx)pt_chown): Remove command override.
11002 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
11003 remove command overrides.
11004
fcabc0f8
UD
110052011-05-13 Ulrich Drepper <drepper@gmail.com>
11006
20030ae6
UD
11007 * libio/tst_putwc.c: Fix error messages.
11008
fcabc0f8
UD
11009 [BZ #12724]
11010 * libio/fileops.c (_IO_new_file_close_it): Always flush when
11011 currently writing and seek to current position when not.
11012 * libio/Makefile (tests): Add bug-fclose1.
11013 * libio/bug-fclose1.c: New file.
11014
320a5dc0
PB
110152011-05-12 Ulrich Drepper <drepper@gmail.com>
11016
11017 [BZ #12511]
11018 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
11019 don't set DF_1_NODELETE here.
11020 (do_lookup_x): When entering new entry test for copy relocation
11021 and if necessary set DF_1_NODELETE flag.
11022 * elf/tst-unique4.cc: New file.
11023 * elf/tst-unique4.h: New file.
11024 * elf/tst-unique4lib.cc: New file.
11025 * elf/Makefile: Add rules to build and run tst-unique4.
11026 Patch by Piotr Bury <pbury@goahead.com>.
11027
22836f52
UD
110282011-05-11 Ulrich Drepper <drepper@gmail.com>
11029
f574184a
UD
11030 [BZ #12052]
11031 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
11032
e1fb097f
UD
11033 [BZ #12625]
11034 * misc/mntent_r.c (addmntent): Flush the stream after the output
11035
22836f52
UD
11036 [BZ #12393]
11037 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
11038 (is_trusted_path_normalize): Skip initial colon. Append slash
11039 to empty buffer. Duplicate is_trusted_path code but allow
11040 constructed patch to be prefix.
11041 (is_dst): Allow $ORIGIN followed by /.
11042 (_dl_dst_substitute): Correct clearing of check_for_trusted.
11043 Correct testing of result of is_trusted_path_normalize
11044 (decompose_rpath): Fix warning.
11045
7b3b0b2a
UD
110462011-05-10 Ulrich Drepper <drepper@gmail.com>
11047
11048 [BZ #11257]
11049 * grp/initgroups.c (internal_getgrouplist): When we found the service
11050 list through the initgroups entry in nsswitch.conf do not always
11051 continue on a successful lookup. Don't always use the
eac80ce2 11052 __nss_group_database value if it is set.
7b3b0b2a
UD
11053 * nss/nsswitch.conf (initgroups): Change action for successful db
11054 lookup to continue for compatibility.
11055
2a81eaa5
UD
110562011-05-09 Ulrich Drepper <drepper@gmail.com>
11057
be97a69e
UD
11058 [BZ #11532]
11059 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
11060 and CP774 modules.
11061 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
11062 and CP774 modules.
11063 * iconvdata/tst-tables.sh: Likewise.
11064 * iconvdata/cp770.c: New file.
11065 * iconvdata/cp771.c: New file.
11066 * iconvdata/cp772.c: New file.
11067 * iconvdata/cp773.c: New file.
11068 * iconvdata/cp774.c: New file.
11069 * iconvdata/testdata/CP770: New file.
11070 * iconvdata/testdata/CP770..UTF8: New file.
11071 * iconvdata/testdata/CP771: New file.
11072 * iconvdata/testdata/CP771..UTF8: New file.
11073 * iconvdata/testdata/CP772: New file.
11074 * iconvdata/testdata/CP772..UTF8: New file.
11075 * iconvdata/testdata/CP773: New file.
11076 * iconvdata/testdata/CP773..UTF8: New file.
11077 * iconvdata/testdata/CP774: New file.
11078 * iconvdata/testdata/CP774..UTF8: New file.
11079
11080 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
11081 END CHARMAP line.
11082 * iconvdata/gen-8bit-gap.sh: Likewise.
11083 * iconvdata/gen-8bit.sh: Likewise.
11084
c1e9e399
UD
11085 * locale/iso-639.def: Add ary entry.
11086
24c55fb3 11087 [BZ #11258]
96b4b1b0
UD
11088 * locale/C-translit.h.in: Add U20A1 transliteration.
11089
bdc2f971
KB
11090 [BZ #12178]
11091 * locale/iso-639.def: Add wae entry.
11092 Patch by Kevin Bortis <bortis@translate-wae.ch>.
11093
2952b117
UD
11094 [BZ #12545]
11095 * locale/programs/localedef.c (construct_output_path): Use ssize_t
11096 for n.
11097
2a81eaa5
UD
11098 [BZ #12711]
11099 * locale/C-translit.h.in: Add entry for U20B9.
11100 Patch by pravin.d.s@gmail.com.
11101
28377d1b
UD
111022011-05-08 Ulrich Drepper <drepper@gmail.com>
11103
7fb90fb8
UD
11104 [BZ #12713]
11105 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
11106 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
11107 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
11108 in rtld. Use *stat64.
7fb90fb8 11109 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 11110 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 11111 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
11112 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
11113 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
11114 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
11115 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
11116 __fstatat64 macros.
7fb90fb8
UD
11117 * include/dirent.h: Add libc_hidden_proto for rewinddir.
11118 * dirent/rewinddir.c: Add libc_hidden_def.
11119 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 11120 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 11121
28377d1b
UD
11122 * include/dirent.h (__alloc_dir): Add flags parameter.
11123 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
11124 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
11125 __alloc_dir.
11126 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
11127 from fdopendir if O_CLOEXEC is already set.
11128
66bdbaa4
AM
111292011-03-15 Alan Modra <amodra@gmail.com>
11130
11131 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
11132 l_tls_firstbyte_offset non-zero. Save padding offset in
11133 l_tls_firstbyte_offset for later use.
11134 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
11135 freeing static tls block.
11136
95721191
JN
111372011-03-05 Jonathan Nieder <jrnieder@gmail.com>
11138
11139 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
11140 where #ifdef was intended. The intent is to prevent ARG_MAX from
11141 being defined by the kernel headers.
11142
f87dfb1f
UD
111432011-05-07 Ulrich Drepper <drepper@gmail.com>
11144
11145 [BZ #12734]
11146 * resolv/resolv.h: Define RES_NOTLDQUERY.
11147 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
11148 no-tld-query and set RES_NOTLDQUERY.
11149 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
11150 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
11151 modern BIND to search name as TLD unless forbidden.
11152
47c3cd7a
UD
111532011-05-07 Petr Baudis <pasky@suse.cz>
11154 Ulrich Drepper <drepper@gmail.com>
11155
11156 [BZ #12393]
11157 * elf/dl-load.c (fillin_rpath): Move trusted path check...
11158 (is_trusted_path): ...to here.
c1e9ea35 11159 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 11160 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 11161 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 11162
8a35c912
PP
111632011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11164
11165 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
11166 __BEGIN/__END_DECLS.
11167
acd41f47
UD
111682011-05-06 Ulrich Drepper <drepper@gmail.com>
11169
11170 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
11171 NSS_STATUS_NOTFOUND if no record was found.
11172
597df647
AS
111732011-05-05 Andreas Schwab <schwab@redhat.com>
11174
11175 * sunrpc/Makefile (headers): Add rpc/netdb.h.
11176 (headers-not-in-tirpc): Remove rpc/netdb.h
11177 * resolv/netdb.h: Revert last change.
11178
b9af1301
PP
111792011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11180
11181 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
11182 circular dependency between libgcc.a and libc.a.
11183
4e34d5f5
AS
111842011-05-05 Andreas Schwab <schwab@redhat.com>
11185
11186 * resolv/netdb.h: Don't include <rpc/netdb.h>.
11187 * nis/Makefile: Don't install rpcsvc/*.
11188 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
11189 instead of <rpc/types.h>.
11190 (MAXHOSTNAMELEN): Define.
11191
00ee369c
AS
111922011-05-03 Andreas Schwab <schwab@redhat.com>
11193
11194 * elf/ldconfig.c (add_dir): Don't crash on empty path.
11195
0b592a30
MB
111962011-04-28 Maciej Babinski <mbabinski@google.com>
11197
11198 [BZ #12714]
11199 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
11200 gethostbyname4_r when IPv6 results are possible.
11201
6e04cbbe
UD
112022011-05-02 Ulrich Drepper <drepper@gmail.com>
11203
11204 [BZ #12723]
11205 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
11206 _PC_PIPE_BUF handling.
11207
e4ecafe0
BH
112082011-04-30 Bruno Haible <bruno@clisp.org>
11209
11210 [BZ #12717]
11211 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
11212 * resolv/netdb.h (getnameinfo): Change type of flags parameter
11213 to 'int'.
11214 * inet/getnameinfo.c (getnameinfo): Likewise.
11215
125ee683
UD
112162011-04-29 Ulrich Drepper <drepper@gmail.com>
11217
11218 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
11219 to groups setting in database lookup.
11220 * nss/nsswitch.conf: Add initgroups entry.
11221
b722481a
EB
112222011-04-22 Ulrich Drepper <drepper@gmail.com>
11223
11224 [BZ #12685]
11225 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
11226 mode string.
11227 Patch by Eric Blake <eblake@redhat.com>.
11228
4df46dbd
L
112292011-04-20 H.J. Lu <hongjiu.lu@intel.com>
11230
11231 * sunrpc/Makefile (need-export-routines): Add svc_run.
11232 (routines): Remove svc_run.
11233 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
11234 * sunrpc/clnt_perr.c (clnt_perrno): Export.
11235 * sunrpc/svc_run.c (svc_run): Likewise.
11236 * sunrpc/svc_udp.c (svcudp_create): Likewise.
11237
e84142d2
UD
112382011-04-21 Ulrich Drepper <drepper@gmail.com>
11239
11240 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
11241 problem in reallocation in last patch.
11242
877175d8
UD
112432011-04-20 Ulrich Drepper <drepper@gmail.com>
11244
11245 * sunrpc/Makefile: Move inclusion of Rules.
11246
ab8eed78
UD
112472011-04-19 Ulrich Drepper <drepper@gmail.com>
11248
11249 * nss/nss_files/files-initgroups.c: New file.
11250 * nss/Makefile (libnss_files-routines): Add files-initgroups.
11251 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
11252 _nss_files_initgroups_dyn.
11253
e3d8f584
RS
112542011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
11255
11256 * elf/elf.h (R_ARM_IRELATIVE): Define.
11257
af190f45
UD
112582011-04-19 Ulrich Drepper <drepper@gmail.com>
11259
11260 * po/ru.po: Update from translation team.
11261
53cf59ef
UD
112622011-04-17 Ulrich Drepper <drepper@gmail.com>
11263
11264 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
11265 dependencies.
11266
4c559bcd
MF
112672011-02-06 Mike Frysinger <vapier@gentoo.org>
11268
11269 [BZ #12653]
11270 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
11271 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
11272 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11273 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11274 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11275
4420675c
AS
112762011-03-28 Andreas Schwab <schwab@linux-m68k.org>
11277
11278 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
11279 differing bytes.
11280 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11281 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11282 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11283
75ea32ab
UD
112842011-04-17 Ulrich Drepper <drepper@gmail.com>
11285
11286 [BZ #12420]
11287 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
11288 storing it.
11289 * stdlib/bug-getcontext.c: New file.
11290 * stdlib/Makefile: Add rules to build and run bug-getcontext.
11291
27390476
AK
112922011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11293
11294 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
11295 instructions into .machine "z9-109".
11296 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
11297 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
11298
10442705
AK
112992011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11300
11301 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
11302 between environment variables and auxiliary vector.
11303
7b57bfe5
UD
113042011-04-16 Ulrich Drepper <drepper@gmail.com>
11305
11306 * Makefile: Add rules to build linkobj/libc.so.
11307 * include/libc-symbols.h: Define libc_hidden_nolink.
11308 * include/rpc/auth.h: Mark functions which are to be hidden.
11309 * include/rpc/auth_des.h: Likewise.
11310 * include/rpc/auth_unix.h: Likewise.
11311 * include/rpc/clnt.h: Likewise.
11312 * include/rpc/des_crypt.h: Likewise.
11313 * include/rpc/key_prot.h: Likewise.
11314 * include/rpc/pmap_clnt.h: Likewise.
11315 * include/rpc/pmap_prot.h: Likewise.
11316 * include/rpc/pmap_rmt.h: Likewise.
11317 * include/rpc/rpc_msg.h: Likewise.
11318 * include/rpc/svc.h: Likewise.
11319 * include/rpc/svc_auth.h: Likewise.
11320 * include/rpc/xdr.h: Likewise.
11321 * nis/Makefile: Link all DSOs against linkobj/libc.so.
11322 * nss/Makefile: Likewise.
11323 * sunrpc/Makefile: Don't install headers. Build library with normal
11324 entry points. Don't build rpcinfo. Link RPC tests appropriately.
11325 * sunrpc/auth_des.c: Hide exported symbols by default, export some
11326 for the compat linking library. Remove use of INTDEF/INTUSE.
11327 * sunrpc/auth_none.c: Likewise.
11328 * sunrpc/auth_unix.c: Likewise.
11329 * sunrpc/authdes_prot.c: Likewise.
11330 * sunrpc/authuxprot.c: Likewise.
11331 * sunrpc/clnt_gen.c: Likewise.
11332 * sunrpc/clnt_perr.c: Likewise.
11333 * sunrpc/clnt_raw.c: Likewise.
11334 * sunrpc/clnt_simp.c: Likewise.
11335 * sunrpc/clnt_tcp.c: Likewise.
11336 * sunrpc/clnt_udp.c: Likewise.
11337 * sunrpc/clnt_unix.c: Likewise.
11338 * sunrpc/des_crypt.c: Likewise.
11339 * sunrpc/des_soft.c: Likewise.
11340 * sunrpc/get_myaddr.c: Likewise.
11341 * sunrpc/key_call.c: Likewise.
11342 * sunrpc/key_prot.c: Likewise.
11343 * sunrpc/netname.c: Likewise.
11344 * sunrpc/pm_getmaps.c: Likewise.
11345 * sunrpc/pm_getport.c: Likewise.
11346 * sunrpc/pmap_clnt.c: Likewise.
11347 * sunrpc/pmap_prot.c: Likewise.
11348 * sunrpc/pmap_prot2.c: Likewise.
11349 * sunrpc/pmap_rmt.c: Likewise.
11350 * sunrpc/publickey.c: Likewise.
11351 * sunrpc/rpc_cmsg.c: Likewise.
11352 * sunrpc/rpc_common.c: Likewise.
11353 * sunrpc/rpc_dtable.c: Likewise.
11354 * sunrpc/rpc_prot.c: Likewise.
11355 * sunrpc/rpc_thread.c: Likewise.
11356 * sunrpc/rtime.c: Likewise.
11357 * sunrpc/svc.c: Likewise.
11358 * sunrpc/svc_auth.c: Likewise.
11359 * sunrpc/svc_authux.c: Likewise.
11360 * sunrpc/svc_raw.c: Likewise.
11361 * sunrpc/svc_run.c: Likewise.
11362 * sunrpc/svc_simple.c: Likewise.
11363 * sunrpc/svc_tcp.c: Likewise.
11364 * sunrpc/svc_udp.c: Likewise.
11365 * sunrpc/svc_unix.c: Likewise.
11366 * sunrpc/svcauth_des.c: Likewise.
11367 * sunrpc/xcrypt.c: Likewise.
11368 * sunrpc/xdr.c: Likewise.
11369 * sunrpc/xdr_array.c: Likewise.
11370 * sunrpc/xdr_float.c: Likewise.
11371 * sunrpc/xdr_intXX_t.c: Likewise.
11372 * sunrpc/xdr_mem.c: Likewise.
11373 * sunrpc/xdr_rec.c: Likewise.
11374 * sunrpc/xdr_ref.c: Likewise.
11375 * sunrpc/xdr_sizeof.c: Likewise.
11376 * sunrpc/xdr_stdio.c: Likewise.
11377
e6c61494
UD
113782011-04-10 Ulrich Drepper <drepper@gmail.com>
11379
11380 [BZ #12650]
11381 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
11382 * sysdeps/ia64/dl-tls.h: Likewise.
11383 * sysdeps/powerpc/dl-tls.h: Likewise.
11384 * sysdeps/s390/dl-tls.h: Likewise.
11385 * sysdeps/sh/dl-tls.h: Likewise.
11386 * sysdeps/sparc/dl-tls.h: Likewise.
11387 * sysdeps/x86_64/dl-tls.h: Likewise.
11388 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
11389
34fe483e
AS
113902011-03-14 Andreas Schwab <schwab@redhat.com>
11391
11392 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
11393 rpath element also skip the following colon.
11394 (expand_dynamic_string_token): Add is_path parameter and pass
11395 down to DL_DST_REQUIRED and _dl_dst_substitute.
11396 (decompose_rpath): Call expand_dynamic_string_token with
11397 non-zero is_path. Ignore empty rpaths.
11398 (_dl_map_object_from_fd): Call expand_dynamic_string_token
11399 with zero is_path.
11400
f12a32e6
AS
114012011-04-08 Andreas Schwab <schwab@linux-m68k.org>
11402
11403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11404 Make cancelable.
11405
38a7d692
UD
114062011-04-09 Ulrich Drepper <drepper@gmail.com>
11407
11408 [BZ #12655]
11409 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
11410 Patch by Filipe David Manana <fdmanana@apache.org>.
11411
e451d22b
AS
114122011-04-07 Andreas Schwab <schwab@redhat.com>
11413
11414 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
11415 Maintain aligned stack.
11416 (CHECK_RSP): Remove unused macro.
11417
dedc7c7b
UD
114182011-04-03 Ulrich Drepper <drepper@gmail.com>
11419
11420 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
11421 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
11422
94521213
UD
114232011-04-02 Ulrich Drepper <drepper@gmail.com>
11424
11425 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
11426
8cb700c0 11427 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 11428
0354e355
L
114292011-03-26 H.J. Lu <hongjiu.lu@intel.com>
11430
11431 [BZ #12518]
11432 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
11433 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
11434 * sysdeps/x86_64/memmove.c: New file.
11435 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
11436 (memcpy): Renamed to ...
11437 (__new_memcpy): This.
11438 (memcpy): Provide GLIBC_2_14 memcpy.
11439 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
11440 (memcpy): Provide GLIBC_2_2_5 memcpy.
11441
8593482f
UD
114422011-04-01 Ulrich Drepper <drepper@gmail.com>
11443
11444 [BZ #12631]
11445 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
11446
81a5726b
AS
114472011-03-30 Andreas Schwab <schwab@redhat.com>
11448
11449 * misc/syncfs.c: New file.
11450 * misc/Makefile (routines): Add syncfs.
11451 * posix/unistd.h: Declare syncfs.
11452 * sysdeps/unix/syscalls.list: Add syncfs.
11453
00e5419f
AS
114542011-04-01 Andreas Schwab <schwab@redhat.com>
11455
11456 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
11457 open_by_handle_at.
11458 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11459 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11460 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11461 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11462 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11463 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
11464 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11465
748876bf
UD
114662011-04-01 Ulrich Drepper <drepper@gmail.com>
11467
658e451d
UD
11468 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
11469 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11470 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
11471 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11472 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11473 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11474 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11475
748876bf
UD
11476 * io/Makefile: Compile fallocate.c, fallocate64.c, and
11477 sync_file_range.c with -fexceptions.
11478 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
11479 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
11480 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
11481 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
11482 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
11483 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11484 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
11485 sync_file_range as cancellation point
11486 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
11487 now a wrapper around __call_sync_file_range with cancellation handling.
11488 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
11489 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
11490 function name to __call_sync_file_range.
11491 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
11492 Add call_sync_file_range.
748876bf 11493
6e63d5e1
AS
114942011-04-01 Andreas Schwab <schwab@redhat.com>
11495
11496 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 11497 bits/timex.h.
6e63d5e1 11498
46998f74
UD
114992011-04-01 Ulrich Drepper <drepper@gmail.com>
11500
4c1423ed
UD
11501 * iconv/iconv.h: Fix typo in comment.
11502 * io/fcntl.h: Likewise.
11503 * libio/stdio.h: Likewise.
11504 * posix/spawn.h: Likewise.
11505 * posix/unistd.h: Likewise.
11506 * stdlib/stdlib.h: Likewise.
11507 * time/time.h: Likewise.
11508 * wcsmbs/wchar.h: Likewise.
11509
158648c0
UD
11510 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
11511 open_by_handle): Add.
11512 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
11513 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
11514 Augment a few comments.
11515 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11516 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11517 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11518 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11519 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11520 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
11521 open_by_handle.
11522
46998f74
UD
11523 * io/fcntl.h (AT_EMPTY_PATH): Define.
11524
83fe108b
UD
115252011-03-30 Ulrich Drepper <drepper@gmail.com>
11526
11527 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
11528 * sysdeps/unix/sysv/linux/bits/time.h: New file.
11529 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
11530 to...
11531 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
11532 * Versions.def: Add GLIBC_2.14.
11533 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
11534 Export.
83fe108b 11535
bb242059
UD
115362011-03-22 Ulrich Drepper <drepper@gmail.com>
11537
11538 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
11539 round counter.
11540 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11541
c97a1282
L
115422011-03-20 H.J. Lu <hongjiu.lu@intel.com>
11543
11544 [BZ #12597]
11545 * string/test-strncmp.c (do_page_test): New function.
11546 (check2): Likewise.
11547 (test_main): Call check2.
11548 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
11549
2a115601
UD
115502011-03-20 Ulrich Drepper <drepper@gmail.com>
11551
11552 [BZ #12587]
11553 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
11554 Handle cache information in CPU leaf 4.
11555 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11556
8126d904
UD
115572011-03-18 Ulrich Drepper <drepper@gmail.com>
11558
042c49c6 11559 [BZ #12583]
8126d904
UD
11560 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
11561 character representation.
11562 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
11563
ccfe366e
RA
115642011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
11565
11566 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
11567 END(__isnan) to END(__isnanf) to match function entry point/label
11568 EALIGN(__isnanf,...).
11569
c6e13027
JJ
115702011-03-10 Jakub Jelinek <jakub@redhat.com>
11571
11572 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
11573
33f85a3f
UD
115742011-03-10 Ulrich Drepper <drepper@gmail.com>
11575
028478fa
UD
11576 [BZ #12510]
11577 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
11578 copy from the symbol referenced in the relocation to initialize the
11579 used variable.
11580 Patch by Piotr Bury <pbury@goahead.com>.
11581 * elf/Makefile: Add rules to build and tst-unique3.
11582 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
11583 * elf/tst-unique3.cc: New file.
11584 * elf/tst-unique3.h: New file.
11585 * elf/tst-unique3lib.cc: New file.
11586 * elf/tst-unique3lib2.cc: New file.
11587
33f85a3f
UD
11588 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
11589
03592fc7
MF
115902011-03-10 Mike Frysinger <vapier@gentoo.org>
11591
11592 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
11593 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
11594 to _start.
03592fc7 11595
6a5ee102
UD
115962011-03-06 Ulrich Drepper <drepper@gmail.com>
11597
11598 * elf/dl-load.c (_dl_map_object): If we are looking for the first
11599 to-be-loaded object along a path to loader is ld.so.
11600
7e4ba49c
HJ
116012011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11602 Ulrich Drepper <drepper@gmail.com>
11603
11604 * sysdeps/x86_64/memset.S: After aligning destination, code
11605 branches to different locations depending on the value of
11606 misalignment, when multiarch is enabled. Fix this.
11607
116082011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11609
11610 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
11611 Set _x86_64_preferred_memory_instruction for AMD processsors.
11612 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11613 Set bit_Prefer_SSE_for_memop for AMD processors.
11614
13a804de
UD
116152011-03-04 Ulrich Drepper <drepper@gmail.com>
11616
11617 * libio/fmemopen.c (fmemopen): Optimize a bit.
11618
9d25c392
AS
116192011-03-03 Andreas Schwab <schwab@redhat.com>
11620
11621 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
11622
a5543c6a
RM
116232011-03-03 Roland McGrath <roland@redhat.com>
11624
11625 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
11626
012d35f7
DM
116272011-02-28 Aurelien Jarno <aurelien@aurel32.net>
11628
7e4ba49c 11629 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
11630 __bzero_ultra1 instead of __memset_ultra1.
11631
4bff6e01
AS
116322011-02-23 Andreas Schwab <schwab@redhat.com>
11633 Ulrich Drepper <drepper@gmail.com>
11634
11635 [BZ #12509]
11636 * include/link.h (struct link_map): Add l_orig_initfini.
11637 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
11638 returning unsuccessfully.
11639 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
11640 close of a file loaded at startup, restore the original l_initfini
11641 list.
11642 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
11643 list, store the pointer.
11644 * elf/Makefile ($(objpfx)noload-mem): New rule.
11645 (noload-ENV): Define.
11646 (tests): Add $(objpfx)noload-mem.
11647 * elf/noload.c: Include <memcheck.h>.
11648 (main): Call mtrace. Close all opened handles.
11649
f2092faf
AS
116502011-02-17 Andreas Schwab <schwab@redhat.com>
11651
11652 [BZ #12454]
11653 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
11654 dependencies are missing.
11655
6c8a2e88
ST
116562011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
11657
f2092faf 11658 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
11659 Hurd needs munmap.
11660 * sysdeps/mach/hurd/ifreq.h: New file.
11661
84a42118
PB
116622011-01-27 Petr Baudis <pasky@suse.cz>
11663 Ulrich Drepper <drepper@gmail.com>
11664
071f805e 11665 [BZ 12445]#
84a42118
PB
11666 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
11667 to extend_alloca().
11668 * stdio-common/bug23.c: New file.
11669 * stdio-common/Makefile (tests): Add bug23.
11670
e23fe25b
AS
116712010-09-28 Andreas Schwab <schwab@redhat.com>
11672 Ulrich Drepper <drepper@gmail.com>
11673
11674 [BZ #12489]
11675 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
11676 before performing relro protection. At old place add assertion
11677 to make sure nothing changed.
11678
d3f02e10
NS
116792011-02-17 Nathan Sidwell <nathan@codesourcery.com>
11680 Glauber de Oliveira Costa <glommer@gmail.com>
11681
11682 * elf/elf.h: Add new ARM TLS relocs.
11683
d55fd7a5
RA
116842011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
11685
11686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11687 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
11688 cast from r3.
11689 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
11690 'tests' variable.
11691 * sysdeps/wordsize-64/tst-writev.c: New file.
11692
2206397e
RA
116932011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
11694
11695 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
11696 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
11697 insns in _dl_start to prevent a TOC reference before relocs are
11698 resolved.
11699
e9433893
UD
117002011-02-15 Ulrich Drepper <drepper@gmail.com>
11701
11702 [BZ #12469]
11703 * Makeconfig: Remove RANLIB definition.
11704 * Makerules: Don't use RANLIB.
11705 * aclocal.m4: Remove ranlib test.
11706 * configure.in: No need to check for ranlib.
11707 * elf/rtld-Rules: Don't use RANLIB.
11708
f75286c6
ST
117092011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
11710
8e31c82d
ST
11711 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
11712 protection macro.
11713 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
11714 inclusion protection macro.
11715
f75286c6
ST
11716 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
11717 SIGRTMIN and SIGRTMAX and print information in that case only when
11718 SIGRTMIN is defined.
11719
c1d0e639
JJ
117202011-02-11 Jakub Jelinek <jakub@redhat.com>
11721
11722 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
11723 arginfo fn returning -1.
11724
11725 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
11726 and thousands string is zero terminated.
11727
edf9294e
AS
117282011-02-03 Andreas Schwab <schwab@redhat.com>
11729
11730 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
11731 sysdeps/unix/sysv/linux/bits/socket.h.
11732
2b7e92df
ST
117332011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
11734
edf9294e
AS
11735 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
11736 (__CPU_COUNT): Remove old macros.
11737 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
11738 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
11739 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
11740 (__sched_cpualloc, __sched_cpufree): Add declarations.
11741
a4c7ea7b
UD
117422011-02-05 Ulrich Drepper <drepper@gmail.com>
11743
11744 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
11745 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
11746 * nscd/aicache.c (addhstaiX): Return timeout of added value.
11747 (readdhstai): Return value of addhstaiX call.
11748 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
11749 (addgrbyX): Return value returned by cache_addgr.
11750 (readdgrbyname): Return value returned by addgrbyX.
11751 (readdgrbygid): Likewise.
11752 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
11753 (addpwbyX): Return value returned by cache_addpw.
11754 (readdpwbyname): Return value returned by addhstbyX.
11755 (readdpwbyuid): Likewise.
11756 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
11757 (addservbyX): Return value returned by cache_addserv.
11758 (readdservbyname): Return value returned by addservbyX:
11759 (readdservbyport): Likewise.
11760 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
11761 (addhstbyX): Return value returned by cache_addhst.
11762 (readdhstbyname): Return value returned by addhstbyX.
11763 (readdhstbyaddr): Likewise.
11764 (readdhstbynamev6): Likewise.
11765 (readdhstbyaddrv6): Likewise.
11766 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
11767 (readdinitgroups): Return value returned by addinitgroupsX.
11768 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
11769 (prune_cache): Keep track of timeout value of re-added entries.
11770 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
11771 * nscd/nscd.h: Adjust prototypes of readd* functions.
11772
a0bf67cc
RM
117732011-02-04 Roland McGrath <roland@redhat.com>
11774
11775 * nis/nis_server.c (nis_servstate): Use the right name for 0.
11776 (nis_stats): Likewise.
11777 * nis/nis_modify.c (nis_modify): Likewise.
11778 * nis/nis_remove.c (nis_remove): Likewise.
11779 * nis/nis_add.c (nis_add): Likewise.
11780
11781 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
11782
11783 * posix/fnmatch_loop.c: Add some consts.
11784
11785 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
11786
435b95eb
L
117872011-02-02 H.J. Lu <hongjiu.lu@intel.com>
11788
11789 [BZ #12460]
11790 * config.make.in (config-cflags-novzeroupper): Define.
11791 * configure.in: Substitute libc_cv_cc_novzeroupper.
11792 * elf/Makefile (AVX-CFLAGS): Define.
11793 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
11794 (CFLAGS-tst-auditmod4a.c): Likewise.
11795 (CFLAGS-tst-auditmod4b.c): Likewise.
11796 (CFLAGS-tst-auditmod6b.c): Likewise.
11797 (CFLAGS-tst-auditmod6c.c): Likewise.
11798 (CFLAGS-tst-auditmod7b.c): Likewise.
11799 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
11800
8517b15e
UD
118012011-02-02 Ulrich Drepper <drepper@gmail.com>
11802
11803 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
11804 function to the callback.
11805 Patch partly by Jiri Olsa <jolsa@redhat.com>.
11806
10a656fe
AS
118072011-02-02 Andreas Schwab <schwab@redhat.com>
11808
11809 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
11810 of errno.
11811
968dad0a
UD
118122011-01-19 Ulrich Drepper <drepper@gmail.com>
11813
9f94d2ea 11814 [BZ #11724]
968dad0a
UD
11815 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
11816 of constructors.
11817 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
11818 of destructors.
11819 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
11820
11821 [BZ #11724]
11822 * elf/Makefile: Add rules to build and run new test.
11823 * elf/tst-initorder.c: New file.
11824 * elf/tst-initorder.exp: New file.
11825 * elf/tst-initordera1.c: New file.
11826 * elf/tst-initordera2.c: New file.
11827 * elf/tst-initordera3.c: New file.
11828 * elf/tst-initordera4.c: New file.
11829 * elf/tst-initorderb1.c: New file.
11830 * elf/tst-initorderb2.c: New file.
11831 * elf/tst-order-a1.c: New file.
11832 * elf/tst-order-a2.c: New file.
11833 * elf/tst-order-a3.c: New file.
11834 * elf/tst-order-a4.c: New file.
11835 * elf/tst-order-b1.c: New file.
11836 * elf/tst-order-b2.c: New file.
11837 * elf/tst-order-main.c: New file.
11838 New test case by George Gensure <werkt0@gmail.com>.
11839
86e92359
UD
118402010-10-01 Andreas Schwab <schwab@redhat.com>
11841
11842 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11843 decoding ACE if AI_CANONIDN.
11844
5d5732b0
UD
118452011-01-18 Ulrich Drepper <drepper@gmail.com>
11846
11847 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
11848
a77e8cbc
UD
118492011-01-17 Ulrich Drepper <drepper@gmail.com>
11850
6392473f
UD
11851 * version.h (RELEASE): Bump for 2.13 release.
11852 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
11853
620a0529
UD
11854 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
11855
18ba70a5
UD
11856 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
11857 MADV_NOHUGEPAGE.
32465c3e
UD
11858 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
11859 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11860 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11861 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11862 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11863 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11864
c0dafcf1
UD
11865 * posix/getconf.c: Update copyright year.
11866 * catgets/gencat.c: Likewise.
11867 * csu/version.c: Likewise.
11868 * debug/catchsegv.sh: Likewise.
11869 * debug/xtrace.sh: Likewise.
11870 * elf/ldconfig.c: Likewise.
11871 * elf/ldd.bash.in: Likewise.
11872 * elf/sprof.c (print_version): Likewise.
11873 * iconv/iconv_prog.c: Likewise.
11874 * iconv/iconvconfig.c: Likewise.
11875 * locale/programs/locale.c: Likewise.
11876 * locale/programs/localedef.c: Likewise.
11877 * malloc/memusage.sh: Likewise.
11878 * malloc/mtrace.pl: Likewise.
11879 * nscd/nscd.c (print_version): Likewise.
11880 * nss/getent.c: Likewise.
11881
a77e8cbc
UD
11882 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
11883 PF_CAIF, and PF_ALG.
11884 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11885
77e8bddf
AS
118862011-01-16 Andreas Schwab <schwab@linux-m68k.org>
11887
1f20b93a
AS
11888 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
11889 (modules-names): Use them.
11890 (ifunc-test-modules, ifunc-pie-tests): Define.
11891 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
11892 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
11893 (test-extras): Likewise.
11894 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
11895 $(compile-command.c).
11896 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
11897 (all-built-dso): Define.
11898 (check-textrel.out, check-execstack.out): Depend on it.
11899
77e8bddf
AS
11900 * configure.in: Don't override --enable-multi-arch.
11901
bc425b33
UD
119022011-01-15 Ulrich Drepper <drepper@gmail.com>
11903
11904 [BZ #6812]
11905 * nscd/hstcache.c (tryagain): Define.
11906 (cache_addhst): Return tryagain not notfound for temporary errors.
11907 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
11908 failed.
11909
794c3ad3
UD
119102011-01-14 Ulrich Drepper <drepper@gmail.com>
11911
70181fdd
UD
11912 [BZ #10563]
11913 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
11914 to make the syscall.
11915 * sysdeps/unix/sysv/linux/setgroups.c: New file.
11916
794c3ad3
UD
11917 [BZ #12378]
11918 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
11919 and fall back to matching as normal character if the string ends before
11920 the matching ']' is found. This is what POSIX requires.
11921 * posix/testfnm.c: Adjust test result.
11922 * posix/globtest.sh: Adjust test result. Add new test.
11923 * posix/tst-fnmatch.input: Likewise.
11924 * posix/tst-fnmatch2.c: Add new test.
11925
68dc9497
AS
119262010-12-28 Andreas Schwab <schwab@linux-m68k.org>
11927
11928 * elf/Makefile (check-execstack): Revert last change. Depend on
11929 check-execstack.h.
11930 (check-execstack.h): New target.
11931 (generated): Add check-execstack.h.
11932 * elf/check-execstack.c: Include "check-execstack.h".
11933 (main): Revert last change.
11934 (handle_file): Return zero if GNU_STACK is absent and
11935 DEFAULT_STACK_PERMS doesn't include PF_X.
11936
451f001b
UD
119372011-01-13 Ulrich Drepper <drepper@gmail.com>
11938
cfa28e56
UD
11939 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
11940 in child fails because the descriptor is already closed.
8cf8ce17
UD
11941 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
11942 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
11943 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 11944
1086d70d
UD
11945 [BZ #12397]
11946 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
11947 syscall.
11948
451f001b
UD
11949 [BZ #10484]
11950 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
11951 temporary buffer used to handle multi lookups locally.
a85b5cb4 11952 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 11953
08769175
UD
119542011-01-12 Ulrich Drepper <drepper@gmail.com>
11955
11956 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
11957 loader is ld.so.
11958
5e49c52e
UD
119592011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
11960
11961 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
11962 alignment for SSE2.
11963
60522a5f
UD
119642011-01-12 Ulrich Drepper <drepper@gmail.com>
11965
11966 [BZ #12394]
11967 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
11968 characters. When rounding increased number of integer digits recompute
11969 number of groups.
11970 * stdio-common/tst-grouping.c: New file.
11971 * stdio-common/Makefile: Add rules to build and run tst-grouping.
11972
f257bbd7
UD
119732011-01-09 Ulrich Drepper <drepper@gmail.com>
11974
11975 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
11976 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
11977
11978 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
11979 void.
11980 * bits/select.h: Likewise.
11981
fa9c15cb
UD
119822011-01-08 Ulrich Drepper <drepper@gmail.com>
11983
11984 * po/ja.po: Update from translation team.
11985
16c2895f
DM
119862011-01-04 David S. Miller <davem@sunset.davemloft.net>
11987
11988 [BZ #11155]
11989 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
11990 implementation just like for lxstat, fxstatat, et al.
11991
2543fef2
JM
119922010-12-27 Jim Meyering <meyering@redhat.com>
11993
11994 [BZ #12348]
11995 * posix/regexec.c (build_trtable): Return failure indication upon
11996 calloc failure. Otherwise, re_search_internal could infloop on OOM.
11997
98727dbe
UD
119982010-12-25 Ulrich Drepper <drepper@gmail.com>
11999
5bd6dc5c
UD
12000 [BZ #12201]
12001 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
12002 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
12003 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
12004 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
12005
97983464
UD
12006 [BZ #12207]
12007 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
12008
98727dbe
UD
12009 [BZ #12204]
12010 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
12011 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
12012
4a531bb0
L
120132010-12-15 H.J. Lu <hongjiu.lu@intel.com>
12014
12015 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
12016 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
12017 script has SORT_BY_INIT_PRIORITY.
12018 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
12019 NO_CTORS_DTORS_SECTIONS is defined.
12020 * elf/soinit.c: Likewise.
12021 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
12022 NO_CTORS_DTORS_SECTIONS is defined.
12023 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
12024 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
12025 * sysdeps/sh/init-first.c: Likewise.
12026 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
12027
07eb4b71
UD
120282010-12-24 Ulrich Drepper <drepper@gmail.com>
12029
12030 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
12031 always use the slow path.
12032
30950a5f
RA
120332010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
12034
12035 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
12036 similar rule which adds the sysdep directories to the header search in
12037 order to pick up the correct platform stackinfo.h.
12038 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
12039 perform test if it is, otherwise return successfully without testing.
12040 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
12041 DEFAULT_STACK_PERMS define in stackinfo.h.
12042 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
12043 defined in stackinfo.h.
12044 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
12045 DEFAULT_STACK_PERMS defined in stackinfo.h.
12046 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
12047 * sysdeps/ia64/stackinfo.h: Likewise.
12048 * sysdeps/s390/stackinfo.h: Likewise.
12049 * sysdeps/sh/stackinfo.h: Likewise.
12050 * sysdeps/sparc/stackinfo.h: Likewise.
12051 * sysdeps/x86_64/stackinfo.h: Likewise.
12052 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
12053 PF_X for powerpc64. Retain PF_X for powerpc32.
12054
db753e2c
UD
120552010-12-19 Ulrich Drepper <drepper@gmail.com>
12056
14b697f7
UD
12057 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
12058 accurately.
db753e2c
UD
12059 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
12060 GETDENTS_64BIT_ALIGNED.
12061
28300719
UD
120622010-12-14 Ulrich Drepper <dreper@gmail.com>
12063
14b697f7 12064 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 12065
4f197237
AS
120662010-12-10 Andreas Schwab <schwab@redhat.com>
12067
dbb0472f
AS
12068 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
12069 _GNU_SOURCE.
12070
4f197237
AS
12071 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
12072 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
12073 Remove __restrict.
12074 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
12075 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
12076
fb88ac72
UD
120772010-12-09 Ulrich Drepper <drepper@gmail.com>
12078
12079 [BZ #11655]
12080 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
12081 are initialized.
12082
42acbb92
JJ
120832010-12-09 Jakub Jelinek <jakub@redhat.com>
12084
12085 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
12086
c038d98d
UD
120872010-12-03 Ulrich Drepper <drepper@gmail.com>
12088
12089 * po/it.po: Update from translation team.
12090
3a4a2499
L
120912010-12-01 H.J. Lu <hongjiu.lu@intel.com>
12092
12093 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
12094 unused codes.
12095
1e24cf6e
UD
120962010-11-30 Ulrich Drepper <drepper@gmail.com>
12097
12098 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
12099
a7690819
AS
121002010-11-24 Andreas Schwab <schwab@redhat.com>
12101
12102 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
12103 specially.
12104 (gaih_getanswer_slice): Likewise.
12105
3bf8d1b1
JJ
121062010-10-20 Jakub Jelinek <jakub@redhat.com>
12107
12108 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
12109
6db52fbb
PB
121102010-05-31 Petr Baudis <pasky@suse.cz>
12111
12112 [BZ #11149]
12113 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
12114 silently even in the chroot mode.
12115
eaca7569
UD
121162010-11-22 Ulrich Drepper <drepper@gmail.com>
12117
12118 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
12119 last patch a bit. Pretty printing
12120
3056dcdb
UD
121212010-05-31 Petr Baudis <pasky@suse.cz>
12122
12123 [BZ #10085]
12124 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
12125 initialization of skip_initgroups_dyn.
12126
cf7c9078
UD
121272010-11-19 Ulrich Drepper <drepper@gmail.com>
12128
12129 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
12130 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12131
a1fb5e3e
UD
121322010-11-16 Ulrich Drepper <drepper@gmail.com>
12133
12134 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
12135
3540d66b
AS
121362010-11-11 Andreas Schwab <schwab@redhat.com>
12137
12138 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
12139 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
12140 (tst-fnmatch-ENV): Set MALLOC_TRACE.
12141 ($(objpfx)tst-fnmatch-mem): New rule.
12142 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
12143 * posix/tst-fnmatch.c (main): Call mtrace.
12144
13b69574
L
121452010-11-11 H.J. Lu <hongjiu.lu@intel.com>
12146
12147 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12148 Support Intel processor model 6 and model 0x2c.
12149
da93d214
LM
121502010-11-10 Luis Machado <luisgpm@br.ibm.com>
12151
12152 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
12153 signed comparison.
12154
8ca52c6e
L
121552010-11-09 H.J. Lu <hongjiu.lu@intel.com>
12156
12157 [BZ #12205]
12158 * string/test-strncasecmp.c (check_result): New function.
12159 (do_one_test): Use it.
12160 (check1): New function.
12161 (test_main): Use it.
12162 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
12163 Support strcasecmp and strncasecmp.
12164
69da074d
UD
121652010-11-08 Ulrich Drepper <drepper@gmail.com>
12166
12167 [BZ #12194]
12168 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
12169 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12170
ff02d528
L
121712010-11-07 H.J. Lu <hongjiu.lu@intel.com>
12172
12173 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
12174 IFUNC support.
12175 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12176 memset-x86-64.
12177 * sysdeps/x86_64/multiarch/bzero.S: New file.
12178 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
12179 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
12180 * sysdeps/x86_64/multiarch/memset.S: New file.
12181 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
12182 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12183 Set bit_Prefer_SSE_for_memop for Intel processors.
12184 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
12185 Define.
12186 (index_Prefer_SSE_for_memop): Define.
12187 (HAS_PREFER_SSE_FOR_MEMOP): Define.
12188
344d0b54
LM
121892010-11-04 Luis Machado <luisgpm@br.ibm.com>
12190
12191 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
12192 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
12193
c0dde15b
UD
121942010-11-03 H.J. Lu <hongjiu.lu@intel.com>
12195
12196 [BZ #12191]
12197 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12198 (__x86_64_raw_data_cache_size_half): Likewise.
12199 (__x86_64_raw_shared_cache_size): Likewise.
12200 (__x86_64_raw_shared_cache_size_half): Likewise.
12201
12202 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12203 (__x86_64_raw_data_cache_size_half): Likewise.
12204 (__x86_64_raw_shared_cache_size): Likewise.
12205 (__x86_64_raw_shared_cache_size_half): Likewise.
12206 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
12207 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
12208 and __x86_64_raw_shared_cache_size_half. Round
12209 __x86_64_data_cache_size_half, __x86_64_data_cache_size
12210 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
12211 to multiple of 256 bytes.
12212
0e516e0e
MS
122132010-11-03 Ulrich Drepper <drepper@gmail.com>
12214
12215 [BZ #12167]
12216 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
12217 of inacessible symlinks. Verify result of symlink before returning it.
12218 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12219 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
12220
0e012e87
ER
122212010-10-28 Erich Ritz <erichritz@gmail.com>
12222
12223 * math/math.h (isinf): Fix typo in comment.
12224
de0ff7bc
UD
122252010-11-01 Ulrich Drepper <drepper@gmail.com>
12226
12227 * po/da.po: Update from translation team.
12228
fa41c84d
UD
122292010-10-26 Ulrich Drepper <drepper@gmail.com>
12230
12231 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
12232 is added to the list.
12233
f0967738
AK
122342010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12235 Ulrich Drepper <drepper@gmail.com>
12236
12237 * elf/dl-object.c (_dl_new_object): Don't append the new object to
12238 the global list here. Move code to...
12239 (_dl_add_to_namespace_list): ...here. New function.
12240 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
12241 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
12242 * elf/dl-load.c (lose): Don't remove the element from the list.
12243 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
12244 (_dl_map_object): Likewise.
12245
122462010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
12247
12248 [BZ #12159]
12249 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
12250 into all bytes of SSE register.
12251 Patch by Richard Li <richardpku@gmail.com>.
12252
f0967738 122532010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
12254
12255 [BZ #12140]
12256 * malloc/malloc.c (_int_free): Fill correct number of bytes when
12257 perturbing.
12258
d0b9e94f
MB
122592010-10-20 Michael B. Brutman <brutman@us.ibm.com>
12260
12261 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
12262 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
12263 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
12264 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
12266 submachine.
12267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
12268
8e9f92e9
AS
122692010-10-22 Andreas Schwab <schwab@redhat.com>
12270
12271 * include/dlfcn.h (__RTLD_SECURE): Define.
12272 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
12273 mode & __RTLD_SECURE instead.
12274 (open_path): Rename preloaded parameter to secure.
12275 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
12276 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
12277 * elf/dl-deps.c (openaux): Likewise.
12278 * elf/rtld.c (struct map_args): Remove is_preloaded.
12279 (map_doit): Don't use it.
12280 (dl_main): Likewise.
12281 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
12282 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
12283
bc96fbda
AS
122842010-09-09 Andreas Schwab <schwab@redhat.com>
12285
12286 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
12287 (sysd-rules-targets): Remove duplicates.
12288 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
12289 rtld-%.$o dependency.
12290
22cd1c9b
AS
122912010-10-18 Andreas Schwab <schwab@redhat.com>
12292
12293 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
12294 _dl_map_object do it.
12295
18edac48
UD
122962010-10-19 Ulrich Drepper <drepper@gmail.com>
12297
12298 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
12299 fast fma builtins, define the macros in the C99 standard.
12300 (FP_FAST_FMAF): Likewise.
12301 (FP_FAST_FMAL): Likewise.
12302 * sysdeps/x86_64/bits/mathdef.h: Likewise.
12303
12304 * bits/mathdef.h: Update copyright year.
12305 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12306
d2050124
MM
123072010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
12308
12309 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
12310 builtins, define the macros in the C99 standard.
12311 (FP_FAST_FMAF): Likewise.
12312 (FP_FAST_FMAL): Likewise.
12313 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
12314 multiply/add.
12315 (FP_FAST_FMAF): Likewise.
12316
475facd1
JJ
123172010-10-15 Jakub Jelinek <jakub@redhat.com>
12318
12319 [BZ #3268]
12320 * math/libm-test.inc (fma_test): Some new testcases.
12321 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
12322 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
12323 y and infinite z. Do multiplication by C already in long double.
12324 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
12325 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
12326 y and infinite z. Do bitwise or of inexact bit into u.d.
12327 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
12328 * sysdeps/i386/fpu/s_fmaf.S: Removed.
12329 * sysdeps/i386/fpu/s_fma.S: Removed.
12330 * sysdeps/i386/fpu/s_fmal.S: Removed.
12331
7c08a05c
JJ
123322010-10-16 Jakub Jelinek <jakub@redhat.com>
12333
12334 [BZ #3268]
12335 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
12336 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
12337 computation is not scheduled after fetestexcept. Fix value
12338 of minimum denormal long double.
12339
f3f7372d
JJ
123402010-10-14 Jakub Jelinek <jakub@redhat.com>
12341
12342 [BZ #3268]
12343 * math/libm-test.inc (fma_test): Add some more tests.
12344 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
12345 correctly.
12346
14d43591
AS
123472010-10-15 Andreas Schwab <schwab@redhat.com>
12348
12349 * scripts/data/localplt-s390-linux-gnu.data: New file.
12350 * scripts/data/localplt-s390x-linux-gnu.data: New file.
12351
5e908464
JJ
123522010-10-13 Jakub Jelinek <jakub@redhat.com>
12353
12354 [BZ #3268]
12355 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
12356 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
12357 instead of dbl-64.
12358 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
12359 inlines.
12360 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
12361 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
12362 if one of x and y is very large and the other is subnormal.
12363 * sysdeps/s390/fpu/s_fmaf.c: New file.
12364 * sysdeps/s390/fpu/s_fma.c: New file.
12365 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
12366 * sysdeps/powerpc/fpu/s_fma.S: New file.
12367 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
12368 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
12369 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
12370
123712010-10-12 Jakub Jelinek <jakub@redhat.com>
12372
12373 [BZ #3268]
12374 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
12375 fma tests.
12376 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
12377 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
12378 * sysdeps/i386/i686/multiarch/s_fma.c: Include
12379 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
12380 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
12381 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
12382 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
12383
b833d51f
UD
123842010-10-12 Ulrich Drepper <drepper@redhat.com>
12385
12386 [BZ #12078]
12387 * posix/regcomp.c (parse_branch): One more memory leak plugged.
12388 * posix/bug-regex31.input: Add test case.
12389
1751705d
UD
123902010-10-11 Ulrich Drepper <drepper@gmail.com>
12391
e9b9cbf5
UD
12392 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
12393 * posix/bug-regex31.input: New file.
12394
12395 [BZ #12078]
12396 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
12397 (parse_sub_exp): Fix last change, use postorder.
12398
ef06edbe
UD
12399 * posix/bug-regex31.c: New file.
12400 * posix/Makefile: Add rules to build and run bug-regex31.
12401
a129c80d
UD
12402 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
12403
12404 [BZ #12078]
12405 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
12406
b76b818e
UD
12407 [BZ #12108]
12408 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
12409 to have entries in sys_siglist.
12410
1751705d
UD
12411 [BZ #12093]
12412 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
12413 be NULL.
12414
9ff8d36f
JJ
124152010-10-07 Jakub Jelinek <jakub@redhat.com>
12416
12417 [BZ #3268]
12418 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
12419 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
12420 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
12421 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
12422 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12423 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
12424 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
12425 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
12426 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
12427 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
12428 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
12429 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
12430 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
12431 * math/ftestexcept.c (fetestexcept): Likewise.
12432 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
12433 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
12434 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
12435 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
12436 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
12437 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
12438 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12439
af325969
UD
124402010-10-11 Ulrich Drepper <drepper@gmail.com>
12441
c579b202 12442 [BZ #12107]
af325969
UD
12443 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
12444 newline.
12445
67a67b95
UD
124462010-10-06 Ulrich Drepper <drepper@gmail.com>
12447
12448 * string/bug-strstr1.c: New file.
12449 * string/Makefile: Add rules to build and run bug-strstr1.
12450
5fb308bc
EB
124512010-10-05 Eric Blake <eblake@redhat.com>
12452
12453 [BZ #12092]
12454 * string/str-two-way.h (two_way_long_needle): Always clear memory
12455 when skipping input due to the shift table.
12456
45db99c7
UD
124572010-10-03 Ulrich Drepper <drepper@gmail.com>
12458
3b111893
UD
12459 [BZ #12005]
12460 * malloc/mcheck.c: Handle large requests.
12461
45db99c7
UD
12462 [BZ #12077]
12463 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
12464 for strncmp and strncasecmp.
12465 * string/stratcliff.c: Add tests for strcmp and strncmp.
12466 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
12467
cf7a1eb8
NI
124682010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12469
12470 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
12471 __set_fpscr.
12472
6484ba5e
AJ
124732010-09-30 Andreas Jaeger <aj@suse.de>
12474
12475 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
12476 (CGROUP_SUPER_MAGIC): Define.
12477 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12478 Handle btrfs and cgroup file systems.
12479 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12480 Likewise.
12481
91c42559
LM
124822010-09-27 Luis Machado <luisgpm@br.ibm.com>
12483
12484 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
12485 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
12486
87a97932
AK
124872010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12488
12489 [BZ #12067]
12490 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
12491 trying to locate the ELF header.
12492
c21cc9bc
AS
124932010-09-27 Andreas Schwab <schwab@redhat.com>
12494
12495 [BZ #11611]
12496 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
12497 Mask out sign-bit copies when constructing f_fsid.
12498
315970f6
PB
124992010-09-24 Petr Baudis <pasky@suse.cz>
12500
12501 * debug/stack_chk_fail_local.c: Add missing licence exception.
12502 * debug/warning-nop.c: Likewise.
12503
1ac7a2c7
JM
125042010-09-15 Joseph Myers <joseph@codesourcery.com>
12505
12506 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
12507 implementing getdents64 using getdents syscall, set d_type if
12508 __ASSUME_GETDENTS32_D_TYPE.
12509
56801c50
AS
125102010-09-16 Andreas Schwab <schwab@redhat.com>
12511
12512 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
12513 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
12514
dda51327
UD
125152010-09-21 Ulrich Drepper <drepper@redhat.com>
12516
12517 [BZ #12037]
12518 * posix/unistd.h: Undo change of feature selection for ftruncate from
12519 2010-01-11.
12520
8ffcee4a
UD
125212010-09-20 Ulrich Drepper <drepper@redhat.com>
12522
a545ecd9 12523 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
12524 detection.
12525
e24f0a8b
AS
125262010-09-20 Andreas Schwab <schwab@redhat.com>
12527
12528 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
12529 fanotify_mark.
12530 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12531
7291c56f
AS
125322010-09-14 Andreas Schwab <schwab@redhat.com>
12533
12534 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
12535 variables after CHECK_SP call.
12536 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
12537
bc5fb037
AS
125382010-09-13 Andreas Schwab <schwab@redhat.com>
12539 Ulrich Drepper <drepper@redhat.com>
12540
12541 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
12542 re-relocationg ld.so.
12543 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
12544 _dl_init_paths call.
12545 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
12546 here anymore.
12547
e66e7419
UD
125482010-09-14 Ulrich Drepper <drepper@redhat.com>
12549
12550 * resolv/res_init.c (__res_vinit): Count the default server we added.
12551
c044aa75
CLT
125522010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
12553 Ulrich Drepper <drepper@redhat.com>
12554
12555 [BZ #11968]
12556 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12557 (____longjmp_chk): Use %ebx for saving value across system call.
12558 Add unwind info.
12559
32cf4069
AS
125602010-09-06 Andreas Schwab <schwab@redhat.com>
12561
12562 * manual/Makefile: Don't mix pattern rules with normal rules.
12563
817328ee
AS
125642010-09-05 Andreas Schwab <schwab@linux-m68k.org>
12565
12566 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
12567 operation.
12568 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12569 * libio/iofopncook.c (_IO_cookie_init): Likewise.
12570 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
12571 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12572 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12573 Likewise.
12574
29fddf61
UD
125752010-09-04 Ulrich Drepper <drepper@redhat.com>
12576
12577 [BZ #11979]
12578 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
12579 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
12580
0959ffc9
UD
125812010-09-02 Ulrich Drepper <drepper@redhat.com>
12582
12583 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
12584 * sysdeps/x86_64/addmul_1.S: Likewise.
12585 * sysdeps/x86_64/lshift.S: Likewise.
12586 * sysdeps/x86_64/mul_1.S: Likewise.
12587 * sysdeps/x86_64/rshift.S: Likewise.
12588 * sysdeps/x86_64/sub_n.S: Likewise.
12589 * sysdeps/x86_64/submul_1.S: Likewise.
12590
ece29840
ST
125912010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
12592
0959ffc9
UD
12593 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
12594 Define __sched_param instead of SCHED_* and sched_param when
ece29840 12595 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 12596 * bits/sched.h [__need_schedparam]
ece29840 12597 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
12598 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
12599 (__defined_schedparam): Define to 1.
ece29840
ST
12600 (__sched_param): New structure, identical to sched_param.
12601 (__need_schedparam): Undefine.
12602
e53a31fe
MF
126032010-08-31 Mike Frysinger <vapier@gentoo.org>
12604
fdc0c10d
MF
12605 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
12606 (epoll_create1): Declare.
12607
e53a31fe
MF
12608 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
12609
a726d796
AS
126102010-08-31 Andreas Schwab <schwab@redhat.com>
12611
12612 [BZ #7066]
12613 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
12614 shifting retval into place.
12615
2f3e3dc7
UD
126162010-09-01 Ulrich Drepper <drepper@redhat.com>
12617
f2933da9
UD
12618 * nis/rpcsvc/nis.h: Update copyright notice.
12619 * nis/rpcsvc/nis.x: Likewise.
12620 * nis/rpcsvc/nis_callback.h: Likewise.
12621 * nis/rpcsvc/nis_callback.x: Likewise.
12622 * nis/rpcsvc/nis_object.x: Likewise.
12623 * nis/rpcsvc/nis_tags.h: Likewise.
12624 * nis/rpcsvc/yp.h: Likewise.
12625 * nis/rpcsvc/yp.x: Likewise.
12626 * nis/rpcsvc/ypupd.h: Likewise.
12627 * nis/yp_xdr.c: Likewise.
12628 * nis/ypupdate_xdr.c: Likewise.
12629
2f3e3dc7
UD
12630 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
12631 mainly the body of pmap_getport. Add parameters to specify timeouts.
12632 (pmap_getport): Use __libc_rpc_getport.
12633 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
12634 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
12635 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
12636
f3dcc2f9
AS
126372010-08-31 Andreas Schwab <schwab@linux-m68k.org>
12638
12639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
12640 fanotify_mark.
12641
6d34eb5b
RM
126422010-08-27 Roland McGrath <roland@redhat.com>
12643
12644 * sysdeps/i386/i686/multiarch/Makefile
12645 (CFLAGS-varshift.c): New variable.
12646
9ea3de11
UD
126472010-08-27 Ulrich Drepper <drepper@redhat.com>
12648
c96d23fc
UD
12649 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
12650 * sysdeps/i386/i686/multiarch/varshift.c: New file.
12651
9ea3de11
UD
12652 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
12653
12654 * sysdeps/x86_64/strlen.S: Minimal code improvement.
12655
623aac7f
L
126562010-08-26 H.J. Lu <hongjiu.lu@intel.com>
12657
12658 * sysdeps/x86_64/strlen.S: Unroll the loop.
12659 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12660 strlen-sse2 strlen-sse2-bsf.
12661 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
12662 __strlen_no_bsf if bit_Slow_BSF is set.
12663 (__strlen_sse42): Removed.
12664 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
12665 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
12666
8b2b7715
RM
126672010-08-25 Roland McGrath <roland@redhat.com>
12668
12669 * sysdeps/x86_64/multiarch/varshift.S: File removed.
12670 * sysdeps/x86_64/multiarch/varshift.c: New file.
12671 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
12672 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
12673 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
12674 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12675
e73015f2
L
126762010-08-25 H.J. Lu <hongjiu.lu@intel.com>
12677
12678 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12679 strlen-sse2 strlen-sse2-bsf.
12680 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
12681 __strlen_sse2_bsf if bit_Slow_BSF is unset.
12682 (__strlen_sse2): Removed.
12683 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
12684 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
12685 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12686 bit_Slow_BSF for Atom.
12687 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
12688 (index_Slow_BSF): Define.
12689 (HAS_SLOW_BSF): Define.
12690
df24a73e
UD
126912010-08-25 Ulrich Drepper <drepper@redhat.com>
12692
12693 [BZ #10851]
12694 * resolv/res_init.c (__res_vinit): When no server address at all
12695 is given default to loopback.
12696
f2ac4868
RM
126972010-08-24 Roland McGrath <roland@redhat.com>
12698
09055553
RM
12699 * configure.in: Remove config-name.h generation.
12700 * configure: Regenerated.
12701 * config-name.in: File removed.
12702 * scripts/config-uname.sh: New file.
12703 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
12704 ($(objdir)config-name.h): New target.
12705
f2ac4868
RM
12706 * sunrpc/rpc_parse.h: Avoid nested comment.
12707
73f27d5e
RH
127082010-08-24 Richard Henderson <rth@redhat.com>
12709 Ulrich Drepper <drepper@redhat.com>
12710 H.J. Lu <hongjiu.lu@intel.com>
12711
12712 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
12713 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
12714 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
12715 Replace _mm_srli_si128 with __m128i_shift_right. Replace
12716 _mm_alignr_epi8 with _mm_loadu_si128.
12717 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
12718 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
12719 (__m128i_shift_right): Removed.
12720 * sysdeps/i386/i686/multiarch/varshift.h: New file.
12721 * sysdeps/i386/i686/multiarch/varshift.S: New file.
12722 * sysdeps/x86_64/multiarch/varshift.h: New file.
12723 * sysdeps/x86_64/multiarch/varshift.S: New file.
12724
84b9230c
MF
127252010-08-21 Mike Frysinger <vapier@gentoo.org>
12726
12727 * configure.in: Move assembler checks to before sysdep dir checking.
12728
9bbd0ddc
PB
127292010-08-20 Petr Baudis <pasky@suse.cz>
12730
12731 * LICENSES: Sync the sunrpc license.
12732
9da4bb31
UD
127332010-08-19 Ulrich Drepper <drepper@redhat.com>
12734
a7ab6ec8
UD
12735 * sunrpc/auth_des.c: Update copyright notice once again.
12736 * sunrpc/auth_none.c: Likewise.
12737 * sunrpc/auth_unix.c: Likewise.
12738 * sunrpc/authdes_prot.c: Likewise.
12739 * sunrpc/authuxprot.c: Likewise.
12740 * sunrpc/bindrsvprt.c: Likewise.
12741 * sunrpc/clnt_gen.c: Likewise.
12742 * sunrpc/clnt_perr.c: Likewise.
12743 * sunrpc/clnt_raw.c: Likewise.
12744 * sunrpc/clnt_simp.c: Likewise.
12745 * sunrpc/clnt_tcp.c: Likewise.
12746 * sunrpc/clnt_udp.c: Likewise.
12747 * sunrpc/clnt_unix.c: Likewise.
12748 * sunrpc/des_crypt.c: Likewise.
12749 * sunrpc/des_soft.c: Likewise.
12750 * sunrpc/get_myaddr.c: Likewise.
12751 * sunrpc/getrpcport.c: Likewise.
12752 * sunrpc/key_call.c: Likewise.
12753 * sunrpc/key_prot.c: Likewise.
12754 * sunrpc/openchild.c: Likewise.
12755 * sunrpc/pm_getmaps.c: Likewise.
12756 * sunrpc/pm_getport.c: Likewise.
12757 * sunrpc/pmap_clnt.c: Likewise.
12758 * sunrpc/pmap_prot.c: Likewise.
12759 * sunrpc/pmap_prot2.c: Likewise.
12760 * sunrpc/pmap_rmt.c: Likewise.
12761 * sunrpc/rpc/auth.h: Likewise.
12762 * sunrpc/rpc/auth_unix.h: Likewise.
12763 * sunrpc/rpc/clnt.h: Likewise.
12764 * sunrpc/rpc/des_crypt.h: Likewise.
12765 * sunrpc/rpc/key_prot.h: Likewise.
12766 * sunrpc/rpc/netdb.h: Likewise.
12767 * sunrpc/rpc/pmap_clnt.h: Likewise.
12768 * sunrpc/rpc/pmap_prot.h: Likewise.
12769 * sunrpc/rpc/pmap_rmt.h: Likewise.
12770 * sunrpc/rpc/rpc.h: Likewise.
12771 * sunrpc/rpc/rpc_des.h: Likewise.
12772 * sunrpc/rpc/rpc_msg.h: Likewise.
12773 * sunrpc/rpc/svc.h: Likewise.
12774 * sunrpc/rpc/svc_auth.h: Likewise.
12775 * sunrpc/rpc/types.h: Likewise.
12776 * sunrpc/rpc/xdr.h: Likewise.
12777 * sunrpc/rpc_clntout.c: Likewise.
12778 * sunrpc/rpc_cmsg.c: Likewise.
12779 * sunrpc/rpc_common.c: Likewise.
12780 * sunrpc/rpc_cout.c: Likewise.
12781 * sunrpc/rpc_dtable.c: Likewise.
12782 * sunrpc/rpc_hout.c: Likewise.
12783 * sunrpc/rpc_main.c: Likewise.
12784 * sunrpc/rpc_parse.c: Likewise.
12785 * sunrpc/rpc_parse.h: Likewise.
12786 * sunrpc/rpc_prot.c: Likewise.
12787 * sunrpc/rpc_sample.c: Likewise.
12788 * sunrpc/rpc_scan.c: Likewise.
12789 * sunrpc/rpc_scan.h: Likewise.
12790 * sunrpc/rpc_svcout.c: Likewise.
12791 * sunrpc/rpc_tblout.c: Likewise.
12792 * sunrpc/rpc_util.c: Likewise.
12793 * sunrpc/rpc_util.h: Likewise.
12794 * sunrpc/rpcinfo.c: Likewise.
12795 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
12796 * sunrpc/rpcsvc/key_prot.x: Likewise.
12797 * sunrpc/rpcsvc/klm_prot.x: Likewise.
12798 * sunrpc/rpcsvc/mount.x: Likewise.
12799 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
12800 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
12801 * sunrpc/rpcsvc/rex.x: Likewise.
12802 * sunrpc/rpcsvc/rstat.x: Likewise.
12803 * sunrpc/rpcsvc/rusers.x: Likewise.
12804 * sunrpc/rpcsvc/sm_inter.x: Likewise.
12805 * sunrpc/rpcsvc/spray.x: Likewise.
12806 * sunrpc/rpcsvc/yppasswd.x: Likewise.
12807 * sunrpc/rtime.c: Likewise.
12808 * sunrpc/svc.c: Likewise.
12809 * sunrpc/svc_auth.c: Likewise.
12810 * sunrpc/svc_authux.c: Likewise.
12811 * sunrpc/svc_raw.c: Likewise.
12812 * sunrpc/svc_run.c: Likewise.
12813 * sunrpc/svc_simple.c: Likewise.
12814 * sunrpc/svc_tcp.c: Likewise.
12815 * sunrpc/svc_udp.c: Likewise.
12816 * sunrpc/svc_unix.c: Likewise.
12817 * sunrpc/svcauth_des.c: Likewise.
12818 * sunrpc/xcrypt.c: Likewise.
12819 * sunrpc/xdr.c: Likewise.
12820 * sunrpc/xdr_array.c: Likewise.
12821 * sunrpc/xdr_float.c: Likewise.
12822 * sunrpc/xdr_mem.c: Likewise.
12823 * sunrpc/xdr_rec.c: Likewise.
12824 * sunrpc/xdr_ref.c: Likewise.
12825 * sunrpc/xdr_sizeof.c: Likewise.
12826 * sunrpc/xdr_stdio.c: Likewise.
12827
9da4bb31
UD
12828 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
12829 handling.
12830
bdaa77bc
AS
128312010-08-19 Andreas Schwab <schwab@redhat.com>
12832
12833 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
12834
fe2f79db
LM
128352010-08-19 Luis Machado <luisgpm@br.ibm.com>
12836
12837 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
12838 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
12839 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
12840 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
12841 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
12842 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
12843 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
12844 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
12845 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
12846 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
12847 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
12848 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
12849 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
12850 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
12851
b9b42ee0
AB
128522010-07-26 Anton Blanchard <anton@samba.org>
12853
12854 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
12855 * malloc/arena.c (heap_trim): Likewise.
12856
1c06ba31
UD
128572010-08-16 Ulrich Drepper <drepper@redhat.com>
12858
12859 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
12860 here. Not...
12861 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
12862 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
12863
f8392f40
L
128642010-08-12 H.J. Lu <hongjiu.lu@intel.com>
12865
12866 * sysdeps/i386/elf/Makefile: New file.
12867
3162f12e
AS
128682010-08-14 Andreas Schwab <schwab@linux-m68k.org>
12869
12870 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
12871 from fanotify_init.
12872 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
12873 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12874
28c90b2c
UD
128752010-08-15 Ulrich Drepper <drepper@redhat.com>
12876
12877 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
12878 of strncasecmp_l.
1feccb6c 12879 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 12880
ca6bb004
UD
128812010-08-14 Ulrich Drepper <drepper@redhat.com>
12882
e9f82e0d
UD
12883 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12884 strncase_l-nonascii.
12885 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12886 Add strncase_l-ssse3.
12887 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
12888 * sysdeps/x86_64/strcmp.S: Likewise.
12889 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
12890 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
12891 * sysdeps/x86_64/strncase.S: New file.
12892 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
12893 * sysdeps/x86_64/strncase_l.S: New file.
12894 * string/Makefile (strop-tests): Add strncasecmp.
12895 * string/test-strncasecmp.c: New file.
12896
12897 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
12898 warning.
12899
ca6bb004
UD
12900 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
12901 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
12902
052fa7b3
AS
129032010-08-14 Andreas Schwab <schwab@linux-m68k.org>
12904
12905 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
12906
962dba78
UD
129072010-08-12 Ulrich Drepper <drepper@redhat.com>
12908
12909 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
12910 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
12911 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
12912
bebff237
AM
129132010-05-01 Alan Modra <amodra@gmail.com>
12914
12915 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
12916 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
12917 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
12918 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
12919 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
12920 tidying. Don't tail-call __sigjmp_save for static lib.
12921 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
12922 save location.
12923 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
12924 (CALL_MCOUNT): Add eh info, and nop after bl.
12925 (TAIL_CALL_SYSCALL_ERROR): New macro.
12926 (PSEUDO_RET): Use it.
12927 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12928 Correct save location of integer regs and cr.
12929 (_dl_profile_resolve): Correct cr save location. Delete nops
12930 after bl when SHARED. Reduce cfi size a little by better
12931 placement of cfi directives.
12932 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
12933 make a stack frame. Instead use parm save area as a temp.
12934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
12935 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
12936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12937 Don't make a stack frame for parent, use parm save area.
12938 Increase child stack frame to 112 bytes. Don't save unused reg,
12939 and adjust reg usage. Set up cfi on error recovery and
12940 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
12941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12942 (__makecontext): Add dummy nop after jump to exit.
12943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
12944 Use correct parm save area and cr save, reduce stack frame.
12945 Correct cfi for possible PSEUDO_RET frame setup.
12946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
12947 Branch to local label emitted by PSEUDO_RET rather than
12948 __syscall_error.
12949
02637374
AS
129502010-08-12 Andreas Schwab <schwab@redhat.com>
12951
12952 [BZ #11904]
12953 * locale/programs/locale.c (print_assignment): New function.
12954 (show_locale_vars): Use it.
12955
c3e2f19b
UD
129562010-08-11 Ulrich Drepper <drepper@redhat.com>
12957
3cdaa6ad
UD
12958 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
12959 field.
12960 (struct statfs64): Likewise.
12961 (_STATFS_F_FLAGS): Define.
12962 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
12963 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12964 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
12965 (ST_VALID): Define locally.
12966 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
12967 __statvfs_getflags, use the provided value.
12968 * sysdeps/unix/sysv/linux/kernel-features.h: Define
12969 __ASSUME_STATFS_F_FLAGS.
12970
754f7da3
UD
12971 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
12972
10b3bedc
UD
12973 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
12974 Add sys/fanotify.h.
12975 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
12976 fanotify_mask for GLIBC_2.13.
12977 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
12978 fanotify_init and fanotify_mark.
12979 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12980 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
12981
c08fb0d7
UD
12982 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
12983 Add prlimit.
12984 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
12985 prlimit64 for GLIBC_2.13.
12986 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
12987 prlimit64.
12988 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
12989 syscall.
12990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
12991 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12992 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
12993 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
12994 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
12995 add prlimit alias.
12996 * sysdeps/unix/sysv/linux/prlimit.c: New file.
12997
15bac72b
UD
12998 [BZ #11903]
12999 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
13000 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
13001
c3e2f19b
UD
13002 * nss/Makefile: Add rules to build and run tst-nss-test1.
13003 * shlib-versions: Add entry for libnss_test1.
13004 * nss/nss_test1.c: New file.
13005 * nss/tst-nss-test1.c: New file.
13006
13007 * nss/nsswitch.c (__nss_database_custom): Define new variable.
13008 (__nss_configure_lookup): Set appropriate entry in
13009 __nss_configure_lookup to true.
13010 * nss/nsswitch.h: Define enum with indeces of databases in
13011 databases and __nss_database_custom arrays. Declare
13012 __nss_database_custom.
13013 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
13014 to avoid using nscd when custom rules are installed.
13015 * nss/getXXbyYY_r.c: Likewise.
13016 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13017
13018 * nss/nss_files/files-parse.c: Whitespace fixes.
13019
f15ce4d8
UD
130202010-08-09 Ulrich Drepper <drepper@redhat.com>
13021
13022 [BZ #11883]
13023 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
13024 * posix/fnmatch_loop.c: Likewise.
13025
d22e4cc9
AK
130262010-07-17 Andi Kleen <ak@linux.intel.com>
13027
13028 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
13029 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
13030 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
13031 * Versions.def [GLIBC_2.13]: Add.
13032
805bc17d
UD
130332010-08-06 Ulrich Drepper <drepper@redhat.com>
13034
13035 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13036 Also fail if tpwd after pwuid call is NULL.
13037
5a42321d
ST
130382010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
13039
13040 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
13041 when converting to ms.
13042
fd3ebeda
ST
130432010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13044
13045 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
13046 EOPNOTSUPP errors with ENOTTY.
13047 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
13048 EOPNOTSUPP errors with ENOTTY.
13049
73507d3a
UD
130502010-07-31 Ulrich Drepper <drepper@redhat.com>
13051
13052 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13053 Add strcasecmp_l-ssse3.
13054 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
13055 strcasecmp.
13056 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
13057 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
13058 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
13059
fe36dd02
UD
130602010-07-30 Ulrich Drepper <drepper@redhat.com>
13061
66f6765a
UD
13062 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
13063
42e08a54
UD
13064 * string/Makefile (strop-tests): Add strcasecmp.
13065 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13066 strcasecmp_l-nonascii.
13067 (gen-as-const-headers): Add locale-defines.sym.
13068 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
13069 * sysdeps/x86_64/strcasecmp.S: New file.
13070 * sysdeps/x86_64/strcasecmp_l.S: New file.
13071 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
13072 * sysdeps/x86_64/locale-defines.sym: New file.
13073 * string/test-strcasecmp.c: New file.
13074
fe36dd02
UD
13075 * string/test-strcasestr.c: Test both ends of the range of characters.
13076 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
13077
48cbc0d6
RM
130782010-07-29 Roland McGrath <roland@redhat.com>
13079
76e6d6bc 13080 [BZ #11856]
48cbc0d6
RM
13081 * manual/locale.texi (Yes-or-No Questions): Fix example code.
13082
880113d9
UD
130832010-07-27 Ulrich Drepper <drepper@redhat.com>
13084
13085 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
13086 for ld.so.
13087
deb9cabb
AS
130882010-07-27 Andreas Schwab <schwab@redhat.com>
13089
13090 * manual/memory.texi (Malloc Tunable Parameters): Document
13091 M_PERTURB.
13092
1c7570ff
RM
130932010-07-26 Roland McGrath <roland@redhat.com>
13094
13095 [BZ #11840]
13096 * configure.in (-fgnu89-inline check): Set and substitute
13097 gnu89_inline, not libc_cv_gnu89_inline.
13098 * configure: Regenerated.
13099 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
13100
24fb0f88
UD
131012010-07-26 Ulrich Drepper <drepper@redhat.com>
13102
13103 * string/test-strnlen.c: New file.
13104 * string/Makefile (strop-tests): Add strnlen.
13105 * string/tester.c (test_strnlen): Add a few more test cases.
13106 * string/tst-strlen.c: Better error reporting.
13107
13108 * sysdeps/x86_64/strnlen.S: New file.
13109
8e96b93a
UD
131102010-07-24 Ulrich Drepper <drepper@redhat.com>
13111
13112 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
13113 lower-latency instructions.
13114
dbc676d4
UD
131152010-07-23 Ulrich Drepper <drepper@redhat.com>
13116
13117 * string/test-strcasestr.c: New file.
13118 * string/test-strstr.c: New file.
13119 * string/Makefile (strop-tests): Add strstr and strcasestr.
13120 * string/str-two-way.h: Don't undefine MAX.
13121 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
13122
f6a31e0e
AS
131232010-07-21 Andreas Schwab <schwab@redhat.com>
13124
13125 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13126 strcasestr-nonascii.
13127 (CFLAGS-strcasestr-nonascii.c): Define.
13128 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
13129 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
13130 Remove unused attribute.
13131
5dbc3b6c
RM
131322010-07-20 Roland McGrath <roland@redhat.com>
13133
13134 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
13135 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
13136 ld.so.cache was broken. With it, there is no way to disable dsocaps
13137 like LD_HWCAP_MASK can disable hwcaps.
13138
23d101d8
EPM
131392010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13140
13141 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
13142
cc9f2e47
UD
131432010-07-16 Ulrich Drepper <drepper@redhat.com>
13144
13145 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
13146 call in strcasestr.
13147 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
13148 __strcasestr_sse42_nonascii.
13149 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
13150 strcasestr-nonascii.c.
13151 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
13152
77c1b069
LM
131532010-06-15 Luis Machado <luisgpm@br.ibm.com>
13154
13155 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
13156 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
13157 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
13158 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
13159
440566c3
UD
131602010-07-09 Ulrich Drepper <drepper@redhat.com>
13161
13162 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
13163 fcntl.
13164
5be9d05d
AS
131652010-07-06 Andreas Schwab <schwab@redhat.com>
13166
c30b7ee2 13167 [BZ #11577]
5be9d05d
AS
13168 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
13169 dl_signal_cerror.
13170
8a492a67
UD
131712010-07-06 Ulrich Drepper <drepper@redhat.com>
13172
13173 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
13174 _PC_PIPE_BUF using F_GETPIPE_SZ.
13175
713df3d5
RM
131762010-07-05 Roland McGrath <roland@redhat.com>
13177
13178 * manual/arith.texi (Rounding Functions): Fix rint description
13179 implicit in round description.
13180
702e8f14
UD
131812010-07-02 Ulrich Drepper <drepper@redhat.com>
13182
13183 * elf/Makefile: Fix linking for a few tests to make recent linker
13184 happy.
13185
52ed8be9
AS
131862010-06-30 Andreas Schwab <schwab@redhat.com>
13187
13188 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13189 $(common-objpfx)libc_nonshared.a.
13190
f47c9a11
LM
131912010-06-21 Luis Machado <luisgpm@br.ibm.com>
13192
13193 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
13194 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
13195 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13196 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13197 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
13198 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
13199 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13200 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
13202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
13203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
13204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
13206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
13208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
13209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
13210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
13211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
13213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
13215 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
13216 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
13217 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
13218 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
13219 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
13220 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
13221 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
13222 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
13223 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
13224 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
13225 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
13226 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
13227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
13228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
13229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
13230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
13231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
13232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
13233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
13234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
13235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
13236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
13237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
13238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
13239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
13240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
13241
6fb8cbcb
L
132422010-06-25 H.J. Lu <hongjiu.lu@intel.com>
13243
13244 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
13245 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
13246 * string/memmove.c (memmove): Renamed to ...
13247 (MEMMOVE): ...this. Default to memmove.
13248 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
13249 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
13250 (END_CHK): Define.
13251 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13252 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
13253 mempcpy-ssse3-back memmove-ssse3-back.
13254 * sysdeps/x86_64/multiarch/bcopy.S: New file .
13255 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
13256 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
13257 * sysdeps/x86_64/multiarch/memcpy.S: New file.
13258 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
13259 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
13260 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
13261 * sysdeps/x86_64/multiarch/memmove.c: New file.
13262 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
13263 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
13264 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
13265 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
13266 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
13267 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
13268 Define.
13269 (index_Fast_Copy_Backward): Define.
13270 (HAS_ARCH_FEATURE): Define.
13271 (HAS_FAST_REP_STRING): Define.
13272 (HAS_FAST_COPY_BACKWARD): Define.
13273
4e733bac 132742010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
13275
13276 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13277 Restore proper fallback handling.
13278
63c4ed22
UD
132792010-06-19 Ulrich Drepper <drepper@redhat.com>
13280
ac2b484c
UD
13281 [BZ #11701]
13282 * posix/group_member.c (__group_member): Correct checking loop.
13283
63c4ed22
UD
13284 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
13285 OOM in getpwuid_r correctly. Return error number when the caller
13286 should return, otherwise -1.
13287 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
13288 call returning > 0 value.
13289 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
13290
765ade4b
AS
132912010-06-07 Andreas Schwab <schwab@redhat.com>
13292
13293 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
13294 libc_nonshared.a from targets in modules-names.
13295
80da2e09
KS
132962010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
13297
13298 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
13299 requires it.
13300
158db122
LM
133012010-06-10 Luis Machado <luisgpm@br.ibm.com>
13302
13303 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
13304 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
13305 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
13306 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
13307
caa78cf8
AS
133082010-06-02 Andreas Schwab <schwab@redhat.com>
13309
13310 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
13311
b2ef2c01
UD
133122010-06-14 Ulrich Drepper <drepper@redhat.com>
13313
13314 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
13315 and F_GETPIPE_SZ.
13316 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13317 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13318 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13319 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13320 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13321 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
13322
fbd643b6
RM
133232010-06-14 Roland McGrath <roland@redhat.com>
13324
13325 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
13326
f32f2869
JJ
133272010-06-07 Jakub Jelinek <jakub@redhat.com>
13328
13329 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
13330 __REDIRECT followed by __THROW.
13331 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
13332 * posix/getopt.h (getopt): Likewise.
13333
2a50c078
EPM
133342010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13335
13336 * hurd/lookup-at.c (__file_name_lookup_at): Accept
13337 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
13338 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
13339 in AT_FLAGS.
13340 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
13341 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
13342
eb5ad2eb
LM
133432010-05-28 Luis Machado <luisgpm@br.ibm.com>
13344
13345 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
13346
3c88fe1e
L
133472010-05-26 H.J. Lu <hongjiu.lu@intel.com>
13348
13349 [BZ #11640]
13350 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13351 Properly check family and model.
13352
d2f73151
TY
133532010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
13354
13355 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
13356
ebd2e13d
LM
133572010-05-24 Luis Machado <luisgpm@br.ibm.com>
13358
13359 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
13360
b32b8b45
UD
133612010-05-21 Ulrich Drepper <drepper@redhat.com>
13362
13363 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
13364 symbol reference.
13365
9acbe24d
AS
133662010-05-19 Andreas Schwab <schwab@redhat.com>
13367
13368 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
13369 symbol reference.
13370
f0ccf6ea
AS
133712010-05-21 Andreas Schwab <schwab@redhat.com>
13372
3d04ff3a
AS
13373 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
13374 and internal_recvmmsg.
13375 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
13376 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
13377 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
13378 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
13379
f0ccf6ea
AS
13380 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
13381 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13382 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13383
5b08ac57
AS
133842010-05-20 Andreas Schwab <schwab@redhat.com>
13385
13386 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
13387
4828935d
LM
133882010-05-17 Luis Machado <luisgpm@br.ibm.com>
13389
13390 POWER7 optimizations.
13391 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
13392 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
13393
373d545e
UD
133942010-05-19 Ulrich Drepper <drepper@redhat.com>
13395
13396 * version.h: Update for 2.13 development version.
13397
21a2b1ae
AS
133982010-05-12 Andrew Stubbs <ams@codesourcery.com>
13399
13400 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
13401 exceptions. Return 0.
13402
3f7dcb2b
RM
134032010-05-07 Roland McGrath <roland@redhat.com>
13404
13405 * elf/ldconfig.c (main): Add a const.
13406
5f24d53a 134072010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 13408
a160f8d8
UD
13409 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
13410 (args_options): Add no-idn option.
13411 (ahosts_keys_int): Add idn_flags to ai_flags.
13412 (parse_option): Handle 'i' option to clear idn_flags.
13413
5f24d53a
UD
13414 * malloc/malloc.c (_int_free): Possible race in the most recently
13415 added check. Only act on the data if no current modification
13416 happened.
265bb1ce
UD
13417
13418See ChangeLog.17 for earlier changes.
This page took 1.899655 seconds and 5 git commands to generate.