]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Add dependency tracking for rpc-compat-routines
[thirdparty/glibc.git] / ChangeLog
CommitLineData
da392631
AS
12012-05-10 Andreas Schwab <schwab@linux-m68k.org>
2
3 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
4 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
5 after this.
6
8115f29b
L
72012-05-09 H.J. Lu <hongjiu.lu@intel.com>
8
9 * stdlib/longlong.h: Updated from GCC.
10
bdd74070
AJ
112012-05-09 Andreas Jaeger <aj@suse.de>
12
edfe0dbe
AJ
13 * nscd/nscd.c (run_modes): Make named enum, reorder so that
14 default is first entry.
15 (run_mode): Set type.
16 (main): Remove informal message about syslog.
17 (options): Fix typo.
18
bdd74070
AJ
19 [BZ #14053]
20 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
21 to asm.
22 (lrint): Likewise.
23 (llrintf): Likewise.
24 (llrint): Likewise.
25 (rint): Likewise.
26 (rintf): Likewise.
27 (nearbyint): Likewise.
28 (nearbyintf): Likewise.
29
91d8d69e
AJ
302012-05-09 Andreas Jaeger <aj@suse.de>
31 Pedro Alves <palves@redhat.com>
32
33 * nscd/nscd.c (run_mode): Use enum.
34 (main): Cleanup coding style issue.
35
bb90b80b
AJ
362012-05-09 Alexandre Oliva <aoliva@redhat.com>
37 Andreas Jaeger <aj@suse.de>
38
39 * nscd/nscd.c (go_background): Replaced with...
40 (run_mode): ... this.
41 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
42 (options): Add -F --foreground.
43 (main): Implement it.
44 (parse_opt): Parse it.
45
1a4b75a1
AJ
462012-05-09 Andreas Jaeger <aj@suse.de>
47
48 [BZ #14083]
49 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
50 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
51 -Wconversion warning.
52 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
53 Likewise.
54
b1cc2472
JM
552012-05-09 Joseph Myers <joseph@codesourcery.com>
56
57 * conform/data/locale.h-data (NULL): Use macro-constant. Require
58 == 0.
59 (LC_ALL): Use macro-int-constant.
60 (LC_COLLATE): Likewise.
61 (LC_CTYPE): Likewise.
62 (LC_MESSAGES): Likewise.
63 (LC_MONETARY): Likewise.
64 (LC_NUMERIC): Likewise.
65 (LC_TIME): Likewise.
66 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
67 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
68 [ISO || ISO99 || ISO11] (*_t): Do not allow.
69 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
70 Specify type.
71 [C99-based standards] (float_t): Expect type.
72 [C99-based standards] (double_t): Expect type.
73 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
74 type.
75 [C99-based standards] (HUGE_VALL): Likewise.
76 [C99-based standards] (INFINITY): Likewise.
77 [C99-based standards] (NAN): Likewise.
78 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
79 [C99-based standards] (FP_NAN): Likewise.
80 [C99-based standards] (FP_NORMAL): Likewise.
81 [C99-based standards] (FP_SUBNORMAL): Likewise.
82 [C99-based standards] (FP_ZERO): Likewise.
83 [C99-based standards] (FP_FAST_FMA): Use
84 optional-macro-int-constant. Specify type. Require == 1.
85 [C99-based standards] (FP_FAST_FMAF): Likewise.
86 [C99-based standards] (FP_FAST_FMAL): Likewise.
87 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
88 [C99-based standards] (FP_ILOGBNAN): Likewise.
89 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
90 Specify type.
91 [C99-based standards] (MATH_ERREXCEPT): Likewise.
92 [C99-based standards] (math_errhandling): Specify type.
93 [ISO99 || ISO11] (signgam): Do not allow.
94 [non-C99-based standards] (copysignf): Do not allow.
95 [non-C99-based standards] (exp2f): Likewise.
96 [non-C99-based standards] (log2f): Likewise.
97 [non-C99-based standards] (modff): Allow.
98 [non-C99-based standards] (erff): Do not allow.
99 [non-C99-based standards] (erfcf): Likewise.
100 [non-C99-based standards] (gammaf): Likewise.
101 [non-C99-based standards] (hypotf): Likewise.
102 [non-C99-based standards] (j0f): Likewise.
103 [non-C99-based standards] (j1f): Likewise.
104 [non-C99-based standards] (jnf): Likewise.
105 [non-C99-based standards] (lgammaf): Likewise.
106 [non-C99-based standards] (tgammaf): Likewise.
107 [non-C99-based standards] (y0f): Likewise.
108 [non-C99-based standards] (y1f): Likewise.
109 [non-C99-based standards] (ynf): Likewise.
110 [non-C99-based standards] (isnanf): Likewise.
111 [non-C99-based standards] (acoshf): Likewise.
112 [non-C99-based standards] (asinhf): Likewise.
113 [non-C99-based standards] (atanhf): Likewise.
114 [non-C99-based standards] (cbrtf): Likewise.
115 [non-C99-based standards] (expm1f): Likewise.
116 [non-C99-based standards] (ilogbf): Likewise.
117 [non-C99-based standards] (log1pf): Likewise.
118 [non-C99-based standards] (logbf): Likewise.
119 [non-C99-based standards] (nextafterf): Likewise.
120 [non-C99-based standards] (remainderf): Likewise.
121 [non-C99-based standards] (rintf): Likewise.
122 [non-C99-based standards] (scalbf): Likewise.
123 [non-C99-based standards] (copysignl): Likewise.
124 [non-C99-based standards] (exp2l): Likewise.
125 [non-C99-based standards] (log2l): Likewise.
126 [non-C99-based standards] (modfl): Allow.
127 [non-C99-based standards] (erfl): Do not allow.
128 [non-C99-based standards] (erfcl): Likewise.
129 [non-C99-based standards] (gammal): Likewise.
130 [non-C99-based standards] (hypotl): Likewise.
131 [non-C99-based standards] (j0l): Likewise.
132 [non-C99-based standards] (j1l): Likewise.
133 [non-C99-based standards] (jnl): Likewise.
134 [non-C99-based standards] (lgammal): Likewise.
135 [non-C99-based standards] (tgammal): Likewise.
136 [non-C99-based standards] (y0l): Likewise.
137 [non-C99-based standards] (y1l): Likewise.
138 [non-C99-based standards] (ynl): Likewise.
139 [non-C99-based standards] (isnanl): Likewise.
140 [non-C99-based standards] (acoshl): Likewise.
141 [non-C99-based standards] (asinhl): Likewise.
142 [non-C99-based standards] (atanhl): Likewise.
143 [non-C99-based standards] (cbrtl): Likewise.
144 [non-C99-based standards] (expm1l): Likewise.
145 [non-C99-based standards] (ilogbl): Likewise.
146 [non-C99-based standards] (log1pl): Likewise.
147 [non-C99-based standards] (logbl): Likewise.
148 [non-C99-based standards] (nextafterl): Likewise.
149 [non-C99-based standards] (remainderl): Likewise.
150 [non-C99-based standards] (rintl): Likewise.
151 [non-C99-based standards] (scalbl): Likewise.
152 [ISO || ISO99 || ISO11] (*_t): Do not allow.
153 [non-C99-based standards] (FP_*): Do not allow.
154 [C99-based standards] (FP_*): Change to
155 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
156 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
157 allow.
158 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
159 (SIG_ERR): Likewise.
160 [X/Open-based standards] (SIG_HOLD): Likewise.
161 (SIG_IGN): Likewise.
162 (SIGABRT): Use macro-int-constant. Specify type. Require
163 positive value.
164 (SIGFPE): Likewise.
165 (SIGILL): Likewise.
166 (SIGINT): Likewise.
167 (SIGSEGV): Likewise.
168 (SIGTER): Likewise.
169 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
170 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
171 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
172 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
173 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
174 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
175 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
176 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
177 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
178 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
179 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
180 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
181 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
182 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
183 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
184 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
185 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
186 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
187 [X/Open-based standards] (SIGTRAP): Likewise.
188 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
189 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
190 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
191 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
192 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
193 allow.
194
b9f1922d
IW
1952012-05-08 Ian Wienand <ianw@vmware.com>
196
197 [BZ #14080]
198 * time/tzset.c (__tzset_parse_tz): Update default rules for
199 daylight time changes in the Energy Policy Act of 2005.
200
1db86e88
AJ
2012012-05-09 Andreas Jaeger <aj@suse.de>
202
203 [BZ #13983]
204 * elf/ldconfig.c (parse_conf): Change string to make clear that
205 ldconfig only issued a warning if ld.so.conf does not exist.
206
dee4a4e3
DM
2072012-05-08 David S. Miller <davem@davemloft.net>
208
ee0db190
DM
209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
210 movxtod instead of popping the value on the stack.
211
dee4a4e3
DM
212 * sysdeps/sparc/fpu/libm-test-ulps: Update.
213
6a43ec98
CD
2142012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
215
216 * config.h.in: Add HAVE_ARM_PCS_VFP.
217
05c2c961
RMG
2182012-05-08 Roland Mc Grath <roland@hack.frob.com>
219
220 [BZ #13979]
221 * include/features.h: Warn if user requests __FORTIFY_SOURCE
222 checking but the checks are disabled for any reason.
223
4b30f61a
L
2242012-05-08 H.J. Lu <hongjiu.lu@intel.com>
225
226 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
227 and ELF64_R_TYPE with ELFW(R_TYPE).
228
eee2bc67
JM
2292012-05-08 Joseph Myers <joseph@codesourcery.com>
230
7ea5391a
JM
231 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
232 (ulimit): Likewise.
233
eee2bc67
JM
234 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
235 (settimeofday): Likewise.
236
abb66a67
MF
2372012-05-08 Mike Frysinger <vapier@gentoo.org>
238
239 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
240 a struct th_u2 inside the union, and move tu_block/tu_code into
241 a new th_u3 union of tu_block/tu_code inside of that. Move
242 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
243 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
244 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
245 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
246 (th_stuff): Change to th_u1.tu_stuff.
247 (th_data): Define.
248 (th_msg): Change to th_u1.th_u2.tu_data.
249
7f18b530
DM
2502012-05-07 David S. Miller <davem@davemloft.net>
251
05760585
DM
252 * sysdeps/sparc/fpu/libm-test-ulps: Update.
253
7f18b530
DM
254 [BZ #14074]
255 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
256 (SETUP_PIC_REG): Use it.
257 (SETUP_PIC_REG_LEAF): Use it.
258
495fd99f
JM
2592012-05-07 Joseph Myers <joseph@codesourcery.com>
260
261 [BZ #13885]
262 [BZ #13923]
263 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
264 USE_AS_EXPM1L.
265 (EXPL_FINITE): Likewise.
266 (FLDLOG): Likewise.
267 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
268 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
269 e_expl.S.
270 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
271 USE_AS_EXPM1L.
272 (EXPL_FINITE): Likewise.
273 (FLDLOG): Likewise.
274 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
275 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
276 e_expl.S.
277 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
278 test of -max_value argument for long double.
279 * sysdeps/i386/fpu/libm-test-ulps: Update.
280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
281
6693d694
DM
2822012-05-06 David S. Miller <davem@davemloft.net>
283
284 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
285 quad soft-float symbols whose references which are compiler
286 generated.
287 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
288
6c23e11c
JM
2892012-05-06 Joseph Myers <joseph@codesourcery.com>
290
d8b82cad
JM
291 [BZ #13884]
292 [BZ #13914]
293 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
294 USE_AS_EXP10L.
295 (EXPL_FINITE): Likewise.
296 (FLDLOG): Likewise.
297 (c0): Likewise.
298 (c1): Likewise.
299 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
300 Adjust comments for base varying.
301 (__expl_finite): Change alias to EXPL_FINITE.
302 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
303 e_expl.S.
304 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
305 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
306 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
307 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
308 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
309 USE_AS_EXP10L.
310 (EXPL_FINITE): Likewise.
311 (FLDLOG): Likewise.
312 (c0): Likewise.
313 (c1): Likewise.
314 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
315 Adjust comments for base varying.
316 (__expl_finite): Change alias to EXPL_FINITE.
317 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
318 tests for bugs.
319 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
320
6c23e11c
JM
321 [BZ #14064]
322 * math/libm-test.inc (check_float_internal): Correct ulp
323 calculation for subnormal expected results.
324
29ba805c
AJ
3252012-05-06 Andreas Jaeger <aj@suse.de>
326
327 * Makeconfig (+math-flags): New, set to -frounding-math.
328 (+cflags): Add +math-flags so that all of glibc gets compiled with
329 it.
330
331 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
332
7b17aeda
JM
3332012-05-05 Joseph Myers <joseph@codesourcery.com>
334
5779f134
JM
335 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
336 Disable one test.
337
41498f4d
JM
338 [BZ #13787]
339 [BZ #13922]
340 [BZ #14036]
341 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
342 (__ieee754_expl): Allow for and saturate large arguments.
343 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
344 (u_threshold): Likewise.
345 (__exp): Call __ieee754_exp before checking for overflow and
346 underflow.
347 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
348 (u_threshold): Likewise.
349 (__expf): Call __ieee754_expf before checking for overflow and
350 underflow.
351 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
352 (u_threshold): Likewise.
353 (__expl): Call __ieee754_expl before checking for overflow and
354 underflow.
355 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
356 (__ieee754_expl): Allow for and saturate large arguments.
357 * math/libm-test.inc (exp_test): Add another test. Do not allow
358 missing overflow exception on overflow.
359 (expm1_test): Do not allow missing overflow exception on overflow.
360
6698b8bf
JM
361 * sysdeps/i386/fpu/e_expl.c: Move to ...
362 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
363 rather than using inline asm.
364 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
365 * sysdeps/x86_64/fpu/e_expl.S: Copy from
366 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
367
7b17aeda
JM
368 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
369 (nice): Likewise.
370 (poll): Likewise.
371 (signal): Likewise.
372 (time): Likewise.
373 (times): Likewise.
374
f7c85819
JM
3752012-05-04 Joseph Myers <joseph@codesourcery.com>
376
377 * sysdeps/unix/syscalls.list (adjtime): Add entry from
378 sysdeps/unix/common/syscalls.list.
379 (fchmod): Likewise.
380 (fchown): Likewise.
381 (ftruncate): Likewise.
382 (getrusage): Likewise.
383 (gettimeofday): Likewise.
384 (setpgid): Likewise.
385 (setregid): Likewise.
386 (setreuid): Likewise.
387 (sigaction): Likewise.
388 (truncate): Likewise.
389 (vhangup): Likewise.
390 * sysdeps/unix/common/syscalls.list: Remove file.
391 * sysdeps/unix/bsd/Implies: Don't include unix/common.
392 * sysdeps/unix/sysv/linux/Implies: Likewise.
393
336270d0
L
3942012-05-04 H.J. Lu <hongjiu.lu@intel.com>
395
396 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
397 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
398 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
399 Moved to ...
400 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
401 Here.
402 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
403 to ...
404 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
405 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
406 to ...
407 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
408 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
409 to ...
410 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
411 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
412 to ...
413 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
414 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
415 to ...
416 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
417 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
418 to ...
419 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
420 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
421 to ...
422 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
423 Here.
424 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
425 to ...
426 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
427 Here.
428 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
429 to ...
430 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
431 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
432 Moved to ...
433 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
434 Here.
435 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
436 to ...
437 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
438
d128e450
JM
4392012-05-04 Joseph Myers <joseph@codesourcery.com>
440
fa8ee516
JM
441 * sysdeps/unix/common/bits/dirent.h: Remove file.
442 * sysdeps/unix/common/bits/fcntl.h: Likewise.
443
d128e450
JM
444 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
445 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
446 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
447 * sysdeps/unix/bsd/isatty.c: Likewise.
448 * sysdeps/unix/bsd/tcdrain.c: Likewise.
449 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
450 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
451
ff8faaf0 4522012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 453
62881be4 454 [BZ #13563]
31dc8730
AZ
455 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
456 long double comparison inaccuracies.
457 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
458 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
459
6fef930c
AS
4602012-05-04 Andreas Schwab <schwab@linux-m68k.org>
461
462 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
463 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
464
8f203e6c
JM
4652012-05-04 Joseph Myers <joseph@codesourcery.com>
466
467 [BZ #14049]
468 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
469 nonzero digits before rounding a hex value.
470 * stdlib/tst-strtod.c (tests): Add another test.
471
5197d9c2
AK
4722012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
473
474 * sysdeps/s390/fpu/libm-test-ulps: Update.
475
f0c1dedf
AJ
4762012-05-03 Andreas Jaeger <aj@suse.de>
477
478 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
479 does not get optimized out.
480 (malloc_opt_barrier): New.
481
a65ef2ae 4822012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 483 Roland McGrath <roland@hack.frob.com>
a65ef2ae 484
2b942cb7 485 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 486 intermediate file deletion.
2b942cb7 487 (generated): Add .symlist files.
a65ef2ae 488
54b71e02
JM
4892012-05-03 Joseph Myers <joseph@codesourcery.com>
490
491 [BZ #13775]
492 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
493 Redirect under this condition.
494 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
495 [__USE_GNU] (__dprintf_chk): Not under this condition.
496 [__USE_GNU] (__vdprintf_chk): Likewise.
497 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
498 under this condition.
499 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
500 [__USE_XOPEN2K8] (dprintf): Define under this condition.
501 [__USE_XOPEN2K8] (vdprintf): Likewise.
502 [__USE_GNU] (__dprintf_chk): Not under this condition.
503 [__USE_GNU] (__vdprintf_chk): Likewise.
504 [__USE_GNU] (dprintf): Likewise.
505 [__USE_GNU] (vdprintf): Likewise.
506
d3dfcc41
RM
5072012-05-03 Roland McGrath <roland@hack.frob.com>
508
509 * elf/Makefile (common-generated): Set this instead of generated for
510 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
511 $(all-built-dso)-derived lists.
512
7ac30cc5
AJ
5132012-05-03 Andreas Jaeger <aj@suse.de>
514
0c51e550
AJ
515 * sysdeps/i386/fpu/libm-test-ulps: Update.
516
7ac30cc5
AJ
517 * FAQ: Removed.
518 * FAQ.in: Likewise.
519 * scripts/gen-FAQ.pl: Likewise.
520 * manual/install.texi (Installation): Point to online location of
521 FAQ.
522 * Makefile (files-for-dist): Remove FAQ.
523 (FAQ): Remove.
524
d4c2917f
AM
5252012-05-02 Allan McRae <allan@archlinux.org>
526
527 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
528 (LDFLAGS-reldepmod5.so): Likewise.
529 (LDFLAGS-reldep6mod1.so): Likewise.
530 (LDFLAGS-reldep6mod4.so): Likewise.
531 (LDFLAGS-reldep8mod3.so): Likewise.
532 (LDFLAGS-unload4mod1.so): Likewise.
533 (LDFLAGS-unload4mod2.so): Likewise.
534 (LDFLAGS-tst-initorder): Likewise.
535 (LDFLAGS-tst-initordera2.so): Likewise.
536 (LDFLAGS-tst-initordera3.so): Likewise.
537 (LDFLAGS-tst-initordera4.so): Likewise.
538 (LDFLAGS-tst-initorderb2.so): Likewise.
539 (LDFLAGS-noload): Likewise.
540 (LDFLAGS-next): Likewise.
541 (LDFLAGS-order2mod1.so): Likewise.
542 (LDFLAGS-order2mod2.so): Likewise.
543 (LDFLAGS-tst-initorder2): Likewise.
544 (LDFLAGS-tst-initorder2a.so): Likewise.
545 (LDFLAGS-tst-initorder2b.so): Likewise.
546 (LDFLAGS-tst-initorder2c.so): Likewise.
547 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
548
d77f993f
DM
5492012-05-02 David S. Miller <davem@davemloft.net>
550
551 * sysdeps/sparc/fpu/libm-test-ulps: Update.
552
171a70b4
PP
5532012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
554
555 [BZ #14055]
556 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
557
0be196ad
AJ
5582012-05-02 Andreas Jaeger <aj@suse.de>
559
560 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
561 since we manipulate rounding mode.
562 (CPPFLAGS-test-idouble.c): Likewise.
563 (CPPFLAGS-test-ifloat.c): Likewise.
564 (CFLAGS-test-ldouble.c): Likewise.
565 (CFLAGS-test-double.c): Likewise.
566 (CFLAGS-test-float.c): Likewise.
567 (CFLAGS-test-misc.c): Likewise.
568 (CFLAGS-test-test-fenv.c): Likewise.
569
4f9d04aa
AZ
5702012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
571
2b942cb7
RM
572 [BZ #2550]
573 [BZ #2570]
574 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
575 comparisons to determine direction to adjust input.
4f9d04aa 576
82a79e7d
RM
5772012-05-01 Roland McGrath <roland@hack.frob.com>
578
f5a01ca9
RM
579 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
580 output to the target.
581
90fe4186
RM
582 * scripts/localplt.awk: New file.
583 * elf/Makefile ($(objpfx)check-localplt): Target removed.
584 (check-localplt-CFLAGS): Variable removed.
585 ($(all-built-dso:=.jmprel)): New static pattern rule.
586 (generated): Add those targets.
587 (localplt-built-dso): New variable.
588 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
589
590 * elf/check-localplt.c: File removed.
591
82397ed6
RM
592 * scripts/check-execstack.awk: New file.
593 * elf/Makefile ($(objpfx)check-execstack): Target removed.
594 (check-execstack-CFLAGS): Variable removed.
595 ($(objpfx)check-execstack.h): Target removed.
596 ($(objpfx)execstack-default): New target.
597 (generated): Add that instead of check-execstack.h.
598 ($(all-built-dso:=.phdr)): New static pattern rule.
599 (generated): Add those targets.
600 * elf/check-execstack.c: File removed.
601
82a79e7d
RM
602 * scripts/check-textrel.awk: New file.
603 * elf/Makefile ($(objpfx)check-textrel): Target removed.
604 (check-textrel-CFLAGS): Variable removed.
605 (all-built-dso): Use := to define.o
606 ($(all-built-dso:=.dyn)): New static pattern rule.
607 (generated): Add those targets.
608 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
609 * config.make.in (READELF): New substituted variable.
610 * elf/check-textrel.c: File removed.
611
62fde54f 6122012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 613
615605c9
JM
614 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
615 allow.
616 * conform/data/ctype.h-data [C99-based standards] (isblank):
617 Expect function.
618 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
619 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
620 [ISO || ISO99 || ISO11] (*_t): Do not allow.
621 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
622 Specify type. Require positive value.
623 (EILSEQ): Likewise.
624 (ERANGE): Likewise.
625 [ISO || POSIX] (EILSEQ): Do not expect.
626 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
627 Specify type. Require positive value.
628 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
629 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
630 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
631 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
632 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
633 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
634 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
635 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
636 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
637 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
638 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
639 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
640 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
641 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
642 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
643 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
644 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
645 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
646 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
647 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
648 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
649 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
650 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
651 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
652 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
653 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
654 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
655 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
656 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
657 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
658 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
659 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
660 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
661 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
662 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
663 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
664 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
665 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
666 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
667 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
668 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
669 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
670 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
671 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
672 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
673 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
674 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
675 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
676 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
677 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
678 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
679 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
680 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
681 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
682 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
683 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
684 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
685 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
686 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
687 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
688 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
689 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
690 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
691 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
692 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
693 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
694 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
695 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
696 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
697 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
698 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
699 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
700 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
701 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
702 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
703 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
704 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
705 Require >= 2.
706 (FLT_ROUNDS): Expect as macro, not constant.
707 (FLT_MANT_DIG): Use macro-int-constant.
708 (DBL_MANT_DIG): Likewise.
709 (LDBL_MANT_DIG): Likewise.
710 (FLT_DIG): Likewise.
711 (DBL_DIG): Likewise.
712 (LDBL_DIG): Likewise.
713 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
714 (DBL_MIN_EXP): Likewise.
715 (LDBL_MIN_EXP): Likewise.
716 (FLT_MAX_EXP): Use macro-int-constant.
717 (DBL_MAX_EXP): Likewise.
718 (LDBL_MAX_EXP): Likewise.
719 (FLT_MAX_10_EXP): Likewise.
720 (DBL_MAX_10_EXP): Likewise.
721 (LDBL_MAX_10_EXP): Likewise.
722 (FLT_MAX): Use macro-constant.
723 (DBL_MAX): Likewise.
724 (LDBL_MAX): Likewise.
725 (FLT_EPSILON): Use macro-constant. Give upper bound.
726 (DBL_EPSILON): Likewise.
727 (LDBL_EPSILON): Likewise.
728 (FLT_MIN): Likewise.
729 (DBL_MIN): Likewise.
730 (LDBL_MIN): Likewise.
731 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
732 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
733 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
734 [ISO11] (FLT_HAS_SUBNORM): Likewise.
735 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
736 [ISO11] (DBL_DECIMAL_DIG): Likewise.
737 [ISO11] (FLT_DECIMAL_DIG): Likewise.
738 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
739 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
740 [ISO11] (FLT_TRUE_MIN): Likewise.
741 [ISO11] (LDBL_TRUE_MIN): Likewise.
742 [ISO || ISO99 || ISO11] (*_t): Do not allow.
743 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
744 (SCHAR_MIN): Use macro-int-constant. Specify type.
745 (SCHAR_MAX): Likewise.
746 (UCHAR_MAX): Likewise.
747 (CHAR_MIN): Likewise.
748 (CHAR_MAX): Likewise.
749 (MB_LEN_MAX): Use macro-int-constant.
750 (SHRT_MIN): Use macro-int-constant. Specify type.
751 (SHRT_MAX): Likewise.
752 (USHRT_MAX): Likewise.
753 (INT_MAX): Likewise.
754 (INT_MIN): Use macro-int-constant. Specify type. Make upper
755 bound negative.
756 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
757 bound with "U".
758 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
759 bound with "L".
760 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
761 bound negative. Suffix upper bound with "L".
762 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
763 bound with "UL".
764 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
765 Specify type.
766 [C99-based standards] (LLONG_MAX): Likewise.
767 [C99-based standards] (ULLONG_MAX): Likewise.
768 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
769 == 0.
770 [ISO11] (max_align_t): Require type.
771 [ISO || ISO99 || ISO11] (*_t): Do not allow.
772
c9140a62
JM
773 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
774 from $CFLAGS, without defining away __attribute__ calls.
775 (checknamespace): Use $CFLAGS_namespace.
776
9af0bf29
JM
777 * conform/conformtest.pl (@keywords): Only include C99 keywords
778 for standards based on C99 or C11.
779
343222a2
JM
780 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
781 Disable tests.
782 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
783 UNIX98]: Likewise.
784
661f8cf0
JM
785 * conform/conformtest.pl: Handle "macro-int-constant" and test for
786 usability of symbols in #if.
787
ee74b9cb
JM
788 * conform/conformtest.pl: If macro or constant types start
789 "promoted:", expect the symbol to be of the following type
790 promoted by the integer promotions.
62fde54f 791
aafc49b3
JM
792 * conform/conformtest.pl: Parse all "constant" and "macro" lines
793 in one place. Also handle "macro-constant".
794
fefdf574
JM
795 * conform/conformtest.pl: Only accept expected macro values with
796 "==". Parse all "macro" lines in one place.
797 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
798
f2d922fe
JM
799 * conform/conformtest.pl: Handle braced types on "constant" lines
800 instead of handling "typed-constant".
801 * conform/data/signal.h-data: Use "constant" instead of
802 "typed-constant".
803
d22956c9
JM
804 * conform/conformtest.pl: Handle "optional-" at start of lines in
805 one place rather than duplicating several cases. Handle each
806 format of "macro" line with initial "optional-".
807
028e2e38
JM
808 * conform/conformtest.pl: Only accept expected constant or
809 optional-constant values with "==". Parse all "constant" lines in
810 one place. Parse all "optional-constant" lines in one place.
811 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
812 * conform/data/fmtmsg.h-data: Likewise.
813 * conform/data/netinet/in.h-data: Likewise.
814 * conform/data/tar.h-data: Likewise.
815 * conform/data/limits.h-data: Use "==" form on "constant" and
816 "optional-constant" lines.
817
1b8f2850
JM
818 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
819 Use -std=c99 for XOPEN2K.
820 (@knownproblems): Remove.
821 (newtoken): Don't check %isknown.
822
a05a144b
JM
823 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
824 Do not expect macro.
825 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
826 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
827 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
828 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
829 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
830 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
831 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
832 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
833 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
834 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
835 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
836 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
837 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
838 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
839 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
840 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
841 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
842 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
843 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
844 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
845 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
846 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
847 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
848 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
849 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
850 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
851 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
852 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
853 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
854 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
855 [XPG3] (acosh): Likewise.
856 [XPG3] (asinh): Likewise.
857 [XPG3] (atanh): Likewise.
858 [XPG3] (cbrt): Likewise.
859 [XPG3] (expm1): Likewise.
860 [XPG3] (ilogb): Likewise.
861 [XPG3] (log1p): Likewise.
862 [XPG3] (logb): Likewise.
863 [XPG3] (nextafter): Likewise.
864 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
865 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
866 [XPG3] (remainder): Likewise.
867 [XPG3] (rint): Likewise.
868 [XPG3 || XPG4 || UNIX98] (round): Likewise.
869 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
870 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
871 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
872 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
873 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
874 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
875 [UNIX98 || XOPEN2K] (scalb): Expect.
876 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
877 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
878 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
879 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
880 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
881 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
882 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
883 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
884 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
885 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
886 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
887 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
888 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
889 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
890 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
891 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
892 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
893 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
894 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
895 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
896 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
897 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
898 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
899 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
900 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
901 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
902 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
903 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
904 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
905 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
906 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
907 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
908 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
909 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
910 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
911 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
912 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
913 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
914 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
915 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
916 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
917 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
918 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
919 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
920 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
921 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
922 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
923 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
924 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
925 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
926 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
927 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
928 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
929 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
930 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
931 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
932 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
933 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
934 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
935 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
936 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
937 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
938 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
939 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
940 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
941 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
942 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
943 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
944 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
945 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
946 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
947 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
948 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
949 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
950 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
951 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
952 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
953 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
954 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
955 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
956 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
957 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
958 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
959 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
960 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
961 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
962 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
963 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
964 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
965 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
966 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
967 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
968 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
969 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
970 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
971 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
972 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
973 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
974 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
975 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
976 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
977 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
978 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
979 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
980 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
981 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
982 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
983 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
984 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
985 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
986 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
987 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
988 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
989 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
990 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
991 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
992 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
993 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
994 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
995 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
996 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
997 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
998 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
999 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
1000 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
1001 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
1002 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
1003 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
1004 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
1005 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
1006 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
1007 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
1008 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
1009 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
1010 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
1011 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
1012 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
1013
73c5ebe3
JM
1014 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
1015 _XOPEN_SOURCE_EXTENDED for XPG4.
1016
39c33b6c
JM
1017 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
1018
62fde54f
JM
1019 * Makeconfig (localtime): Remove variable.
1020 (inst_localtime-file): Likewise.
1021
0741d64c
AS
10222012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1023
1024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1025 Update.
1026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1027 Update.
1028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1029 Update.
1030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1031 Update.
1032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1033 Update.
1034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
1035 Update.
1036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1037 Update.
1038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
1039 Update.
1040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1041 Update.
1042
7cb029ee
JM
10432012-05-01 Joseph Myers <joseph@codesourcery.com>
1044
1045 [BZ #2550]
1046 [BZ #2570]
1047 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
1048 comparisons to determine direction to adjust input.
1049 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
1050 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
1051 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
1052 Likewise.
1053 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
1054 Likewise.
1055 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1056 Likewise.
1057 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
1058 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1059 Likewise.
1060 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1061 Likewise.
1062 * math/libm-test.inc (nexttoward_test): Add more tests.
1063
412bd966
AS
10642012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1065
1066 [BZ #14040]
1067 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
1068 in version GLIBC_2.1, not GLIBC_2.0.
1069 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
1070 Likewise.
1071
9568c0c2
JM
10722012-04-30 Joseph Myers <joseph@codesourcery.com>
1073
adfbc8ac
JM
1074 [BZ #13942]
1075 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
1076 (1 - x) * (1 + x).
1077 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1078 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
1079 * math/libm-test.inc (acos_test): Add more tests.
1080 (asin_test): Likewise.
1081 * sysdeps/i386/fpu/libm-test-ulps: Update.
1082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1083
5ba3cc69
JM
1084 [BZ #14034]
1085 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
1086 of square root.
1087 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
1088 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1089 * math/libm-test.inc (acos_test_tonearest): New function.
1090 (acos_test_towardzero): Likewise.
1091 (acos_test_downward): Likewise.
1092 (acos_test_upward): Likewise.
1093 (asin_test_tonearest): Likewise.
1094 (asin_test_towardzero): Likewise.
1095 (asin_test_downward): Likewise.
1096 (asin_test_upward): Likewise.
1097 (main): Call the new functions.
1098 * sysdeps/i386/fpu/libm-test-ulps: Update.
1099 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1100
9568c0c2
JM
1101 [BZ #13884]
1102 [BZ #13924]
1103 * math/e_exp10.c: Include <float.h>.
1104 (__ieee754_exp10): Handle underflow here rather than multiplying
1105 large negative argument by M_LN10.
1106 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
1107 of __ieee754_expf.
1108 * math/e_exp10l.c: Include <float.h>.
1109 (__ieee754_exp10l): Handle underflow here rather than multiplying
1110 large negative argument by M_LN10l.
1111 * math/libm-test.inc (exp10_test): Add another test. Do not allow
1112 spurious overflow exception on underflow.
1113
5ac3ea17
MP
11142012-04-29 Marek Polacek <polacek@redhat.com>
1115
1116 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
1117 (__fortify_function): New macro.
1118 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
1119 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
1120 __extern_always_inline.
1121 * libio/bits/stdio2.h: Likewise.
1122 * libio/bits/stdio.h: Likewise.
1123 * string/string.h: Likewise.
1124 * string/bits/string3.h: Likewise.
1125 * include/stdio.h: Likewise.
1126 * stdlib/bits/stdlib.h: Likewise.
1127 * stdlib/stdlib.h: Likewise.
1128 * rt/bits/mqueue2.h: Likewise.
1129 * rt/mqueue.h: Likewise.
1130 * posix/bits/unistd.h: Likewise.
1131 * posix/unistd.h: Likewise.
1132 * io/bits/poll2.h: Likewise.
1133 * io/bits/fcntl2.h: Likewise.
1134 * io/fcntl.h: Likewise.
1135 * io/sys/poll.h: Likewise.
1136 * misc/bits/syslog.h: Likewise.
1137 * misc/bits/syslog-ldbl.h: Likewise.
1138 * misc/sys/syslog.h: Likewise.
1139 * socket/bits/socket2.h: Likewise.
1140 * socket/sys/socket.h: Likewise.
1141 * debug/tst-chk1.c: Likewise.
1142 * wcsmbs/bits/wchar2.h: Likewise.
1143 * wcsmbs/bits/wchar-ldbl.h: Likewise.
1144 * wcsmbs/wchar.h: Likewise.
1145
ecf0ebfb
AJ
11462012-04-29 Andreas Jaeger <aj@suse.de>
1147
1148 * Makerules (tests): Remove enable-check-abi protection.
1149 (check-abi-warn): Remove.
1150 (check-abi-%): Remove check-abi-warn usage.
1151
1152 * configure.in: Remove check-abi configure option.
1153 * configure: Regenerated.
1154 * config.make.in (enable-check-abi): Remove.
1155
6d5c57fa
AS
11562012-04-28 Andreas Schwab <schwab@linux-m68k.org>
1157
24c5d07e 1158 [BZ #14033]
ded5180a
AS
1159 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
1160 double functions to double *_finite functions.
1161
7e0d315d
AS
1162 [BZ #13941]
1163 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
1164 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
1165 LDBL_MIN_EXP.
1166 * stdio-common/Makefile (tests): Add tst-sprintf3.
1167 * stdio-common/tst-sprintf3.c: New file.
1168
6d5c57fa
AS
1169 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
1170 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
1171
0749ff8b
JM
11722012-04-28 Joseph Myers <joseph@codesourcery.com>
1173
1174 * conform/conformtest.pl: Remove duplicate typed-constant
1175 handling.
1176
8dbd5d7b
DM
11772012-04-28 David S. Miller <davem@davemloft.net>
1178
1179 * Makerules (%.abilist): Add vpath on sysdep_dirs.
1180 (check-abi-%): Remove AWK script prerequisite and explicit
1181 abilist directory.
1182 (check-abi): Rewrite to just diff the symlist with the abilist.
1183 (config-tls, config-abi-config): Delete, no longer used.
1184 (update-abi-%): Remove AWK script and explicit abilist directory.
1185 (update-abi): Rewrite to simply compare and conditionally copy the
1186 symlist and the sysdep abilist file. Remove update-abi-config
1187 checks.
1188 * abilist/ld.abilist: Remove.
1189 * abilist/libBrokenLocale.abilist: Remove.
1190 * abilist/libanl.abilist: Remove.
1191 * abilist/libcrypt.abilist: Remove.
1192 * abilist/libdl.abilist: Remove.
1193 * abilist/librt.abilist: Remove.
1194 * abilist/libthread_db.abilist: Remove.
1195 * abilist/libutil.abilist: Remove.
1196 * scripts/extract-abilist.awk: Remove.
1197 * scripts/merge-abilist.awk: Remove.
1198 * sysdeps/generic/libcidn.abilist: New file.
1199 * sysdeps/generic/libnss_compat.abilist: New file.
1200 * sysdeps/generic/libnss_db.abilist: New file.
1201 * sysdeps/generic/libnss_dns.abilist: New file.
1202 * sysdeps/generic/libnss_files.abilist: New file.
1203 * sysdeps/generic/libnss_hesiod.abilist: New file.
1204 * sysdeps/generic/libnss_nis.abilist: New file.
1205 * sysdeps/generic/libnss_nisplus.abilist: New file.
1206 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
1207 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
1208 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
1209 file.
1210 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
1211 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
1212 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
1213 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
1214 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
1215 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
1216 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
1217 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
1218 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
1219 file.
1220 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
1221 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
1222 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
1223 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
1224 file.
1225 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
1226 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
1227 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
1228 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
1229 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
1230 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
1231 file.
1232 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
1233 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
1234 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
1235 file.
1236 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
1237 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
1238 New file.
1239 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
1240 New file.
1241 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
1242 New file.
1243 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
1244 New file.
1245 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
1246 New file.
1247 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
1248 New file.
1249 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
1250 New file.
1251 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
1252 New file.
1253 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
1254 New file.
1255 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
1256 New file.
1257 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
1258 New file.
1259 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
1260 New file.
1261 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
1262 New file.
1263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
1264 file.
1265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1266 New file.
1267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1268 New file.
1269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
1270 file.
1271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1272 New file.
1273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1274 New file.
1275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
1276 file.
1277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1278 New file.
1279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1280 New file.
1281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1282 New file.
1283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1284 New file.
1285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1286 New file.
1287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1288 New file.
1289 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
1290 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
1291 file.
1292 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1293 New file.
1294 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
1295 file.
1296 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
1297 file.
1298 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
1299 file.
1300 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
1301 file.
1302 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
1303 file.
1304 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1305 New file.
1306 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
1307 file.
1308 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
1309 file.
1310 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1311 New file.
1312 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
1313 file.
1314 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
1315 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
1316 file.
1317 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1318 New file.
1319 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
1320 file.
1321 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
1322 file.
1323 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
1324 file.
1325 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
1326 file.
1327 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
1328 file.
1329 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1330 New file.
1331 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
1332 file.
1333 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
1334 file.
1335 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1336 New file.
1337 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
1338 file.
1339 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1340 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
1341 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
1342 file.
1343 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
1344 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
1345 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
1346 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
1347 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
1348 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
1349 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
1350 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
1351 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
1352 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
1353 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
1354 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
1355 file.
1356 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1357 New file.
1358 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
1359 file.
1360 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
1361 file.
1362 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
1363 file.
1364 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
1365 file.
1366 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
1367 file.
1368 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1369 New file.
1370 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1371 New file.
1372 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
1373 file.
1374 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1375 New file.
1376 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
1377 file.
1378 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
1379 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
1380 file.
1381 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1382 New file.
1383 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
1384 file.
1385 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
1386 file.
1387 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
1388 file.
1389 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
1390 file.
1391 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
1392 file.
1393 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1394 New file.
1395 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1396 New file.
1397 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
1398 file.
1399 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1400 New file.
1401 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
1402 file.
1403
41d73a1b
JM
14042012-04-28 Joseph Myers <joseph@codesourcery.com>
1405
1406 * conform/conformtest.pl: Fix typo in handling typed-constant from
1407 allow-header.
1408
28aeeda4
JM
14092012-04-27 Joseph Myers <joseph@codesourcery.com>
1410
adae8f5e
JM
1411 * README: Cut down references to pre-2.6 Linux kernels and
1412 Linuxthreads. Update lists of configurations in libc and ports
1413 and sort alphabetically. Say "or newer" with Linux kernel version
1414 requirements.
1415
28aeeda4
JM
1416 * config.h.in [IS_IN_build]: Allow compiling without optimization.
1417
a462cb63
RA
14182012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1419
1420 [BZ #887]
1421 * math/libm-test.inc (logb_test_downward): New test to expose
1422 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
1423 rounding mode.
1424
6ad3493e
JM
14252012-04-27 Joseph Myers <joseph@codesourcery.com>
1426
1427 [BZ #14027]
1428 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
1429 to be done.
1430 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
1431 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
1432
2ce4f015
JM
14332012-04-26 Joseph Myers <joseph@codesourcery.com>
1434
5aeb141a
JM
1435 * sysdeps/unix/i386/brk.S: Remove file.
1436 * sysdeps/unix/i386/dl-brk.S: Likewise.
1437 * sysdeps/unix/i386/pipe.S: Likewise.
1438 * sysdeps/unix/i386/sigreturn.S: Likewise.
1439 * sysdeps/unix/i386/syscall.S: Likewise.
1440 * sysdeps/unix/i386/vfork.S: Likewise.
1441 * sysdeps/unix/i386/wait.S: Likewise.
1442
7143acae
JM
1443 * sysdeps/unix/common/tcsendbrk.c: Move to ...
1444 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
1445
2ce4f015
JM
1446 * configure.in (arm*-none*): Do not allow without
1447 --enable-hacker-mode.
1448 (netbsd*): Remove case setting base_os.
1449 (386bsd*): Likewise.
1450 (freebsd*): Likewise.
1451 (bsdi*): Likewise.
1452 (osf*): Likewise.
1453 (sunos*): Likewise.
1454 (ultrix*): Likewise.
1455 (newsos*): Likewise.
1456 (dynix*): Likewise.
1457 (*bsd*): Likewise.
1458 (sysv*): Likewise.
1459 (isc*): Likewise.
1460 (esix*): Likewise.
1461 (sco*): Likewise.
1462 (minix*): Likewise.
1463 (irix4*): Likewise.
1464 (irix6*): Likewise.
1465 (solaris[2-9]*): Likewise.
1466 (none): Likewise.
1467 * configure: Regenerated.
1468
0ac229c8
AZ
14692012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1470
1471 [BZ #11521]
1472 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
1473 overflow or cancellation in calculating denominator.
1474 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
1475 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
1476 down expression to avoid unexpected rounding in newer GCCs.
1477 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
1478
33f244f4
DM
14792012-04-26 David S. Miller <davem@davemloft.net>
1480
1481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
1482 long-double compat symbols.
1483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
1487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1488 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
1489 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
1490 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
1491 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
1492 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1493 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
1494 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
1495 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1496
cfa1f3e8
DM
14972012-04-25 David S. Miller <davem@davemloft.net>
1498
1499 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
1500 HWCAP_* values only after the memory barriers have been defined.
1501 (atomic_full_barrier): Define.
1502 (atomic_read_barrier): Define.
1503 (atomic_write_barrier): Define.
1504
6e236b92
SP
15052012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1506
1507 * shlib-versions: Add libgcc_s version information.
1508 * sysdeps/generic/libgcc_s.h: Remove.
1509 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
1510 libgcc_s.h.
1511 * sysdeps/gnu/unwind-resume.c: Likewise.
1512 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
1513
aab39a09
DM
15142012-04-25 David S. Miller <davem@davemloft.net>
1515
1516 * sysdeps/unix/sparc/brk.S: Delete.
1517 * sysdeps/unix/sparc/dl-brk.S: Delete.
1518 * sysdeps/unix/sparc/pipe.S: Delete.
1519 * sysdeps/unix/sparc/sysdep.S: Delete.
1520 * sysdeps/unix/sparc/sysdep.h: Delete.
1521 * sysdeps/unix/sparc/vfork.S: Delete.
1522 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
1523 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
1524 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
1525 ret_ERRVAL, r0, r1, MOVE): Define.
1526 (JUMPTARGET): Remove.
1527 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
1528 sysdeps/unix/sparc/sysdep.h
1529 (ENTRY, END): Remove.
1530 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1531
a3cc4f48
JM
15322012-04-25 Joseph Myers <joseph@codesourcery.com>
1533
2ed8cda2
JM
1534 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
1535 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
1536 -DIS_IN_build.
1537
35d76d59
JM
1538 * timezone/README: Update upstream location and email address for
1539 tzcode and tzdata.
1540 * timezone/zdump.c: Update from tzcode 2012b.
1541 * timezone/zic.c: Likewise.
1542
a3cc4f48
JM
1543 * configure.in (libc_cv_as_needed): Remove test.
1544 * configure: Regenerated.
1545 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
1546 conditional definition.
1547 [$(have-as-needed) != yes] (no-as-needed): Likewise.
1548 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
1549 * config.make.in (have-as-needed): Remove variable.
1550
ceab42c3
SP
15512012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1552 Paul Pluzhnikov <ppluzhnikov@google.com>
1553
1554 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
1555 strings correctly.
1556
3ce2865f
CLT
15572012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
1558
1559 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
1560 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
1561 * sysdeps/sh/strlen.S: Likewise.
1562
f37e0d68
JM
15632012-04-24 Joseph Myers <joseph@codesourcery.com>
1564
ae186e9a
JM
1565 * sysdeps/unix/fork.S: Remove file.
1566 * sysdeps/unix/i386/fork.S: Likewise.
1567 * sysdeps/unix/sparc/fork.S: Likewise.
1568
b96914af
JM
1569 * sysdeps/unix/system.c: Remove file.
1570 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
1571
f37e0d68
JM
1572 * sysdeps/unix/getegid.S: Remove file.
1573 * sysdeps/unix/geteuid.S: Likewise.
1574
87ef29ca
RM
15752012-04-24 Roland McGrath <roland@hack.frob.com>
1576
83bcd236
RM
1577 * scripts/check-localplt.awk: New file.
1578 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
1579 of diff.
1580 * scripts/data/localplt-generic.data: Add a comment.
1581
87ef29ca
RM
1582 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
1583 NODE when __dir_mkfile failed.
1584 * sysdeps/mach/hurd/symlinkat.c: Likewise.
1585 Reported by Ludovic Courtès <ludo@gnu.org>.
1586
e5a6e567
AJ
15872012-04-24 Andreas Jaeger <aj@suse.de>
1588
1589 * Makerules (common-clean): Also remove gen-as-const-headers
1590 files.
1591
c1820385
JM
15922012-04-24 Joseph Myers <joseph@codesourcery.com>
1593
1594 * Makerules (native-compile): Do not change working directory for
1595 build. Use $(OUTPUT_OPTION) in command.
1596 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
1597
94e02fc4
AZ
15982012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1599
1600 [BZ #13886]
1601 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
1602 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
1603 * math/libm-test.inc (floor_test): Add more tests.
1604 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
1605
3a533ca3
JM
16062012-04-24 Joseph Myers <joseph@codesourcery.com>
1607
940ab4b3
JM
1608 * sysdeps/unix/getdents.c: Remove file.
1609 * sysdeps/unix/sysv/getdents.c: Likewise.
1610 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
1611
90e037bd
JM
1612 * sysdeps/unix/syscalls.list (madvise): Add syscall from
1613 sysdeps/unix/mman/syscalls.list.
1614 (mmap): Likewise.
1615 (mprotect): Likewise.
1616 (msync): Likewise.
1617 (munmap): Likewise.
1618 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
1619 * sysdeps/unix/mman/syscalls.list: Remove.
1620 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
1621
3a533ca3
JM
1622 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
1623 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
1624 * configure: Regenerated.
1625 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
1626 $(libgcc_s_suffix).
1627 * config.make.in (libgcc_s_suffix): Remove variable.
1628
1ad743de
JM
16292012-04-23 Joseph Myers <joseph@codesourcery.com>
1630
4ad451e2
JM
1631 * sysdeps/unix/sysv/gethostname.c: Move to ...
1632 * sysdeps/posix/gethostname.c: ... here.
1633
5e37ce39
JM
1634 * sysdeps/unix/execve.S: Remove file.
1635
1ad743de
JM
1636 * sysdeps/unix/_exit.S: Remove file.
1637
4e681b5b
AJ
16382012-04-23 Andreas Jaeger <aj@suse.de>
1639
1640 [BZ #13739]
1641 * manual/Makefile: Remove make dist support, there's no
1642 need for a stand-alone documentation tar ball.
1643 (TEXI2DVI): Define always, it's not in Makeconfig.
1644 (dist): Removed.
1645 (tar-it): Removed.
1646 (edition): Removed.
1647 (glibc-doc-$(edition).tar): Removed
1648 (%.Z): Removed.
1649 (%.gz): Removed.
1650 (%.uu): Removed.
1651 (ETAGS): Remove, it's in Makeconfig.
1652 (move-if-change): Remove, it's in Makeconfig.
1653
c0baea34
PE
16542013-04-23 Paul Eggert <eggert@cs.ucla.edu>
1655
1656 [BZ #13970]
1657 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
1658 (strtod, strtof, strtold, strtol, strtoul, strtoq)
1659 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
1660 (strtod_l, strtof_l, strtold_l): Remove __wur.
1661 It is not necessarily an error to ignore strtol's return value.
1662 One can reliably look at the stored endptr to decide whether
1663 the number had valid syntax.
1664
7c0616fa
AJ
16652012-04-21 Andreas Jaeger <aj@suse.de>
1666
803cb6b7 1667 [BZ #13739]
7c0616fa
AJ
1668 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
1669
b0fe253f
JM
16702012-04-21 Joseph Myers <joseph@codesourcery.com>
1671
1672 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
1673 * sysdeps/unix/sysv/Versions: Remove file.
1674
8280f22d
MT
16752012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
1676
1677 [BZ #13927]
1678 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1679
75ce411f 16802012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
1681
1682 [BZ #7064]
1683 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
1684 version from __vm86.
1685
097d59fa
JM
16862012-04-20 Joseph Myers <joseph@codesourcery.com>
1687
a90f3bcb
JM
1688 * sysdeps/unix/common/lxstat.c: Remove file.
1689 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
1690
edc7ea78
JM
1691 * sysdeps/unix/sysv/Makefile: Remove file.
1692
cb78c221
JM
1693 * sysdeps/unix/sysv/direct.h: Remove file.
1694
efa6a45f
JM
1695 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
1696 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
1697 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
1698 * sysdeps/unix/sysv/bits/signum.h: Likewise.
1699 * sysdeps/unix/sysv/bits/stat.h: Likewise.
1700 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
1701 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
1702
9c9f2d0c
JM
1703 * sysdeps/unix/sysv/setrlimit.c: Remove file.
1704
4541c83b
JM
1705 * sysdeps/unix/xmknod.c: Remove file.
1706 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
1707
f5d153a0
JM
1708 * sysdeps/unix/sysv/settimeofday.c: Remove file.
1709
aa746595
JM
1710 * sysdeps/unix/sysv/i386/time.S: Remove file.
1711
cce5905e
JM
1712 * sysdeps/unix/fxstat.c: Remove file.
1713 * sysdeps/unix/xstat.c: Likewise.
1714 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
1715
37fa3841
JM
1716 * sysdeps/unix/sysv/sigaction.c: Remove file.
1717
ff1962a3
JM
1718 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
1719 (sysdep_headers): Remove variable.
1720 [termio.h not in sysdep_headers] (generated): Likewise.
1721 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
1722 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
1723 * sysdeps/unix/sysv/tcdrain.c: Likewise.
1724 * sysdeps/unix/sysv/tcflow.c: Likewise.
1725 * sysdeps/unix/sysv/tcflush.c: Likewise.
1726 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
1727 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
1728 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
1729 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
1730 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
1731
e7740d31
JM
1732 * sysdeps/unix/siglist.c: Remove file.
1733
ee06f18b
JM
1734 * sysdeps/unix/getppid.S: Remove file.
1735
097d59fa
JM
1736 * sysdeps/unix/mkdir.c: Remove file.
1737 * sysdeps/unix/rmdir.c: Likewise.
1738
ff3d51ec
AS
17392012-04-19 Andreas Schwab <schwab@linux-m68k.org>
1740
1741 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
1742 ERR_MAX value.
1743 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
1744 errlist-compat value.
1745
50f81fd7
DM
17462012-04-18 David S. Miller <davem@davemloft.net>
1747
1748 * sysdeps/generic/memcopy.h (reg_char): Delete.
1749 * debug/strcat_chk.c: Use char, not reg_char.
1750 * debug/strcpy_chk.c: Likewise.
1751 * debug/strncat_chk.c: Likewise.
1752 * debug/strncpy_chk.c: Likewise.
1753 * string/memchr.c: Likewise.
1754 * string/memrchr.c: Likewise.
1755 * string/rawmemchr.c: Likewise.
1756 * string/strcat.c: Likewise.
1757 * string/strchr.c: Likewise.
1758 * string/strchrnul.c: Likewise.
1759 * string/strcmp.c: Likewise.
1760 * string/strcpy.c: Likewise.
1761 * string/strncat.c: Likewise.
1762 * string/strncmp.c: Likewise.
1763 * string/strncpy.c: Likewise.
1764
8ff41c46
WS
17652012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1766
1767 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
1768 __builtin_memcopy is called when src and dest ranges are known to not
1769 overlap.
1770
6b652f46
WS
17712012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1772
1773 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
1774 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
1775 fwd_align_merge macro call.
1776 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
1777 bwd_align_merge macro call.
1778 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1779
b282631e
WS
17802012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1781
1782 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
1783 bwd_align_merge macros.
1784 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
1785 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
1786 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1787
95aa737c
DM
17882012-04-18 David S. Miller <davem@davemloft.net>
1789
1790 * sysdeps/sparc/sparc64/memcopy.h: Delete.
1791
7a99a614
AJ
17922012-04-18 Andreas Jaeger <aj@suse.de>
1793
1794 [BZ# 6794]
1795 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
1796 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
1797 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1798
1799 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
1800 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
1801 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1802
1803 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
1804 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
1805 Adjust for changed ldbl-128 files.
1806
1807 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
1808 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
1809 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1810
e5270c23
DM
18112012-04-17 David S. Miller <davem@davemloft.net>
1812
1813 * sysdeps/sparc/sparc32/memcopy.h: Delete.
1814
fb5e92c9
AS
18152012-04-17 Andreas Schwab <schwab@linux-m68k.org>
1816
1817 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
1818 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
1819 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
1820 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
1821 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1822 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
1823
76da7265
AZ
18242012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1825
1826 [BZ #6794]
1827 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
1828 * math/libm-test.inc: Add ilogb errno and exception tests.
1829 * math/w_ilogb.c: New file: ilogb wrapper.
1830 * math/w_ilogbf.c: New file: ilogbf wrapper.
1831 * math/w_ilogbl.c: New file: ilogbl wrapper.
1832 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
1833 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
1834 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
1835 exception being thrown with 0.0 as argument.
1836 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
1837 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
1838 exception being thrown with 0.0 as argument.
1839 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
1840 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1841 exception being thrown with 0.0 as argument.
1842 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
1843 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1844 exception being thrown with 0.0 as argument.
1845 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
1846 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 1847 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
1848 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
1849 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
1850 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
1851 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
1852 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
1853 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
1854
0396e69d
PB
18552012-04-17 Petr Baudis <pasky@ucw.cz>
1856
1857 * include/sys/uio.h: Change __vector to __iovec to avoid clash
1858 with altivec.
1859
750b5926
MP
18602012-04-16 Marek Polacek <polacek@redhat.com>
1861
1862 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
1863
751728a1
MP
18642012-04-16 Marek Polacek <polacek@redhat.com>
1865
1866 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
1867 operands of fdivp instruction.
1868
34a27407
L
18692012-04-13 H.J. Lu <hongjiu.lu@intel.com>
1870
1871 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
1872 * elf/tst-auditmod3b.c: Likewise.
1873 * elf/tst-auditmod4b.c: Likewise.
1874 * elf/tst-auditmod5b.c: Likewise.
1875 * elf/tst-auditmod6b.c: Likewise.
1876 * elf/tst-auditmod6c.c: Likewise.
1877 * elf/tst-auditmod7b.c: Likewise.
1878 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
1879 * sysdeps/x86_64/preconfigure.in: Likewise.
1880 * sysdeps/x86_64/preconfigure: Regenerated.
1881
7e73e17d
L
18822012-04-13 H.J. Lu <hongjiu.lu@intel.com>
1883
1884 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
1885 __ILP32__.
1886
c7a6ab72
AB
18872012-04-13 Antoine Balestrat <merkil33@gmail.com>
1888
1889 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1890 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
1891
a9e8e0e0
CL
18922012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
1893
1894 [BZ #13973]
1895 * locale/iso-639.def: Fix gl language name. Spotted by
1896 Yaron Shahrabani.
1897
ec98af7d
RM
18982012-04-12 Roland McGrath <roland@hack.frob.com>
1899
1900 [BZ #2074]
1901 * libio/libio.h (__io_write_fn): Update comment.
1902
247c3ede
PB
19032012-04-12 Petr Baudis <pasky@ucw.cz>
1904
1905 [BZ #2074]
1906 * stdio.texi (Hook Functions): The user provided writer function
1907 is not allowed to return -1.
1908
55939d6d
DM
19092012-04-11 David S. Miller <davem@davemloft.net>
1910
1911 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1912
90020f5a
MF
19132012-04-11 Mike Frysinger <vapier@gentoo.org>
1914
1915 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
1916 Add a leading slash to rtkaio.
1917
288f9098
JM
19182012-04-11 Jim Meyering <meyering@redhat.com>
1919
90020f5a
MF
1920 [BZ #11959]
1921 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
1922 It is not necessarily an error to ignore fwrite's return
1923 value. One can reliably use ferror to test for errors after
1924 the fact.
288f9098 1925
4be2b570
L
19262012-04-10 H.J. Lu <hongjiu.lu@intel.com>
1927
1928 * bits/types.h (__snseconds_t): New type.
1929 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
1930
1931 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
1932 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1933 (__SNSECONDS_T_TYPE): Likewise.
1934 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1935 (__SNSECONDS_T_TYPE): Likewise.
1936 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1937 (__SNSECONDS_T_TYPE): Likewise.
1938
288f9098 19392012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
1940
1941 [BZ #2636]
1942 * manual/time.texi (Processor Time): Return type of times is
1943 elapsed real time since an arbitrary point in the past.
1944 (CPU Time): Move CLK_TCK from here...
1945 (Processor Time): ...to here. Correct description.
1946 * manual/conf.texi (Constants for Sysconf): Correct description of
1947 _SC_CLK_TCK.
1948
d7dd4413
DM
19492012-04-10 David S. Miller <davem@davemloft.net>
1950
1951 [BZ #13967]
1952 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
1953 where the is a gap between DT_REL(A) and DT_JMPREL.
1954
b46068fc
L
19552012-04-10 H.J. Lu <hongjiu.lu@intel.com>
1956
1957 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
1958 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
1959 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
1960
73d65cc3
SP
19612012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1962
1963 * elf/dl-support.c (_dl_inhibit_cache): New variable.
1964 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
1965 (dl_main): Handle --inhibit-cache.
1966 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
1967 _dl_inhibit_cache.
1968 * elf/dl-load.c (_dl_map_object): Use it.
1969 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
1970
bcc8d661
JM
19712012-04-09 Joseph Myers <joseph@codesourcery.com>
1972
8f9a2fae
JM
1973 [BZ #13872]
1974 * sysdeps/i386/fpu/e_powl.S (p78): New object.
1975 (__ieee754_powl): Saturate large exponents rather than testing for
1976 overflow of y*log2(x).
1977 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1978 * math/libm-test.inc (pow_test): Do not permit spurious overflow
1979 exceptions.
1980
bcc8d661
JM
1981 [BZ #11521]
1982 * math/s_ctan.c: Include <float.h>.
1983 (__ctan): Avoid internal overflow or cancellation in calculating
1984 denominator.
1985 * math/s_ctanf.c: Likewise.
1986 * math/s_ctanl.c: Likewise.
1987 * math/s_ctanh.c: Likewise.
1988 * math/s_ctanhf.c: Likewise.
1989 * math/s_ctanhl.c: Likewise.
1990 * math/libm-test.inc (ctan_test): Add more tests.
1991 (ctanh_test): Likewise.
1992 * sysdeps/i386/fpu/libm-test-ulps: Update.
1993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1994
823fbbb4
AJ
19952012-04-09 Andreas Jaeger <aj@suse.de>
1996
03879793
AJ
1997 [BZ #6894]
1998 * manual/filesys.texi (Directory Entries): Mention that d_namlen
1999 is an optional BSD extension.
2000
823fbbb4
AJ
2001 [BZ #10254]
2002 * manual/stdio.texi (Opening Streams): Document additional fopen
2003 parameters.
2004
8de131cb
RM
20052012-04-09 Roland McGrath <roland@hack.frob.com>
2006
2007 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
2008 %eax without telling the compiler.
2009
c0ed9d7d
CD
20102012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
2011
2012 [BZ # 13963]
2013 * manual/install.texi: Use sourceware.org.
2014
c483f6b4
JM
20152012-04-09 Joseph Myers <joseph@codesourcery.com>
2016
d7dd9453
JM
2017 [BZ #13873]
2018 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
2019 (__ieee754_pow): Generate overflow and underflow using huge*huge
2020 and tiny*tiny rather than just returning constant infinity or zero
2021 for large exponents.
2022 * math/libm-test.inc (pow_test): Require overflow exceptions for
2023 applicable cases of large exponents.
2024
c483f6b4
JM
2025 [BZ #706]
2026 * sysdeps/i386/fpu/e_pow.S (p10): New object.
2027 (__ieee754_pow): Use iterative multiplication algorithm only for
2028 integer exponents with absolute value below 1024. Check for odd
2029 integer exponents when using algorithm for real exponents.
2030 * math/libm-test.inc (pow_test): Add more tests.
2031 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2032
d2de7579
JM
20332012-04-08 Joseph Myers <joseph@codesourcery.com>
2034
2035 [BZ #13705]
2036 * math/libm-test.inc (exp_test): Do not allow overflow exception
2037 on underflow test.
2038
f77f1232
AJ
20392012-04-08 Aurelien Jarno <aurelien@aurel32.net>
2040
2041 [BZ #13705]
2042 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
2043 instead of __kernel_standard_f.
2044
3884932b
MF
20452012-04-08 Mike Frysinger <vapier@gentoo.org>
2046
2047 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
2048 * sysdeps/x86_64/memset_chk.S: Likewise.
2049
54472e9c
AJ
20502012-04-08 Andreas Jaeger <aj@suse.de>
2051
6ab0fbfc
AJ
2052 [BZ #10153]
2053 * manual/startup.texi (Environment Access): Describe return value
2054 for putenv and setenv.
2055
61efba8c
AJ
2056 [BZ #6895]
2057 * manual/filesys.texi (Directory Entries): Add description for
2058 DT_LNK.
2059
95c3f29a
AJ
2060 [BZ #6890]
2061 * manual/filesys.texi (Directory Entries): Clarify that it's file
2062 system not operating system in the description of DT_UNKNOWN.
2063
54472e9c
AJ
2064 [BZ #6578]
2065 * manual/syslog.texi (closelog): Fix reference, it's openlog.
2066
624254b1
SC
20672012-04-08 Stephen Compall <s11@member.fsf.org>
2068
2069 [BZ #6649]
2070 * manual/llio.texi (Opening and Closing Files): Add cross
2071 reference to explain mode argument.
2072
1e4920e0
MF
20732012-04-07 Mike Frysinger <vapier@gentoo.org>
2074
2075 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
2076 * sysdeps/x86_64/memset_chk.S: Likewise.
2077
5ed848f3
DM
20782012-04-07 David S. Miller <davem@davemloft.net>
2079
2080 * elf/elf.h (R_SPARC_WDISP10): Define.
2081 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
2082 R_SPARC_SIZE32.
2083 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
2084 R_SPARC_SIZE64 and R_SPARC_H34.
2085
96154cd8
CD
20862012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
2087
2088 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
2089 conditions and remove no longer applicable assertion.
2090
9904dc47
L
20912012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2092
2093 * bits/byteswap.h: Include <features.h>.
2094 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2095 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2096
f8887d0a
L
20972012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2098
2099 * bits/byteswap.h (__bswap_16): Removed.
2100 Include <bits/byteswap-16.h> to get __bswap_16.
2101 * sysdeps/i386/bits/byteswap.h: Likewise.
2102 * sysdeps/s390/bits/byteswap.h: Likewise.
2103 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2104 * bits/byteswap-16.h: New file.
2105 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2106 * sysdeps/s390/bits/byteswap-16.h: Likewise.
2107 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
2108 * string/Makefile (headers): Add bits/byteswap-16.h.
2109
62470f60
PP
21102012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2111
2112 [BZ #13895]
2113 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
2114 extra indirection.
2115 * nss/Makefile (tests-static, tests): Add tst-nss-static.
2116 * nss/tst-nss-static.c: New.
2117
4dad7bab
RM
21182012-04-06 Robert Millan <rmh@gnu.org>
2119
2120 [BZ #6486]
2121 * manual/llio.texi (File Position Primitive): lseek
2122 refers to WHENCE when it really means OFFSET.
2123
e9142a17
AJ
21242012-04-06 Andreas Jaeger <aj@suse.de>
2125
2c040eff
AJ
2126 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
2127 strncmp declarations.
2128
e9142a17
AJ
2129 * abilist/libc.abilist: Add __poll and __ppoll.
2130
ff9f1c5f
DM
21312012-04-05 David S. Miller <davem@davemloft.net>
2132
dcd2ae90
DM
2133 * scripts/check-local-headers.sh: Accept a host triplet in the
2134 path matched by the exclude regexp.
2135
993eb054
DM
2136 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
2137 definition.
2138 * sysdeps/powerpc/powerpc32/dl-machine.h
2139 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
2140 * sysdeps/s390/s390-32/dl-machine.h
2141 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2142 * sysdeps/sparc/sparc32/dl-machine.h
2143 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2144 * sysdeps/sparc/sparc64/dl-machine.h
2145 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2146
ff9f1c5f
DM
2147 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
2148 lazy binding.
48e2e132 2149 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
2150 undefined symbol errors.
2151
48e2e132 2152 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
2153 DT_NEEDED entries.
2154
e80d6f94
MM
21552012-04-05 Michael Matz <matz@suse.de>
2156
2157 [BZ #13592]
2158 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
2159
349fa79f
AJ
21602012-04-05 Andreas Jaeger <aj@suse.de>
2161
2162 [BZ #13908]
2163 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
2164 comment.
2165
f402708f
KK
21662012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2167
2168 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
2169 which ROUND is no valid rounding mode.
2170
2ecccfc9
KK
21712012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2172
2173 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
2174 read again.
2175 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
2176
8a53f50f
KK
21772012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2178
2179 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
2180 an exception using FPU order intentionally.
2181
21822012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2183
2184 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
2185 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
2186 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
2187 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
2188
d653abb7
SJ
21892012-04-05 Simon Josefsson <simon@josefsson.org>
2190
2191 [BZ #12340]
2192 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
2193 EINVAL when BUFLEN is too smal.
2194
c3b1bf7d
TS
21952012-04-05 Thomas Schwinge <thomas@codesourcery.com>
2196
2197 [BZ #13553]
2198 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
2199 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
2200
b1aa60f3
AJ
22012012-04-03 Andreas Jaeger <aj@suse.de>
2202
c3b1bf7d 2203 [BZ #13938]
67f60a26
AJ
2204 * manual/setjmp.texi (System V contexts): Fix sentence.
2205
b1aa60f3
AJ
2206 [BZ #13926]
2207 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
2208 New macro for this case.
2209 [!__GNUC__] (__bswap_64): New inline function for this case.
2210 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2211 * bits/byteswap.h: Likewise.
2212 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
2213 ull, guard with __GLIBC_HAVE_LONG_LONG.
2214
2215 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
2216 __GLIBC_HAVE_LONG_LONG.
2217
2218 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
2219 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
2220
39c59c35
TMQMF
22212012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2222
2223 [BZ #13691]
2224 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
2225 inptr and inend, rather than using last_ch.
2226
135ffda8
DM
22272012-04-02 David S. Miller <davem@davemloft.net>
2228
2229 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
2230 * stdio-common/printf-parse.h (read_int): Change return type to
2231 'int', return -1 on INT_MAX overflow.
2232 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
2233 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
2234 overflows INT_MAX. Check for overflow of in-format-string precision
2235 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
2236 SIZE_MAX not INT_MAX for integer overflow test.
2237 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
2238 skip the construct in the format string but do not record anything.
2239 * stdio-common/bug22.c: Adjust to test both width/prevision
2240 INT_MAX overflow as well as total length INT_MAX overflow. Check
2241 explicitly for proper errno values.
2242
228c019e
TS
22432012-04-02 Thomas Schwinge <thomas@codesourcery.com>
2244
302cadd3
TS
2245 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
2246 CHAR_MAX.
2247 * string/test-strcmp.c [! WIDE]: Likewise.
2248 * time/tst-mktime2.c: Likewise for INT_MAX.
2249 * string/test-string.h: #include <sys/param.h> for MIN.
2250
228c019e
TS
2251 * csu/init-first.c (__libc_init_first): Call __ctype_init.
2252 * sysdeps/i386/init-first.c (init): Likewise.
2253 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
2254 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
2255 * sysdeps/sh/init-first.c (init): Likewise.
2256
cfa633f5
UD
22572012-04-01 Ulrich Drepper <drepper@gmail.com>
2258
2259 * po/ru.po: Update from translation team.
d1635ef8 2260 * po/vi.po: Likewise.
cfa633f5 2261
6cd0a5ea
SP
22622012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2263
2264 * resolv/nss_dns/dns-host.c: Merge copyright years.
2265
4b43400f
LD
22662012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2267
2268 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
2269 Optimize memcpy with prefetch if
2270 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
2271 src, dst pointers have unequal 16 byte alignments.
2272
48c41d04
SP
22732012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2274
2275 [BZ #13928]
2276 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
2277 from a CNAME entry and return the minimum ttl for the query.
2278 (gaih_getanswer_slice): Likewise.
2279
b8dc394d
JL
22802012-03-30 Jeff Law <law@redhat.com>
2281
2282 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
2283 due to long keys.
2284 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2285 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2286
2f5a5ed0
JL
2287 * resolv/nss_dns/dns-host.c: Update copyright year.
2288
1d39e359
UD
22892012-03-30 Ulrich Drepper <drepper@gmail.com>
2290
c030f70c 2291 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 2292 requests to save a system call. Fix check that all bytes are sent.
c030f70c 2293
1d39e359
UD
2294 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
2295 comments for sendmmsg.
2296
22972012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
2298
2299 [BZ #13691]
2300 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
2301 with only 1 character between 0x0041 and 0x01b0.
2302 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
2303 * wcsmbs/tst-mbsnrtowcs.c: New file.
2304
20fde227
DM
23052012-03-29 David S. Miller <davem@davemloft.net>
2306
2307 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
2308 small copies by hand.
2309
984a4237
JL
23102012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2311
2312 [BZ #13761]
2313 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
2314 _nss_compat_initgroups_dyn): Fall back to malloc/free
2315 for large group memberships.
2316
18c9d62b
DM
23172012-03-28 David S. Miller <davem@davemloft.net>
2318
88d85d4f
DM
2319 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
2320 that branches into memcpy.
2321 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2322 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2323 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2324 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2325 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
2326 bits.
2327 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
2328 implementation too.
2329 * sysdeps/sparc/mempcpy.S: New file.
2330
e5aa83e1
DM
2331 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
2332 the IFUNC routine in the libc case.
2333 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2334
88570753
DM
2335 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
2336 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
2337 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
2338 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
2339 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
2340 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
2341 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
2342 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
2343
249d7567
DM
2344 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
2345 loop to 256 bytes instead of 64 bytes and fix test signedness.
2346
18c9d62b
DM
2347 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
2348 * sysdeps/sparc/sparc32/Makefile: rather than here...
2349 * sysdeps/sparc/sparc64/Makefile: and here.
2350
05f3d1f6
UD
23512012-03-28 Ulrich Drepper <drepper@gmail.com>
2352
2353 * malloc/mallocbug.c: Avoid warnings about unused variables.
2354
86ae07a8
JL
23552012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2356
2357 [BZ #13760]
2358 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
2359 in the right place. Discard and retry query if response is
2360 larger than input buffer size.
2361
41bf21a1
JM
23622012-03-28 Joseph Myers <joseph@codesourcery.com>
2363
d6270972
JM
2364 [BZ #369]
2365 [BZ #2678]
2366 [BZ #3866]
2367 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
2368 x for large integer exponent.
2369 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2370 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
2371 sign of result as needed afterwards.
2372 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2373 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
2374 result for underflowing pow the same as for overflow.
2375 (__kernel_standard_l): Handle powl overflow and underflow here
2376 rather than calling __kernel_standard.
2377 * math/libm-test.inc (pow_test): Add more tests.
2378
414fca03 2379 [BZ #3868]
41bf21a1
JM
2380 [BZ #13879]
2381 [BZ #13910]
2382 [BZ #13911]
2383 [BZ #13912]
2384 [BZ #13913]
2385 [BZ #13915]
2386 [BZ #13916]
2387 [BZ #13917]
2388 [BZ #13918]
2389 [BZ #13919]
2390 [BZ #13920]
2391 [BZ #13921]
2392 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
2393 * sysdeps/ieee754/k_standard.c: Include <float.h>.
2394 (__kernel_standard_l): New function.
2395 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
2396 __kernel_standard.
2397 * math/w_acosl.c (__acosl): Likewise.
2398 * math/w_asinl.c (__asinl): Likewise.
2399 * math/w_atan2l.c (__atan2l): Likewise.
2400 * math/w_atanhl.c (__atanhl): Likewise.
2401 * math/w_coshl.c (__coshl): Likewise.
2402 * math/w_exp10l.c (__exp10l): Likewise.
2403 * math/w_exp2l.c (__exp2l): Likewise.
2404 * math/w_fmodl.c (__fmodl): Likewise.
2405 * math/w_hypotl.c (__hypotl): Likewise.
2406 * math/w_j0l.c (__j0l, __y0l): Likewise.
2407 * math/w_j1l.c (__j1l, __y1l): Likewise.
2408 * math/w_jnl.c (__jnl, __ynl): Likewise.
2409 * math/w_lgammal.c (__lgammal): Likewise.
2410 * math/w_log10l.c (__log10l): Likewise.
2411 * math/w_log2l.c (__log2l): Likewise.
2412 * math/w_logl.c (__logl): Likewise.
2413 * math/w_powl.c (__powl): Likewise.
2414 * math/w_remainderl.c (__remainderl): Likewise.
2415 * math/w_scalbl.c (sysv_scalbl): Likewise.
2416 * math/w_sinhl.c (__sinhl): Likewise.
2417 * math/w_sqrtl.c (__sqrtl): Likewise.
2418 * math/w_tgammal.c (__tgammal): Likewise.
2419 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
2420 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
2421 * math/libm-test.inc (acos_test): Add more tests.
2422 (acosh_test): Likewise.
2423 (asin_test): Likewise.
2424 (atanh_test): Likewise.
2425 (exp_test): Likewise.
2426 (exp10_test): Likewise.
2427 (exp2_test): Likewise.
2428 (expm1_test): Likewise.
2429 (lgamma_test): Likewise.
2430 (log_test): Likewise.
2431 (log10_test): Likewise.
2432 (log1p_test): Likewise.
2433 (log2_test): Likewise.
2434 (pow_test): Do not allow some spurious overflow exceptions.
2435 (sqrt_test): Add more tests.
2436 (tgamma_test): Likewise.
2437 (y0_test): Likewise.
2438 (y1_test): Likewise.
2439 (yn_test): Likewise.
2440
dd62fda6
AB
24412012-03-27 Anton Blanchard <anton@samba.org>
2442
2443 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
2444 MAP_HUGETLB.
2445 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2446 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
2447 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2448
1e3cdfda
AJ
24492012-03-27 David S. Miller <davem@davemloft.net>
2450
b855ab85
DM
2451 * conform/Makefile: Run run-conformtest.sh using $(BASH).
2452
1e3cdfda
AJ
2453 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
2454 have-as-vis3 check.
2455
24562012-03-27 Andreas Jaeger <aj@suse.de>
2457
2458 * sysdeps/x86_64/elf/configure.in: Moved to ...
2459 * sysdeps/x86_64/configure.in: ... here.
2460 * sysdeps/x86_64/elf/start.S: Moved to ...
2461 * sysdeps/x86_64/start.S: ... here.
2462 * sysdeps/x86_64/elf/configure: Delete.
2463
2464 * sysdeps/x86_64/configure.in: Merge contents from
2465 sysdeps/i386/configure.in (without i686 check).
2466
2467 * sysdeps/i386/elf/Versions: Merge into ...
2468 * sysdeps/i386/Versions: ... this.
2469 * sysdeps/i386/elf/Versions: Delete file.
2470 * sysdeps/i386/elf/start.S: Moved to ...
2471 * sysdeps/i386/start.S: ...here.
2472 * sysdeps/i386/elf/configure.in: Merge into...
2473 * sysdeps/i386/configure.in: ...here.
2474 * sysdeps/i386/elf/configure.in: Delete file.
2475 * sysdeps/i386/elf/configure: Delete file.
2476
2477 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
2478 * debug/backtracesyms.c: ... here.
2479 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
2480 * debug/backtracesymsfd.c: ... here.
2481 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
2482 * sysdeps/generic/ifunc-sel.h: ... here.
2483
2484 * sysdeps/unix/i386/start.c: Delete file.
2485 * sysdeps/unix/sparc/start.c: Delete file.
2486 * sysdeps/unix/start.c: Delete file.
2487
2488 * sysdeps/sh/elf/configure.in: Moved to ...
2489 * sysdeps/sh/configure.in: ... here.
2490 * sysdeps/sh/elf/start.S: Moved to ...
2491 * sysdeps/sh/start.S: ... here.
2492 * sysdeps/sh/elf/configure: Delete file.
2493
2494 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
2495 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
2496 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
2497 * sysdeps/powerpc/powerpc64/entry.h: ... here.
2498 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
2499 * sysdeps/powerpc/powerpc64/start.S: here.
2500 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
2501 * sysdeps/powerpc/powerpc64/Makefile: ... this.
2502 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
2503 * sysdeps/powerpc/powerpc64/configure.in: ... this.
2504 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
2505
2506 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
2507 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
2508 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
2509 * sysdeps/powerpc/powerpc32/start.S: ... here.
2510 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
2511 * sysdeps/powerpc/powerpc32/configure.in: ... this.
2512 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
2513
2514 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
2515 * sysdeps/powerpc/ifunc-sel.h: ... here.
2516 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
2517 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
2518
2519 * sysdeps/sparc/elf/configure.in: Moved to ...
2520 * sysdeps/sparc/configure.in: ... here.
2521 * sysdeps/sparc/elf/configure: Delete file.
2522 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
2523 * sysdeps/sparc/sparc32/start.S: ... here.
2524 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
2525 * sysdeps/sparc/sparc64/start.S: ... here.
2526 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
2527 * sysdeps/sparc/sparc32/Makefile: ... this.
2528 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
2529 * sysdeps/sparc/sparc64/Makefile: ... this.
2530
2531 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
2532 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
2533 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
2534 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
2535 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
2536 * sysdeps/s390/s390-32/setjmp.S: ... here.
2537 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
2538 * sysdeps/s390/s390-32/configure.in: ... here.
2539 * sysdeps/s390/s390-32/elf/configure: Delete file.
2540 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
2541 * sysdeps/s390/s390-32/start.S: ... here.
2542
2543 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
2544 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
2545 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
2546 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
2547 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
2548 * sysdeps/s390/s390-64/setjmp.S: ... here.
2549 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
2550 * sysdeps/s390/s390-64/configure.in: ... here
2551 * sysdeps/s390/s390-64/elf/configure: Delete file.
2552 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
2553 * sysdeps/s390/s390-64/start.S: ... here.
2554 * sysdeps/s390/s390-64/elf/configure: Delete.
2555
2556 * configure.in: Remove support for elf directories in sysdeps.
2557
2558 * configure: Regenerated.
2559 * sysdeps/i386/configure: Regenerated.
2560 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2561 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2562 * sysdeps/s390/s390-32/configure: Regenerated.
2563 * sysdeps/s390/s390-64/configure: Regenerated.
2564 * sysdeps/sh/configure: Regenerated.
2565 * sysdeps/sparc/configure: Regenerated.
2566 * sysdeps/x86_64/configure: Regenerated.
2567
a3f61311
AS
25682012-03-26 Andreas Schwab <schwab@linux-m68k.org>
2569
c876e002
AS
2570 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2571
a3f61311
AS
2572 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
2573 denormal result into account.
2574
ac4c54f0
RM
25752012-03-25 Roland McGrath <roland@hack.frob.com>
2576
2577 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
2578 Reported by Allan McRae <allan@archlinux.org>.
2579
6a9b9c02
JL
25802012-03-23 Jeff Law <law@redhat.com>
2581
2582 * nss/getnssent.c (__nss_getent): Fix typo.
2583
4c42a0c1
DM
25842012-03-23 David S. Miller <davem@davemloft.net>
2585
2586 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2587
1532c7ac
L
25882012-03-23 H.J. Lu <hongjiu.lu@intel.com>
2589
2590 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
2591 to pad to uint64_t for each field.
2592 (dl_tls_index): Replace unsigned long with uint64_t.
2593
3ff42526
PP
25942012-03-23 Daniel Jacobowitz <dmj@google.com>
2595 Paul Pluzhnikov <ppluzhnikov@google.com>
2596
2597 [BZ #6528]
2598 * grp/Makefile (otherlibs): Don't set it.
2599 * inet/Makefile (otherlibs): Likewise.
2600 * login/Makefile (otherlibs): Likewise.
2601 * nscd/Makefile (otherlibs): Likewise.
2602 * posix/Makefile (otherlibs): Likewise.
2603 * pwd/Makefile (otherlibs): Likewise.
2604 * rt/Makefile (otherlibs): Likewise.
2605 * sunrpc/Makefile (otherlibs): Likewise.
2606 * nss/Makefile (otherlibs): Likewise.
2607 Add libnss_files to routines and static-only-routines.
2608 ($(objpfx)getent): Remove rule.
2609 * resolv/Makefile: Add libnss_dns and libresolv to routines and
2610 static-only-routines.
2611
7c69cd14
JM
26122012-03-22 Joseph Myers <joseph@codesourcery.com>
2613
2614 [BZ #13892]
2615 * math/s_cexp.c: Include <float.h>.
2616 (__cexp): Handle exp result overflowing not necessarily
2617 overflowing both real and imaginary parts of result.
2618 * math/s_cexpf.c: Likewise.
2619 * math/s_cexpl.c: Likewise.
2620 * math/libm-test.inc (cexp_test): Add more tests.
2621 * sysdeps/i386/fpu/libm-test-ulps: Update.
2622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2623
81b035fe
L
26242012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2625
2626 * include/link.h (ELFW): New macro.
2627 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
2628 Replace ELF64_R_TYPE with ELFW(R_TYPE).
2629
1da7940c
L
26302012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2631
2632 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
2633 with uint64_t.
2634
b749dbb9
L
26352012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2636
2637 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
2638 declaration.
2639 (struct La_x32_retval): Likewise.
2640
2ff87f3f
L
26412012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2642
2643 * sysdeps/x86_64/preconfigure.in: New file.
2644 * sysdeps/x86_64/preconfigure: New generated file.
2645
c0df8e69
JM
26462012-03-22 Joseph Myers <joseph@codesourcery.com>
2647
48e44791
JM
2648 [BZ #13824]
2649 * math/e_exp2l.c: Include <float.h>.
2650 (__ieee754_exp2l): Handle overflow and underflow cases
2651 separately. Only pass fractional part of argument to
2652 __ieee754_expl.
2653 * math/libm-test.inc (exp2_test): Add more tests.
2654
c0df8e69
JM
2655 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
2656 negating x to take absolute value.
2657 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
2658 Likewise.
2659 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2660 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
2661 Likewise.
2662 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
2663 computing low part if x was negated.
2664 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2665
c8e43ba7
L
26662012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2667
2668 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
2669 la_x32_gnu_pltexit.
2670 (pltexit): Cast int_retval to ptrdiff_t.
2671 * elf/tst-auditmod3b.c: Likewise.
2672 * elf/tst-auditmod4b.c: Likewise.
2673 * elf/tst-auditmod5b.c: Likewise.
2674 * elf/tst-auditmod6b.c: Likewise.
2675 * elf/tst-auditmod6c.c: Likewise.
2676 * elf/tst-auditmod7b.c: Likewise.
2677
2678 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
2679 and x32_gnu_pltexit.
2680
2681 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
2682 __ELF_NATIVE_CLASS.
2683 (La_x32_regs): New macro.
2684 (La_x32_retval): Likewise.
2685 (la_x32_gnu_pltenter): New function prototype.
2686 (la_x32_gnu_pltexit): Likewise.
2687
7998fa78
AS
26882012-03-21 Andreas Schwab <schwab@linux-m68k.org>
2689
dcb33988
AS
2690 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
2691 exponent.
2692
233fc563
AS
2693 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2694
7998fa78
AS
2695 * configure.in (libc_cv_cc_nofma): Check for option to disable
2696 generation of FMA instructions.
2697 * configure: Regenerate.
2698 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
2699 * sysdeps/ieee754/dbl-64/Makefile: New file.
2700 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2701 Remove brandred-fma4.
2702 (CFLAGS-brandred-fma4.c): Remove.
2703 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
2704 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
2705 define.
2706 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
2707 define.
2708
8e95c99a
L
27092012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2710
2711 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2712 LLONG_MAX != LONG_MAX.
2713 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2714 (_fitoa_word): Likewise.
2715 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
2716 LLONG_MAX != LONG_MAX.
2717 * stdio-common/_itowa.h: Include <_itoa.h>.
2718 (_itowa_word): Use _ITOA_WORD_TYPE on value.
2719 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
2720 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
2721 only if not defined.
2722 (_ITOA_WORD_TYPE): Likewise.
2723 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2724 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
2725
6f4db457
DM
27262012-03-21 David S. Miller <davem@davemloft.net>
2727
2728 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2729
7785fe5a
L
27302012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2731
2732 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
2733 of x86_64 when setting libc_cv_slibdir, libdir and
2734 libc_cv_localedir.
2735 * sysdeps/unix/sysv/linux/configure: Regenerated.
2736
4535cd55
JM
27372012-03-21 Joseph Myers <joseph@codesourcery.com>
2738
2739 * manual/lang.texi (Old Varargs): Remove section.
2740 (How Variadic): Update menu.
2741 (va_start): Do not mention varargs.h.
2742
17228132
TS
27432012-03-21 Thomas Schwinge <thomas@codesourcery.com>
2744 Joseph Myers <joseph@codesourcery.com>
2745
2746 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
2747 link test.
2748 * configure: Regenerated.
2749
8149f976
TS
27502012-03-21 Thomas Schwinge <thomas@codesourcery.com>
2751
05f3d1f6
UD
2752 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
2753 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
2754 conformtest.pl
8149f976 2755
1a4ac776
JM
27562012-03-21 Joseph Myers <joseph@codesourcery.com>
2757
be22ce65
JM
2758 * NOTES: Remove.
2759 * Makefile (files-for-dist): Remove NOTES.
2760 (NOTES): Remove rule.
2761 * README: Don't refer to NOTES.
2762 * manual/creature.texi: Don't include macros.texi.
2763 * manual/intro.texi (creature.texi): Remove comment referring to
2764 NOTES.
2765
40b601fb
JM
2766 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
2767 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
2768 * configure: Regenerated.
2769 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
2770 LIBC_TRY_CC_OPTION.
2771 (libc_cv_as_i686): Likewise.
2772 (libc_cv_cc_avx): Likewise.
2773 (libc_cv_cc_sse2avx): Likewise.
2774 (libc_cv_cc_fma4): Likewise.
2775 (libc_cv_cc_novzeroupper): Likewise.
2776 * sysdeps/i386/configure: Regenerated.
2777
1a4ac776
JM
2778 [BZ #13883]
2779 * sysdeps/i386/fpu/s_cexp.S: Remove.
2780 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
2781 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
2782 * math/libm-test.inc (cexp_test): Add more tests.
2783 * sysdeps/i386/fpu/libm-test-ulps: Update.
2784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2785
a458e7fe
AM
27862012-03-21 Allan McRae <allan@archlinux.org>
2787
2788 * timezone/Makefile: Do not install iso3166.tab and zone.tab
2789
0cb7efc5
JM
27902012-03-21 Joseph Myers <joseph@codesourcery.com>
2791
2792 [BZ #13871]
2793 * math/w_exp2.c: Do not include <float.h>.
2794 (o_threshold, u_threshold): Remove.
2795 (__exp2): Calculate result before checking finiteness and calling
2796 __kernel_standard.
2797 * math/w_exp2f.c: Likewise.
2798 * math/w_exp2l.c: Likewise.
2799 * math/libm-test.inc (exp2_test): Require overflow exception for
2800 1e6 input.
2460d3aa
JM
2801
2802 [BZ #3866]
2803 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
2804 range of signed 64-bit integers before using fistpll. Remove
2805 checks for whether integers fit in mantissa bits.
2806 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
2807 the range of signed 32-bit integers before using fistpl. Remove
2808 checks for whether integers fit in mantissa bits.
2809 * sysdeps/i386/fpu/e_powl.S (p64): New object.
2810 (__ieee754_powl): Test for y outside the range of signed 64-bit
2811 integers before using fistpll. Reduce 64-bit values to 63-bit
2812 ones as needed.
2813 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
2814 divide-by-zero is raised for zero to large negative powers.
2815 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
2816 (__ieee754_powl): Test for y outside the range of signed 64-bit
2817 integers before using fistpll. Reduce 64-bit values to 63-bit
2818 ones as needed.
2819 * math/libm-test.inc (pow_test): Add more tests.
2820
eb96ffb0
L
28212012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2822
2823 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
2824 <stdio-common/_itoa.h>.
2825 * debug/segfault.c: Likewise.
2826 * elf/dl-cache.c: Likewise.
2827 * elf/dl-minimal.c: Likewise.
2828 * elf/dl-misc.c: Likewise.
2829 * elf/dl-sysdep.c: Likewise.
2830 * elf/dl-version.c: Likewise.
2831 * elf/rtld.c: Likewise.
2832 * hurd/hurdsock.c: Likewise.
2833 * hurd/lookup-retry.c: Likewise.
2834 * malloc/malloc.c: Likewise.
2835 * malloc/mtrace.c: Likewise.
2836 * nscd/nscd_getgr_r.c: Likewise.
2837 * nscd/nscd_getpw_r.c: Likewise.
2838 * nscd/nscd_getserv_r.c: Likewise.
2839 * posix/getopt_init.c: Likewise.
2840 * posix/wordexp.c: Likewise.
2841 * stdio-common/_itoa.c: Likewise.
2842 * stdio-common/printf_fphex.c: Likewise.
2843 * stdio-common/vfprintf.c: Likewise.
2844 * string/_strerror.c: Likewise.
2845 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
2846 * sysdeps/i386/i686/hp-timing.h: Likewise.
2847 * sysdeps/mach/_strerror.c: Likewise.
2848 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
2849 * sysdeps/mach/hurd/sethostid.c: Likewise.
2850 * sysdeps/mach/hurd/xmknodat.c: Likewise.
2851 * sysdeps/mach/xpg-strerror.c: Likewise.
2852 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2853 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2854 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
2855 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
2856 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2857 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
2858 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
2859 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
2860 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
2861 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
2862 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
2863 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2864 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
2865 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2866 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2867 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
2868 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
2869 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
2870 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2871 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2872 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
2873
2874 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
2875
2876 * stdio-common/_itoa.h: Moved to ...
2877 * sysdeps/generic/_itoa.h: Here.
2878
2879 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
2880
2881 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
2882 instead of "_itoa.h" and "_itowa.h".
2883 * stdio-common/vfprintf.: Likewise.
2884
d1af992d
L
28852012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2886
2887 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
2888 <bits/wordsize.h>.
2889 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
2890 (__signbit): Likwise.
2891 (llrintf): Likwise.
2892 (llrint): Likwise.
2893
114883e0
L
28942012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2895
2896 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
2897 __WORDSIZE != 64.
2898
c135cc1b
JM
28992012-03-20 Joseph Myers <joseph@codesourcery.com>
2900
2901 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
2902 OVERFLOW_EXCEPTION_OK.
2903 * math/libm-test.inc ("Philosophy"): Update comment about
2904 exception testing.
2905 (OVERFLOW_EXCEPTION): Define.
2906 (OVERFLOW_EXCEPTION_OK): Likewise.
2907 (INVALID_EXCEPTION_OK): Renumber.
2908 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2909 (IGNORE_ZERO_INF_SIGN): Likewise.
2910 (test_exceptions): Handle FE_OVERFLOW.
2911 (exp10_test): Expect overflow exceptions.
2912 (exp2_test): Likewise.
2913 (expm1_test): Likewise.
2914 (nextafter_test): Likewise.
2915 (pow_test): Likewise.
2916 (scalbn_test): Likewise.
2917 (scalbln_test): Likewise.
2918
95443d88
L
29192012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2920
2921 * sysdeps/x86_64/bits/atomic.h
2922 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
2923 64bit integer.
2924 (atomic_exchange_acq): Likewise.
2925 (__arch_exchange_and_add_body): Likewise.
2926 (__arch_add_body): Likewise.
2927 (atomic_add_negative): Likewise.
2928 (atomic_add_zero): Likewise.
2929
490df6c4
L
29302012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2931
c2722551 2932 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
2933 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
2934
5e52b189
L
29352012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2936
2937 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
2938 Check __x86_64__ instead of __WORDSIZE.
2939
a9879d4c
L
29402012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2941
2942 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
2943
5df98260
DM
29442012-03-19 David S. Miller <davem@davemloft.net>
2945
e1497744
DM
2946 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2947
5df98260
DM
2948 * sysdeps/sparc/fpu/fenv_private.h: New file.
2949 * sysdeps/sparc/fpu/math_private.h: Use it.
2950 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
2951 Remove.
2952 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
2953 (libc_feholdexcept_setroundl): Remove.
2954 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
2955 Remove.
2956 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
2957 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
2958
b4c35121
L
29592012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2960
2961 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
2962 int64_t instead of long int.
2963 (INSERT_WORDS64): Likwise.
2964
56965fd7
L
29652012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2966
2967 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
2968 _Unwind_GetCFA return to _Unwind_Ptr first.
2969
83d1aec8
JM
29702012-03-19 Joseph Myers <joseph@codesourcery.com>
2971
1897ad44
JM
2972 [BZ #13629]
2973 * math/s_clog.c: Include <float.h>.
2974 (__clog): Scale large or subnormal inputs.
2975 * math/s_clogf.c: Likewise.
2976 * math/s_clogl.c: Likewise.
2977 * math/s_clog10.c: Include <float.h>.
2978 (M_LOG10_2): Define.
2979 (__clog10): Scale large or subnormal inputs.
2980 * math/s_clog10f.c: Likewise.
2981 * math/s_clog10l.c: Likewise.
2982 * math/libm-test.inc (clog_test): Add more tests.
2983 (clog10_test): Likewise.
2984 * sysdeps/i386/fpu/libm-test-ulps: Update.
2985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2986
7726d6a9
JM
2987 [BZ #11451]
2988 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
2989 x and y.
2990 * math/libm-test.inc (atan2_test): Add another test.
2991
83d1aec8
JM
2992 * Makerules (common-objdir-compile): Remove.
2993 * sysdeps/unix/Makefile (config-generated): Do not add
2994 $(unix-generated) to variable.
2995 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
2996 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
2997 Remove rule.
2998 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
2999 Likewise.
3000 [generic bits/local_lim.h] (before-compile): Do not append to
3001 variable.
3002 [generic bits/local_lim.h] (common-generated): Likewise.
3003 [generic sys/param.h] (before-compile): Do not append to variable.
3004 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
3005 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
3006 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
3007 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
3008 include.
3009 [generic sys/param.h] (sys/param.h-includes): Remove variable.
3010 [generic sys/param.h] (sys/param.h-includes): Remove rule.
3011 [generic sys/param.h] ($(addprefix
3012 $(common-objpfx),$(sys/param.h-includes))): Likewise.
3013 [generic sys/param.h] (common-generated): Do not append to
3014 variable.
3015 [generic sys/param.h] (sysdep_headers): Likewise.
3016 [generic bits/errno.h] (before-compile): Do not append to
3017 variable.
3018 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
3019 rule.
3020 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
3021 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
3022 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
3023 [generic bits/errno.h] (common-generated): Do not append to
3024 variable.
3025 [generic bits/ioctls.h] (before-compile): Do not append to
3026 variable.
3027 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
3028 rule.
3029 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
3030 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
3031 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
3032 rule.
3033 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
3034 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
3035 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
3036 [generic bits/ioctls.h] (common-generated): Do not append to
3037 variable.
3038 [generic sys/syscall.h] (syscall.h): Remove variable.
3039 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
3040 rule.
3041 [generic sys/syscall.h] (before-compile): Do not append to
3042 variable.
3043 [generic sys/syscall.h] (common-generated): Likewise.
3044 * sysdeps/unix/errnos-tmpl.c: Remove file.
3045 * sysdeps/unix/errnos.awk: Likewise.
3046 * sysdeps/unix/ioctls-tmpl.c: Likewise.
3047 * sysdeps/unix/ioctls.awk: Likewise.
3048 * sysdeps/unix/mk-local_lim.c: Likewise.
3049 * sysdeps/unix/snarf-ioctls: Likewise.
3050
4851a949
RH
30512012-03-19 Richard Henderson <rth@twiddle.net>
3052
bd37f2ee
RH
3053 * sysdeps/i386/fpu/fenv_private.h: New file.
3054 * sysdeps/i386/fpu/math_private.h: Use it.
3055 (math_opt_barrier, math_force_eval): Remove.
3056 (libc_feholdexcept_setround_53bit): Remove.
3057 (libc_feupdateenv_53bit): Remove.
3058 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3059 (math_opt_barrier, math_force_eval): Remove.
3060 (libc_feholdexcept): Remove.
3061 (libc_feholdexcept_setround): Remove.
3062 (libc_fetestexcept, libc_fesetenv): Remove.
3063 (libc_feupdateenv_test): Remove.
3064 (libc_feupdateenv, libc_feholdsetround): Remove.
3065 (libc_feresetround): Remove.
3066
d0adc922
RH
3067 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
3068 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3069
0fe0f1f8
RH
3070 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
3071 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
3072 (libc_feupdateenv_testl): New.
3073 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
3074 (libc_feupdateenv_testf): New.
3075 (libc_feupdateenv): Use libc_feupdateenv_test.
3076 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
3077 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
3078
eb92c487
RH
3079 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
3080 (libc_feholdsetroundf, libc_feholdsetroundl): New.
3081 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
3082 (libc_feresetround_noex): New.
3083 (libc_feresetround_noexf): New.
3084 (libc_feresetround_noexl): New.
3085 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
3086 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
3087 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
3088 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
3089 SET_RESTORE_ROUND.
3090 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3091 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
3092 (__cos): Likewise.
3093 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
3094 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
3095 SET_RESTORE_ROUND_NOEX.
3096 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
3097 SET_RESTORE_ROUND_NOEXF.
3098 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
3099 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
3100 (libc_feholdsetroundf): New.
3101 (libc_feresetround, libc_feresetroundf): New.
3102
7d2e8012
RH
3103 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
3104 (libc_feholdexcept_setround_53bit): Convert from macro to function.
3105 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
3106
b4dabbb4
RH
3107 * sysdeps/generic/math_private.h: Include <fenv.h>.
3108 (default_libc_feholdexcept): New.
3109 (default_libc_feholdexcept_setround): New.
3110 (default_libc_fesetenv, default_libc_feupdateenv): New.
3111 (libc_feholdexcept): Only define if undefined.
3112 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
3113 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
3114 (libc_feholdexcept_setroundl): Likewise.
3115 (libc_feholdexcept_setround_53bit): Likewise.
3116 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
3117 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
3118 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
3119 (libc_feupdateenv_53bit): Likewise.
3120 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
3121 (libc_feholdexcept): Convert from macro to inline function.
3122 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
3123 (libc_fesetenv, libc_feupdateenv): Likewise.
3124
4851a949
RH
3125 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
3126 not previously defined.
3127 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
3128 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
3129 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
3130 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
3131 * sysdeps/ieee754/flt-32/math_private.h: New file.
3132 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
3133 math_private.h below SET_FLOAT_WORD.
3134 (__isnan, __isinf_ns, __finite): Remove.
3135 (__isnanf, __isinf_nsf, __finitef): Remove.
3136
e79d442e
AS
31372012-03-18 Andreas Schwab <schwab@linux-m68k.org>
3138
3139 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3140
90b80344
DM
31412012-03-17 David S. Miller <davem@davemloft.net>
3142
3143 [BZ #6471]
3144 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
3145 for 2.16.
3146
edc21804
DM
31472012-03-16 David S. Miller <davem@davemloft.net>
3148
77e927af
DM
3149 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
3150 warnings.
3151
374976dd
DM
3152 [BZ #6471]
3153 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
3154 properly.
3155 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
3156 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
3157 sysdep_routines when subdir is sysvipc.
3158 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
3159 __getshmlba helper.
3160
edc21804
DM
3161 * sysdeps/sparc/fpu/libm-test/ulps: Update.
3162
473c3ef3
L
31632012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3164
3165 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
3166 [__LP64__].
3167
eb0f39b6
L
31682012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3169
3170 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
3171 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
3172 (__lround): Renamed to ...
3173 (__llround): This. Replace long int with long long int.
3174 Define lround functions as aliases of llround functions.
3175 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
3176
6b6cd74b
L
31772012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3178
3179 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
3180 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
3181 adresses to uintptr_t. Replace "long int" and "unsigned long
3182 int" with "greg_t" on va_arg.
3183
f1a77b01
L
31842012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3185
3186 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
3187 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
3188
3189 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
3190 Move e_machine check before EI_CLASS check. Handle x32
3191 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
3192 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
3193 SKIP_EM_IA_64 and include
3194 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
3195
3196 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
3197 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
3198 (add_system_dir): New macro.
3199
3200 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
3201 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
3202
11b90b9f
JM
32032012-03-16 Joseph Myers <joseph@codesourcery.com>
3204
c36e1d23
JM
3205 [BZ #2551]
3206 [BZ #2552]
3207 [BZ #2553]
3208 [BZ #2554]
3209 [BZ #2562]
3210 [BZ #2563]
3211 [BZ #2565]
3212 [BZ #2566]
3213 [BZ #2576]
3214 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
3215 (y0): Likewise.
3216 * math/w_j0f.c (j0f): Likewise.
3217 (y0f): Likewise.
3218 * math/w_j0l.c (__j0l): Likewise.
3219 (__y0l): Likewise.
3220 * math/w_j1.c (j1): Likewise.
3221 (y1): Likewise.
3222 * math/w_j1f.c (j1f): Likewise.
3223 (y1f): Likewise.
3224 * math/w_j1l.c (__j1l): Likewise.
3225 (__y1l): Likewise.
3226 * math/w_jn.c (jn): Likewise.
3227 (yn): Likewise.
3228 * math/w_jnf.c (jnf): Likewise.
3229 (ynf): Likewise.
3230 * math/w_jnl.c (__jnl): Likewise.
3231 (__ynl): Likewise.
3232 * math/libm-test.inc (j0_test): Add more tests.
3233 (j1_test): Likewise.
3234 (jn_test): Likewise. Add trailing semicolon to existing test.
3235 (y0_test): Likewise.
3236 (y1_test): Likewise.
3237 * sysdeps/i386/fpu/libm-test-ulps: Update.
3238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3239
11b90b9f
JM
3240 [BZ #13851]
3241 [BZ #13854]
3242 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
3243 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
3244 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
3245 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
3246 (__tanl): Set errno for infinite argument.
3247 * sysdeps/i386/fpu/mptan.c: Remove.
3248 * sysdeps/i386/fpu/s_tan.S: Likewise.
3249 * sysdeps/i386/fpu/s_tanl.S: Likewise.
3250 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
3251 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
3252 * math/libm-test.inc (tan_test): Add more tests and enable more
3253 tests for double and long double.
3254 * sysdeps/i386/fpu/libm-test-ulps: Update.
3255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3256
6a1bd2a1
JK
32572012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3258
3259 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
3260 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
3261
10a803e0
RM
32622012-03-16 Roland McGrath <roland@hack.frob.com>
3263
3264 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
3265 * configure.in: Use it for both main tree and add-ons.
3266 * configure: Regenerated.
3267
f196c7f7
L
32682012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3269
3270 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
3271
8848d99d
JM
32722012-03-16 Joseph Myers <joseph@codesourcery.com>
3273
96cbe7f4
JM
3274 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
3275 in comment.
3276
8848d99d
JM
3277 [BZ #13851]
3278 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
3279 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
3280 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
3281 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
3282 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
3283 infinite argument.
3284 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
3285 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
3286 != 0 for prec == 2.
3287 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
3288 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
3289 * sysdeps/i386/fpu/s_cosl.S: Likewise.
3290 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
3291 * sysdeps/i386/fpu/s_sinl.S: Likewise.
3292 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
3293 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
3294 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
3295 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
3296 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
3297 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
3298 * math/libm-test.inc (cos_test): Add more tests and enable more
3299 tests for long double.
3300 (sin_test): Likewise.
3301 (sincos_test): Likewise.
3302 * sysdeps/i386/fpu/libm-test-ulps: Update.
3303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3304
dd7f4703
DM
33052012-03-16 David S. Miller <davem@davemloft.net>
3306
3307 * sysdeps/sparc/fpu/math_private.h: New file.
3308
006f1daa
DM
33092012-03-15 David S. Miller <davem@davemloft.net>
3310
c0c83bc8
DM
3311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
3312 file.
e6a62e18 3313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
3314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
3315 file.
e6a62e18
DM
3316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
3317 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
3318 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
3319 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
3320 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
3321 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
3322 sysdep routines.
3323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3324
88cb87d9
DM
3325 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
3326 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
3327
006f1daa 3328 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
3329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
3330 sparc-ifunc.h
006f1daa 3331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
3332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
3333 Likewise.
3334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
3335 Likewise.
006f1daa
DM
3336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
3337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
3338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
3339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3340 Likewise.
006f1daa
DM
3341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
3343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
3345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
3346 Likewise.
3347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
3348 Likewise.
006f1daa
DM
3349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
3351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
3352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
3353 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3354 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3355 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
3356 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
3357 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3358 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3359 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
3360 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
3361 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
3362 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
3363 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
3364 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
3365 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
3366 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
3367 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
3368 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
3369 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
3370 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
3371 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
3372 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
3373
11e0098e
AS
33742012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3375
3376 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
3377 scaling.
3378 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3379
e85b09d0
AJ
33802012-03-15 Andreas Jaeger <aj@suse.de>
3381
3382 [BZ #13852]
3383 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
3384 ieee754/flt-32 implementation for sin, cos and sincos.
3385 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
3386 * sysdeps/i386/fpu/s_cosf.S: Likewise.
3387 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
3388 * sysdeps/i386/fpu/s_sinf.S: Likewise.
3389 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
3390 ieee754/flt-32 implementation for tan.
3391
3392 * math/libm-test.inc (cos_test): Enable some large input tests for
3393 float as well
3394 (sin_test): Likewise.
3395 (sincos_test): Likewise.
3396 (tan_test): Add tests for large input.
3397
3398 * sysdeps/i386/fpu/libm-test-ulps: Update.
3399
81c64153
AJ
34002012-03-15 Andreas Jaeger <aj@suse.de>
3401
3402 [BZ #13658]
3403 * math/libm-test.inc (cos_test): Add more test cases.
3404 (sin_test): Likewise.
3405 (sincos_test): Likewise.
3406
7bbfa5c6
AJ
34072012-03-15 Andreas Jaeger <aj@suse.de>
3408
3409 [BZ #13837]
3410 * math/libm-test.inc (cos_test): Add a test case for large input
3411 value.
3412 (sin_test): Likewise.
3413 (sincos_test): Likewise.
3414
34152012-03-15 Andreas Jaeger <aj@suse.de>,
3416 Joseph Myers <joseph@codesourcery.com>
3417
3418 [BZ #13658]
0671f479 3419 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
3420 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
3421 * sysdeps/i386/fpu/branred.c: Likewise.
3422 * sysdeps/i386/fpu/dosincos.c: Likewise.
3423 * sysdeps/i386/fpu/mpa.c: Likewise.
3424 * sysdeps/i386/fpu/s_cos.S: Likewise.
3425 * sysdeps/i386/fpu/s_sin.S: Likewise.
3426 * sysdeps/i386/fpu/s_sincos.S: Likewise.
3427 * sysdeps/i386/fpu/sincos32.c: Likewise.
3428
3429 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
3430 Define.
3431 (libc_feupdateenv_53bit): Define.
3432 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
3433 Define.
3434 (libc_feupdateenv_53bit): Define.
3435
3436 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
3437 53 bit (without extend i386 double precision).
3438
3439 * math/libm-test.inc (sincos_test): Add tests for large input.
3440 (sin): Likewise.
3441 (cos): Likewise.
3442
3443 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3444
9cad04ea
AS
34452012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3446
3447 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3448
f7062b9a
DM
34492012-03-15 David S. Miller <davem@davemloft.net>
3450
3451 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
3452 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
3453 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
3454 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
3455 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
3456 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
3457 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
3458 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
3459 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
3460 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
3461 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
3462 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
3463 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
3464 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
3465 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
3466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
3467 file.
f7062b9a 3468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
3469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
3470 file.
f7062b9a 3471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
3472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
3473 file.
f7062b9a 3474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
3475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
3476 file.
f7062b9a
DM
3477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
3478 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
3479 fmin/fmax sysdep routines.
3480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3481
7bd951ff
DM
34822012-03-14 David S. Miller <davem@davemloft.net>
3483
559398ab
DM
3484 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
3485 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
3486 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
3487 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
3488 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
3489 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
3490 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
3491 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
3492 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
3493 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
3494 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
3495 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
3496 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
3497 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
3498 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
3499 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
3500 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
3501 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
3502 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
3503 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
3504 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
3505 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
3506 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
3507 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
3508 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
3509 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
3510 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
3511 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
3512 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
3513 routines.
3514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
3515 file.
559398ab 3516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
3517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
3518 file.
559398ab 3519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
3520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
3521 file.
559398ab 3522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
3523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
3524 file.
559398ab 3525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
3526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
3527 file.
559398ab 3528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
3529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
3530 file.
3531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
3532 file.
3533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
3534 file.
3535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
3536 file.
3537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
3538 New file.
3539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
3540 file.
3541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
3542 file.
559398ab 3543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
3544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
3545 file.
559398ab 3546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
3547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
3548 file.
559398ab 3549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
3550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
3551 file.
559398ab 3552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
3553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
3554 VIS3 routines.
559398ab
DM
3555
3556 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3557 New file.
3558
5a1c1e32
DM
3559 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3560
eae47a36
DM
3561 * sysdeps/sparc/configure.in: New file.
3562 * sysdeps/sparc/configure: Generate.
3563 * configure.in (libc_cv_sparc_as_vis3): Substitute.
3564 * configure: Regenerate.
3565 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
3566 * config.make.in (have-as-vis3): New.
3567 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
3568 available use -Av9d instead of -Av9a.
3569 * sysdeps/sparc/sparc64/Makefile: Likewise.
3570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
3571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
3572 New file.
3573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
3574 file.
3575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
3576 New file.
3577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
3578 file.
eae47a36
DM
3579 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
3580 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
3581 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
3582 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
3583 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
3584
c0c83bc8
DM
3585 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
3586 fzeros/fnegs to load 0x80000000 into a float register instead of
3587 using the stack.
7bd951ff
DM
3588 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
3589
bd951ccb
JM
35902012-03-14 Joseph Myers <joseph@codesourcery.com>
3591
3592 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3593 bits/syscall.h.
3594 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
3595 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
3596 ($(inst_includedir)/bits/syscall.h): Remove rule.
3597 ($(objpfx)bits/syscall.d): Include instead of
3598 $(objpfx)syscall-list.d.
3599 (generated): Change syscall-list.h and syscall-list.d to
3600 bits/syscall.h and bits/syscall.d.
3601
bb4e6db2
RM
36022012-03-14 Roland McGrath <roland@hack.frob.com>
3603
3604 [BZ #13846]
3605 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
3606
aa4a2ae1
JM
36072012-03-14 Joseph Myers <joseph@codesourcery.com>
3608
e456826d
JM
3609 [BZ #13841]
3610 * math/s_csqrt.c: Include <float.h>.
3611 (__csqrt): Scale large or subnormal inputs.
3612 * math/s_csqrtf.c: Likewise.
3613 * math/s_csqrtl.c: Likewise.
3614 * math/libm-test.inc (csqrt_test): Add more tests.
3615 * sysdeps/i386/fpu/libm-test-ulps: Update.
3616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3617
aa4a2ae1
JM
3618 [BZ #13840]
3619 * math/libm-test.inc (hypot_test): Add more tests.
3620
7c10fd35
DM
36212012-03-13 David S. Miller <davem@davemloft.net>
3622
3623 [BZ #13840]
3624 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
3625 double-precision for the calculation instead of scaling.
3626
f453b98b
JM
36272012-03-13 Joseph Myers <joseph@codesourcery.com>
3628
3629 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
3630 manipulate bits before adding and subtracting TWO52[sx].
3631 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
3632 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
3633 Likewise.
3634 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
3635
09a3453f
DM
36362012-03-13 David S. Miller <davem@davemloft.net>
3637
8e59da90
DM
3638 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
3639 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
3640 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
3641 rtld-global-offsets.h
3642 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3643
2a8ab7f2
DM
3644 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
3645 large parameters.
3646
10f62770
DM
3647 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
3648
5f0bdb18
DM
3649 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
3650 'err' in the ifdef scope in which it is actually used.
3651
09a3453f
DM
3652 * nss/nss_db/db-init.c: Include string.h
3653
b4b2eb5e
DM
36542012-03-12 David S. Miller <davem@davemloft.net>
3655
98bb2f1c
DM
3656 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
3657 masking out of the most significant byte of random value used.
3658 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3659 Fix coding style in previous change.
3660
b4b2eb5e
DM
3661 * sysdeps/unix/sysv/linux/kernel-features.h
3662 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
3663 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
3664 expression.
3665 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
3666 later.
3667
6e226b09
DM
36682012-03-11 David S. Miller <davem@davemloft.net>
3669
a1bcbd40
DM
3670 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
3671 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
3672 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
3673 for 'resultvar' otherwise things get truncated on 64-bit.
3674
cb9d6174
DM
3675 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3676 Fix masking out of the most significant byte of random value used.
3677
6e226b09
DM
3678 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3679
058c132d
AS
36802012-03-10 Andreas Schwab <schwab@linux-m68k.org>
3681
3682 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3683
2d2cd515
DM
36842012-03-09 David S. Miller <davem@davemloft.net>
3685
3686 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
3687 variables with appropriate CPP guards.
3688 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
3689 frame pointer, not the stack pointer. Correct layout comments. Fix test
3690 on resulting framesize and the management of the outregs buffer for pltexit.
3691 Preserve floating point return values across _dl_call_pltexit call.
3692 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
3693 framesize and the management of the outregs buffer for pltexit.
3694 Preserve floating point return values across _dl_call_pltexit
3695 call.
3696 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
3697 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
3698 (print_exit): Fix format string for return register value.
3699
9a07f9d0
JM
37002012-03-10 Joseph Myers <joseph@codesourcery.com>
3701
3702 * sunrpc/Makefile (others): Add rpcgen.
3703 ($(objpfx)rpcgen): Remove special build rule and dependency on
3704 libc.
3705 * sunrpc/rpcgen.c: New file.
3706
547b5e30
PE
37072012-03-09 Paul Eggert <eggert@cs.ucla.edu>
3708
c524201a
PE
3709 [BZ #13673]
3710 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
3711 * stdio-common/bug-vfprintf-nargs.c: Likewise.
3712 * sysdeps/i386/crti.S: Likewise.
3713 * sysdeps/i386/crtn.S: Likewise.
3714 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
3715 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
3716 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
3717 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
3718 * sysdeps/sh/crti.S: Likewise.
3719 * sysdeps/sh/crtn.S: Likewise.
3720 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
3721
7b6235f2
PE
3722 [BZ #13673]
3723 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
3724 with URL.
3725 * locale/programs/locfile-kw.gperf: Likewise.
3726 * locale/programs/charmap-kw.h: Regenerated.
3727 * locale/programs/locfile-kw.h: Likewise.
3728
547b5e30
PE
3729 [BZ #13673]
3730 * intl/plural.y: Replace FSF snail mail address with URL.
3731 * intl/plural.c: Regenerated.
3732
5f0a5dae
RH
37332012-03-09 Richard Henderson <rth@twiddle.net>
3734
3735 * include/math_private.h: Remove file.
3736 * math/math_private.h: Move file ...
3737 * sysdeps/generic/math_private.h: ... here.
3738
b8c03620
RH
3739 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
3740 * sysdeps/powerpc/fpu/math_private.h: Likewise.
3741 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3742
4e234f5d 3743 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
3744 and <math_private.h>.
3745 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3746 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3747 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3748 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3749 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3750 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
3751 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3752 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3753 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3754 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3755 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3756 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3757 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3758 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3759 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3760 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3761 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3762 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3763 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3764 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
3765 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3766 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3767 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3768 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3769 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3770 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3771 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3772 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3773 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3774 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3775 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3776 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3777 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3778 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3779 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3780 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3781 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3782 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3783 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3784 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3785 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
3786 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3787 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3788 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3789 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3790 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3791 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
3792 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3793 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3794 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3795 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3796 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
3797 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3798 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3799 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3800 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3801 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3802 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3803 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3804 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
3805 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3806 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3807 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3808 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3809 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
3810 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3811 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3812 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3813 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
3814 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
3815 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3816 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3817 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3818 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3819 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
3820 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
3821 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
3822 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3823 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
3824 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
3825 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3826 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
3827 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3828 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
3829 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3830 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3831 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
3832 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
3833 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
3834 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3835 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3836 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
3837 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3838 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
3839 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
3840 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
3841 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3842 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3843 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3844 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
3845 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
3846 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
3847 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
3848 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
3849 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3850 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
3851 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
3852 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
3853 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3854 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3855 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3856 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3857 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
3858 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3859 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
3860 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3861 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3862 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3863 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3864 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
3865 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3866 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3867 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3868 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
3869 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3870 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3871 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
3872 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
3873 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3874 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
3875 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
3876 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
3877 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3878 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
3879 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
3880 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3881 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
3882 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3883 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
3884 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
3885 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3886 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3887 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3888 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
3889 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
3890 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3891 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3892 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3893 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
3894 * sysdeps/ieee754/k_standard.c: Likewise.
3895 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
3896 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
3897 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3898 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
3899 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
3900 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
3901 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
3902 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
3903 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3904 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3905 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3906 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3907 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
3908 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
3909 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
3910 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
3911 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3912 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
3913 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
3914 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
3915 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
3916 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
3917 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3918 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3919 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3920 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3921 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3922 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3923 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3924 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3925 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3926 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3927 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3928 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3929 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3930 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3931 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3932 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
3933 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
3934 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3935 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3936 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3937 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3938 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3939 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3940 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3941 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3942 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3943 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3944 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3945 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3946 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3947 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3948 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
3949 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3950 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3951 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
3952 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
3953 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3954 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3955 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3956 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3957 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3958 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
3959 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3960 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3961 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
3962 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
3963 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
3964 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
3965 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
3966 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3967 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
3968 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
3969 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
3970 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
3971 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
3972 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
3973 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3974 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
3975 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
3976 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
3977 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3978 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3979 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
3980 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3981 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3982 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3983 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3984 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3985 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
3986 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3987 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3988 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3989 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3990 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3991 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
3992 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3993 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3994 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
3995 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3996 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3997 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3998 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3999 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
4000 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4001 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4002 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4003 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
4004 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4005 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4006 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4007 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4008 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4009 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4010 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4011 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4012 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4013 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4014 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4015 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4016 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4017 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4018 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4019 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4020 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
4021 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4022 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4023 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4024 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4025 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4026 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4027 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4028 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4029 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4030 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4031 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
4032 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4033 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4034 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
4035 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
4036 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4037 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
4038 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
4039 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4040 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4041 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4042 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4043 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4044 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
4045 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4046 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4047 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4048 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4049 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
4050 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
4051 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4052 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4053 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4054 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4055 * sysdeps/ieee754/s_lib_version.c: Likewise.
4056 * sysdeps/ieee754/s_matherr.c: Likewise.
4057 * sysdeps/ieee754/s_signgam.c: Likewise.
4058 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4059 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4060 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
4061 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
4062 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
4063 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4064 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
4065 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
4066 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
4067 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
4068 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4069 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
4070 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4071 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4072 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
4073 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4074 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4075 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4076 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4077 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4078 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 4079
1991fa03
JM
40802012-03-09 Joseph Myers <joseph@codesourcery.com>
4081
4082 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
4083 * sunrpc/rpc_main.c: Likewise.
4084 * sunrpc/rpc_svcout.c: Likewise.
4085
60d6f5a6
DM
40862012-03-09 David S. Miller <davem@davemloft.net>
4087
4088 * include/math_private.h: New file.
4089
4962050e
JM
40902012-03-09 Joseph Myers <joseph@codesourcery.com>
4091
02a6f887
JM
4092 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
4093 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
4094 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
4095 from <bits/socket_type.h>.
4096 (enum __socket_type): Don't define here.
4097 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
4098 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4099 bits/socket_type.h.
4100
c6e013c1
JM
4101 [BZ #13566]
4102 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
4103 checking __USE_GNU.
4104
4962050e
JM
4105 * Makerules ($(inst_includedir)/%.h): New rule.
4106 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
4107 (install-others): Remove variable setting.
4108 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
4109
38842f45
RH
41102012-03-08 Richard Henderson <rth@twiddle.net>
4111
67bb6da6
RH
4112 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
4113 from macro to inline function; merge with the
4114 !__LIBC_INTERNAL_MATH_INLINES version.
4115 (__ieee754_sqrtf): Likewise.
4116
15194b4b
RH
4117 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
4118 to inline function.
4119 (__rintf, __floor, __floorf): Likewise.
4120
64e21ede
RH
4121 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
4122 macro to inline function.
4123 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
4124
38842f45
RH
4125 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
4126 not <math/math_private.h>.
4127
c64bf5fe
DM
41282012-03-08 David S. Miller <davem@davemloft.net>
4129
4130 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
4131 copyright year.
4132 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
4133
82d86f28
TS
41342012-03-08 Thomas Schwinge <thomas@codesourcery.com>
4135
4136 * resolv/gai_misc.c (handle_requests): Fix struct timespec
4137 normalization.
4138 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
4139 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4140
aea5d727
UD
41412012-03-08 Ulrich Drepper <drepper@gmail.com>
4142
4143 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
4144 be defined individually, they must be defined as a block. Define
4145 S for printing a string instead of hidint the different by using a
4146 macro for adding the 'l'.
4147 * stdio-common/tst-fphex-wide.c: Adjust.
4148
70bca0a3
MP
41492012-03-07 Marek Polacek <polacek@redhat.com>
4150
4151 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
4152
65b81130
MP
41532012-03-08 Marek Polacek <polacek@redhat.com>
4154
4155 [BZ #13806]
4156 * stdio-common/Makefile (tests): Add tst-fphex-wide.
4157 * stdio-common/tst-fphex.c: Define a few macros to make the
4158 test reusable. Use them.
4159 * stdio-common/tst-fphex-wide.c: New file.
4160
07037eeb
JM
41612012-03-08 Joseph Myers <joseph@codesourcery.com>
4162
a7a93d50
JM
4163 [BZ #6911]
4164 * manual/macros.texi (gnusystems): New macro.
4165 (nongnusystems): Likewise.
4166 (gnulinuxhurdsystems): Likewise.
4167 (gnuhurdsystems): Likewise..
4168 (gnulinuxsystems): Likewise.
4169 * manual/charset.texi: Use new macros or @theglibc{} to refer to
4170 variants of the GNU system, not "GNU system".
4171 * manual/conf.texi: Likewise.
4172 * manual/errno.texi: Likewise. Update example of errno macro
4173 expansion.
4174 * manual/filesys.texi: Likewise.
4175 (getumask): Document as specific to GNU/Hurd.
4176 * manual/install.texi: Likewise. Reword some references to
4177 GNU/Linux.
4178 * manual/intro.texi: Likewise.
4179 * manual/io.texi: Likewise.
4180 (File Name Portability): Detail which constraints are inapplicable
4181 to all GNU systems and which are only inapplicable to GNU/Hurd.
4182 * manual/job.texi: Likewise.
4183 * manual/llio.texi: Likewise.
4184 (O_NOCTTY): Document as present on GNU/Linux.
4185 * manual/maint.texi: Likewise.
4186 * manual/memory.texi: Likewise.
4187 * manual/pattern.texi: Likewise.
4188 * manual/pipe.texi: Likewise.
4189 * manual/process.texi: Likewise.
4190 * manual/resource.texi: Likewise.
4191 (RUSAGE_CHILDREN): Remove statement about specifying a particular
4192 child on GNU/Hurd.
4193 * manual/setjmp.texi: Likewise.
4194 * manual/signal.texi: Likewise.
4195 * manual/startup.texi: Likewise.
4196 * manual/stdio.texi: Likewise.
4197 * manual/terminal.texi: Likewise.
4198 (ONLCR): Document as POSIX.
4199 (OXTABS): Document availability on GNU/Linux as XTABS.
4200 (ONOEOT): Document availability separately from other bits.
4201 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
4202 * manual/time.texi: Likewise.
4203 * manual/users.texi: Likewise.
4204 * INSTALL: Regenerated.
4205 * sysdeps/gnu/errlist.c: Regenerated.
4206
07037eeb
JM
4207 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
4208 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
4209 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
4210 puts.
4211 * configure: Regenerated.
4212
d1d3431a
JM
42132012-03-07 Joseph Myers <joseph@codesourcery.com>
4214
af6a1e37
JM
4215 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
4216 default includes instead of AC_HEADER_CHECK.
4217 * sysdeps/i386/configure: Regenerated.
4218
d1d3431a
JM
4219 [BZ #10716]
4220 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
4221 * math/s_cacoshf.c (__cacoshf): Likewise.
4222 * math/s_cacoshl.c (__cacoshl): Likewise.
4223 * math/s_casinh.c (__casinh): Set signs of result from argument.
4224 * math/s_casinhf.c (__casinhf): Likewise.
4225 * math/s_casinhl.c (__casinhl): Likewise.
4226 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
4227 (casinh_test): Add more tests.
4228 * sysdeps/i386/fpu/libm-test-ulps: Update.
4229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4230
482ff4da
UD
42312012-03-07 Ulrich Drepper <drepper@gmail.com>
4232
872fda05
UD
4233 * po/zh_TW.po: Update from translation team.
4234
a4300c7a
UD
4235 * login/Makefile (distribute): Remove variable.
4236 * catgets/Makefile: Likewise.
4237 * mach/Makefile: Likewise.
4238 * malloc/Makefile: Likewise.
4239 * misc/Makefile: Likewise.
4240 * iconv/Makefile: Likewise.
4241 * nscd/Makefile: Likewise.
4242 * hurd/Makefile: Likewise.
4243 * manual/Makefile: Likewise.
4244 * locale/Makefile: Likewise.
4245 * intl/Makefile: Likewise.
4246 * conform/Makefile: Likewise.
4247 * nss/Makefile: Likewise.
4248 * time/Makefile: Likewise.
4249 * soft-fp/Makefile: Likewise.
4250 * dirent/Makefile: Likewise.
4251 * gmon/Makefile: Likewise.
4252 * po/Makefile: Likewise.
4253 * rt/Makefile: Likewise.
4254 * socket/Makefile: Likewise.
4255 * math/Makefile: Likewise.
4256 * signal/Makefile: Likewise.
4257 * debug/Makefile: Likewise.
4258 * elf/Makefile: Likewise.
4259 * timezone/Makefile: Likewise.
4260 * stdlib/Makefile: Likewise.
4261 * iconvdata/Makefile: Likewise.
4262 * sunrpc/Makefile: Likewise.
4263 * io/Makefile: Likewise.
4264 * argp/Makefile: Likewise.
4265 * inet/Makefile: Likewise.
4266 * hesiod/Makefile: Likewise.
4267 * grp/Makefile: Likewise.
4268 * csu/Makefile: Likewise.
4269 * wctype/Makefile: Likewise.
4270 * crypt/Makefile: Likewise.
4271 * libio/Makefile: Likewise.
4272 * string/Makefile: Likewise.
4273 * nis/Makefile: Likewise.
4274 * resolv/Makefile: Likewise.
4275 * stdio-common/Makefile: Likewise.
4276 * wcsmbs/Makefile: Likewise.
4277 * dlfcn/Makefile: Likewise.
4278 * posix/Makefile: Likewise.
4279
3b7c4e74 4280 [BZ #6959]
482ff4da
UD
4281 * timezone/Makefile: Don't install timezone files, just the programs
4282 and scripts.
4283
f72ed77d
UD
42842012-03-06 Ulrich Drepper <drepper@gmail.com>
4285
a000466f
UD
4286 * nss/databases.def: Add missing gshadow entry.
4287
f72ed77d
UD
4288 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
4289
a53b7a4e
MP
42902012-03-06 Marek Polacek <polacek@redhat.com>
4291
4292 [BZ #13726]
4293 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
4294 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4295 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
4296 * stdio-common/tst-long-dbl-fphex.c: New file.
4297
e9258400
DM
42982012-03-06 David S. Miller <davem@davemloft.net>
4299
4300 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4301 (set_obp_int): New function.
4302 (get_obp_int): New function.
4303 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
4304 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
4305 Avoid unused variable warnings on 'val' and use builtin_expect.
4306 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
4307 __builtin_expect.
e9258400
DM
4308 (INLINE_CLONE_SYSCALL): Likewise.
4309
3bd2c723
DM
43102012-03-05 David S. Miller <davem@davemloft.net>
4311
4312 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4313
bbb78d03
AS
43142012-03-05 Andreas Schwab <schwab@linux-m68k.org>
4315
884c5db4
AS
4316 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4317
bbb78d03
AS
4318 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
4319 only for |x| >= 40.
4320 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4321
1c9f702a 43222012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
4323
4324 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
4325 Replace gettimeofday with __vdso_gettimeofday.
4326
7be16f82
RM
4327 * sysdeps/unix/sysv/linux/x86_64/init-first.c
4328 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
4329 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
4330
4331 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
4332 time with __vdso_time.
4333
ed58a00f
JM
43342012-03-05 Joseph Myers <joseph@codesourcery.com>
4335
4336 * manual/lang.texi (size_t): Note types to which size_t may be
4337 equivalent with the GNU C Library, but do not describe when
4338 differences between them are significant.
4339
30ee4ced
AJ
43402012-03-05 Andreas Jaeger <aj@suse.de>
4341
4342 * sysdeps/i386/fpu/libm-test-ulps: Update.
4343
b7cd39e8
JM
43442012-03-05 Joseph Myers <joseph@codesourcery.com>
4345
4346 [BZ #3976]
4347 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
4348 (__ieee754_pow): Save and restore rounding mode and use
4349 round-to-nearest for main computations.
4350 * math/libm-test.inc (pow_test_tonearest): New function.
4351 (pow_test_towardzero): Likewise.
4352 (pow_test_downward): Likewise.
4353 (pow_test_upward): Likewise.
4354 (main): Call the new functions.
4355 * sysdeps/i386/fpu/libm-test-ulps: Update.
4356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
4357
4358 [BZ #3976]
4359 * math/libm-test.inc (cosh_test_tonearest): New function.
4360 (cosh_test_towardzero): Likewise.
4361 (cosh_test_downward): Likewise.
4362 (cosh_test_upward): Likewise.
4363 (sinh_test_tonearest): Likewise.
4364 (sinh_test_towardzero): Likewise.
4365 (sinh_test_downward): Likewise.
4366 (sinh_test_upward): Likewise.
4367 (main): Call the new functions.
4368 * sysdeps/i386/fpu/libm-test-ulps: Update.
4369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4370
6c6a98c9
TV
43712012-03-05 Tom de Vries <tom@codesourcery.com>
4372
4373 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
4374 default stack guard is set in last bytes.
4375 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
4376
21bb2d2e 43772012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 4378
21bb2d2e 4379 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 4380
21bb2d2e
AJ
4381 [BZ #13656]
4382 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
4383 possibly allocate from heap instead of stack.
4384 * stdio-common/bug-vfprintf-nargs.c: New file.
4385 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 4386
c6922934
AS
43872012-03-03 Andreas Schwab <schwab@linux-m68k.org>
4388
4389 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4390
bc957d53
MP
43912012-03-03 Marek Polacek <polacek@redhat.com>
4392
4393 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
4394 * math/math_private.h: Likewise.
4395 * stdlib/tst-strtod.c: Likewise.
4396 * sysdeps/i386/i486/bits/atomic.h: Likewise.
4397 * sysdeps/x86_64/bits/atomic.h: Likewise.
4398
6358490d
DM
43992012-03-02 David S. Miller <davem@davemloft.net>
4400
4401 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
4402 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
4403 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
4404 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
4405 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
4406 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
4407 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
4408 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
4409
01ae168d
RM
44102012-03-02 Roland McGrath <roland@hack.frob.com>
4411
d9a17c07
RM
4412 [BZ #13792]
4413 * manual/examples/README: New file, says the example source files
4414 can be used under GPL>=2.
4415 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
4416 line containing just "*/".
4417 * manual/examples/add.c: Add copyright header (GPL>=2).
4418 * manual/examples/argp-ex1.c: Likewise.
4419 * manual/examples/argp-ex2.c: Likewise.
4420 * manual/examples/argp-ex3.c: Likewise.
4421 * manual/examples/argp-ex4.c: Likewise.
4422 * manual/examples/atexit.c: Likewise.
4423 * manual/examples/db.c: Likewise.
4424 * manual/examples/dir.c: Likewise.
4425 * manual/examples/dir2.c: Likewise.
4426 * manual/examples/execinfo.c: Likewise.
4427 * manual/examples/filecli.c: Likewise.
4428 * manual/examples/filesrv.c: Likewise.
4429 * manual/examples/fmtmsgexpl.c: Likewise.
4430 * manual/examples/genpass.c: Likewise.
4431 * manual/examples/inetcli.c: Likewise.
4432 * manual/examples/inetsrv.c: Likewise.
4433 * manual/examples/isockad.c: Likewise.
4434 * manual/examples/longopt.c: Likewise.
4435 * manual/examples/memopen.c: Likewise.
4436 * manual/examples/memstrm.c: Likewise.
4437 * manual/examples/mkfsock.c: Likewise.
4438 * manual/examples/mkisock.c: Likewise.
4439 * manual/examples/mygetpass.c: Likewise.
4440 * manual/examples/pipe.c: Likewise.
4441 * manual/examples/popen.c: Likewise.
4442 * manual/examples/rprintf.c: Likewise.
4443 * manual/examples/search.c: Likewise.
4444 * manual/examples/select.c: Likewise.
4445 * manual/examples/setjmp.c: Likewise.
4446 * manual/examples/sigh1.c: Likewise.
4447 * manual/examples/sigusr.c: Likewise.
4448 * manual/examples/stpcpy.c: Likewise.
4449 * manual/examples/strdupa.c: Likewise.
4450 * manual/examples/strftim.c: Likewise.
4451 * manual/examples/strncat.c: Likewise.
4452 * manual/examples/subopt.c: Likewise.
4453 * manual/examples/swapcontext.c: Likewise.
4454 * manual/examples/termios.c: Likewise.
4455 * manual/examples/testopt.c: Likewise.
4456 * manual/examples/testpass.c: Likewise.
4457 * manual/examples/timeval_subtract.c: Likewise.
4458
01ae168d
RM
4459 [BZ #13792]
4460 * manual/time.texi (Elapsed Time): Move timeval_subtract example
4461 function to ...
4462 * manual/timeval_subtract.c.texi: ... here, new file.
4463
49efa33d
DM
44642012-03-02 David S. Miller <davem@davemloft.net>
4465
4466 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
4467
28afd92d
JM
44682012-03-02 Joseph Myers <joseph@codesourcery.com>
4469
804360ed
JM
4470 [BZ #3976]
4471 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
4472 (__sin): Save and restore rounding mode and use round-to-nearest
4473 for all computations.
4474 (__cos): Save and restore rounding mode and use round-to-nearest
4475 for all computations.
4476 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
4477 <fenv.h>.
4478 (tan): Save and restore rounding mode and use round-to-nearest for
4479 all computations.
4480 * math/libm-test.inc (cos_test_tonearest): New function.
4481 (cos_test_towardzero): Likewise.
4482 (cos_test_downward): Likewise.
4483 (cos_test_upward): Likewise.
4484 (sin_test_tonearest): Likewise.
4485 (sin_test_towardzero): Likewise.
4486 (sin_test_downward): Likewise.
4487 (sin_test_upward): Likewise.
4488 (tan_test_tonearest): Likewise.
4489 (tan_test_towardzero): Likewise.
4490 (tan_test_downward): Likewise.
4491 (tan_test_upward): Likewise.
4492 (main): Call the new functions.
4493 * sysdeps/i386/fpu/libm-test-ulps: Update.
4494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4495
a6d06d7b
JM
4496 [BZ #10135]
4497 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
4498 small n, then large n, before computing and testing k+n.
4499 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4500 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
4501 Likewise.
4502 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
4503 Likewise.
4504 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
4505 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
4506 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
4507 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
4508 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4509 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4510 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
4511 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
4512 * math/libm-test.inc (scalbn_test): Add more tests.
4513 (scalbln_test): Likewise.
4514
07e12bb3
JM
4515 * manual/filesys.texi (mode_t): Describe constraints on size and
4516 signedness, not exact equivalence to a particular type.
4517 (ino_t): Likewise.
4518 (ino64_t): Likewise.
4519 (dev_t): Likewise.
4520 (nlink_t): Likewise.
4521 (blkcnt_t): Likewise.
4522 (blkcnt64_t): Likewise.
4523 * manual/llio.texi (off_t): Likewise.
4524
28afd92d
JM
4525 [BZ #3976]
4526 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
4527 (__ieee754_exp): Save and restore rounding mode and use
4528 round-to-nearest for all computations.
4529 * math/libm-test.inc (exp_test_tonearest): New function.
4530 (exp_test_towardzero): Likewise.
4531 (exp_test_downward): Likewise.
4532 (exp_test_upward): Likewise.
4533 (main): Call the new functions.
4534 * sysdeps/i386/fpu/libm-test-ulps: Update.
4535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4536
b1eeb65d
CD
45372012-03-01 Chris Demetriou <cgd@google.com>
4538
4539 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
4540 have predictable order.
4541
53362a4b
DM
45422012-03-01 David S. Miller <davem@davemloft.net>
4543
3c969083
DM
4544 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
4545
759707de
DM
4546 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
4547 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
4548 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
4549 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
4550
dfdb8ff2
DM
4551 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
4552 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
4553 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
4554 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
4555 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
4556 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
4557 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
4558 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
4559 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
4560
ead89f96
DM
4561 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4562
7f66bd07
DM
4563 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
4564 * sysdeps/sparc/fpu/libm-test-ulps: to here.
4565 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
4566
53362a4b
DM
4567 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
4568 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4569 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4570 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
4571 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
4572 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
4573 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
4574 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4575 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4576 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
4577 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
4578 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4579 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4580 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4581 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4582 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4583 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
4584 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
4585 * sysdeps/sparc/elf/configure: Regenerated.
4586
7b1902cb
JM
45872012-03-01 Joseph Myers <joseph@codesourcery.com>
4588
bec039bc
JM
4589 * configure.in (AS, LD): Require binutils 2.20 or later.
4590 * configure: Regenerated.
4591 * manual/install.texi (Tools for Compilation): Give binutils 2.20
4592 as required minimum version.
4593 * INSTALL: Regenerated.
4594
7b1902cb
JM
4595 [BZ #2541]
4596 [BZ #4108]
4597 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
4598 before squaring exponent.
4599 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
4600 bottom long double and 27 bits of top long double before squaring
4601 exponent.
4602 * math/libm-test.inc (erfc_test): Add more tests.
4603 * sysdeps/i386/fpu/libm-test-ulps: Update.
4604 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4606
f775c276
KT
46072012-03-01 Kai Tietz <ktietz@redhat.com>
4608
4609 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
4610 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
4611 containing bit-fields.
4612 * soft-fp/extended.h (_FP_UNION_E): Likewise.
4613 * soft-fp/single.h (_FP_UNION_S): Likewise.
4614 * soft-fp/double.h (_FP_UNION_D): Likewise.
4615
5b8a4d4a
JM
46162012-02-29 Joseph Myers <joseph@codesourcery.com>
4617
0bab47b6
JM
4618 [BZ #13786]
4619 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
4620 not include ../strcmp.S.
4621 [USE_AS_STRNCASECMP_L]: Likewise.
4622 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
4623 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
4624 * sysdeps/i386/i686/multiarch/strncase_l-c.c
4625 (__strncasecmp_l_ia32): Define as alias to
4626 __strncasecmp_l_nonascii.
4627
0fcad3e2
JM
4628 [BZ #5794]
4629 * math/libm-test.inc (expm1_test): Add test for bug 5794.
4630 * sysdeps/i386/fpu/libm-test-ulps: Update.
4631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4632
5b8a4d4a
JM
4633 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
4634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4635
8fdceb2e
JL
46362012-02-29 Jeff Law <law@redhat.com>
4637
4638 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
4639 out of bounds read.
4640
1f393a11
MP
46412012-02-29 Marek Polacek <polacek@redhat.com>
4642
4643 [BZ #13706]
4644 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
4645 * elf/Makefile: Add rules to run tst-unused-dep.out.
4646
8847f037
DM
46472012-02-28 David S. Miller <davem@davemloft.net>
4648
4649 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
4650 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
4651 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
4652 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
4653 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
4654 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
4655
169d7f11
JM
46562012-02-29 Joseph Myers <joseph@codesourcery.com>
4657
4658 * math/libm-test.inc (llround_test): Move one test from
4659 lround_test. Use TEST_f_L in moved test.
4660 (lround_test): Move misplaced test to llround_test. Add testcase
4661 from bug 2561.
4662
39adf059
UD
46632012-02-28 Ulrich Drepper <drepper@gmail.com>
4664
4665 * sysdeps/x86_64/fpu/e_expf.S: New file.
4666 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
4667
71b5d1c5
SB
46682012-02-28 Stanislav Brabec <sbrabec@suse.cz>
4669
4670 [BZ #13637]
4671 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
4672 of remain_len that may cause incomplete multi-byte character and
4673 false match.
4674 * posix/bug-regex33.c: New file.
4675 * posix/Makefile (tests): Add bug-regex33.
4676
1f77f049
JM
46772012-02-28 Joseph Myers <joseph@codesourcery.com>
4678
4679 * manual/macros.texi: New file.
4680 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
4681 * manual/libc.texinfo: Include macros.texi.
4682 * manual/creatute.texi: Likewise.
4683 * manual/install.texi: Likewise.
4684 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
4685 @glibcadj{} in references to the GNU C Library.
4686 * manual/charset.texi: Likewise.
4687 * manual/conf.texi: Likewise.
4688 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
4689 when not using those macros.
4690 * manual/creature.texi: Likewise.
4691 * manual/crypt.texi: Likewise.
4692 * manual/errno.texi: Likewise.
4693 * manual/filesys.texi: Likewise.
4694 * manual/header.texi: Likewise.
4695 * manual/install.texi: Likewise.
4696 * manual/intro.texi: Likewise.
4697 * manual/io.texi: Likewise.
4698 * manual/job.texi: Likewise.
4699 * manual/lang.texi: Likewise.
4700 * manual/libc.texiinfo: Likewise.
4701 * manual/llio.texi: Likewise.
4702 * manual/locale.texi: Likewise.
4703 * manual/maint.texi: Likewise.
4704 * manual/math.texi: Likewise.
4705 * manual/memory.texi: Likewise.
4706 * manual/message.texi: Likewise.
4707 * manual/nss.texi: Likewise.
4708 * manual/pattern.texi: Likewise.
4709 * manual/process.texi: Likewise.
4710 * manual/resource.texi: Likewise.
4711 * manual/search.texi: Likewise.
4712 * manual/setjmp.texi: Likewise.
4713 * manual/signal.texi: Likewise.
4714 * manual/socket.texi: Likewise.
4715 * manual/startup.texi: Likewise.
4716 * manual/stdio.texi: Likewise.
4717 * manual/string.texi: Likewise.
4718 * manual/sysinfo.texi: Likewise.
4719 * manual/syslog.texi: Likewise.
4720 * manual/terminal.texi: Likewise.
4721 * manual/time.texi: Likewise.
4722 * manual/users.texi: Likewise.
4723 * INSTALL: Regenerated.
4724 * NOTES: Regenerated.
d40c5d54 4725 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 4726
450bf206
AS
47272012-02-28 Andreas Schwab <schwab@linux-m68k.org>
4728
4729 * include/dirent.h: Include <dirstream.h> before
4730 <dirent/dirent.h>.
4731
741a235b
DM
47322012-02-28 David S. Miller <davem@davemloft.net>
4733
4734 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
4735 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
4736 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
4737 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
4738
d6b5aa58
DM
47392012-02-27 David S. Miller <davem@davemloft.net>
4740
1aff59a3
DM
4741 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
4742 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
4743 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
4744 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
4745
d6b5aa58
DM
4746 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
4747 frame pointer instead of stack pointer relative arg slot.
4748 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4749 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4750 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4751
433f48bf
CD
47522012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
4753
4754 [BZ #3992]
4755 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
4756
d674b76d
DM
47572012-02-27 David S. Miller <davem@davemloft.net>
4758
4759 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
4760 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4761 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4762 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
4763 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4764 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4765 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
4766 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
4767
0e7727f7
JM
47682012-02-27 Joseph Myers <joseph@codesourcery.com>
4769
4770 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
4771 later. Allow versions 5-9.
43be4ca2 4772 * configure: Regenerated.
0e7727f7
JM
4773 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
4774 required minimum version and 4.6 as recommended version. Do not
4775 mention bugs in GCC 2.7 and 2.8.
43be4ca2 4776 * INSTALL: Regenerated.
0e7727f7 4777
a78bc654
DM
47782012-02-27 David S. Miller <davem@davemloft.net>
4779
428d5830
DM
4780 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
4781 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
4782 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
4783 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
4784 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
4785 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
4786 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
4787 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
4788
a78bc654
DM
4789 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
4790 manipulate bits before adding and subtracting TWO112[sx].
4791 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4792
4579f81c
RM
47932012-02-27 Roland McGrath <roland@hack.frob.com>
4794
36c8acb4
RM
4795 [BZ #13775]
4796 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
4797 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
4798 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
4799 being in POSIX, because they are in 1003.1-2008.
4800
84ad622b
RM
4801 * rt/tst-aio.c: Include <fcntl.h>.
4802 * rt/tst-aio7.c: Likewise.
4803 * rt/tst-aio64.c: Likewise.
4804
4579f81c
RM
4805 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
4806
abd923db
JM
48072012-02-27 Joseph Myers <joseph@codesourcery.com>
4808
4809 * manual/install.texi (--with-headers): Describe headers as
4810 interface headers, not private headers.
4811 (Specific advice for GNU/Linux systems): Describe use of headers
4812 from "make headers_install", not private headers from older
4813 kernels.
43be4ca2 4814 * INSTALL: Regenerated.
abd923db
JM
4815 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
4816 Change to 2.6.19.
4817 * sysdeps/unix/sysv/linux/configure: Regenerated.
4818
6664049b
JM
4819 * manual/llio.texi (fclean): Remove documentation.
4820
bb8b6697
JM
4821 * manual/Makefile (libc-texi-generated): New variable. Include
4822 version.texi.
4823 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
4824 $(libc-texi-generated), not duplicated list of files.
4825 (version.texi, stamp-version): New rules.
4826 (realclean): Remove $(libc-texi-generated), not individual files
4827 from that list. Do not remove dir-add.texinfo.
4828 * manual/libc.texinfo: Comment out uses of edition numbers and
4829 references to printed manual. Remove last-updated dates.
4830 (EDITION): Comment out.
4831 (ISBN): Likewise.
4832 (VERSION, UPDATED): Remove.
4833 (version.texi): Include.
4834
12e5c3b9
AS
48352012-02-27 Andreas Schwab <schwab@linux-m68k.org>
4836
4837 * sysdeps/posix/spawni.c: Include <signal.h>.
4838 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
4839 * sysdeps/pthread/aio_fsync.c: Likewise.
4840
4efeffc1 48412012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 4842
ba63ba08
UD
4843 * conform/Makefile (tests): Run only when not cross-compiling and
4844 when fast-check is not defined.
4845
d94a4670
UD
4846 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
4847 * conform/data/limits.h-data: Fixes for POSIX2008.
4848 * conform/run-conformtest.sh: Run all tests.
4849 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
4850 headers.
4851 * include/bits/dlfcn.h: Likewise.
4852 * include/langinfo.h: Likewise.
4853 * include/monetary.h: Likewise.
4854 * include/sys/poll.h: Likewise.
4855
4856 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
4857 for __USE_GNU.
4858 * posix/spawn.h: Define __need_sigset_t.
4859 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
4860 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
4861 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
4862 to get sigevent_t only.
4863 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
4864 only for __USE_GNU.
4865 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4866 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
4867 process_vm_writev only for __USE_GNU.
4868 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
4869
4870 * conform/Makefile: For now ignore errors from run-conformtest.
4871 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
4872 POSIX to avoid namespace pollution. Don't prepend headers.
4873 * conform/data/aio.h-data: Fixes for POSIX testing.
4874 * conform/data/fcntl.h-data: Likewise.
4875 * conform/data/glob.h-data: Likewise.
4876 * conform/data/grp.h-data: Likewise.
4877 * conform/data/pthread.h-data: Likewise.
4878 * conform/data/pwd.h-data: Likewise.
4879 * conform/data/signal.h-data: Likewise.
4880 * conform/data/spawn.h-data: Likewise.
4881 * conform/data/stdio.h-data: Likewise.
4882 * conform/data/stdlib.h-data: Likewise.
4883 * conform/data/stropts.h-data: Likewise.
4884 * conform/data/sys/mman.h-data: Likewise.
4885 * conform/data/sys/stat.h-data: Likewise.
4886 * conform/data/sys/types.h-data: Likewise.
4887 * conform/data/sys/wait.h-data: Likewise.
4888 * conform/data/time.h-data: Likewise.
4889 * conform/data/unistd.h-data: Likewise.
4890 * conform/data/utime.h-data: Likewise.
4891
4892 * io/sys/stat.h: fchmod was always in POSIX.
4893 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
4894 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
4895 * rt/aio.h: Define __need_timespec before including <time.h>.
4896 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
4897 struct. Add forward declaration of pthread_attr_t and use it in
4898 sigevent.
4899 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
4900 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4901 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
4902 always remove CLK_TCK definition.
4903
c20105c3
AS
49042012-02-26 Andreas Schwab <schwab@linux-m68k.org>
4905
4906 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
4907
7a270350
UD
49082012-02-25 Ulrich Drepper <drepper@gmail.com>
4909
31341567
UD
4910 * conform/run-conformtest.sh: New file.
4911 * conform/Makefile: Run run-conformtest for tests.
4912 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
4913 support.
4914
4915 * conform/data/uchar.h-data: New file.
4916 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
4917 * conform/data/arpa/inet.h-data: Likewise.
4918 * conform/data/assert.h-data: Likewise.
4919 * conform/data/complex.h-data: Likewise.
4920 * conform/data/cpio.h-data: Likewise.
4921 * conform/data/ctype.h-data: Likewise.
4922 * conform/data/dirent.h-data: Likewise.
4923 * conform/data/dlfcn.h-data: Likewise.
4924 * conform/data/errno.h-data: Likewise.
4925 * conform/data/fcntl.h-data: Likewise.
4926 * conform/data/float.h-data: Likewise.
4927 * conform/data/fmtmsg.h-data: Likewise.
4928 * conform/data/fnmatch.h-data: Likewise.
4929 * conform/data/ftw.h-data: Likewise.
4930 * conform/data/glob.h-data: Likewise.
4931 * conform/data/grp.h-data: Likewise.
4932 * conform/data/iconv.h-data: Likewise.
4933 * conform/data/inttypes.h-data: Likewise.
4934 * conform/data/langinfo.h-data: Likewise.
4935 * conform/data/libgen.h-data: Likewise.
4936 * conform/data/limits.h-data: Likewise.
4937 * conform/data/locale.h-data: Likewise.
4938 * conform/data/math.h-data: Likewise.
4939 * conform/data/monetary.h-data: Likewise.
4940 * conform/data/mqueue.h-data: Likewise.
4941 * conform/data/ndbm.h-data: Likewise.
4942 * conform/data/net/if.h-data: Likewise.
4943 * conform/data/netdb.h-data: Likewise.
4944 * conform/data/netinet/in.h-data: Likewise.
4945 * conform/data/nl_types.h-data: Likewise.
4946 * conform/data/poll.h-data: Likewise.
4947 * conform/data/pthread.h-data: Likewise.
4948 * conform/data/pwd.h-data: Likewise.
4949 * conform/data/regex.h-data: Likewise.
4950 * conform/data/sched.h-data: Likewise.
4951 * conform/data/search.h-data: Likewise.
4952 * conform/data/semaphore.h-data: Likewise.
4953 * conform/data/setjmp.h-data: Likewise.
4954 * conform/data/signal.h-data: Likewise.
4955 * conform/data/spawn.h-data: Likewise.
4956 * conform/data/stdarg.h-data: Likewise.
4957 * conform/data/stdio.h-data: Likewise.
4958 * conform/data/stdlib.h-data: Likewise.
4959 * conform/data/string.h-data: Likewise.
4960 * conform/data/strings.h-data: Likewise.
4961 * conform/data/stropts.h-data: Likewise.
4962 * conform/data/sys/ipc.h-data: Likewise.
4963 * conform/data/sys/mman.h-data: Likewise.
4964 * conform/data/sys/msg.h-data: Likewise.
4965 * conform/data/sys/resource.h-data: Likewise.
4966 * conform/data/sys/select.h-data: Likewise.
4967 * conform/data/sys/sem.h-data: Likewise.
4968 * conform/data/sys/shm.h-data: Likewise.
4969 * conform/data/sys/socket.h-data: Likewise.
4970 * conform/data/sys/stat.h-data: Likewise.
4971 * conform/data/sys/statvfs.h-data: Likewise.
4972 * conform/data/sys/time.h-data: Likewise.
4973 * conform/data/sys/timeb.h-data: Likewise.
4974 * conform/data/sys/times.h-data: Likewise.
4975 * conform/data/sys/types.h-data: Likewise.
4976 * conform/data/sys/uio.h-data: Likewise.
4977 * conform/data/sys/un.h-data: Likewise.
4978 * conform/data/sys/utsname.h-data: Likewise.
4979 * conform/data/sys/wait.h-data: Likewise.
4980 * conform/data/syslog.h-data: Likewise.
4981 * conform/data/tar.h-data: Likewise.
4982 * conform/data/termios.h-data: Likewise.
4983 * conform/data/utime.h-data: Likewise.
4984 * conform/data/utmpx.h-data: Likewise.
4985 * conform/data/varargs.h-data: Likewise.
4986 * conform/data/wchar.h-data: Likewise.
4987 * conform/data/wctype.h-data: Likewise.
4988 * conform/data/wordexp.h-data: Likewise.
4989
4990 * include/stropts.h: New file.
4991 * include/uchar.h: New file.
4992 * include/aio.h: Changes to allow conformtest.pl to use the headers.
4993 * include/assert.h: Likewise.
4994 * include/ctype.h: Likewise.
4995 * include/dirent.h: Likewise.
4996 * include/dlfcn.h: Likewise.
4997 * include/fcntl.h: Likewise.
4998 * include/fnmatch.h: Likewise.
4999 * include/glob.h: Likewise.
5000 * include/grp.h: Likewise.
5001 * include/libio.h: Likewise.
5002 * include/locale.h: Likewise.
5003 * include/math.h: Likewise.
5004 * include/net/if.h: Likewise.
5005 * include/netdb.h: Likewise.
5006 * include/netinet/in.h: Likewise.
5007 * include/pthread.h: Likewise.
5008 * include/pwd.h: Likewise.
5009 * include/regex.h: Likewise.
5010 * include/sched.h: Likewise.
5011 * include/search.h: Likewise.
5012 * include/setjmp.h: Likewise.
5013 * include/signal.h: Likewise.
5014 * include/stdio.h: Likewise.
5015 * include/stdlib.h: Likewise.
5016 * include/string.h: Likewise.
5017 * include/sys/cdefs.h: Likewise.
5018 * include/sys/mman.h: Likewise.
5019 * include/sys/msg.h: Likewise.
5020 * include/sys/resource.h: Likewise.
5021 * include/sys/select.h: Likewise.
5022 * include/sys/socket.h: Likewise.
5023 * include/sys/stat.h: Likewise.
5024 * include/sys/statvfs.h: Likewise.
5025 * include/sys/time.h: Likewise.
5026 * include/sys/times.h: Likewise.
5027 * include/sys/uio.h: Likewise.
5028 * include/sys/utsname.h: Likewise.
5029 * include/sys/wait.h: Likewise.
5030 * include/termios.h: Likewise.
5031 * include/time.h: Likewise.
5032 * include/ulimit.h: Likewise.
5033 * include/unistd.h: Likewise.
5034 * include/utime.h: Likewise.
5035 * include/wchar.h: Likewise.
5036 * include/wctype.h: Likewise.
5037 * include/wordexp.h: Likewise.
5038
5039 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
5040
7a270350
UD
5041 * time/time.h: TIME_UTC must be a macro.
5042 Make timespec_get available for ISO C11 only as well.
5043
7724defc
UD
50442012-02-24 Ulrich Drepper <drepper@gmail.com>
5045
5046 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
5047 Reported by Peng Haitao <penght@cn.fujitsu.com>.
5048
6b1d1d46
JM
50492012-02-24 Joseph Myers <joseph@codesourcery.com>
5050
5051 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 5052
0f8bbd69
JM
50532012-02-24 Joseph Myers <joseph@codesourcery.com>
5054
5055 * manual/texinfo.tex: Update to version 2012-01-19.16.
5056
66ab80bc
JM
50572012-02-24 Joseph Myers <joseph@codesourcery.com>
5058
5059 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
5060
74981cc5
RM
50612012-02-24 Roland McGrath <roland@hack.frob.com>
5062
ee968201
RM
5063 [BZ #13738]
5064 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
5065 * manual/fdl-1.3.texi: New file.
5066 * manual/fdl-1.1.texi: File removed.
5067
74981cc5
RM
5068 [BZ #13738]
5069 * manual/libc.texinfo (FDL_VERSION): New @set.
5070 Use it for mention of FDL in cover text.
5071 (Documentation License): Use it in @include file name.
5072
7bb764bc
JM
50732012-02-22 Joseph Myers <joseph@codesourcery.com>
5074 Roland McGrath <roland@hack.frob.com>
5075
5076 [BZ #5461]
5077 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
5078 not LONG_LONG_MAX and LONG_LONG_MIN.
5079 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
5080 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
5081 name.
5082 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
5083
6cbeae47
JM
50842012-02-22 Joseph Myers <joseph@codesourcery.com>
5085
5086 [BZ #2547]
5087 [BZ #11365]
5088 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
5089 manipulate bits before adding and subtracting TWO23[sx].
5090 * math/libm-test.inc (nearbyint_test): Add more tests.
5091
fe45ce09
JM
50922012-02-22 Joseph Myers <joseph@codesourcery.com>
5093
5094 [BZ #2548]
5095 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
5096 bits before adding and subtracting TWO23[sx].
5097 * math/libm-test.inc (rint_test): Add more tests.
5098 (rint_test_tonearest): Likewise.
5099 (rint_test_towardzero): Likewise.
5100 (rint_test_downward): Likewise.
5101 (rint_test_upward: Likewise.
5102
ff3b3d82
JM
51032012-02-22 Joseph Myers <joseph@codesourcery.com>
5104
5105 [BZ #10110]
5106 * include/stdc-predef.h: New file. Extracted from features.h.
5107 * include/features.h: Include stdc-predef.h.
5108 * Makefile (headers): Add stdc-predef.h.
5109 * CONFORMANCE (Compiler limitations): Update.
5110
ef0aab35
JM
51112012-02-22 Joseph Myers <joseph@codesourcery.com>
5112
5113 * manual/libc.texinfo (VERSION, UPDATED): Revert.
5114
58639409
DM
51152012-02-21 David S. Miller <davem@davemloft.net>
5116
5117 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
5118 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5119
c0e70b25
DM
51202012-02-20 David S. Miller <davem@davemloft.net>
5121
5122 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
5123 using a normal save/restore sequence, rather than allocating a
5124 dummy stack frame just to store a frame pointer and restore.
5125 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5126
fb06851d
JM
51272012-02-21 Joseph Myers <joseph@codesourcery.com>
5128
5129 * manual/install.texi: Fix stray word in line-wrapped comment.
5130
7a8b71c3
DM
51312012-02-20 David S. Miller <davem@davemloft.net>
5132
d510c123
DM
5133 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
5134 both binutils and gcc support GOTDATA.
5135
0722d7c2
DM
5136 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
5137 "rd %pc" in the PIC register setup sequences.
5138
3d2b3019
DM
5139 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
5140 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5141 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5142 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5143 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5144 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5145 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5146 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5147 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
5148 (SYSCALL_ERROR_HANDLER): Likewise.
5149 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5150 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5151 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
5152 (SYSCALL_ERROR_HANDLER): Likewise.
5153
c80098a9
DM
5154 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
5155 (HAVE_GCC_GOTDATA): New.
5156 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
5157 relocation support in both binutils and gcc.
5158 * sysdeps/sparc/elf/configure: Regenerate.
5159
3a2545a0
DM
5160 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
5161 * sysdeps/sparc/sparc32/elf/configure: Delete.
5162 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
5163 * sysdeps/sparc/sparc64/elf/configure: Delete.
5164 * sysdeps/sparc/elf/configure.in: New file.
5165 * sysdeps/sparc/elf/configure: Generate.
5166
7a8b71c3
DM
5167 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
5168 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
5169 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5170 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
5171 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
5172
f1e86fca
JM
51732012-02-21 Joseph Myers <joseph@codesourcery.com>
5174
5175 * manual/install.texi: Do not mention specific glibc version
5176 numbers.
5177 * manual/libc.texinfo (VERSION, UPDATED): Update.
5178 (@copying): Use @copyright{} and range of years.
5179
0e7dfaef
JM
51802012-02-21 Joseph Myers <joseph@codesourcery.com>
5181
5182 [BZ #13695]
5183 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
5184 [crti.S not in sysdirs] (generated): Do not append.
5185 [crti.S not in sysdirs] (omit-deps): Likewise.
5186 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
5187 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
5188 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
5189 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
5190 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
5191 Likewise.
5192 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
5193 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
5194 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
5195 * csu/defs.awk: Remove file.
5196 * sysdeps/generic/initfini.c: Likewise.
5197 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
5198 variable.
5199 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
5200 Likewise.
5201
599af3ca
JM
52022012-02-20 Joseph Myers <joseph@codesourcery.com>
5203
5204 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
5205 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
5206 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
5207 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
5208 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5209 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
5210 <bits/epoll.h>.
5211 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
5212 (__EPOLL_PACKED): Define to empty if not defined by
5213 <bits/epoll.h>.
5214 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
5215 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5216 bits/epoll.h.
5217
0e499750
JM
52182012-02-20 Joseph Myers <joseph@codesourcery.com>
5219
5220 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
5221 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
5222 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
5223 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
5224 <bits/timerfd.h>.
5225 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
5226 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5227 bits/timerfd.h.
5228
5ad91f6e
JM
52292012-02-20 Joseph Myers <joseph@codesourcery.com>
5230
5231 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
5232 in C locale.
5233 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5234 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5235 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
5236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5237
06b99b02
AJ
52382012-02-20 Aurelien Jarno <aurelien@aurel32.net>
5239
5240 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5241 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5242
7638c0fd
AS
52432012-02-19 Andreas Schwab <schwab@linux-m68k.org>
5244
5245 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
5246 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
5247 defined.
5248 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
5249 Likewise.
5250 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
5251 entry for 2.16.
5252
92221550
AJ
52532012-02-19 Aurelien Jarno <aurelien@aurel32.net>
5254
5255 * math/w_acos.c: Use non-signaling floating-point comparisons.
5256 * math/w_acosf.c: Likewise.
5257 * math/w_acosh.c: Likewise.
5258 * math/w_acoshf.c: Likewise.
5259 * math/w_acoshl.c: Likewise.
5260 * math/w_acosl.c: Likewise.
5261 * math/w_asin.c: Likewise.
5262 * math/w_asinf.c: Likewise.
5263 * math/w_asinl.c: Likewise.
5264 * math/w_atanh.c: Likewise.
5265 * math/w_atanhf.c: Likewise.
5266 * math/w_atanhl.c: Likewise.
5267 * math/w_exp2.c: Likewise.
5268 * math/w_exp2f.c: Likewise.
5269 * math/w_exp2l.c: Likewise.
5270 * math/w_j0.c: Likewise.
5271 * math/w_j0f.c: Likewise.
5272 * math/w_j0l.c: Likewise.
5273 * math/w_j1.c: Likewise.
5274 * math/w_j1f.c: Likewise.
5275 * math/w_j1l.c: Likewise.
5276 * math/w_jn.c: Likewise.
5277 * math/w_jnf.c: Likewise.
5278 * math/w_log.c: Likewise.
5279 * math/w_log10.c: Likewise.
5280 * math/w_log10f.c: Likewise.
5281 * math/w_log10l.c: Likewise.
5282 * math/w_log2.c: Likewise.
5283 * math/w_log2f.c: Likewise.
5284 * math/w_log2l.c: Likewise.
5285 * math/w_logf.c: Likewise.
5286 * math/w_logl.c: Likewise.
5287 * math/w_sqrt.c: Likewise.
5288 * math/w_sqrtf.c: Likewise.
5289 * math/w_sqrtl.c: Likewise.
5290 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5291 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5292 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5293 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5294 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5295
ebaf36eb
JM
52962012-02-19 Joseph Myers <joseph@codesourcery.com>
5297
5298 [BZ #9739]
5299 * manual/string.texi (strnlen): Use correct parameter name in
5300 equivalent expression.
5301
71c254a6
JM
53022012-02-19 Joseph Myers <joseph@codesourcery.com>
5303
5304 [BZ #11174]
5305 * manual/users.texi (seteuid): Consistently use neweuid for
5306 argument name.
5307
16d2c631
JM
53082012-02-19 Joseph Myers <joseph@codesourcery.com>
5309
5310 [BZ #13704]
5311 * manual/nss.texi (Services in the NSS configuration): Correct
5312 list of services in example configuration file.
5313
cd837b09
NB
53142012-02-19 Nick Bowler <nbowler@draconx.ca>
5315
5316 [BZ #11322]
5317 * manual/arith.texi: Remove statements about negative zero
5318 behaving identically to zero.
5319
02c4bbad
JM
53202012-02-18 Joseph Myers <joseph@codesourcery.com>
5321
5322 [BZ #5993]
5323 * manual/install.texi: Do not document upgrading from libc5.
5324
366842e7
JM
53252012-02-18 Joseph Myers <joseph@codesourcery.com>
5326
5327 [BZ #4596]
5328 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
5329
dd54084d
DM
53302012-02-18 David S. Miller <davem@davemloft.net>
5331
5332 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
5333 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
5334 %o7 across the call.
5335 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
5336 instead.
5337 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
5338 SETUP_PIC_REG_LEAF.
5339 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5340 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
5341 * sysdeps/sparc/crtn.S: Likewise.
5342
2bcc53a3
UD
53432012-02-17 Ulrich Drepper <drepper@gmail.com>
5344
5345 * aout/Makefile: Remove.
5346
09c093b5
RK
53472012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
5348
5349 [BZ #13058]
5350 * manual/examples/argp-ex1.c (main): Format definition in GNU
5351 style.
5352 * manual/examples/argp-ex2.c (main): Likewise.
5353 * manual/examples/argp-ex3.c (main): Likewise.
5354 * manual/examples/argp-ex4.c (main): Likewise.
5355 * manual/examples/longopt.c (main): Use new-style prototype
5356 definition.
5357 * manual/examples/strncat.c (main): Specify return type and use
5358 (void) for arguments.
5359 * manual/examples/subopt.c (main): Use char **argv argument.
5360
2ee633a2
JM
53612012-02-17 Joseph Myers <joseph@codesourcery.com>
5362
5363 [BZ #5077]
5364 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
5365 rounding modes.
5366
0520adde
FB
53672012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
5368
5369 [BZ #6907]
5370 * manual/string.texi (strchr): Change when strchrnul is
5371 recommended.
5372
3f4081cd
DGM
53732012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
5374
5375 [BZ #174]
5376 * manual/locale.texi (setlocale): Document LOCPATH.
5377
d1b10e78
JM
53782012-02-17 Joseph Myers <joseph@codesourcery.com>
5379
5380 [BZ #10210]
5381 * manual/process.texi (execle): Move @dots{} before last argument.
5382
79c6869c
PB
53832012-02-17 Paul Bolle <pebolle@tiscali.nl>
5384
5385 [BZ #12047]
5386 * manual/charset.texi (Generic Charset Conversion): Fix typo
5387 (LC_TYPE -> LC_CTYPE).
5388
cc6e48bc
NB
53892012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
5390
5391 [BZ #5805]
5392 * manual/arith.texi (scalbn): Use @var{} on parameter names.
5393 (scalbnf): Likewise.
5394 (scalbnl): Likewise.
5395 (scalbln): Likewise.
5396 (scalblnf): Likewise.
5397 (scalblnl): Likewise.
5398 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
5399 (vwarnx): Likewise.
5400 (verr): Likewise.
5401 (verrx): Likewise.
5402 * manual/filesys.texi (telldir): Use braces around return type.
5403 * manual/llio.texi (mmap): Add space after comma.
5404 (mmap64): Likewise.
5405 * manual/math.texi (jn): Use @var{} on parameter names.
5406 (jnf): Likewise.
5407 (jnl): Likewise.
5408 (yn): Likewise.
5409 (ynf): Likewise.
5410 (ynl): Likewise.
5411 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
5412 line.
5413 * manual/resource.texi (ulimit): Use @dots{} instead of literal
5414 "...".
5415 (sched_get_priority_min): Remove semicolon on @deftypefun line.
5416 (sched_get_priority_max): Likewise.
5417 * manual/signal.texi (sigvec): Add space after comma.
5418 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
5419 names.
5420 (if_indextoname): Likewise.
5421 (if_freenameindex): Likewise.
5422 (sendto): Use ',' instead of '.' in prototype.
5423 * manual/startup.texi (syscall): Use @dots{} instead of literal
5424 "...".
5425 * manual/stdio.texi (__fpending): Separate initial words of
5426 paragraph from @deftypefun line.
5427 * manual/syslog.texi (syslog): Use @dots{} instead of literal
5428 "...".
5429 (vsyslog): Use @var{} on parameter names.
5430 * manual/terminal.texi (stty): Use @var{} on parameter names.
5431 * manual/users.texi (getutmp): Use @var{} on parameter names.
5432 (getutmpx): Likewise.
5433
5b23062f
JM
54342012-02-17 Joseph Myers <joseph@codesourcery.com>
5435
5436 [BZ #6884]
5437 * manual/stdio.texi (fopen): Fix typos in description of
5438 ",ccs=STRING".
5439
8dee4833
AJ
54402012-02-17 Aurelien Jarno <aurelien@aurel32.net>
5441
5442 [BZ #4026]
5443 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
5444 get clock_id definition.
5445
9078ce93
TS
54462012-02-17 Thomas Schwinge <thomas@schwinge.name>
5447
5448 [BZ #4822]
5449 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
5450 (madvise): Cast every argument to void on its own.
5451
3835c55f
JM
54522012-02-17 Joseph Myers <joseph@codesourcery.com>
5453
5454 [BZ #9902]
5455 * manual/startup.texi (Exit Status): Fix typo.
5456
35c47e37
JM
54572012-02-17 Joseph Myers <joseph@codesourcery.com>
5458
5459 [BZ #10140]
5460 * manual/examples/argp-ex1.c: Include <stdlib.h>.
5461 * manual/examples/argp-ex2.c: Likewise.
5462 * manual/examples/argp-ex3.c: Likewise.
5463
e3b69ca7
RH
54642012-02-16 Richard Henderson <rth@redhat.com>
5465
5466 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
5467 * sysdeps/s390/s390-32/initfini.c: Remove.
5468 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
5469 * sysdeps/s390/s390-64/initfini.c: Remove.
5470
df83af67
KK
54712012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5472
5473 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
5474 compiler output for sysdeps/generic/initfini.c.
5475 * sysdeps/sh/elf/initfini.c: Remove file.
5476
f63f3380
DM
54772012-02-16 David S. Miller <davem@davemloft.net>
5478
fb59b3a4
DM
5479 [BZ #11494]
5480 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
5481
f63f3380
DM
5482 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
5483 * sysdeps/sparc/crti.S: New file.
5484 * sysdeps/sparc/crtn.S: New file.
5485 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
5486 * sysdeps/sparc/sparc64/Makefile: Likewise.
5487
df6a4a4a
MF
54882012-02-15 Mike Frysinger <vapier@gentoo.org>
5489
6dd8f3dc 5490 [BZ #3335]
df6a4a4a
MF
5491 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
5492
1cac7236
RM
54932012-02-15 Roland McGrath <roland@hack.frob.com>
5494
d2c736f8
RM
5495 [BZ #4822]
5496 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
5497
1cac7236
RM
5498 * mach/devstream.c (cookie_io_functions_t): Macro removed.
5499 (write, read, close): Likewise.
5500 Patch by Aurelien Jarno <aurelien@aurel32.net>.
5501
8e475601
JM
55022012-02-15 Joseph Myers <joseph@codesourcery.com>
5503
5504 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
5505 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
5506 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
5507 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
5508 <bits/signalfd.h>.
5509 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
5510 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5511 bits/signalfd.h.
5512
ed656b40
MP
55132012-02-14 Marek Polacek <polacek@redhat.com>
5514
5515 * sysdeps/x86_64/crti.S: New file.
5516 * sysdeps/x86_64/crtn.S: New file.
5517 * sysdeps/x86_64/elf/initfini.c: Remove file.
5518
2a979d3a
JM
55192012-02-13 Joseph Myers <joseph@codesourcery.com>
5520
5521 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
5522 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
5523 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
5524 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
5525 <bits/inotify.h>.
5526 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
5527 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5528 bits/inotify.h.
5529
2a418ac3
JM
55302012-02-13 Joseph Myers <joseph@codesourcery.com>
5531
5532 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
5533 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
5534 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
5535 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
5536 <bits/eventfd.h>.
5537 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
5538 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5539 bits/eventfd.h.
5540
fb779be7
TS
55412012-02-10 Thomas Schwinge <thomas@codesourcery.com>
5542
e19e83c5
RM
5543 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
5544 __feraiseexcept instead of feraiseexcept.
7c35ffed 5545
fb779be7
TS
5546 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
5547 nanosleep invocations.
5548 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
5549 strings, and add error checking for a nanosleep invocations.
5550
59ba27a6
PE
55512012-02-09 Paul Eggert <eggert@cs.ucla.edu>
5552
5553 Replace FSF snail mail address with URLs, as per GNU coding standards.
5554 Most of the snail mail addresses were wrong anyway, and omitting
5555 them makes the source code easier to maintain. Almost all of the
5556 changes are to license notices and to locale LC_IDENTIFICATION
5557 addresses, except for this one:
5558 * manual/libc.texinfo: In "Published by", give the FSF's URL,
5559 not its snail mail address.
5560
57b957eb
RH
55612012-02-09 Richard Henderson <rth@twiddle.net>
5562
af850b1c
RH
5563 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
5564 of kernel-features.h.
5565
57b957eb
RH
5566 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
5567
6b73181a
MP
55682012-02-08 Marek Polacek <polacek@redhat.com>
5569
5570 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
5571 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
5572 * sysdeps/gnu/_G_config.h: Likewise.
5573 * sysdeps/generic/_G_config.h: Likewise.
5574
26ecc33a
AS
55752012-02-08 Andreas Schwab <schwab@linux-m68k.org>
5576
6c6dbc63
AS
5577 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
5578 tests.
5579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5580
e216c012
AS
5581 * sysdeps/powerpc/powerpc32/crti.S: New file.
5582 * sysdeps/powerpc/powerpc32/crtn.S: New file.
5583 * sysdeps/powerpc/powerpc64/crti.S: New file.
5584 * sysdeps/powerpc/powerpc64/crtn.S: New file.
5585
26ecc33a
AS
5586 * Makeconfig (have-initfini): Don't set.
5587 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
5588 * configure.in (nopic_initfini): Don't substitute.
5589 * config.h.in (HAVE_INITFINI): Don't #undef.
5590 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
5591 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
5592
3add8e13
JM
55932012-02-08 Joseph Myers <joseph@codesourcery.com>
5594
5595 Support crti.S and crtn.S provided directly by architectures.
5596 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
5597 [crti.S in sysdirs] (omit-deps): Likewise.
5598 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
5599 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
5600 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
5601 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
5602 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
5603 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
5604 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
5605 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
5606 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
5607 compiler output for sysdeps/generic/initfini.c.
5608 * sysdeps/i386/elf/Makefile: Remove file.
5609 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
5610
a22f12b4
MP
56112012-02-07 Marek Polacek <polacek@redhat.com>
5612
5613 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
5614 * sysdeps/gnu/_G_config.h: Likewise.
5615 * sysdeps/mach/hurd/_G_config.h: Likewise.
5616
148cf100
MP
56172012-02-07 Marek Polacek <polacek@redhat.com>
5618
5619 * math/Makefile (tests): Add tst-CMPLX2.
5620 * math/tst-CMPLX2.c: New file.
5621
cfdc0dd7
AS
56222012-02-07 Andreas Schwab <schwab@linux-m68k.org>
5623
84ba42c4
AS
5624 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5625
cfdc0dd7
AS
5626 * math/libm-test.inc (jn_test): Add missing L suffix.
5627
622c86f4
MP
56282012-02-06 Marek Polacek <polacek@redhat.com>
5629
5630 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
5631 * sysdeps/i386/fpu/e_powf.S: Likewise.
5632 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5633 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5634 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5635 * sysdeps/i386/fpu/e_pow.S: Likewise.
5636 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5637 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5638 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5639 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5640 * sysdeps/i386/fpu/e_log2.S: Likewise.
5641 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5642 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5643 * sysdeps/i386/fpu/e_powl.S: Likewise.
5644 * sysdeps/i386/fpu/s_log1p.S: Likewise.
5645 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5646 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5647 * sysdeps/i386/fpu/e_logl.S: Likewise.
5648 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5649 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
5650 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5651 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5652 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5653 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5654 * sysdeps/i386/fpu/e_log.S: Likewise.
5655 * sysdeps/i386/fpu/s_cexp.S: Likewise.
5656 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5657 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
5658 * sysdeps/i386/fpu/e_logf.S: Likewise.
5659 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5660 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5661 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
5662 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5663 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5664 * sysdeps/i386/fpu/e_log10.S: Likewise.
5665 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5666 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5667 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5668 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5669 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5670 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5671 * sysdeps/i386/asm-syntax.h: Likewise.
5672 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5673 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5674 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5675 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
5676 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
5677 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5678 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5679 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5680 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5681 * sysdeps/powerpc/sysdep.h: Likewise.
5682 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
5683 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5684
d4a54ac6
JM
56852012-02-06 Joseph Myers <joseph@codesourcery.com>
5686
5687 [BZ #411]
5688 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
5689
314054ea
JM
56902012-02-06 Joseph Myers <joseph@codesourcery.com>
5691
5692 * sysdeps/i386/sysdep.h: Include <features.h>.
5693 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
5694 version.
5695
d8e0ca50
JM
56962012-02-05 Joseph Myers <joseph@codesourcery.com>
5697
5698 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
5699 Define.
5700 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
5701 LOAD_PIC_REG_STR.
5702
b1da7dd9
JM
57032012-02-03 Joseph Myers <joseph@codesourcery.com>
5704
5705 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
5706 (SETUP_PIC_REG): Use GET_PC_THUNK.
5707 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
5708 macro.
5709
9a1d9254
JM
57102012-02-03 Joseph Myers <joseph@codesourcery.com>
5711
5712 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
5713 for non-PIC compilation.
5714 (SETUP_PIC_REG): Add .p2align directive.
5715 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
5716 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
5717 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5718 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5719 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5720 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5721 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
5722 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5723 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5724 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5725 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5726 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5727 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5728 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5729 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5730 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5731 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5732 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5733 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5734 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5735 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5736 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5737 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5738 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5739 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5740 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5741 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5742 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5743 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5744 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5745 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5746 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5747 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5748 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5749 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5750 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5751 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5752 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5753 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5754 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5755 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5756
65dc3b75
JM
57572012-02-03 Joseph Myers <joseph@codesourcery.com>
5758
5759 * math/tst-CMPLX.c: Include <stdio.h>.
5760
d55bf177
JM
57612012-01-31 Joseph Myers <joseph@codesourcery.com>
5762
5763 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
5764 float.
5765 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5766 * sysdeps/sparc/bits/mathdef.h: Likewise.
5767
69db4f8f
MP
57682012-01-31 Marek Polacek <polacek@redhat.com>
5769
5770 * libio/libio.h: Don't define _PARAMS.
5771 * locale/programs/config.h: Don't define PARAMS.
5772 * stdlib/strtol_l.c: Likewise.
5773 (__strtol_l): Remove PARAMS from the prototype.
5774
41b81892
UD
57752012-01-31 Ulrich Drepper <drepper@gmail.com>
5776
3b49edc0
UD
5777 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
5778 names. Just use the correct names. Remove unnecessary wrapper
5779 functions.
5780 * malloc/arena.c: Likewise.
5781 * malloc/hooks.c: Likewise.
5782
41b81892
UD
5783 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
5784 ARENA_TEST says not to. Simplify test for creation of a new arena.
5785 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
5786
27a25b6e
UD
57872012-01-30 Ulrich Drepper <drepper@gmail.com>
5788
5789 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
5790 into tail calls.
5791 (update_get_addr): New function.
5792 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
5793 GET_ADDR_MODULE parameter.
5794
c8a89e7d
JM
57952012-01-30 Joseph Myers <joseph@codesourcery.com>
5796
5797 * crypt/cert.c: Remove __STDC__ conditionals.
5798 * crypt/crypt-entry.c: Likewise.
5799 * crypt/crypt_util.c: Likewise.
5800 * libio/filedoalloc.c: Likewise.
5801 * libio/fileops.c: Likewise.
5802 * libio/genops.c: Likewise.
5803 * libio/iofclose.c: Likewise.
5804 * libio/iofdopen.c: Likewise.
5805 * libio/iofopen.c: Likewise.
5806 * libio/iofopen64.c: Likewise.
5807 * libio/iogetdelim.c: Likewise.
5808 * libio/iopopen.c: Likewise.
5809 * libio/obprintf.c: Likewise.
5810 * libio/oldfileops.c: Likewise.
5811 * libio/oldiofclose.c: Likewise.
5812 * libio/oldiofdopen.c: Likewise.
5813 * libio/oldiofopen.c: Likewise.
5814 * libio/oldiopopen.c: Likewise.
5815 * libio/wfiledoalloc.c: Likewise.
5816 * libio/wgenops.c: Likewise.
5817 * locale/programs/xmalloc.c: Likewise.
5818 * misc/syslog.c: Likewise.
5819 * stdio-common/xbug.c: Likewise.
5820 * string/memchr.c: Likewise.
5821 * string/memcmp.c: Likewise.
5822 * string/memrchr.c: Likewise.
5823 * string/rawmemchr.c: Likewise.
5824 * sysdeps/posix/getcwd.c: Likewise.
5825 * time/strftime_l.c: Likewise.
5826
3b100462
JM
58272012-01-30 Joseph Myers <joseph@codesourcery.com>
5828
5829 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
5830 * config.make.in (config-cflags-sse2avx): Define.
5831 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
5832 Fix typo.
5833
607998af
CM
58342012-01-29 Chris Metcalf <cmetcalf@tilera.com>
5835
5836 * scripts/config.guess: Update from upstream config git repository.
5837 * scripts/config.sub: Likewise.
5838
3601428f
CM
58392012-01-28 Chris Metcalf <cmetcalf@tilera.com>
5840
3ac8b282
CM
5841 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
5842 (EM_NUM): Update.
5843 (R_TILEPRO_*, R_TILEGX_*): New macros.
5844
e034841e
CM
5845 * scripts/firstversions.awk: Fix bug in version range handling.
5846
540d7568
CM
5847 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
5848
3601428f
CM
5849 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
5850
463de862
CM
5851 * include/sys/epoll.h: New file.
5852 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
5853 libc_hidden_def.
5854
73139a76
UD
58552012-01-28 Ulrich Drepper <drepper@gmail.com>
5856
96bc5b45
UD
5857 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
5858 Avoid unnecessary __WORDSIZE == 64 test.
5859 (fmaxf): Use VEX format if possible.
5860 (fmax): Likewise.
5861 (fminf): Likewise.
5862 (fmin): Likewise.
5863
56f6f6a2
UD
5864 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
5865 * math/math_private.h: Remove libc_fegetround* and
5866 libc_fesetround*.
5867 * sysdeps/i386/configure.in: Check for -msse2avx.
5868 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
5869 also if SSE2AVX is defined.
5870 Remove libc_fegetround* and libc_fesetround*.
5871 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
5872 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
5873 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
5874 of HAS_YMM_USABLE.
5875 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5876 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5877 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5878 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5879 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5880
73139a76
UD
5881 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
5882
d73f93a4
AZ
58832012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5884
5885 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
5886 size is not set.
5887 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
5888
6ee65ed6
UD
58892012-01-27 Ulrich Drepper <drepper@gmail.com>
5890
5891 [BZ #13618]
5892 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
5893 relocation.
5894 * Makeconfig (libm): Define.
5895 * elf/Makefile: Add rules to build and run tst-relsort1.
5896 * elf/tst-relsort1.c: New file.
5897 * elf/tst-relsort1mod1.c: New file.
5898 * elf/tst-relsort1mod2.c: New file.
5899
8db21882
JM
59002012-01-27 Joseph Myers <joseph@codesourcery.com>
5901
5902 * math/s_ldexp.c: Remove __STDC__ conditionals.
5903 * math/s_ldexpf.c: Likewise.
5904 * math/s_ldexpl.c: Likewise.
5905 * math/s_nextafter.c: Likewise.
5906 * math/s_nexttowardf.c: Likewise.
5907 * math/s_significand.c: Likewise.
5908 * math/s_significandf.c: Likewise.
5909 * math/s_significandl.c: Likewise.
5910 * math/w_jnl.c: Likewise.
5911 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5912 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5913 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5914 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5915 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5916 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5917 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
5918 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5919 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5920 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5921 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5922 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5923 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5924 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5925 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5926 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5927 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5928 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5929 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5930 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5931 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5932 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5933 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5934 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5935 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5936 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5937 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5938 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5939 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5940 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5941 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5942 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5943 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5944 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5945 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5946 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5947 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5948 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5949 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5950 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5951 * sysdeps/ieee754/k_standard.c: Likewise.
5952 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5953 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5954 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5955 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5956 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5957 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5958 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5959 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5960 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5961 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5962 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5963 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5964 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5965 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5966 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5967 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5968 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5969 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5970 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5971 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5972 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5973 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5974 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5975 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5976 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5977 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5978 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5979 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5980 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5981 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5982 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5983 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
5984 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5985 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5986 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5987 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5988 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
5989 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5990 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5991 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
5992 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
5993 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5994 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
5995 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
5996 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5997 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5998 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
5999 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6000 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6001 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6002 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6003 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6004 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6005 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6006 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6007 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6008 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6009 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6010 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6011 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6012 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6013 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6014 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6015 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6016 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6017 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6018 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6019 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6020 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6021 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6022 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6023 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6024 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6025 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6026 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6027 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6028 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6029 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6030 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6031 * sysdeps/ieee754/s_matherr.c: Likewise.
6032 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6033 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6034 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6035 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6036
965a54a4
JM
60372012-01-26 Joseph Myers <joseph@codesourcery.com>
6038
6039 * crypt/md5.h: Remove __STDC__ conditionals.
6040 * libio/libioP.h: Likewise.
6041 * locale/programs/config.h: Likewise.
6042 * sysdeps/generic/sysdep.h: Likewise.
6043 * sysdeps/i386/asm-syntax.h: Likewise.
6044 * sysdeps/s390/asm-syntax.h: Likewise.
6045 * sysdeps/unix/sysdep.h: Likewise.
6046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6048
7071ad79
JM
60492012-01-26 Joseph Myers <joseph@codesourcery.com>
6050
6051 * libio/libio.h: Remove __STDC__ conditionals.
6052 * malloc/obstack.h: Likewise.
6053 * math/complex.h: Likewise.
6054 * math/math.h: Likewise.
6055 * sysdeps/generic/_G_config.h: Likewise.
6056 * sysdeps/gnu/_G_config.h: Likewise.
6057 * sysdeps/mach/hurd/_G_config.h: Likewise.
6058 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6059 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6060 * sysdeps/sparc/bits/mathdef.h: Likewise.
6061
afc5ed09
UD
60622012-01-26 Ulrich Drepper <drepper@gmail.com>
6063
6064 [BZ #13583]
6065 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 6066 Clean up HAS_* macros.
afc5ed09 6067 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
6068 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
6069 possible.
6070 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
6071 HAS_AVX.
6072 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6073 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6074 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6075 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6076 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 6077
bdb6de1d
JM
60782012-01-25 Joseph Myers <joseph@codesourcery.com>
6079
6080 * elf/tst-unique3.cc (gets): Remove declaration.
6081 * elf/tst-unique3lib.cc (gets): Likewise.
6082 * elf/tst-unique3lib2.cc (gets): Likewise.
6083 * elf/tst-unique4.cc (gets): Likewise.
6084
b15549e6
UD
60852012-01-24 Ulrich Drepper <drepper@gmail.com>
6086
6087 * include/stdio.h: Add C++ protection. Add gets declarations and
6088 definitions.
6089 * debug/tst-chk1.c: Don't declare gets here.
6090 * stdio-common/tst-gets.c: Likewise.
6091
a037381f
JM
60922012-01-24 Joseph Myers <joseph@codesourcery.com>
6093
6094 * posix/glob: Remove directory.
6095
f1d4aa75
JM
60962012-01-24 Joseph Myers <joseph@codesourcery.com>
6097
6098 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
6099
81c0c964
PT
61002012-01-22 Pino Toscano <toscano.pino@tiscali.it>
6101
6102 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
6103 of the non-standard EPFNOSUPPORT.
6104
0ea698ae
ST
61052011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
6106
6107 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
6108 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
6109 ANYWHERE set to 1 only on KERN_NO_SPACE error.
6110
d220b117
UD
61112012-01-21 Ulrich Drepper <drepper@gmail.com>
6112
6113 * wcsmbs/uchar.h: Test __STDC_VERSION__.
6114
3e1aa84e
UD
61152012-01-20 Ulrich Drepper <drepper@gmail.com>
6116
6117 * nscd/aicache.c (addhstaiX): Do not cache negative results of
6118 transient errors.
6119 * nscd/grpcache.c (cache_addgr): Likewise.
6120 * nscd/hstcache.c (cache_addhst): Likewise.
6121 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6122 * nscd/pwdcache.c (cache_addpw): Likewise.
6123 * nscd/servicescache.c (cache_addserv): Likewise.
6124
400aa020
UD
61252012-01-16 Ulrich Drepper <drepper@gmail.com>
6126
d77e7869
UD
6127 * malloc/malloc.c: Various cleanups.
6128 * malloc/hooks.c: Likewise.
6129
400aa020
UD
6130 * stdlib/Makefile (tests): Add bug-fmtmsg1.
6131 * stdlib/bug-fmtmsg1.c: New file.
6132
6133 * stdlib/fmtmsg.c (init): Add missing unlock.
6134 Patch by Peng Haitao <penght@cn.fujitsu.com>.
6135
e0a309cf
MP
61362012-01-12 Marek Polacek <polacek@redhat.com>
6137
6138 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
6139 and _GNU_SOURCE.
6140
929d11c7
WS
61412012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6142
6143 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
6144 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
6145 macro to ensure uniqueness of label name.
6146 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6147 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6148
41d0e869
UD
61492012-01-11 Ulrich Drepper <drepper@gmail.com>
6150
0cc5ed3b
UD
6151 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
6152
41d0e869
UD
6153 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
6154 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6155 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6156 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
6157
a47a831a
UD
61582012-01-10 Ulrich Drepper <drepper@gmail.com>
6159
daa891c0
UD
6160 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
6161
6162 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
6163 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6164 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6165
e58ef0f2
UD
6166 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
6167
a47a831a 6168 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
6169 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6170 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 6171 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
6172
6173 * math/bits/math-finite.h: Add ldexp support.
6174
a0bfc9c7
MP
61752012-01-10 Marek Polacek <polacek@redhat.com>
6176
6177 * locale/programs/localedef.h (show_archive_content): Add noreturn
6178 attribute.
6179
d6e97a1d
UD
61802012-01-09 Ulrich Drepper <drepper@gmail.com>
6181
6182 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
6183
d5835c26
UD
61842012-01-08 Ulrich Drepper <drepper@gmail.com>
6185
e5f484c6
UD
6186 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
6187
d5835c26
UD
6188 * io/Makefile (headers): Add bits/poll2.h.
6189
d1f741e9
WS
61902011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
6191
6192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
6193 typo #include statement.
6194
ec09c1c4
UD
61952012-01-08 Ulrich Drepper <drepper@gmail.com>
6196
6197 * include/sys/cdefs.h: Define __attribute_alloc_size.
6198 * catgets/gencat.c: Add alloc_size attribute and apply consistently
6199 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
6200 * elf/pldd.c: Likewise.
6201 * iconv/iconv_charmap.c: Likewise.
6202 * iconv/iconvconfig.c: Likewise.
6203 * iconv/strtab.c: Likewise.
6204 * locale/programs/locale.c: Likewise.
6205 * locale/programs/localedef.h: Likewise.
6206 * locale/programs/simple-hash.c: Likewise.
6207 * nscd/nscd.h: Likewise.
6208 * nss/makedb.c: Likewise.
6209 * sysdeps/generic/ldconfig.h: Likewise.
6210 * locale/programs/localedef.c: Remove xmalloc prototype.
6211 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
6212
20b38e03
PP
62132012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6214
6215 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
6216 appropriate.
6217
a0da5fe1
UD
62182012-01-08 Ulrich Drepper <drepper@gmail.com>
6219
1d5a644a 6220 * math/Makefile (tests): Add tst-CMPLX.
669704fd 6221 * math/tst-CMPLX.c: New file.
1d5a644a 6222
8784a6db
UD
6223 * math/complex.h (CMPLXL): Fix typo.
6224
d9a216c0
UD
6225 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
6226 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
6227 GLIBC_2.16.
6228 * debug/tst-chk1.c: Add poll and ppoll tests.
6229 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
6230 * include/sys/poll.h: Add hidden proto for ppoll.
6231 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
6232 * sysdeps/mach/hurd/ppoll.c: Likewise.
6233 * io/ppoll.c: Likewise.
6234 * debug/poll_chk.c: New file.
6235 * debug/ppoll_chk.c: New file.
6236 * include/bits/poll2.h: New file.
6237 * io/bits/poll2.h: New file.
6238
ac097f5c
UD
6239 [BZ #1350]
6240 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
6241
2119dcfa
UD
6242 * configure.in: static is always set to yes. Remove.
6243 * config.make.in: Don't set build-static.
6244 * Makeconfig: Remove use of build-static.
6245 * dlfcn/Makefile: Likewise.
6246 * elf/Makefile: Likewise.
6247 * math/Makefile: Likewise.
6248 * misc/Makefile: Likewise.
6249 * nptl/Makefile: Likewise.
6250 * sysdeps/mach/hurd/Makefile: Likewise.
6251
121766a9
UD
6252 * configure.in: PWD_P is not used anymore.
6253 * config.make.in: Remove PWD_P entry.
6254
51a1d39c 6255 * configure.in: Remove last remnants of RANLIB.
8720d066 6256 No need to check for signed size_t anymore.
215f4bdc
UD
6257 Don't set libc_commonpagesize and libc_relro_required here for Alpha
6258 and IA-64.
3857022a 6259 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
6260 * aclocal.m4: Likewise.
6261
d3ed7225
UD
6262 * wcsmbs/mbrtoc16.c: Implement using towc function.
6263 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
6264 * wcsmbs/wcsmbsload.c: Likewise.
6265 * iconv/gconv_simple.c: Likewise.
6266 * iconv/gconv_int.h: Likewise.
6267 * iconv/gconv_builtin.h: Likewise.
6268 * iconv/iconv_prog.c: Remove CHAR16 handling.
6269
6270 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
6271
6272 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
6273
a0da5fe1
UD
6274 * configure.in: Remove --with-elf and --enable-bounded options.
6275 Dont set base_machine for ia64. More non-ELF conditions removed.
6276 Remove testing and setting of leading underscore information.
6277 * config.make.in (build-bounded): Set to no.
6278 * config.h.in: Remove NO_UNDERSCORES entry.
6279 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
6280 them.
6281 * csu/start.c: Remove !NO_UNDERSCORE code.
6282 * locale/localeinfo.h: Likewise.
6283 * sysdeps/generic/machine-gmon.h: Likewise.
6284 * sysdeps/generic/sysdep.h: Likewise.
6285 * sysdeps/i386/sysdep.h: Likewise.
6286 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6287 * sysdeps/mach/sysdep.h: Likewise.
6288 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6289 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6290 * sysdeps/sh/sysdep.h: Likewise.
6291 * sysdeps/sparc/sparc32/alloca.S: Likewise.
6292 * sysdeps/unix/i386/sysdep.S: Likewise.
6293 * sysdeps/unix/sparc/start.c: Likewise.
6294 * sysdeps/unix/sparc/sysdep.S: Likewise.
6295 * sysdeps/unix/sparc/sysdep.h: Likewise.
6296 * sysdeps/unix/start.c: Likewise.
6297 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6298 * sysdeps/x86_64/sysdep.h: Likewise.
6299
df78418a
UD
63002012-01-07 Ulrich Drepper <drepper@gmail.com>
6301
a784e502
UD
6302 [BZ #13553]
6303 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
6304 for non-gcc.
6305 * argp/argp-fmtstream.h: Use const instead __const.
6306 * argp/argp.h: Likewise.
6307 * assert/assert.h: Likewise.
6308 * bits/fenv.h: Likewise.
6309 * bits/sched.h: Likewise.
6310 * bits/sigset.h: Likewise.
6311 * bits/sigthread.h: Likewise.
6312 * catgets/nl_types.h: Likewise.
6313 * conform/data/pthread.h-data: Likewise.
6314 * crypt/crypt-private.h: Likewise.
6315 * crypt/crypt.h: Likewise.
6316 * crypt/crypt_util.c: Likewise.
6317 * ctype/ctype.h: Likewise.
6318 * debug/execinfo.h: Likewise.
6319 * debug/mbsnrtowcs_chk.c: Likewise.
6320 * debug/mbsrtowcs_chk.c: Likewise.
6321 * debug/wcsnrtombs_chk.c: Likewise.
6322 * debug/wcsrtombs_chk.c: Likewise.
6323 * debug/wcstombs_chk.c: Likewise.
6324 * dirent/dirent.h: Likewise.
6325 * dlfcn/dlfcn.h: Likewise.
6326 * elf/neededtest4.c: Likewise.
6327 * grp/grp.h: Likewise.
6328 * gshadow/gshadow.h: Likewise.
6329 * iconv/gconv.h: Likewise.
6330 * iconv/gconv_int.h: Likewise.
6331 * iconv/gconv_simple.c: Likewise.
6332 * iconv/iconv.h: Likewise.
6333 * iconv/loop.c: Likewise.
6334 * iconv/skeleton.c: Likewise.
6335 * include/aio.h: Likewise.
6336 * include/aliases.h: Likewise.
6337 * include/argz.h: Likewise.
6338 * include/arpa/inet.h: Likewise.
6339 * include/assert.h: Likewise.
6340 * include/dirent.h: Likewise.
6341 * include/dlfcn.h: Likewise.
6342 * include/execinfo.h: Likewise.
6343 * include/fcntl.h: Likewise.
6344 * include/fenv.h: Likewise.
6345 * include/glob.h: Likewise.
6346 * include/grp.h: Likewise.
6347 * include/libintl.h: Likewise.
6348 * include/mntent.h: Likewise.
6349 * include/netdb.h: Likewise.
6350 * include/pwd.h: Likewise.
6351 * include/rpc/netdb.h: Likewise.
6352 * include/sched.h: Likewise.
6353 * include/search.h: Likewise.
6354 * include/shadow.h: Likewise.
6355 * include/signal.h: Likewise.
6356 * include/stdio.h: Likewise.
6357 * include/stdlib.h: Likewise.
6358 * include/string.h: Likewise.
6359 * include/sys/socket.h: Likewise.
6360 * include/sys/stat.h: Likewise.
6361 * include/sys/statfs.h: Likewise.
6362 * include/sys/statvfs.h: Likewise.
6363 * include/sys/syslog.h: Likewise.
6364 * include/sys/time.h: Likewise.
6365 * include/sys/uio.h: Likewise.
6366 * include/time.h: Likewise.
6367 * include/unistd.h: Likewise.
6368 * include/utmp.h: Likewise.
6369 * include/wchar.h: Likewise.
6370 * include/wctype.h: Likewise.
6371 * inet/aliases.h: Likewise.
6372 * inet/arpa/inet.h: Likewise.
6373 * inet/netinet/ether.h: Likewise.
6374 * inet/netinet/in.h: Likewise.
6375 * intl/libintl.h: Likewise.
6376 * io/bits/fcntl2.h: Likewise.
6377 * io/fcntl.h: Likewise.
6378 * io/ftw.h: Likewise.
6379 * io/sys/poll.h: Likewise.
6380 * io/sys/stat.h: Likewise.
6381 * io/sys/statfs.h: Likewise.
6382 * io/sys/statvfs.h: Likewise.
6383 * io/utime.h: Likewise.
6384 * libio/bits/stdio.h: Likewise.
6385 * libio/bits/stdio2.h: Likewise.
6386 * libio/libio.h: Likewise.
6387 * libio/libioP.h: Likewise.
6388 * libio/stdio.h: Likewise.
6389 * locale/lc-ctype.c: Likewise.
6390 * locale/locale.h: Likewise.
6391 * login/utmp.h: Likewise.
6392 * malloc/arena.c: Likewise.
6393 * malloc/malloc.c: Likewise.
6394 * malloc/malloc.h: Likewise.
6395 * malloc/mcheck.c: Likewise.
6396 * malloc/mtrace.c: Likewise.
6397 * math/bits/mathcalls.h: Likewise.
6398 * math/fenv.h: Likewise.
6399 * math/math_private.h: Likewise.
6400 * misc/bits/error.h: Likewise.
6401 * misc/bits/syslog.h: Likewise.
6402 * misc/err.h: Likewise.
6403 * misc/error.h: Likewise.
6404 * misc/fstab.h: Likewise.
6405 * misc/mntent.h: Likewise.
6406 * misc/regexp.h: Likewise.
6407 * misc/search.h: Likewise.
6408 * misc/sgtty.h: Likewise.
6409 * misc/sys/mman.h: Likewise.
6410 * misc/sys/syslog.h: Likewise.
6411 * misc/sys/uio.h: Likewise.
6412 * misc/sys/xattr.h: Likewise.
6413 * misc/ttyent.h: Likewise.
6414 * nis/rpcsvc/ypclnt.h: Likewise.
6415 * nss/nss.h: Likewise.
6416 * posix/bits/unistd.h: Likewise.
6417 * posix/fnmatch.h: Likewise.
6418 * posix/glob.h: Likewise.
6419 * posix/sched.h: Likewise.
6420 * posix/spawn.h: Likewise.
6421 * posix/sys/wait.h: Likewise.
6422 * posix/unistd.h: Likewise.
6423 * posix/wordexp.h: Likewise.
6424 * pwd/pwd.h: Likewise.
6425 * resolv/netdb.h: Likewise.
6426 * resource/sys/resource.h: Likewise.
6427 * rt/aio.h: Likewise.
6428 * rt/bits/mqueue2.h: Likewise.
6429 * rt/mqueue.h: Likewise.
6430 * shadow/shadow.h: Likewise.
6431 * signal/signal.h: Likewise.
6432 * socket/send.c: Likewise.
6433 * socket/sendto.c: Likewise.
6434 * socket/sys/socket.h: Likewise.
6435 * stdio-common/printf.h: Likewise.
6436 * stdlib/bits/stdlib.h: Likewise.
6437 * stdlib/fmtmsg.h: Likewise.
6438 * stdlib/monetary.h: Likewise.
6439 * stdlib/stdlib.h: Likewise.
6440 * stdlib/ucontext.h: Likewise.
6441 * streams/stropts.h: Likewise.
6442 * string/argz.h: Likewise.
6443 * string/bits/string2.h: Likewise.
6444 * string/string.h: Likewise.
6445 * string/strings.h: Likewise.
6446 * sunrpc/rpc/auth.h: Likewise.
6447 * sunrpc/rpc/auth_des.h: Likewise.
6448 * sunrpc/rpc/clnt.h: Likewise.
6449 * sunrpc/rpc/netdb.h: Likewise.
6450 * sunrpc/rpc/pmap_clnt.h: Likewise.
6451 * sunrpc/rpc/xdr.h: Likewise.
6452 * sysdeps/generic/inttypes.h: Likewise.
6453 * sysdeps/generic/net/if.h: Likewise.
6454 * sysdeps/generic/sys/swap.h: Likewise.
6455 * sysdeps/gnu/net/if.h: Likewise.
6456 * sysdeps/gnu/utmpx.h: Likewise.
6457 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
6458 * sysdeps/i386/i486/bits/string.h: Likewise.
6459 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
6460 * sysdeps/s390/bits/string.h: Likewise.
6461 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
6462 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
6463 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
6464 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
6465 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
6466 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
6467 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6468 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
6469 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
6470 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
6471 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
6472 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6473 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
6474 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6475 * sysdeps/unix/sysv/linux/readv.c: Likewise.
6476 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
6477 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6478 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6479 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6480 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6481 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6482 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
6483 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
6484 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
6485 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
6486 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
6487 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
6488 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6489 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
6490 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
6491 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
6492 * sysvipc/sys/ipc.h: Likewise.
6493 * sysvipc/sys/msg.h: Likewise.
6494 * sysvipc/sys/sem.h: Likewise.
6495 * sysvipc/sys/shm.h: Likewise.
6496 * termios/termios.h: Likewise.
6497 * time/sys/time.h: Likewise.
6498 * time/time.h: Likewise.
6499 * wcsmbs/bits/wchar2.h: Likewise.
6500 * wcsmbs/uchar.h: Likewise.
6501 * wcsmbs/wchar.h: Likewise.
6502 * wctype/wctype.h: Likewise.
6503
0269750c
UD
6504 [BZ #13551]
6505 * Makeconfig: Remove all but ELF support including AIX support.
6506 * Makerules: Likewise.
6507 * config.h.in: Likewise.
6508 * config.make.in: Likewise.
6509 * configure: Likewise.
6510 * configure.in: Likewise.
6511 * csu/Makefile: Likewise.
6512 * csu/version.c: Likewise.
6513 * debug/Makefile: Likewise.
6514 * dlfcn/Makefile: Likewise.
6515 * elf/Makefile: Likewise.
6516 * extra-lib.mk: Likewise.
6517 * iconv/Makefile: Likewise.
6518 * include/libc-symbols.h: Likewise.
6519 * include/shlib-compat.h: Likewise.
6520 * resolv/Makefile: Likewise.
6521 * resolv/res_libc.c: Likewise.
6522 * rt/Makefile: Likewise.
6523 * sysdeps/i386/asm-syntax.h: Likewise.
6524 * sysdeps/i386/sysdep.h: Likewise.
6525 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6526 * sysdeps/mach/sysdep.h: Likewise.
6527 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
6528 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
6529 * sysdeps/s390/asm-syntax.h: Likewise.
6530 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6531 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6532 * sysdeps/sh/sysdep.h: Likewise.
6533 * sysdeps/unix/sparc/sysdep.h: Likewise.
6534 * sysdeps/wordsize-32/divdi3.c: Likewise.
6535 * sysdeps/x86_64/sysdep.h: Likewise.
6536
00bbd29b
UD
6537 * argp/Versions: Remove _argp_unlock_xxx.
6538
6539 [BZ #13559]
6540 * abilist/ld.abilist: Update. Adjust for removal of tls option.
6541 * abilist/libBrokenLocale.abilist: Likewise.
6542 * abilist/libanl.abilist: Likewise.
6543 * abilist/libc.abilist: Likewise.
6544 * abilist/libcrypt.abilist: Likewise.
6545 * abilist/libdl.abilist: Likewise.
6546 * abilist/libm.abilist: Likewise.
6547 * abilist/libnsl.abilist: Likewise.
6548 * abilist/libpthread.abilist: Likewise.
6549 * abilist/libresolv.abilist: Likewise.
6550 * abilist/librt.abilist: Likewise.
6551 * abilist/libthread_db.abilist: Likewise.
6552 * abilist/libutil.abilist: Likewise.
6553 * abilist/libnss_db.abilist: New file.
6554
6555 * scripts/abilist.awk: Add support for indirect functions.
6556
a2693a0e
UD
6557 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
6558
3f05895f
UD
6559 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
6560
ecb6fb48
UD
6561 * shlib-versions: Remove entries for ports architectures.
6562
664f8cb9
UD
6563 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
6564 files in ports.
6565 * elf/stackguard-macros.h: Remove support for IA-64.
6566 * elf/tst-auditmod1.c: Likewise.
6567 * sysdeps/generic/ldsodefs.h: Likewise.
6568
7ae81d88
UD
6569 * sysdeps/unix/sysv/linux/configure.in: Ports should define
6570 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
6571 configure files.
6572
bdeba135
UD
6573 [BZ #13552]
6574 * configure.in: Remove --enable-omitfp support.
6575 * FAQ.in: Adjust.
6576 * config.make.in: Likewise.
6577 * Makeconfig: Likewise.
6578 * manual/install.texi: Likewise.
6579
d75a0a62
UD
6580 In case anyone cares, the IA-64 architecture could move to ports.
6581 * sysdeps/ia64/*: Removed.
6582 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 6583 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 6584
dcc9756b
UD
6585 [BZ #13555]
6586 * configure.in: Remove entries for unsupported architectures.
6587
d3761ebc 6588 [BZ #13533]
9954432e
UD
6589 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
6590 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
6591 routines.
6592 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
6593 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
6594 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
6595 fall back to using wcrtomb.
6596 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
6597 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
6598 renaming.
6599 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
6600 * wcsmbs/tst-c16c32-1.c: New file.
6601
6602 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
6603 local variable.
6604
c3a87236
UD
6605 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
6606
28926a1b
UD
6607 * elf/tst-unique3.cc: Add explicit declaration of gets.
6608 * elf/tst-unique3lib.cc: Likewise.
6609 * elf/tst-unique3lib2.cc: Likewise.
6610 * elf/tst-unique4.cc: Likewise.
6611
df78418a
UD
6612 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
6613
8ecd6b2a
JM
66142012-01-06 Joseph Myers <joseph@codesourcery.com>
6615
6616 [BZ #13566]
6617 * assert/assert.h (static_assert): Don't define for C++.
6618 * libio/stdio.h (gets): Do declare for C++ <= C++11.
6619 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
6620
9f115170
UD
66212012-01-03 Ulrich Drepper <drepper@gmail.com>
6622
5e0d0300
UD
6623 * iconv/loop.c (single loop): Fix assertion in storing of
6624 remaining bytes.
6625
9f115170
UD
6626 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
6627
81fb02b0
UD
66282012-01-01 Ulrich Drepper <drepper@gmail.com>
6629
6630 * posix/getconf.c: Update copyright year.
6631 * nss/getent.c: Likewise.
a316c1f6 6632 * nss/makedb.c: Likewise.
81fb02b0
UD
6633 * iconv/iconvconfig.c: Likewise.
6634 * iconv/iconv_prog.c: Likewise.
6635 * elf/ldconfig.c: Likewise.
a316c1f6
UD
6636 * elf/pldd.c: Likewise.
6637 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
6638 * catgets/gencat.c: Likewise.
6639 * csu/version.c: Likewise.
6640 * elf/ldd.bash.in: Likewise.
6641 * elf/sprof.c (print_version): Likewise.
6642 * locale/programs/locale.c: Likewise.
6643 * locale/programs/localedef.c: Likewise.
a316c1f6 6644 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
6645 * nscd/nscd.c (print_version): Likewise.
6646 * debug/xtrace.sh: Likewise.
6647 * malloc/memusage.sh: Likewise.
6648 * malloc/mtrace.pl: Likewise.
6649 * debug/catchsegv.sh: Likewise.
6650
2ba92745
JJ
66512011-12-30 Jakub Jelinek <jakub@redhat.com>
6652
6653 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
6654 pure attribute.
6655
dadebdae
UD
66562011-12-24 Ulrich Drepper <drepper@gmail.com>
6657
d3761ebc 6658 [BZ #13533]
db6af3eb
UD
6659 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
6660 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
6661 transformations.
6662 * iconv/gconv_int.h: Likewise.
6663 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
6664 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
6665 from libc for GLIBC_2.16.
6666 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
6667 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
6668 * wcsmbs/uchar.h: Really define mbstate_t.
6669 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
6670 * wcsmbs/c16rtomb.c: New file.
6671 * wcsmbs/mbrtoc16.c: New file.
6672 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
6673 for C/POSIX locale.
6674 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
6675 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
6676
dadebdae
UD
6677 * wcsmbs/wchar.h: Add missing __restrict.
6678
67371b56
UD
66792011-12-23 Ulrich Drepper <drepper@gmail.com>
6680
74033a25
UD
6681 [BZ #13532]
6682 * time/Makefile (routines): Add timespec_get.
6683 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
6684 * time/time.h: Define TIME_UTC and declare timespec_get. Define
6685 timespec for ISO C11.
6686 * time/timespec_get.c: New file.
6687 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
6688 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
6689
380d7e87
UD
6690 [BZ #13531]
6691 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
6692 * stdlib/stdlib.h: Declare aligned_alloc.
6693 * Versions.def: Add GLIBC_2.16 for libc.
6694 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
6695
4e9e7a35
UD
6696 [BZ 13527]
6697 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
6698 ISO C11.
6699
380d7e87 6700 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
6701 code.
6702
03a71829
UD
6703 [BZ #13528]
6704 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
6705
839e283e
UD
6706 [BZ #13529]
6707 * assert/assert.h (static_assert): Define.
6708
ce5294e2 6709 * version.h: Update for 2.16 development version.
90fa7312 6710
8d44e150 6711 [BZ #13526]
d7809905
UD
6712 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
6713 _ISOC11_SOURCE.
6714
c0da14cd
UD
6715 * version.h (RELEASE): Bump for 2.15 release.
6716 * include/features.h (__GLIBC_MINOR__): Bump to 15.
6717
530a3249
MP
6718 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
6719 Patch by Marek Polacek <mpolacek@redhat.com>.
6720
67371b56
UD
6721 * bits/byteswap.h: Protect long long constants with __extension__.
6722 * sysdeps/i386/bits/byteswap.h: Likewise.
6723 * sysdeps/ia64/bits/byteswap.h: Likewise.
6724 * sysdeps/s390/bits/byteswap.h: Likewise.
6725 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6726
15db4de1
LD
67272011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6728
6729 [BZ #13540]
bbe315ea
LD
6730 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
6731 destination buffer.
15db4de1
LD
6732 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
6733
2b2596b1
MP
67342011-12-23 Marek Polacek <polacek@redhat.com>
6735
6736 * elf/dl-addr.c (determine_info): Add inline keyword.
6737 * elf/tst-auditmod4b.c (check_avx): Likewise.
6738 * elf/tst-auditmod6b.c (check_avx): Likewise.
6739 * elf/tst-auditmod6c.c (check_avx): Likewise.
6740 * elf/tst-auditmod7b.c (check_avx): Likewise.
6741
70c6c246
UD
67422011-12-23 Ulrich Drepper <drepper@gmail.com>
6743
6744 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
6745 !__SSE_MATH__.
6746
c044cf14
LD
67472011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6748
15db4de1 6749 [BZ #13540]
c044cf14
LD
6750 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
6751 processing for last bytes.
6752
6b13d9d9
BH
67532011-08-06 Bruno Haible <bruno@clisp.org>
6754
d455f537
BH
6755 [BZ #13061]
6756 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
6757 U+0385, not to U+1FEE.
6758
6b13d9d9
BH
6759 [BZ #13062]
6760 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
6761 entry for U+00A5 U+0301.
6762
db910efd
UD
67632011-12-22 Ulrich Drepper <drepper@gmail.com>
6764
27deeafc
UD
6765 [BZ #13166]
6766 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
6767 buffer for the output is too small.
6768
aed9d171
UD
6769 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
6770 optimization.
6771
db910efd
UD
6772 [BZ #13185]
6773 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
6774 SSE flags if possible.
6775
2bd779ae
LD
67762011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6777
e7f9dac3 6778 [BZ #13540]
2bd779ae
LD
6779 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
6780 processing for last bytes.
6781
154bfc16
JM
67822011-12-22 Joseph Myers <joseph@codesourcery.com>
6783
6784 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
6785 (syscall-list-default-options, syscall-list-default-condition)
6786 (syscall-list-includes): Define.
6787 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
6788 list of ABIs and options and #if conditions for each ABI. Do not
6789 handle common syscalls between ABIs specially.
6790 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
6791 Remove.
6792 (syscall-list-variants, syscall-list-32bit-options)
6793 (syscall-list-32bit-condition, syscall-list-64bit-options)
6794 (syscall-list-64bit-condition): Define.
6795 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
6796 (syscall-list-variants, syscall-list-32bit-options)
6797 (syscall-list-32bit-condition, syscall-list-64bit-options)
6798 (syscall-list-64bit-condition): Define.
6799 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
6800 Remove.
6801 (syscall-list-variants, syscall-list-32bit-options)
6802 (syscall-list-32bit-condition, syscall-list-64bit-options)
6803 (syscall-list-64bit-condition): Define.
6804 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
6805 Remove.
6806 (syscall-list-variants, syscall-list-32bit-options)
6807 (syscall-list-32bit-condition, syscall-list-64bit-options)
6808 (syscall-list-64bit-condition): Define.
6809
21eaf3a5
UD
68102011-12-22 Ulrich Drepper <drepper@gmail.com>
6811
16c6f992
UD
6812 * locale/iso-639.def: Add brx entry.
6813
41043168
UD
6814 [BZ #13328]
6815 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
6816 Proposed by Mariusz_Cukr <marcukr@op.pl>.
6817
21eaf3a5
UD
6818 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
6819 __feraiseexcept_renamed.
6820
e3a851a2
UD
68212011-12-21 Ulrich Drepper <drepper@gmail.com>
6822
4920765e
UD
6823 [BZ #13538]
6824 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
6825 EPOLLET with unsigned values.
6826 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6827 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6828
e3a851a2
UD
6829 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
6830 to large cancellation.
6831 * math/s_cacoshf.c: Likewise.
6832 * math/s_cacoshl.c: Likewise.
6833
b27e24b8
RK
68342011-11-18 Richard B. Kreckel <kreckel@ginac.de>
6835
6836 [BZ #13305]
aebefeee 6837 [BZ #12786]
b27e24b8
RK
6838 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
6839 * math/s_cacoshf.c: Likewise.
6840 * math/s_cacoshl.c: Likewise.
6841
ee190f67
UD
68422011-12-21 Ulrich Drepper <drepper@gmail.com>
6843
6844 [BZ #13439]
6845 * iconv/gconv.h: Define __GCONV_SWAP.
6846 * iconvdata/unicode.c: The swap bit must be stored in __flags.
6847 * iconvdata/utf-16.c: Likewise.
6848 * iconvdata/utf-32.c: Likewise.
6849
707f25df
AS
68502011-12-21 Andreas Schwab <schwab@linux-m68k.org>
6851
6852 [BZ #13524]
6853 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
6854 numerator after shifting it by one limb.
6855
d2daaa1e
RÁE
68562011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
6857
6858 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
6859 under [__USE_EXTERN_INLINES].
6860
a4647e72
UD
68612011-12-17 Ulrich Drepper <drepper@gmail.com>
6862
6863 [BZ #13446]
6864 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
6865
f0b264f1
AZ
68662011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6867
6868 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
6869 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
6870 optimized code.
6871 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
6872 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
6873 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
6874 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
6875 for strncasecmp/strncasecmp_l compilation.
6876 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
6877 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
6878
8ef4f244
MP
68792011-12-08 Marek Polacek <mpolacek@redhat.com>
6880
6881 [BZ #13484]
6882 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
6883 of __asm__.
6884
97ac2654
UD
68852011-12-17 Ulrich Drepper <drepper@gmail.com>
6886
6887 [BZ #13506]
6888 * time/tzfile.c (__tzfile_read): Check values from file header.
6889
91d2a845
WS
68902011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
6891
6892 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
6893 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
6894 * powerpc/powerpc32/dl-start.S: Likewise.
6895 * powerpc/powerpc32/elf/start.S: Likewise.
6896 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6897 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
6898 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
6899 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
6900 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6901 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
6902 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
6903 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6904 * powerpc/powerpc32/fpu/s_round.S: Likewise.
6905 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6906 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6907 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6908 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
6909 * powerpc/powerpc32/memset.S: Likewise.
6910 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6911 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6912 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6913 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6914 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6915 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6916 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6917 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6918 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
6919 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
6920 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
6921 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6922 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6923
a1267ba1
AZ
69242011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6925
6926 * math/libm-test.inc: Added more nearbyint tests.
6927 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
6928 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
6929 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
6930 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
6931
ad8ac1bd
RL
69322011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
6933
6934 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
6935 FD_CLOEXEC.
6936
1d3e4b61
UD
69372011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6938
6939 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
6940 Add wcscpy-ssse3 wcscpy-c.
6941 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
6942 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
6943 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
6944 * sysdeps/x86_64/wcschr.S: New file.
6945 * sysdeps/x86_64/wcsrchr.S: New file.
6946 * string/test-strcmp.c: Remove checking of wcscmp function for
6947 wrong alignments.
6948 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
6949 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
6950 wcsrchr-sse2 wcsrchr-c.
6951 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
6952 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
6953 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
6954 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
6955 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
6956 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
6957 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
6958 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
6959 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
6960 * wcsmbc/wcschr.c (WCSCHR): New macro.
6961
5b330a2d
UD
69622011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6963
6964 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
6965 * wcsmbs/test-wcsrchr.c: New file.
6966 * string/test-strrchr.c: Add wcsrchr support.
6967 (WIDE): New macro.
6968 * wcsmbs/test-wcscpy.c: New file.
6969 * string/test-strcpy.c: Add wcscpy support.
6970 (WIDE): New macro.
26428b7c 6971
f039c043
UD
69722011-12-10 Ulrich Drepper <drepper@gmail.com>
6973
6974 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
6975 the inner loop.
6976
850fb039
AS
69772011-12-06 Andreas Schwab <schwab@linux-m68k.org>
6978
6979 [BZ #13472]
6980 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
6981
4efbd5cb
UD
69822011-12-04 Ulrich Drepper <drepper@gmail.com>
6983
52ff5dd0 6984 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 6985 Minor optimizations.
52ff5dd0 6986
4efbd5cb
UD
6987 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
6988 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
6989 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
6990
8a426e12
UD
69912011-12-03 Ulrich Drepper <drepper@gmail.com>
6992
aff2453d
UD
6993 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
6994 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
6995 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
6996 for gcc to avoid warnings.
6997 * inet/Makefile (tests): Add tst-checks.
6998 * inet/tst-checks.c: New file.
6999
7000 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
7001 warning.
7002
7003 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
7004 __wmemcmp_sse2.
7005
7006 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
7007 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
7008
8a426e12
UD
7009 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
7010
9bea3473
UD
70112011-12-02 Ulrich Drepper <drepper@gmail.com>
7012
3a965496
UD
7013 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
7014 problem.
7015
9bea3473
UD
7016 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
7017
f101631b
UD
70182011-11-29 Joseph Myers <joseph@codesourcery.com>
7019
7020 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
7021 conditional on GCC version.
7022 (__arch_compare_and_exchange_val_8_acq)
7023 (__arch_compare_and_exchange_val_16_acq)
7024 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
7025 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
7026 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
7027
a98275aa
UD
70282011-12-02 Joseph Myers <joseph@codesourcery.com>
7029
7030 * sysdeps/sh/backtrace.c: New file.
7031
d4cc29a2
AS
70322011-12-02 Andreas Schwab <schwab@redhat.com>
7033
7034 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
7035 parenthesis.
7036
6257af2d
AS
70372011-12-01 Andreas Schwab <schwab@redhat.com>
7038
7039 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
7040 falling back to utime.
7041
b5f44c1a
AS
70422011-11-30 Andreas Schwab <schwab@redhat.com>
7043
7044 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
7045 expectations for float.
7046
f3a6cc0a
AS
70472011-11-29 Andreas Schwab <schwab@redhat.com>
7048
7049 * locale/weight.h (findidx): Add parameter len.
7050 * locale/weightwc.h (findidx): Likewise.
7051 * posix/fnmatch_loop.c (FCT): Adjust caller.
7052 * posix/regcomp.c (build_equiv_class): Likewise.
7053 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
7054 * posix/regexec.c (check_node_accept_bytes): Likewise.
7055 * string/strcoll_l.c (STRCOLL): Likewise.
7056 * string/strxfrm_l.c (STRXFRM): Likewise.
7057
9d65ea3a
UD
70582011-11-17 Ulrich Drepper <drepper@gmail.com>
7059
7060 * Makefile.in: Remove CVSOPT handling.
7061 * configure.in: Remove use of AC_REVISION.
7062 * iconvdata/Makefile (distribute): No need to filter out CVS.
7063 * scripts/list-sources.sh: Remove CVS, subversion and monotone
7064 handling.
7065
5583a086
AS
70662011-11-16 Andreas Schwab <schwab@redhat.com>
7067
7068 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
7069 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
7070 [USE_AS_STRNCASECMP_L]: Likewise.
7071 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
7072 NO_TLS_DIRECT_SEG_REFS.
7073 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
7074 Fix argument offsets for non-PIC.
7075 [USE_AS_STRNCASECMP_L]: Likewise.
7076 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
7077 NO_TLS_DIRECT_SEG_REFS.
7078
d62a8200
UD
70792011-11-15 Ulrich Drepper <drepper@gmail.com>
7080
9d65ea3a 7081 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
7082 O_CLOEXEC.
7083 * locale/loadlocale.c (_nl_load_locale): Likewise.
7084
09f93bd3
AS
70852011-11-15 Andreas Schwab <schwab@redhat.com>
7086
446514f9
AS
7087 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
7088 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
7089 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
7090 (SYSCALL_GETTIME): Set errno on error.
7091
09f93bd3
AS
7092 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
7093 count references to noai6ai_cached.
7094
312be3f9
UD
70952011-11-15 Ulrich Drepper <drepper@gmail.com>
7096
7097 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
7098
7099 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
7100 FD_CLOEXEC for /proc/self/maps.
7101
7102 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
7103 FD_CLOEXEC for /proc/meminfo.
7104
7105 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
7106 gai.conf.
7107
7108 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
7109 FD_CLOEXEC for given file.
7110
7111 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
7112
7113 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
7114 FD_CLOEXEC for /etc/hosts.
7115 (_gethtent): Likewise.
7116
7117 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
7118
7119 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
7120 cancellation and set FD_CLOEXEC for /etc/netgroup.
7121
7122 * nss/nss_files/files-key.c (search): Don't allow cancellation when
7123 reading /etc/publickey.
7124
7125 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
7126 allow cancellation when reading /etc/group.
7127
7128 * nss/nss_files/files-alias.c (internal_setent): Don't allow
7129 cancellation.
7130 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
7131
7132 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
7133 when using data file.
7134
7135 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
7136
7137 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
7138 (write_nis_obj): Use "c" and "e" in fopen.
7139
7140 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
7141
7142 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
7143
7144 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
7145
7146 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
7147
7148 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
7149 locale.alias.
7150
7151 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
7152
7153 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
7154
7155 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
7156
7157 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
7158 file parsing and set FD_CLOEXEC.
7159
82af0fa8
UD
71602011-11-14 Ulrich Drepper <drepper@gmail.com>
7161
7162 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
7163
a5fb313c
AS
71642011-11-14 Andreas Schwab <schwab@redhat.com>
7165
7166 * malloc/arena.c (arena_get2): Don't call reused_arena when
7167 _int_new_arena failed.
7168
6abf3465
UD
71692011-11-14 Ulrich Drepper <drepper@gmail.com>
7170
7171 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
7172 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
7173 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
7174 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7175 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7176 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
7177 to compile strcasecmp and strncasecmp.
7178 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
7179 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
7180
7181 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
7182
76e3966e
UD
71832011-11-13 Ulrich Drepper <drepper@gmail.com>
7184
7185 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
7186 locale-defines.sym to gen-as-const-headers.
7187 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
7188 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
7189 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
7190 to compile strcasecmp and strncasecmp.
7191 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
7192 strcasecmp_l and strncasecmp_l.
7193 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
7194 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
7195 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
7196 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
7197 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
7198 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
7199 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
7200 * sysdeps/i386/i686/multiarch/strncase.S: New file.
7201 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
7202 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
7203 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
7204
ab26144e
UD
72052011-11-12 Ulrich Drepper <drepper@gmail.com>
7206
7edb22ef
UD
7207 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
7208 result of SYSDEP_GETTIME_CPU to retval.
7209 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
7210 parameter list to macro. Remove trailing semicolon. Adjust users.
7211
9694fc44
UD
7212 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
7213 variable.
7214
8ad89ef8
UD
7215 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
7216 mantissa words.
7217 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7218
0c822ef9
UD
7219 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
7220 from unused variable.
7221
874e0564
UD
7222 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
7223 DWARF definitions.
7224 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
7225 for assembling.
7226
3a2edc79
UD
7227 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
7228 over namespaces.
7229
f3c2577f
UD
7230 * sunrpc/rpc_prot.c (rejected): Fix case value.
7231
294ce126
UD
7232 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
7233 unsigned long long int to avoid warnings in shift.
7234
5e2b63c6
UD
7235 * posix/regex_internal.c (re_string_reconstruct): Actually use result
7236 of use of trans.
7237 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
7238 variable tmp.
7239
e7f4b08e
UD
7240 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
7241 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7242 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7243
ab26144e
UD
7244 * nis/nis_table.c (nis_list): Use variable of correct type for
7245 result of __follow_path call.
7246
8a6d5255
AZ
72472011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7248
7249 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
7250 of math functions ceil, trunc, floor, round, and sqrt, when
7251 avaliable on the platform.
7252 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
7253 name clash.
7254 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7255 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7256 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7257
aaddc98c
MP
72582011-10-30 Marek Polacek <mpolacek@redhat.com>
7259
7260 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
7261 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7262
95b7042b
RM
72632011-11-11 Roland McGrath <roland@hack.frob.com>
7264
7265 * include/unistd.h: Fix __readlink return type.
7266 Reported by Chris Metcalf <cmetcalf@tilera.com>.
7267
57769839
UD
72682011-11-11 Ulrich Drepper <drepper@gmail.com>
7269
7270 * stdlib/ucontext.h: Undo last change for makecontext.
7271
edc5984d
AS
72722011-11-11 Andreas Schwab <schwab@redhat.com>
7273
98591e58
AS
7274 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
7275
edc5984d
AS
7276 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
7277 * setjmp/setjmp.h: Mark functions as non-leaf.
7278 * setjmp/bits/setjmp2.h: Likewise.
7279 * stdlib/ucontext.h: Likewise.
7280
77cdc054
AS
72812011-11-10 Andreas Schwab <schwab@redhat.com>
7282
7283 * malloc/arena.c (_int_new_arena): Don't increment narenas.
7284 (reused_arena): Don't check arena limit.
7285 (arena_get2): Atomically check arena limit.
7286
fe72eebd
UD
72872011-11-08 Ulrich Drepper <drepper@gmail.com>
7288
5f078c32
UD
7289 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
7290 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
7291
fe72eebd
UD
7292 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
7293 instructions.
7294
ae1bc2fa
AS
72952011-11-07 Andreas Schwab <schwab@redhat.com>
7296
7583a88d
AS
7297 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
7298 handler when locking.
7299
ae1bc2fa
AS
7300 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7301 Fix size of allocated buffer.
7302
10fb0bfa
AS
73032011-11-04 Andreas Schwab <schwab@redhat.com>
7304
998832a4
AS
7305 [BZ #10103]
7306 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
7307 declarations for long double functions.
7308 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
7309
10fb0bfa
AS
7310 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
7311
3d7ba52b
AS
73122011-11-03 Andreas Schwab <schwab@redhat.com>
7313
a9ae54a1
AS
7314 * nscd/nscd.c (main): Don't start AVC thread until credentials are
7315 installed.
7316
3d7ba52b
AS
7317 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
7318 is disabled.
7319
bc8db248
ST
73202011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7321
7322 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
7323
45b96dd6
AS
73242011-11-01 Andreas Schwab <schwab@linux-m68k.org>
7325
647776f6
AS
7326 * include/alloca.h (stackinfo_alloca_round): Define.
7327 (extend_alloca): Use it.
7328 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
7329 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
7330 here.
7331
d91a8b93
AS
7332 * scripts/check-local-headers.sh: Ignore libaudit.h.
7333
45b96dd6
AS
7334 * nscd/Makefile (extra-objs): Make recursively expanded.
7335
432d41ce
UD
73362011-11-01 Ulrich Drepper <drepper@gmail.com>
7337
34372fc6
UD
7338 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
7339 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7340
fadb59f8
UD
7341 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
7342 * posix/tst-rfc3484-2.c: Likewise.
7343 * posix/tst-rfc3484-3.c: Likewise.
7344
78239589
UD
7345 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7346 process_vm_writev.
7347 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
7348 process_vm_writev.
7349 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
7350 process_vm_writev from libc using GLIBC_2.15 version.
7351
432d41ce
UD
7352 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
7353
02f9c6cf
PP
73542011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7355
7356 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
7357 stack usage.
7358
3a2c0242
UD
73592011-10-31 Ulrich Drepper <drepper@gmail.com>
7360
f4ec4833
UD
7361 [BZ #13367]
7362 * nss/getent.c (initgroups_keys): Show error message in case no group
7363 names are given.
7364
3a2c0242
UD
7365 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
7366 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
7367 __bump_nl_timestamp.
7368 * nscd/connections (nscd_init): When host database is served open
7369 netlink socket and request notification about configuration changes.
7370 (main_loop_poll): Track netlink file descriptor and bump timestamp
7371 in case data becomes available.
7372 (main_loop_epoll): Likewise.
7373 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
7374 (database_pers_head): Add extra_data fileds.
7375 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
7376 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
7377 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
7378 Adjust caller.
7379 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
7380 in6ai data, call __free_in6ai.
7381 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
7382 Add -DHAVE_NETLINK.
7383 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
7384 interface information. Reuse previous data if netlink timestamp
7385 is not changed.
7386 (__bump_nl_timestamp): New function.
7387 (__free_in6ai): New function.
7388
636064eb
UD
73892011-10-30 Ulrich Drepper <drepper@gmail.com>
7390
7391 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
7392 close_not_cancel_no_status here.
7393 (__check_pf): Reorganize code a bit to not call close twice if OOM.
7394
9beb2334
UD
73952011-10-29 Ulrich Drepper <drepper@gmail.com>
7396
6ef76f3b
UD
7397 [BZ #13276]
7398 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
7399 return value.
7400
0ffc4f3e 7401 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
7402 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
7403 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
7404
cb95113e
UD
74052011-07-03 Andreas Jaeger <aj@suse.de>
7406
7407 [BZ #10709]
7408 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
7409 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
7410 * math/libm-test.inc (sin_test): Add test case.
7411
a1b560ff
UD
74122011-10-29 Ulrich Drepper <drepper@gmail.com>
7413
c9aaface
UD
7414 [BZ #13337]
7415 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
7416 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7417
d272e7f1
UD
7418 * elf/chroot_canon.c (chroot_canon): Cleanups.
7419
1bc33071
UD
7420 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
7421
1760874d
TJ
7422 [BZ #13335]
7423 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
7424 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7425
51d91b18
UD
7426 * string/test-strchr.c: Make usable for strchrnul testing.
7427 * string/test-strchrnul.c: New file.
7428 * string/Makefile (strop-tests): Add strchrnul.
7429
a1b560ff 7430 * po/it.po: Update from translation team.
b611fb81 7431 * po/es.po: Likewise.
a1b560ff 7432
a5b81e1f
UD
74332011-10-28 Ulrich Drepper <drepper@gmail.com>
7434
fd52bc6d
UD
7435 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
7436 the three constants needed as parameters. Drop the others.
7437 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
7438 __m128i_strloadu_tolower.
52e4b9eb
UD
7439 Create and initialize variable zero and use it in all the places
7440 where _mm_setzero_si128 was used.
fd52bc6d 7441
a5b81e1f
UD
7442 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
7443 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
7444 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
7445 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
7446 anymore.
7447 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
7448 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
7449 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
7450 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
7451 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
7452 __mpranred, __mptan.
7453 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
7454 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
7455 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
7456 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
7457 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
7458 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
7459 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
7460 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
7461 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
7462
b4343346
AS
74632011-10-28 Andreas Schwab <schwab@redhat.com>
7464
0c92d8a8
AS
7465 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
7466 redefine if SHARED.
7467 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
7468
b4343346
AS
7469 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
7470 wide char related routines to wcsmbs subdir.
7471
3871f58f
AS
74722011-10-27 Andreas Schwab <schwab@redhat.com>
7473
7474 [BZ #13344]
7475 * misc/sys/cdefs.h (__THROWNL): Define.
7476 * posix/unistd.h: Use __THREADNL instead of __THREAD
7477 for memory synchronization functions.
7478
94d44d9f
RM
74792011-10-26 Roland McGrath <roland@hack.frob.com>
7480
21b64b15 7481 [BZ #13349]
94d44d9f
RM
7482 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
7483 doesn't exist.
7484 * manual/stdio.texi (Obstack Streams): Node removed.
7485
f6ce9294
AS
74862011-10-26 Andreas Schwab <schwab@redhat.com>
7487
80479147
AS
7488 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
7489 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7490 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7491
f6ce9294
AS
7492 * math/math_private.h (math_force_eval): Allow non-addressable
7493 arguments.
7494 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
7495
618280a1
UD
74962011-10-25 Ulrich Drepper <drepper@gmail.com>
7497
e0016b11
UD
7498 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
7499 file is not needed.
7500
7501 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
7502 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7503 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7504 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7505 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7506 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7507 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7508 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
7509 Add AVX variants.
7510 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
7511 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
7512 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
7513 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
7514 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
7515 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
7516 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
7517 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
7518 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
7519 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
7520 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
7521 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
7522 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
7523 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
7524 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
7525 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
7526 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
7527 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
7528 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
7529
7530 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
7531 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
7532
618280a1
UD
7533 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
7534 place. Use VEX encoding when compiling for AVX.
7535
37822576
AS
75362011-10-25 Andreas Schwab <schwab@redhat.com>
7537
1f1e1947
AS
7538 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
7539 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7540
37822576
AS
7541 * string/test-strchr.c (do_test): Don't generate NUL bytes.
7542
31ea014d
UD
75432011-10-25 Ulrich Drepper <drepper@gmail.com>
7544
d7826aa1 7545 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 7546 useless if() expression.
d7826aa1
UD
7547 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7548 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7549 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7550 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7551 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7552 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7553 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7554 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7555 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7556 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7557 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7558 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7559 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7560 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7561 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7562 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7563 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7564 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7565 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7566
31ea014d
UD
7567 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
7568
16437fec
AS
75692011-10-25 Andreas Schwab <schwab@redhat.com>
7570
7571 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
7572 condition.
7573 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7574
31d3cc00
UD
75752011-10-25 Ulrich Drepper <drepper@gmail.com>
7576
7577 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
7578 .text section. Avoid duplicate constants.
7579 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7580 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7581 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7582 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7583 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7584 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7585 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7586 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7587 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7588 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
7589 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7590 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7591 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7592 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7593 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7594 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7595 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7596 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7597 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7598 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7599 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7600 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7601 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7602 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
7603 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
7604 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
7605 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
7606 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
7607 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
7608 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
7609 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
7610 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
7611 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7612 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
7613 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
7614 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
7615 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
7616 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
7617 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
7618 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
7619 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
7620 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
7621 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
7622 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
7623 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
7624
58985aa9
UD
76252011-10-24 Ulrich Drepper <drepper@gmail.com>
7626
202c9deb
UD
7627 * sysdeps/x86_64/dla.h: Move to ...
7628 * sysdeps/x86_64/fpu/dla.h: ...here.
7629 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
7630 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 7631
af968f62
UD
7632 * config.make.in: Add have-mfma4 entry.
7633 * configure.in: Substitute libc_cv_cc_fma4.
7634 * math/Makefile (dbl-only-routines): Add sincostab.
7635 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
7636 Use __sincostab not sincos.
7637 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
7638 name is a macro.
7639 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7640 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7641 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7642 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
7643 using __copysign.
7644 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
7645 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
7646 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
7647 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
7648 and __inv.
7649 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
7650 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
7651 __copysign.
7652 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
7653 define aliases when function name is a macro.
7654 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
7655 sysdeps/ieee754/dbl-64/sincos.tbl.
7656 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
7657 fma4-enabled routines.
7658 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
7659 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
7660 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
7661 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
7662 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
7663 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
7664 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
7665 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
7666 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
7667 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
7668 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
7669 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
7670 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
7671 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
7672 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
7673 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
7674 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
7675 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
7676 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
7677 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
7678 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
7679 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
7680 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
7681 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
7682 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
7683 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
7684 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
7685 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
7686 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
7687 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
7688
58985aa9
UD
7689 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
7690 rename.
7691 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7692 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7693 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7694 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7695 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7696 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7697 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7698 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7699
a201fbcf
AS
77002011-10-24 Andreas Schwab <schwab@redhat.com>
7701
7702 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
7703
fc2ee42a
LD
77042011-10-23 Ulrich Drepper <drepper@gmail.com>
7705
bb3129bd
UD
7706 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
7707
0275fff8
UD
7708 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
7709 prediction.
7710 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
7711
2fa2ae85
UD
7712 * string/strnlen.c: Don't define STRNLEN, reverse logic.
7713 Remove unused variable magic_bits.
7714 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
7715
fc2ee42a
LD
7716 * string/strnlen.c: Define and use STRNLEN macro.
7717 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
7718 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
7719 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
7720 * wcsmbs/wcslen.c: Define and use WCSLEN.
7721 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
7722 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
7723 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
7724 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
7725 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
7726 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
7727 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7728
ce7dd29f
LD
77292011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7730
7731 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7732 strnlen-sse2-no-bsf.
7733 Rename strlen-no-bsf to strlen-sse2-no-bsf.
7734 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
7735 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
7736 Add strnlen support.
7737 (USE_AS_STRNLEN): New macro.
7738 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
7739 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
7740 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
7741 * sysdeps/x86_64/wcslen.S: New file.
7742
979c70a3
MZ
77432011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
7744
7745 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7746 XMM-moves are used for copying on small sizes.
7747
2d09f82f
LD
77482011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7749
7750 * wcsmbs/Makefile (strop-tests): Add wcschr.
7751 * wcsmbs/test-wcschr.c: New file.
7752 * string/test-strchr.c: Update.
7753 Add wcschr support.
7754 (WIDE): New macro.
7755
619fccca
LD
77562011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7757
2d09f82f 7758 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
7759 * wcsmbs/test-wcslen.c: New file.
7760 * string/test-strlen.c: Update.
7761 Add wcslen support.
7762 (WIDE): New macro.
7763
09f699ea
UD
77642011-10-23 Ulrich Drepper <drepper@gmail.com>
7765
7766 * po/it.po: Update from translation team.
7767
95584d3b
LD
77682011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7769
7770 * sysdeps/x86_64/wcscmp.S: Update.
7771 Fix wrong comparison semantics.
7772 wcscmp shall use signed comparison not unsigned.
7773 Don't use substraction to avoid overflow bug.
7774 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
7775 * wcsmbc/wcscmp.c: Likewise.
7776 * string/test-strcmp.c: Likewise.
7777 Add new tests to check cases with negative values.
7778
c8b3296b
UD
77792011-10-23 Ulrich Drepper <drepper@gmail.com>
7780
7781 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
7782 * sysdeps/x86_64/dla.h: ...here. New file.
7783 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
7784 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7785 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7786 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7787 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7788 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7789 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7790 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7791 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7792
246ad57a
AS
77932011-10-23 Andreas Schwab <schwab@linux-m68k.org>
7794
7795 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
7796 __ynl_finite aliases.
7797
a1a87169
UD
77982011-10-22 Ulrich Drepper <drepper@gmail.com>
7799
0d355eb7
UD
7800 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7801
a1a87169
UD
7802 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
7803 define DLA_FMA.
7804 [DLA_FMA] (EMULV): Use DLA_FMA.
7805 [DLA_FMA] (MUL12): Use EMULV.
7806 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
7807 that are not needed.
7808 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7809 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7810 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7811 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7812 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7813 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7814 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7815
ee2aafe0
AS
78162011-10-22 Andreas Schwab <schwab@linux-m68k.org>
7817
7818 * math/s_nan.c: Undef __nan.
7819 * math/s_nanf.c: Undef __nanf.
7820 * math/s_nanl.c: Undef __nanl.
7821 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
7822 "math_private.h".
7823
bc62c2fb
UD
78242011-10-22 Ulrich Drepper <drepper@gmail.com>
7825
77425c63
UD
7826 * math/s_catan.c: Add branch predictions.
7827 * math/s_catanf.c: Likewise.
7828 * math/s_catanh.c: Likewise.
7829 * math/s_catanhf.c: Likewise.
7830 * math/s_catanhl.c: Likewise.
7831 * math/s_catanl.c: Likewise.
7832 * math/s_cexp.c: Likewise.
7833 * math/s_cexpf.c: Likewise.
7834 * math/s_cexpl.c: Likewise.
7835 * math/s_clog.c: Likewise.
7836 * math/s_clog10.c: Likewise.
7837 * math/s_clog10f.c: Likewise.
7838 * math/s_clog10l.c: Likewise.
7839 * math/s_clogf.c: Likewise.
7840 * math/s_clogl.c: Likewise.
7841 * math/s_csqrt.c: Likewise.
7842 * math/s_csqrtf.c: Likewise.
7843 * math/s_csqrtl.c: Likewise.
7844 * math/s_ctanf.c: Likewise.
7845 * math/s_ctanh.c: Likewise.
7846 * math/s_ctanhf.c: Likewise.
7847 * math/s_ctanhl.c: Likewise.
7848 * math/s_ctanl.c: Likewise.
7849
bc62c2fb
UD
7850 * math/math_private.h: Define __nan, __nanf, __nanl.
7851 * math/s_cacosh.c: Include <math_private.h>.
7852 * math/s_cacoshl.c: Likewise.
7853 * math/s_casinh.c: Likewise.
7854 * math/s_casinhf.c: Likewise.
7855 * math/s_casinhl.c: Likewise.
7856 * math/s_ccos.c: Rely entire on ccosh.
7857 * math/s_ccosf.c: Rely entire on ccoshf.
7858 * math/s_ccosl.c: Rely entirely on ccoshl.
7859 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
7860 Remove tests for FE_INVALID.
7861 * math/s_ccoshf.c: Likewise.
7862 * math/s_ccoshl.c: Likewise.
7863 * math/s_csin.c: Likewise.
7864 * math/s_csinf.c: Likewise.
7865 * math/s_csinh.c Likewise.
7866 * math/s_csinhf.c: Likewise.
7867 * math/s_csinhl.c: Likewise.
7868 * math/s_csinl.c: Likewise.
7869 * math/s_ctan.c: Likewise.
7870 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
7871 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
7872 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
7873
8ec250a4
UD
78742011-10-21 Ulrich Drepper <drepper@gmail.com>
7875
c196fed8
UD
7876 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
7877 compilation problems.
7878
8ec250a4
UD
7879 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
7880 __builtin_expect.
7881
8d4f46c6
UD
78822011-10-20 Ulrich Drepper <drepper@gmail.com>
7883
ed72b654
UD
7884 * sysdeps/i386/configure.in: Test for -mfma4 option.
7885 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
7886 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
7887 COMMON_CPUID_INDEX_80000001.
7888 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
7889 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
7890 use it if FMA3 is not supported.
7891 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
7892
8d4f46c6
UD
7893 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
7894 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
7895
d45c60c2
AS
78962011-10-20 Andreas Schwab <schwab@redhat.com>
7897
7898 [BZ #12892]
7899 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
7900 it would create a cycle with a link time dependency.
7901
d9a4d2ab
UD
79022011-10-19 Ulrich Drepper <drepper@gmail.com>
7903
855d1560
UD
7904 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
7905 instruction.
7906 * string/Makefile (strop-tests): Add rawmemchr.
7907 * string/test-rawmemchr.c: New file.
7908
d9a4d2ab
UD
7909 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
7910 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
7911 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
7912 when compiling str{,n}casecmp and when AVX is available. Hook up
7913 new optimized code in initializers.
7914
8f3b1ffe
AS
79152011-10-19 Andreas Schwab <schwab@redhat.com>
7916
7917 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
7918 __feraiseexcept instead of feraiseexcept.
7919
d38f1dba
UD
79202011-10-18 Ulrich Drepper <drepper@gmail.com>
7921
d9a8d0ab
UD
7922 * math/math_private.h: Define defaults for libc_fetestexcept and
7923 libc_feupdateenv.
7924 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
7925 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7926 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7927 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7928 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7929 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7930 libc_fetestexcept and libc_feupdateenv.
7931
4855e3dd
UD
7932 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
7933 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
7934 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
7935 * sysdeps/x86_64/fpu/math_private.h: Define special version of
7936 libc_feholdexcept_setround.
7937
581d30e3
UD
7938 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
7939 Add s_nearbyint-c and s_nearbyintf-c.
7940 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
7941 nearbyintf inlines.
7942 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
7943 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
7944 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
7945 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
7946
d38f1dba
UD
7947 * math/math_private.h: Define defaults for libc_fegetround,
7948 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
7949 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
7950 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
7951 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
7952 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
7953 standard functions.
7954 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7955 Remove comments and hacks for old compiler versions.
7956 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7957 libc_fegetround, libc_fesetround, libc_feholdexcept, and
7958 libc_feholdexceptl.
7959
caa6c9d8
AS
79602011-10-18 Andreas Schwab <schwab@redhat.com>
7961
7962 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
7963 (__feraiseexcept_renamed): Add __NTH.
7964 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
7965 namespace violations.
7966
97c066e6
UD
79672011-10-17 Ulrich Drepper <drepper@gmail.com>
7968
99ce7b04
UD
7969 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
7970
1004d182
UD
7971 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
7972
228a984d
UD
7973 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
7974 recently added interfaces.
7975 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
7976
c8553a6a
UD
7977 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
7978 about macro parameter expansion.
7979
ed22dcf6
UD
7980 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
7981 __NO_MATH_INLINES is defined. Cleanups.
7982
7983 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
7984 and __floorf is target has SSE4.1.
7985 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
7986 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
7987 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
7988 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
7989
b171c137
UD
7990 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
7991 name.
7992 (floorf): Likewise.
7993
97c066e6
UD
7994 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
7995
629f62ef
AS
79962011-10-17 Andreas Schwab <schwab@redhat.com>
7997
49a43d80
AS
7998 * misc/sys/cdefs.h: Fix last change.
7999
629f62ef
AS
8000 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
8001 database lookup.
8002
e453f6cd
UD
80032011-10-16 Ulrich Drepper <drepper@gmail.com>
8004
aa78043a
UD
8005 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
8006
ad0f5cad
UD
8007 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
8008 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8009 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8010 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8011 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8012 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8013 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8014 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8015 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8016 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
8017 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
8018 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
8019 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
8020 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
8021 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
8022 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
8023 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
8024 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
8025 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
8026 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
8027 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
8028 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
8029
8030 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
8031 ceil, ceilf, floor, floorf.
8032
8033 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
8034 Perform IRELATIVE relocations last.
8035
e453f6cd
UD
8036 * elf/do-rel.h: Add another parameter nrelative, replacing the
8037 local variable with the same name. Change name of the function
8038 to end in Rel or Rela (uppercase).
8039 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
8040 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
8041 elf_dynamic_do_##reloc function.
8042
fd5bdc09
UD
80432011-10-15 Ulrich Drepper <drepper@gmail.com>
8044
79b195b5
UD
8045 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
8046 is sufficient, at least on modern CPUs.
8047
d4a28569
UD
8048 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
8049
b61099b5
UD
8050 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
8051 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
8052
bcf01e6d
UD
8053 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
8054 __expl_finite.
8055 * math/bits/math-finite.h: Add entries for exp.
8056 * math/e_expl.c: Add __*_finite alias.
8057 * sysdeps/i386/fpu/e_exp.S: Likewise.
8058 * sysdeps/i386/fpu/e_expf.S: Likewise.
8059 * sysdeps/i386/fpu/e_expl.c: Likewise.
8060 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8061 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8062 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8063 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8064 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
8065 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8066 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8067
ba1a0d59
UD
8068 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
8069 is sufficient, at least on modern CPUs.
8070
fd5bdc09
UD
8071 * ctype/ctype-info.c (__ctype_init): Define.
8072 * include/ctype.h (__ctype_init): Declare.
8073 (__ctype_b_loc): The variable is always initialized.
8074 (__ctype_toupper_loc): Likewise.
8075 (__ctype_tolower_loc): Likewise.
8076 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
8077 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
8078
7872cfb0
AS
80792011-10-15 Andreas Schwab <schwab@linux-m68k.org>
8080
b468825a
AS
8081 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
8082
7872cfb0
AS
8083 * configure.in: Also look in $cxxmachine/include for C++ system
8084 headers.
8085
be13f7bf
LD
80862011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8087
8088 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
8089 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
8090 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
8091 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
8092 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
8093 (USE_AS_WMEMCMP): New macro.
8094 Fixing indents.
8095 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
8096 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
8097 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
8098 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
8099 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8100 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
8101 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
8102 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
8103 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
8104 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
8105 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
8106 (USE_AS_WMEMCMP): New macro.
8107 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
8108 * sysdeps/string/test-memcmp.c: Update.
8109 Fix simple_wmemcmp.
8110 Add new tests.
8111 * wcsmbs/wmemcmp.c: Update.
8112 (WMEMCMP): New macro.
8113 Fix overflow bug.
8114
556a2007
AJ
81152011-10-12 Andreas Jaeger <aj@suse.de>
8116
8117 [BZ #13268]
8118 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
8119
538faaa7
UD
81202011-10-15 Ulrich Drepper <drepper@gmail.com>
8121
ab6737ff
UD
8122 * libio/iofwide.c (do_length): Avoid warning.
8123
538faaa7
UD
8124 * ctype/ctype.h (__isctype_f): Add missing __THROW.
8125
396a21b1
UD
81262011-10-14 Ulrich Drepper <drepper@gmail.com>
8127
cdf2901f
UD
8128 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
8129
38ad40ce
UD
8130 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
8131 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
8132 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
8133 * sysdeps/i386/i686/fpu/e_log.S: New file.
8134 * sysdeps/i386/i686/fpu/e_logf.S: New file.
8135 * sysdeps/i386/i686/fpu/e_logl.S: New file.
8136
396a21b1
UD
8137 * ctype/ctype.h: Add support for inlined isXXX functions when
8138 compiling C++ code.
8139
6b1f68c9
AS
81402011-10-14 Andreas Schwab <schwab@redhat.com>
8141
349290c0
AS
8142 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8143
6b1f68c9
AS
8144 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
8145
f2282d42
RM
81462011-10-13 Roland McGrath <roland@hack.frob.com>
8147
8148 [BZ #13291]
8149 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
8150
5298ffa8
AS
81512011-10-13 Andreas Schwab <schwab@redhat.com>
8152
714fad23
AS
8153 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
8154 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
8155 feraiseexcept.
8156
81dcc7fb
AS
8157 * sysdeps/x86_64/memrchr.S: Check for zero size.
8158
5298ffa8
AS
8159 * string/stratcliff.c: Add memrchr tests.
8160
951fbcec
LD
81612011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8162
8163 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8164 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
8165 rawmemchr-sse2 rawmemchr-sse2-bsf.
8166 * sysdeps/i386/i686/multiarch/memchr.S: New file.
8167 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
8168 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
8169 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
8170 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
8171 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
8172 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
8173 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
8174 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
8175 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
8176 * string/memrchr.c (MEMRCHR): New macro.
8177
0ac5ae23
UD
81782011-10-12 Ulrich Drepper <drepper@gmail.com>
8179
8180 Add integration with gcc's -ffinite-math-only and optimize wrapper
8181 functions in libm.
8182 * Versions.def: Define GLIBC_2.15 version for libm.
8183 * math/Makefile (headers): Add bits/math-finite.h.
8184 * math/bits/math-finite.h: New file.
8185 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
8186 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
8187 * math/e_acoshl.c: Add __*_finite alias.
8188 * math/e_acosl.c: Likewise.
8189 * math/e_asinl.c: Likewise.
8190 * math/e_atan2l.c: Likewise.
8191 * math/e_atanhl.c: Likewise.
8192 * math/e_coshl.c: Likewise.
8193 * math/e_exp10.c: Likewise.
8194 * math/e_exp10f.c: Likewise.
8195 * math/e_exp10l.c: Likewise.
8196 * math/e_exp2l.c: Likewise.
8197 * math/e_fmodl.c: Likewise.
8198 * math/e_gammal_r.c: Likewise.
8199 * math/e_hypotl.c: Likewise.
8200 * math/e_j0l.c: Likewise.
8201 * math/e_j1l.c: Likewise.
8202 * math/e_jnl.c: Likewise.
8203 * math/e_lgammal_r.c: Likewise.
8204 * math/e_log10l.c: Likewise.
8205 * math/e_log2l.c: Likewise.
8206 * math/e_logl.c: Likewise.
8207 * math/e_powl.c: Likewise.
8208 * math/e_sinhl.c: Likewise.
8209 * math/e_sqrtl.c: Likewise.
8210 * math/e_scalb.c: Completely rewritten and optimized.
8211 * math/e_scalbf.c: Likewise.
8212 * math/e_scalbl.c: Likewise.
8213 * math/w_acos.c: Likewise.
8214 * math/w_acosf.c: Likewise.
8215 * math/w_acosl.c: Likewise.
8216 * math/w_acosh.c: Likewise.
8217 * math/w_acoshf.c: Likewise.
8218 * math/w_acoshl.c: Likewise.
8219 * math/w_asin.c: Likewise.
8220 * math/w_asinf.c: Likewise.
8221 * math/w_asinl.c: Likewise.
8222 * math/w_atan2.c: Likewise.
8223 * math/w_atan2f.c: Likewise.
8224 * math/w_atan2l.c: Likewise.
8225 * math/w_atanh.c: Likewise.
8226 * math/w_atanhf.c: Likewise.
8227 * math/w_atanhl.c: Likewise.
8228 * math/w_exp10.c: Likewise.
8229 * math/w_exp10f.c: Likewise.
8230 * math/w_exp10l.c: Likewise.
8231 * math/w_fmod.c: Likewise.
8232 * math/w_fmodf.c: Likewise.
8233 * math/w_fmodl.c: Likewise.
8234 * math/w_j0.c: Likewise.
8235 * math/w_j0f.c: Likewise.
8236 * math/w_j0l.c: Likewise.
8237 * math/w_j1.c: Likewise.
8238 * math/w_j1f.c: Likewise.
8239 * math/w_j1l.c: Likewise.
8240 * math/w_jn.c: Likewise.
8241 * math/w_jnf.c: Likewise.
8242 * math/w_log.c: Likewise.
8243 * math/w_logf.c: Likewise.
8244 * math/w_logl.c: Likewise.
8245 * math/w_log10.c: Likewise.
8246 * math/w_log10f.c: Likewise.
8247 * math/w_log10l.c: Likewise.
8248 * math/w_log2.c: Likewise.
8249 * math/w_log2f.c: Likewise.
8250 * math/w_log2l.c: Likewise.
8251 * math/w_pow.c: Likewise.
8252 * math/w_powf.c: Likewise.
8253 * math/w_powl.c: Likewise.
8254 * math/w_remainder.c: Likewise.
8255 * math/w_remainderf.c: Likewise.
8256 * math/w_remainderl.c: Likewise.
8257 * math/w_scalb.c: Likewise.
8258 * math/w_scalbf.c: Likewise.
8259 * math/w_scalbl.c: Likewise.
8260 * math/w_sqrt.c: Likewise.
8261 * math/w_sqrtf.c: Likewise.
8262 * math/w_sqrtl.c: Likewise.
8263 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
8264 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
8265 used.
8266 * math/math_private.h: Declare __kernel_standard_f.
8267 * math/w_cosh.c: Remove cruft and optimize a bit.
8268 * math/w_coshf.c: Likewise.
8269 * math/w_coshl.c: Likewise.
8270 * math/w_exp2.c: Likewise.
8271 * math/w_exp2f.c: Likewise.
8272 * math/w_exp2l.c: Likewise.
8273 * math/w_hypot.c: Likewise.
8274 * math/w_hypotf.c: Likewise.
8275 * math/w_hypotl.c: Likewise.
8276 * math/w_lgamma.c: Likewise.
8277 * math/w_lgamma_r.c: Likewise.
8278 * math/w_lgammaf.c: Likewise.
8279 * math/w_lgammaf_r.c: Likewise.
8280 * math/w_lgammal.c: Likewise.
8281 * math/w_lgammal_r.c: Likewise.
8282 * math/w_sinh.c: Likewise.
8283 * math/w_sinhf.c: Likewise.
8284 * math/w_sinhl.c: Likewise.
8285 * math/w_tgamma.c: Likewise.
8286 * math/w_tgammaf.c: Likewise.
8287 * math/w_tgammal.c: Likewise.
8288 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8289 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8290 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
8291 Minor optimizations. Pretty printing. Remove cruft.
8292 * sysdeps/i386/fpu/e_acosf.S: Likewise.
8293 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8294 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8295 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8296 * sysdeps/i386/fpu/e_acosl.c: Likewise.
8297 * sysdeps/i386/fpu/e_asin.S: Likewise.
8298 * sysdeps/i386/fpu/e_asinf.S: Likewise.
8299 * sysdeps/i386/fpu/e_atan2.S: Likewise.
8300 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
8301 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
8302 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8303 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8304 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8305 * sysdeps/i386/fpu/e_exp10.S: Likewise.
8306 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
8307 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
8308 * sysdeps/i386/fpu/e_exp2.S: Likewise.
8309 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
8310 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
8311 * sysdeps/i386/fpu/e_fmod.S: Likewise.
8312 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
8313 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
8314 * sysdeps/i386/fpu/e_hypot.S: Likewise.
8315 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
8316 * sysdeps/i386/fpu/e_log.S: Likewise.
8317 * sysdeps/i386/fpu/e_log10.S: Likewise.
8318 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8319 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8320 * sysdeps/i386/fpu/e_log2.S: Likewise.
8321 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8322 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8323 * sysdeps/i386/fpu/e_logf.S: Likewise.
8324 * sysdeps/i386/fpu/e_logl.S: Likewise.
8325 * sysdeps/i386/fpu/e_pow.S: Likewise.
8326 * sysdeps/i386/fpu/e_powf.S: Likewise.
8327 * sysdeps/i386/fpu/e_powl.S: Likewise.
8328 * sysdeps/i386/fpu/e_remainder.S: Likewise.
8329 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
8330 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
8331 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8332 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8333 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8334 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
8335 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
8336 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
8337 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8338 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8339 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8340 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8341 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8342 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8343 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8344 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8345 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8346 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8347 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8348 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8349 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8350 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8351 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8352 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8353 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8354 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8355 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8356 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8357 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8358 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8359 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8360 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8361 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8362 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8363 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8364 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8365 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8366 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8367 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8368 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8369 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8370 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8371 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8372 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8373 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8374 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8375 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8376 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8377 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8378 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8379 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8380 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8381 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8382 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8383 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8384 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8385 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8386 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8387 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8388 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8389 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8390 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8391 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8392 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8393 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8394 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8395 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8396 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8397 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8398 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8399 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8400 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8401 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8402 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8403 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8404 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8405 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8406 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8407 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8408 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8409 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8410 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8411 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8412 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8413 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8414 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8415 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8416 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8417 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8418 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8419 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8420 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8421 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8422 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8423 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8424 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8425 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8426 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8427 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8428 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8429 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8430 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8431 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8432 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8433 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8434 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
8435 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
8436 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
8437 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
8438 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
8439 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
8440 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
8441 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8442 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8443 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8444 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8445 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
8446 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8447 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
8448 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
8449 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
8450 (__isnanf): Likewise.
8451 (__isinf_ns): Likewise.
8452 (__isinf_nsf): Likewise.
8453 (__finite): Likewise.
8454 (__finitef): Likewise.
8455 (__ieee754_sqrt): Define as macro.
8456 (__ieee754_sqrtf): Define as macro.
8457 (__ieee754_sqrtl): Define as macro.
8458 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
8459 inlined copy.
8460 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
8461 __FINITE_MATH_ONLY__ consistent.
8462 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
8463
12cc2fcd
AS
84642011-10-10 Andreas Schwab <schwab@linux-m68k.org>
8465
a843a204
AS
8466 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
8467 of rawmemchr.
8468
12cc2fcd
AS
8469 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
8470
c853acd5
UD
84712011-10-09 Ulrich Drepper <drepper@gmail.com>
8472
8473 * po/ja.po: Update from translation team.
8474
c658d255
RM
84752011-10-08 Roland McGrath <roland@hack.frob.com>
8476
110946e4
RM
8477 * locale/programs/locarchive.c (prepare_address_space): New function.
8478 (create_archive, enlarge_archive, open_archive): Use it.
8479
50604220
RM
8480 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
8481 inside [SHARED], where it is used.
8482
c658d255
RM
8483 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
8484
8485 * nss/getent.c (netgroup_keys): Remove unused variable.
8486 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8487
6a621eb7
UD
84882011-10-08 Ulrich Drepper <drepper@gmail.com>
8489
7edb55ce
UD
8490 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
8491 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
8492 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
8493 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
8494 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
8495 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
8496 * math/Makefile (libm-calls): Add s_isinf_ns.
8497 * math/divtc3.c: Use __isinf_nsl instead of isinf.
8498 * math/multc3.c: Likewise.
8499 * math/s_casin.c: Likewise.
8500 * math/s_casinf.c: Likewise.
8501 * math/s_casinl.c: Likewise.
8502 * math/s_ccos.c: Likewise.
8503 * math/s_ccosf.c: Likewise.
8504 * math/s_ccosl.c: Likewise.
8505 * math/s_ctan.c: Likewise.
8506 * math/s_ctanf.c: Likewise.
8507 * math/s_ctanh.c: Likewise.
8508 * math/s_ctanhf.c: Likewise.
8509 * math/s_ctanhl.c: Likewise.
8510 * math/s_ctanl.c: Likewise.
8511 * math/w_fmod.c: Likewise.
8512 * math/w_fmodf.c: Likewise.
8513 * math/w_fmodl.c: Likewise.
8514 * math/w_remainder.c: Likewise.
8515 * math/w_remainderf.c: Likewise.
8516 * math/w_remainderl.c: Likewise.
8517 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
8518 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
8519 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
8520 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
8521 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
8522 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
8523 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
8524 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
8525
187da0ae
UD
8526 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
8527 of the number.
8528 * stdio-common/printf_fphex.c: Likewise.
8529 * stdio-common/printf_size.c: Likewise.
8530
9277c064
UD
8531 * math/e_exp10.c: Include math_private.h using <...> not "...".
8532 * math/e_exp10f.c: Likewise.
8533 * math/e_exp10l.c: Likewise.
8534 * math/e_exp2l.c: Likewise.
8535 * math/e_j0l.c: Likewise.
8536 * math/e_j1l.c: Likewise.
8537 * math/e_jnl.c: Likewise.
8538 * math/e_lgammal_r.c: Likewise.
8539 * math/e_rem_pio2l.c: Likewise.
8540 * math/e_scalb.c: Likewise.
8541 * math/e_scalbf.c: Likewise.
8542 * math/e_scalbl.c: Likewise.
8543 * math/k_cosl.c: Likewise.
8544 * math/k_sinl.c: Likewise.
8545 * math/k_tanl.c: Likewise.
8546 * math/s_cacoshf.c: Likewise.
8547 * math/s_catan.c: Likewise.
8548 * math/s_catanf.c: Likewise.
8549 * math/s_catanh.c: Likewise.
8550 * math/s_catanhf.c: Likewise.
8551 * math/s_catanhl.c: Likewise.
8552 * math/s_catanl.c: Likewise.
8553 * math/s_ccosh.c: Likewise.
8554 * math/s_ccoshf.c: Likewise.
8555 * math/s_ccoshl.c: Likewise.
8556 * math/s_cexp.c: Likewise.
8557 * math/s_cexpf.c: Likewise.
8558 * math/s_cexpl.c: Likewise.
8559 * math/s_clog.c: Likewise.
8560 * math/s_clog10.c: Likewise.
8561 * math/s_clog10f.c: Likewise.
8562 * math/s_clog10l.c: Likewise.
8563 * math/s_clogf.c: Likewise.
8564 * math/s_clogl.c: Likewise.
8565 * math/s_csin.c: Likewise.
8566 * math/s_csinf.c: Likewise.
8567 * math/s_csinh.c: Likewise.
8568 * math/s_csinhf.c: Likewise.
8569 * math/s_csinhl.c: Likewise.
8570 * math/s_csinl.c: Likewise.
8571 * math/s_csqrt.c: Likewise.
8572 * math/s_csqrtf.c: Likewise.
8573 * math/s_csqrtl.c: Likewise.
8574 * math/s_ctan.c: Likewise.
8575 * math/s_ctanf.c: Likewise.
8576 * math/s_ctanh.c: Likewise.
8577 * math/s_ctanhf.c: Likewise.
8578 * math/s_ctanhl.c: Likewise.
8579 * math/s_ctanl.c: Likewise.
8580 * math/s_ldexp.c: Likewise.
8581 * math/s_ldexpf.c: Likewise.
8582 * math/s_ldexpl.c: Likewise.
8583 * math/s_significand.c: Likewise.
8584 * math/s_significandf.c: Likewise.
8585 * math/s_significandl.c: Likewise.
8586 * math/w_acos.c: Likewise.
8587 * math/w_acosf.c: Likewise.
8588 * math/w_acosh.c: Likewise.
8589 * math/w_acoshf.c: Likewise.
8590 * math/w_acoshl.c: Likewise.
8591 * math/w_acosl.c: Likewise.
8592 * math/w_asin.c: Likewise.
8593 * math/w_asinf.c: Likewise.
8594 * math/w_asinl.c: Likewise.
8595 * math/w_atan2.c: Likewise.
8596 * math/w_atan2f.c: Likewise.
8597 * math/w_atan2l.c: Likewise.
8598 * math/w_atanh.c: Likewise.
8599 * math/w_atanhf.c: Likewise.
8600 * math/w_atanhl.c: Likewise.
8601 * math/w_cosh.c: Likewise.
8602 * math/w_coshf.c: Likewise.
8603 * math/w_coshl.c: Likewise.
8604 * math/w_dremf.c: Likewise.
8605 * math/w_exp10.c: Likewise.
8606 * math/w_exp10f.c: Likewise.
8607 * math/w_exp10l.c: Likewise.
8608 * math/w_exp2.c: Likewise.
8609 * math/w_exp2f.c: Likewise.
8610 * math/w_fmod.c: Likewise.
8611 * math/w_fmodf.c: Likewise.
8612 * math/w_fmodl.c: Likewise.
8613 * math/w_hypot.c: Likewise.
8614 * math/w_hypotf.c: Likewise.
8615 * math/w_hypotl.c: Likewise.
8616 * math/w_j0.c: Likewise.
8617 * math/w_j0f.c: Likewise.
8618 * math/w_j0l.c: Likewise.
8619 * math/w_j1.c: Likewise.
8620 * math/w_j1f.c: Likewise.
8621 * math/w_j1l.c: Likewise.
8622 * math/w_jn.c: Likewise.
8623 * math/w_jnf.c: Likewise.
8624 * math/w_jnl.c: Likewise.
8625 * math/w_lgamma.c: Likewise.
8626 * math/w_lgamma_r.c: Likewise.
8627 * math/w_lgammaf.c: Likewise.
8628 * math/w_lgammaf_r.c: Likewise.
8629 * math/w_lgammal.c: Likewise.
8630 * math/w_lgammal_r.c: Likewise.
8631 * math/w_log.c: Likewise.
8632 * math/w_log10.c: Likewise.
8633 * math/w_log10f.c: Likewise.
8634 * math/w_log10l.c: Likewise.
8635 * math/w_log2.c: Likewise.
8636 * math/w_log2f.c: Likewise.
8637 * math/w_log2l.c: Likewise.
8638 * math/w_logf.c: Likewise.
8639 * math/w_logl.c: Likewise.
8640 * math/w_pow.c: Likewise.
8641 * math/w_powf.c: Likewise.
8642 * math/w_powl.c: Likewise.
8643 * math/w_remainder.c: Likewise.
8644 * math/w_remainderf.c: Likewise.
8645 * math/w_remainderl.c: Likewise.
8646 * math/w_scalb.c: Likewise.
8647 * math/w_scalbf.c: Likewise.
8648 * math/w_scalbl.c: Likewise.
8649 * math/w_sinh.c: Likewise.
8650 * math/w_sinhf.c: Likewise.
8651 * math/w_sinhl.c: Likewise.
8652 * math/w_sqrt.c: Likewise.
8653 * math/w_sqrtf.c: Likewise.
8654 * math/w_sqrtl.c: Likewise.
8655 * math/w_tgamma.c: Likewise.
8656 * math/w_tgammaf.c: Likewise.
8657 * math/w_tgammal.c: Likewise.
8658
6a621eb7
UD
8659 * po/ja.po: Update from translation team.
8660
bf582445
AJ
86612011-09-29 Andreas Jaeger <aj@suse.de>
8662
f9efbf3a
AJ
8663 [BZ #13179]
8664 * sunrpc/netname.c (netname2host): Fix logic.
8665
bf582445
AJ
8666 [BZ #6779]
8667 [BZ #6783]
8668 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
8669 correctly.
8670 * math/w_remainder.c (__remainder): Likewise.
8671 * math/w_remainderf.c (__remainderf): Likewise.
8672 * math/libm-test.inc (remainder_test): Add test cases.
8673
48693bea
AK
86742011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8675
8676 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
8677 sdiv_qrnnd.
8678
42622229
LD
86792011-10-07 Ulrich Drepper <drepper@gmail.com>
8680
8681 * string/test-memcmp.c: Avoid unncessary #defines.
8682 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8683
093ecf92
LD
86842011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8685
8686 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
8687 Use new sse2 version for core i3 - i7 as it's faster
8688 than sse42 version.
8689 (bit_Prefer_PMINUB_for_stringop): New.
8690 * sysdeps/x86_64/rawmemchr.S: Update.
8691 Replace with faster SSE2 version.
8692 * sysdeps/x86_64/memrchr.S: New file.
8693 * sysdeps/x86_64/memchr.S: Update.
8694 Replace with faster SSE2 version.
8695
fde56e5c
MP
86962011-09-12 Marek Polacek <mpolacek@redhat.com>
8697
8698 * elf/dl-load.c (lose): Add cast to avoid warning.
8699
21fd49a9
UD
87002011-10-07 Ulrich Drepper <drepper@gmail.com>
8701
5a06e643
UD
8702 * po/ca.po: Update from translation team.
8703
684ae515
UD
8704 * inet/getnetgrent_r.c: Hook up nscd.
8705 * nscd/Makefile (routines): Add nscd_netgroup.
8706 (nscd-modules): Add netgroupcache.
8707 (CFLAGS-netgroupcache.c): Define.
8708 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
8709 (cache_search): Add const to second parameter.
8710 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
8711 INNETGR.
8712 (dbs): Add netgrdb entry.
8713 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
8714 (verify_persistent_db): Handle netgrdb.
8715 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
8716 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
8717 GETFDNETGR.
8718 (netgroup_response_header): Define.
8719 (innetgroup_response_header): Define.
8720 (datahead): Add netgroup_response_header and innetgroup_response_header
8721 elements.
8722 * nscd/nscd.conf: Add entries for netgroup cache.
8723 * nscd/nscd.h (dbtype): Add netgrdb.
8724 (_PATH_NSCD_NETGROUP_DB): Define.
8725 (netgroup_iov_disabled): Declare.
8726 (xmalloc, xcalloc, xrealloc): Move declarations here.
8727 (cache_search): Adjust prototype.
8728 Add netgroup-related prototypes.
8729 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
8730 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
8731 (__nscd_innetgr): Declare.
8732 * nscd/selinux.c (perms): Use access_vector_t as element type and
8733 add netgroup-related initializers.
8734 * nscd/netgroupcache.c: New file.
8735 * nscd/nscd_netgroup.c: New file.
8736 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
8737 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
8738 For four parameters use innetgr.
8739 * nss/nss_files/files-init.c: Add definition and callback for netgr.
8740 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
8741 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
8742 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
8743
21fd49a9
UD
8744 * nscd/connections.c (register_traced_file): Don't register file
8745 for disabled databases.
8746
054c0457
UD
87472011-10-06 Ulrich Drepper <drepper@gmail.com>
8748
32b63198
UD
8749 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
8750
054c0457
UD
8751 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
8752 from tree and freeing node.
8753
64031225
JO
87542011-09-25 Jiri Olsa <jolsa@redhat.com>
8755
8756 * nss/nsswitch.c (__nss_database_lookup): Handle
8757 nss_parse_service_list out of memory case.
8758
0490345c
JO
87592011-09-15 Jiri Olsa <jolsa@redhat.com>
8760
8761 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
8762 out of memory case.
8763
3a62d00d
AS
87642011-10-04 Andreas Schwab <schwab@redhat.com>
8765
8766 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
8767 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
8768 pass it down.
8769 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
8770 elf_machine_rela, elf_machine_lazy_rel.
8771 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
8772 (ELF_DYNAMIC_DO_REL): Likewise.
8773 (ELF_DYNAMIC_DO_RELA): Likewise.
8774 (ELF_DYNAMIC_RELOCATE): Likewise.
8775 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
8776 to ELF_DYNAMIC_DO_REL.
8777 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
8778 (dl_main): In trace mode always set __RTLD_NOIFUNC.
8779 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
8780 elf_machine_rela.
8781 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
8782 skip_ifunc, don't call ifunc function if non-zero.
8783 (elf_machine_rela): Likewise.
8784 (elf_machine_lazy_rel): Likewise.
8785 (elf_machine_lazy_rela): Likewise.
8786 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
8787 (elf_machine_lazy_rel): Likewise.
8788 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
8789 Likewise.
8790 (elf_machine_lazy_rel): Likewise.
8791 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8792 Likewise.
8793 (elf_machine_lazy_rel): Likewise.
8794 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
8795 (elf_machine_lazy_rel): Likewise.
8796 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
8797 (elf_machine_lazy_rel): Likewise.
8798 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8799 (elf_machine_lazy_rel): Likewise.
8800 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
8801 (elf_machine_lazy_rel): Likewise.
8802 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
8803 (elf_machine_lazy_rel): Likewise.
8804 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8805 (elf_machine_lazy_rel): Likewise.
8806
68577918
UD
88072011-09-28 Ulrich Drepper <drepper@gmail.com>
8808
8809 * nss/nss_files/files-init.c (_nss_files_init): Use static
8810 initialization for all the *_traced_file variables.
8811
68822d74
AS
88122011-09-28 Andreas Schwab <schwab@redhat.com>
8813
8814 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8815
2056100b
RM
88162011-09-27 Roland McGrath <roland@hack.frob.com>
8817
8818 [BZ #13226]
8819 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
8820
32c76b63
AS
88212011-09-27 Andreas Schwab <schwab@redhat.com>
8822
8823 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8824 Reread the line before reparsing it.
8825
bf972c9d
AS
88262011-09-26 Andreas Schwab <schwab@redhat.com>
8827
8828 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
8829
e057a1b5
JM
88302011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
8831 Maxim Kuvyrkov <maxim@codesourcery.com>
8832 Joseph Myers <joseph@codesourcery.com>
8833
8834 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
8835 if needed for __stack_chk_guard.
8836
bc7e1c36
RM
88372011-09-19 Roland McGrath <roland@hack.frob.com>
8838
ecb1482f
RM
8839 * sysdeps/posix/spawni.c (script_execute): Always define it.
8840 It will be optimized away if unused.
8841 (maybe_script_execute): New function.
8842 (__spawni): Call it.
8843
bc7e1c36
RM
8844 * Makerules: Don't include tls.make.
8845 (config-tls): Always set to thread.
8846 * tls.make.c: File removed.
8847
1c3b002b
MF
88482011-09-19 Mike Frysinger <vapier@gentoo.org>
8849
8850 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
8851 * config.make.in (CPPFLAGS-config): New substituted variable.
8852
2840865d
UD
88532011-09-15 Ulrich Drepper <drepper@gmail.com>
8854
88738eb6
UD
8855 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
8856
cbf645a6 8857 [BZ #13192]
2840865d
UD
8858 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
8859 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
8860
b402e91a
RM
88612011-09-15 Roland McGrath <roland@hack.frob.com>
8862
8863 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
8864 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
8865 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
8866 (CALL_FAIL): Likewise.
8867 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
8868 (CALL_FAIL): Macro removed.
8869 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
8870
4c1a1f71
UD
88712011-09-15 Ulrich Drepper <drepper@gmail.com>
8872
8873 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
8874 for __FINITE_MATH_ONLY__ == 1.
8875
edc121be
AS
88762011-09-15 Andreas Schwab <schwab@redhat.com>
8877
8878 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
8879 __ieee754_sqrt instead of sqrt.
8880 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
8881 __ieee754_sqrtf instead of sqrtf.
8882 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
8883 __floorf instead of floorf.
8884 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
8885 __floorf, __truncf instead of floorf, truncf.
8886
cd205654
UD
88872011-09-14 Ulrich Drepper <drepper@gmail.com>
8888
ee4d0315
UD
8889 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
8890
cd205654
UD
8891 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
8892 __extern_always_inline.
8893 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
8894 32-bit.
8895
48b67d71
AS
88962011-09-14 Andreas Schwab <schwab@redhat.com>
8897
8898 * elf/rtld.c (dl_main): Also relocate in dependency order when
8899 doing symbol dependency testing.
8900
1ae12c75
AS
89012011-09-13 Andreas Schwab <schwab@linux-m68k.org>
8902
8903 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8904 Always define `refsym'.
8905
995a80df
AS
89062011-09-13 Andreas Schwab <schwab@redhat.com>
8907
e529793b
AS
8908 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
8909 (__FD_ELT): Renamed from __FDELT.
8910 * misc/bits/select2.h (__FD_ELT): Likewise.
8911 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
8912 __FD_MASK instead of __FDELT, __FDMASK.
8913 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8914 Likewise.
8915 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8916 Likewise.
8917
52d4fef8
AS
8918 * elf/Makefile (gen-ldd): Fix pattern.
8919
995a80df
AS
8920 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
8921 (init_tls): Likewise.
8922
8682f8b0
UD
89232011-09-12 Ulrich Drepper <drepper@gmail.com>
8924
8925 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
8926
de82006d
AS
89272011-09-12 Andreas Schwab <schwab@redhat.com>
8928
a7c8e6a1
AS
8929 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
8930 `struct cmsghdr *' instead of `void *'.
8931 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
8932 Likewise.
8933
0f31fe77
AS
89342011-09-11 Andreas Schwab <schwab@linux-m68k.org>
8935
8936 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
8937 if non-absolute.
8938 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
8939 ldd_rewrite_script.
0f31fe77 8940
32b4c839
UD
89412011-09-11 Ulrich Drepper <drepper@gmail.com>
8942
83cd1420
UD
8943 * configure.in: Remove --with-tls option.
8944 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
8945 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
8946 out in case it is missing.
8947 * sysdeps/ia64/elf/configure.in: Likewise.
8948 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
8949 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
8950 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
8951 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
8952 * sysdeps/sh/elf/configure.in: Likewise.
8953 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
8954 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8955 * sysdeps/x86_64/elf/configure.in: Likewise.
8956 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
8957 * sysdeps/mach/hurd/tls.h: Likewise.
8958
633f745d
UD
8959 [BZ #13067]
8960 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
8961
f318beb8
UD
8962 [BZ #13090]
8963 * configure.in: Fix use of AC_INIT.
8964
32b4c839
UD
8965 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
8966
3ce1f295
UD
89672011-09-10 Ulrich Drepper <drepper@gmail.com>
8968
bb016596
UD
8969 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
8970 __set_errno.
8e58439c
UD
8971 * malloc/hooks.c: Likewise.
8972
aebae053 8973 [BZ #11929]
02d46fc4
UD
8974 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
8975 variables statically.
8976 (narenas): Initialize.
8977 (list_lock): Initialize.
bb016596
UD
8978 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
8979 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
8980 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
8981 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
8982 Add initializers to main_arena and mp_.
8983 (malloc_state): Remove pagesize member. Change all users to use
8984 GLRO(dl_pagesize).
8985
8986 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
8987 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
8988 is always initialized.
8989
22a89187
UD
8990 * malloc/malloc.c: Removed unused configurations and dead code.
8991 * malloc/arena.c: Likewise.
8992 * malloc/hooks.c: Likewise.
02d46fc4 8993 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 8994
d063d164
UD
8995 * include/tls.h: Removed. USE___THREAD must always be defined.
8996 * bits/libc-tsd.h: Don't handle !USE___THREAD.
8997 * elf/dl-libc.c: Likewise.
8998 * elf/dl-tsd.c: Likewise.
8999 * include/errno.h: Likewise.
9000 * include/netdb.h: Likewise.
9001 * include/resolv.h: Likewise.
9002 * inet/herrno-loc.c: Likewise.
9003 * inet/herrno.c: Likewise.
9004 * malloc/arena.c: Likewise.
9005 * malloc/hooks.c: Likewise.
9006 * malloc/malloc.c: Likewise.
9007 * resolv/res-state.c: Likewise.
9008 * resolv/res_libc.c: Likewise.
9009 * sysdeps/i386/dl-machine.h: Likewise.
9010 * sysdeps/ia64/dl-machine.h: Likewise.
9011 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9012 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9013 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9014 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9015 * sysdeps/sh/dl-machine.h: Likewise.
9016 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9017 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9018 * sysdeps/unix/i386/sysdep.S: Likewise.
9019 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9020 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9021 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9022 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9023 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9024 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9025 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9026 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9027 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9028 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9029 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9030 * sysdeps/x86_64/dl-machine.h: Likewise.
9031 * tls.make.c: Likewise.
9032
3ce1f295
UD
9033 * configure.in: Remove --with-__thread option. Make tests for
9034 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
9035 tls_model attribute fail if no support is available. Remove
9036 USE_IN_LIBIO.
9037 * Makeconfig: Adjust for dropped configure option. All features are
9038 now mandatory.
9039 * Makerules: Likewise.
9040 * Versions.def: Likewise.
9041 * argp/argp-fmtstream.c: Likewise.
9042 * argp/argp-fmtstream.h: Likewise.
9043 * argp/argp-help.c: Likewise.
9044 * assert/assert.c: Likewise.
9045 * config.h.in: Likewise.
9046 * config.make.in: Likewise.
9047 * configure: Likewise.
9048 * configure.in: Likewise.
9049 * csu/Versions: Likewise.
9050 * csu/init.c: Likewise.
9051 * elf/tst-audit2.c: Likewise.
9052 * elf/tst-tls10.c: Likewise.
9053 * elf/tst-tls10.h: Likewise.
9054 * elf/tst-tls11.c: Likewise.
9055 * elf/tst-tls12.c: Likewise.
9056 * elf/tst-tls14.c: Likewise.
9057 * elf/tst-tlsmod11.c: Likewise.
9058 * elf/tst-tlsmod12.c: Likewise.
9059 * elf/tst-tlsmod13.c: Likewise.
9060 * elf/tst-tlsmod13a.c: Likewise.
9061 * elf/tst-tlsmod14a.c: Likewise.
9062 * elf/tst-tlsmod15b.c: Likewise.
9063 * elf/tst-tlsmod16a.c: Likewise.
9064 * elf/tst-tlsmod16b.c: Likewise.
9065 * elf/tst-tlsmod7.c: Likewise.
9066 * elf/tst-tlsmod8.c: Likewise.
9067 * elf/tst-tlsmod9.c: Likewise.
9068 * gmon/gmon.c: Likewise.
9069 * grp/fgetgrent_r.c: Likewise.
9070 * grp/putgrent.c: Likewise.
9071 * hurd/fopenport.c: Likewise.
9072 * include/libc-symbols.h: Likewise.
9073 * include/tls.h: Likewise.
9074 * intl/gettextP.h: Likewise.
9075 * intl/loadinfo.h: Likewise.
9076 * locale/global-locale.c: Likewise.
9077 * locale/localeinfo.h: Likewise.
9078 * mach/devstream.c: Likewise.
9079 * malloc/arena.c: Likewise.
9080 * malloc/set-freeres.c: Likewise.
9081 * misc/err.c: Likewise.
9082 * misc/getttyent.c: Likewise.
9083 * misc/mntent_r.c: Likewise.
9084 * posix/getopt.c: Likewise.
9085 * posix/wordexp.c: Likewise.
9086 * pwd/fgetpwent_r.c: Likewise.
9087 * resolv/Versions: Likewise.
9088 * resolv/res_hconf.c: Likewise.
9089 * shadow/fgetspent_r.c: Likewise.
9090 * shadow/putspent.c: Likewise.
9091 * stdio-common/printf_fphex.c: Likewise.
9092 * stdio-common/tmpfile.c: Likewise.
9093 * stdlib/abort.c: Likewise.
9094 * stdlib/fmtmsg.c: Likewise.
9095 * sunrpc/auth_unix.c: Likewise.
9096 * sunrpc/clnt_perr.c: Likewise.
9097 * sunrpc/clnt_tcp.c: Likewise.
9098 * sunrpc/clnt_udp.c: Likewise.
9099 * sunrpc/clnt_unix.c: Likewise.
9100 * sunrpc/openchild.c: Likewise.
9101 * sunrpc/svc_simple.c: Likewise.
9102 * sunrpc/svc_tcp.c: Likewise.
9103 * sunrpc/svc_udp.c: Likewise.
9104 * sunrpc/svc_unix.c: Likewise.
9105 * sunrpc/xdr.c: Likewise.
9106 * sunrpc/xdr_array.c: Likewise.
9107 * sunrpc/xdr_rec.c: Likewise.
9108 * sunrpc/xdr_ref.c: Likewise.
9109 * sunrpc/xdr_stdio.c: Likewise.
9110
1248c1c4
PB
91112011-09-09 Ulrich Drepper <drepper@gmail.com>
9112
9113 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9114
91152011-07-03 Andreas Jaeger <aj@suse.de>
9116
9117 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
9118 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
9119 regenerate with gen-libm-tests.pl.
9120
91212010-05-12 Petr Baudis <pasky@suse.cz>
9122
9123 [BZ #11589]
9124 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
9125 around j0() zero points by switching to j1().
9126 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9127 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9128 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9129 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9130
f22e1074
UD
91312011-09-09 Ulrich Drepper <drepper@gmail.com>
9132
f19009c1
UD
9133 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
9134 instead of 0.
9135 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
9136 instead of 0. .
9137 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9138 Patch in part by Pavel Roskin <proski@gnu.org>.
9139
3f8cc204
UD
9140 [BZ #13138]
9141 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
9142 realloc.
9143 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
9144 Free memory block if necessary.
9145
f22e1074
UD
9146 [BZ #12847]
9147 * libio/genops.c (INTDEF): For string streams the _lock pointer can
9148 be NULL. Don't lock in this case.
9149
0a2349f9
RM
91502011-09-09 Roland McGrath <roland@hack.frob.com>
9151
9152 * elf/elf.h (ELFOSABI_GNU): New macro.
9153 (ELFOSABI_LINUX): Define to that.
9154
f3cdd467
DZ
91552011-07-29 Denis Zaitceff <zaitceff@gmail.com>
9156
9157 * string/strncat.c (strncat): Undef the symbol in case it has been
9158 defined in bits/string.h.
9159
74718d13
UD
91602011-09-09 Ulrich Drepper <drepper@gmail.com>
9161
633e9e0f
UD
9162 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
9163
0a2349f9 9164 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
9165 link map.
9166
f9924780
AJ
91672011-08-17 Andreas Jaeger <aj@suse.de>
9168
9169 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
9170
7f5517aa
PP
91712011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9172 Ian Lance Taylor <iant@google.com>
9173
9174 * math/libm-test.inc (lround_test): New testcase.
9175 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
9176
762011fe
UD
91772011-09-08 Ulrich Drepper <drepper@gmail.com>
9178
92963737
UD
9179 * Makefile: Remove support for automatic cvs check-ins.
9180 * Makerules: Likewise.
9181 * config.make.in: Likewise.
9182 * configure.in: Likewise.
9183 * intl/Makefile: Likewise.
9184 * locale/Makefile: Likewise.
9185 * po/Makefile: Likewise.
9186 * posix/Makefile: Likewise.
9187 * sysdeps/gnu/Makefile: Likewise.
9188 * sysdeps/mach/hurd/Makefile: Likewise.
9189 * sysdeps/sparc/sparc32/Makefile: Likewise.
9190
b0727fd8
JS
9191 [BZ #13118]
9192 * posix/Makefile (bug-regex32-ENV): Define.
9193 Patch by John Stanley <jpsinthemix@verizon.net>.
9194
a0f33f99
UD
9195 * misc/Makefile (headers): Add bits/select2.h.
9196 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
9197 * misc/bits/select2.h: New file.
9198 * include/bits/select2.h: New file.
9199 * debug/Makefile (routines): Add fdelt_chk.
9200 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
9201 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
9202 FD_ISSET.
9203 * debug/fdelt_chk.c: New file.
9204
762011fe
UD
9205 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
9206 * wcsmbs/test-wmemcmp.c: Likewise.
9207 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 9208 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
9209
92102011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9211
9212 * string/Makefile (strop-tests): Add memcmp.
9213 * string/test-wmemcmp.c: New file.
9214 * string/test-memcmp.c: Add wmemcmp support.
9215
7f513ec8
RM
92162011-09-08 Roland McGrath <roland@hack.frob.com>
9217
0442afb4
RM
9218 [BZ #13153]
9219 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
9220 2011-07-19 change.
9221
7f513ec8
RM
9222 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
9223 garbage value in a __mach_port_mod_refs call in the cases of the
9224 task-self and thread-self ports.
9225
a12b2239
ST
92262011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
9227
9228 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
9229
610f9ab4
AS
92302011-09-08 Andreas Schwab <schwab@redhat.com>
9231
7f513ec8 9232 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 9233
48882a1a
LD
92342011-09-07 Ulrich Drepper <drepper@gmail.com>
9235
b49865be
UD
9236 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
9237
fdc86bc9
UD
9238 * elf/dl-libc.c (dlerror_run): Pass back error code from
9239 dl_catch_error.
9240
c966526a
UD
9241 [BZ #13123]
9242 * elf/dl-load.c (lose): Free l_origin if it is valid.
9243
48882a1a
LD
9244 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
9245 names.
9246 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9247 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9248 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9249 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9250 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9251 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
9252
77a2a8b4
AZ
92532011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9254
9255 * sysdeps/powerpc/fpu/e_hypot.c: New file.
9256 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
9257 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
9258 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
9259 * sysdeps/powerpc/fpu/k_cosf.c: New file.
9260 * sysdeps/powerpc/fpu/k_sinf.c: New file.
9261 * sysdeps/powerpc/fpu/s_cosf.c: New file.
9262 * sysdeps/powerpc/fpu/s_sinf.c: New file.
9263 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
9264 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
9265
24f579d8
AM
92662011-08-15 Alan Modra <amodra@gmail.com>
9267
9268 [BZ #13092]
9269 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
9270 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
9271 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
9272 ppc_mcount to static-only-routines.
9273 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
9274 __mcount_internal.
9275 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
9276 __mcount_internal with usual JUMPTARGET. Remove useless nop.
9277
3d4837df
UD
92782011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
9279
9280 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
9281 for finite and infinity parameters.
9282
22700377
WS
92832011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9284
9285 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
9286 and add nop instructions for throughput optimization.
9287 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9288
5025581e
WS
92892011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
9290
9291 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
9292 aligned copy for power7 with vector-scalar instructions.
9293 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9294
08a300c9
L
92952011-07-24 H.J. Lu <hongjiu.lu@intel.com>
9296
9297 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
9298 AVX check.
9299
59178ef9
AS
93002011-09-07 Andreas Schwab <schwab@redhat.com>
9301
9302 [BZ #13144]
9303 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
9304 last change.
9305
e38ba7ab
UD
93062011-09-07 Ulrich Drepper <drepper@gmail.com>
9307
9308 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9309 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
9310 syscall wrapper around clock_gettime in __vdso_clock_gettime.
9311 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
9312 clock_gettime.
9313
d53a73ac
UD
93142011-09-06 Ulrich Drepper <drepper@gmail.com>
9315
fc8bffcc
UD
9316 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
9317 Forgot to demangle the pointer.
9318
ceaa0c5d
UD
9319 * sysdeps/i386/sysdep.h: Define atom_text_section.
9320 * sysdeps/x86_64/sysdep.h: Likewise.
9321 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
9322 section with atom_text_section.
9323 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9324 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9325 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9326 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9327 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
9328
a77d3c17
UD
9329 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
9330 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
9331 already be defined. Change to take two parameters and don't assign
9332 result to variable. Adjust all users.
9333 Define INTERNAL_GETTIME if not already defined.
9334 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
9335 call.
9336 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
9337 HAVE_CLOCK_GETTIME_VSYSCALL.
9338 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
9339
d53a73ac
UD
9340 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
9341 gettimeofday vsyscall, just use time.
9342
a8f84144
AS
93432011-09-06 Andreas Schwab <schwab@redhat.com>
9344
9345 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
9346 <errno.h>.
9347
ef606249
UD
93482011-09-06 Ulrich Drepper <drepper@gmail.com>
9349
9350 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
9351 syscall on x86-64.
9352 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
9353 syscall.
9354 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
9355 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
9356 syscall if possible.
9357
6585cb60
UD
93582011-09-05 Ulrich Drepper <drepper@gmail.com>
9359
9360 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
9361 e_ident. Don't pass to find_mapsXX.
9362 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
9363
a5f524e4
LD
93642011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9365
9366 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9367 strchr-sse2-no-bsf strrchr-sse2-no-bsf
9368 * sysdeps/x86_64/multiarch/strchr.S: Update.
9369 Check bit_slow_BSF bit.
9370 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9371 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
9372 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
9373
554881ef
UD
93742011-09-05 Ulrich Drepper <drepper@gmail.com>
9375
d96de963
UD
9376 [BZ #13134]
9377 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
9378 before glibc 2.15.
9379 (tryshell): Define.
9380 (__spawni): Change last parameter to be flag. Test
9381 SPAWN_XFLAGS_USE_PATH flag to use path or not.
9382 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
9383 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
9384 * posix/spawni.c: Likewise.
9385 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
9386 * posix/spawnp.c: Likewise. Change normal version to use
9387 SPAWN_XFLAGS_USE_PATH.
9388 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
9389 SPAWN_XFLAGS_TRY_SHELL.
9390
d48e5868
UD
9391 [BZ #13150]
9392 * posix/glob.h: Remove gcc 1.x support.
9393
554881ef
UD
9394 [BZ #13068]
9395 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
9396
693fb948
LD
93972011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9398
9399 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9400 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
9401 strrchr-sse2-bsf
9402 * sysdeps/i386/i686/multiarch/strchr.S: New file.
9403 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
9404 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
9405 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
9406 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
9407 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
9408
1b48c537
UD
94092011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9410
49d42c37
UD
9411 * sysdeps/x86_64/wcscmp.S: New file.
9412
1b48c537
UD
9413 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
9414 wcscmp-c wcscmp-sse2
9415 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
9416 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
9417 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
9418 * wcsmbs/wcscmp.c: Allow renaming.
9419
15c95c5d
DM
94202011-09-05 David S. Miller <davem@davemloft.net>
9421
9422 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
9423 stack slot, rather than the struct return pointer slot.
9424 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
9425 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
9426 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
9427 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
9428
2f0ad8f3
UD
94292011-09-05 Ulrich Drepper <drepper@gmail.com>
9430
d88ae418
UD
9431 * po/ja.po: Update from translation team.
9432
2f0ad8f3
UD
9433 [BZ #13144]
9434 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
9435 kernel in 64-bit binaries.
9436
5f4318d1
DM
94372011-09-01 David S. Miller <davem@davemloft.net>
9438
9439 * elf/elf.h (HWCAP_SPARC_*): Move to..
9440 * sysdeps/sparc/sysdep.h: this new file and add new values.
9441 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
9442 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
9443 _DL_HWCAP_COUNT to 24.
9444 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9445 entries.
9446 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
9447 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
9448 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
9449 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
9450 instead of magic constants.
9451 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9452
3ba57516
DM
94532011-08-31 David S. Miller <davem@davemloft.net>
9454
9455 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
9456 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
9457 Reimplement to do errno handling inline.
9458 (SYSCALL_ERROR_HANDLER): New macro.
9459 (__SYSCALL_STRING): Do not do errno handling in asm.
9460 (__CLONE_SYSCALL_STRING): Delete.
9461 (__INTERNAL_SYSCALL_STRING): Delete.
9462 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
9463 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
9464 (PSEUDO): Reimplement to do errno handling inline.
9465 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
9466 (SYSCALL_ERROR_HANDLER): New macro.
9467 (__SYSCALL_STRING): Do not do errno handling in asm.
9468 (__CLONE_SYSCALL_STRING): Delete.
9469 (__INTERNAL_SYSCALL_STRING): Delete.
9470 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
9471 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
9472 i386.
9473 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
9474 (inline_syscall*): Add 'err' argument.
9475 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
9476 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
9477 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
9478 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
9479
9480 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
9481 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9482
2bc17433
AS
94832011-08-30 Andreas Schwab <schwab@redhat.com>
9484
9485 * elf/rtld.c (dl_main): Relocate objects in dependency order.
9486
fbeb5f4d
JO
94872011-08-29 Jiri Olsa <jolsa@redhat.com>
9488
9489 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
9490 directive.
9491
ad69cc26
DM
94922011-08-24 David S. Miller <davem@davemloft.net>
9493
9494 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
9495
39dd69df
AS
94962011-08-24 Andreas Schwab <schwab@redhat.com>
9497
9498 * elf/Makefile: Add rules to build and run unload8 test.
9499 * elf/unload8.c: New file.
9500 * elf/unload8mod1.c: New file.
9501 * elf/unload8mod1x.c: New file.
9502 * elf/unload8mod2.c: New file.
9503 * elf/unload8mod3.c: New file.
9504
9505 * elf/dl-close.c (_dl_close_worker): Reset private search list if
9506 it wasn't used.
9507
2c0b250a
DM
95082011-08-23 David S. Miller <davem@davemloft.net>
9509
9510 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
9511 subtract stack bias.
9512 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
9513 %sp not %fp in calculations.
9514 (_JMPBUF_UNWINDS_ADJ): Likewise.
9515
22044b48
DM
9516 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
9517 (aio_suspend): Call it to force an exception region around the
9518 AIO_MISC_WAIT() invocation.
9519
2cae4995
AS
95202011-08-23 Andreas Schwab <schwab@redhat.com>
9521
9522 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
9523 backslash.
9524
873a772e
AJ
95252011-07-04 Aurelien Jarno <aurelien@aurel32.net>
9526
9527 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
9528 protection macro.
9529 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
9530 and <dl-machine.h>.
9531 (Elf64_FuncDesc): Remove.
9532
25ad0df1
DM
95332011-08-22 David S. Miller <davem@davemloft.net>
9534
9535 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
9536 sigaltstack check, add missing cfi directives.
9537 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
9538 missing cfi directives, and sigaltstack handling.
9539
e888bcbe
AS
95402011-08-16 Andreas Schwab <schwab@redhat.com>
9541
9542 [BZ #11724]
9543 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
9544 object is seen twice.
9545 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9546
9547 * elf/Makefile (distribute): Add tst-initorder2.c.
9548 (tests): Add tst-initorder2.
9549 (modules-names): Add tst-initorder2a tst-initorder2b
9550 tst-initorder2c tst-initorder2d. Add rules to build them.
9551 ($(objpfx)tst-initorder2.out): New rule.
9552 * elf/tst-initorder2.c: New file.
9553 * elf/tst-initorder2.exp: New file.
9554
87162f46
AS
95552011-08-22 Andreas Schwab <schwab@redhat.com>
9556
70538b7f
AS
9557 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
9558
f55ffe58
AS
9559 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
9560 dependencies back to end of function.
9561
87162f46
AS
9562 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
9563 $(elfobjdir)/ld.so.
9564
91b392a4
UD
95652011-08-21 Ulrich Drepper <drepper@gmail.com>
9566
9567 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
9568 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
9569 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
9570 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
9571 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
9572 of __vdso_gettimeofday.
9573 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
9574 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
9575 attribute_hidden.
9576 (_libc_vdso_platform_setup): Remove initialization of
9577 __vdso_gettimeofday and __vdso_time.
9578
5c43483f
UD
95792011-08-20 Ulrich Drepper <drepper@gmail.com>
9580
775a77e7
UD
9581 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
9582 and fgetc_unlocked.
9583 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
9584 getc_unlocked.
89f447ed 9585
49c74ba9
UD
9586 * elf/dl-open.c (add_to_global): Report additions to the global scope
9587 for LD_DEBUG=scopes.
9588 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 9589 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 9590
5c43483f
UD
9591 [BZ #13114]
9592 * stdio-common/Makefile (tests): Add bug24.
9593 * stdio-common/bug24.c: New file.
9594
a101b025
AJ
95952011-08-19 Andreas Jaeger <aj@suse.de>
9596
9597 [BZ #13114]
9598 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
9599 non-existant file when using close-on-exec mode.
9600
c88f1766
UD
96012011-08-20 Ulrich Drepper <drepper@gmail.com>
9602
0276a718
UD
9603 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
9604 the very first instruction.
9605
c88f1766
UD
9606 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
9607 the CFI state in the end.
9608 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
9609 inclusion of dl-trampoline.h.
9610 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
9611
51ccffa0
AS
96122011-08-19 Andreas Schwab <schwab@redhat.com>
9613
94d7165f
AS
9614 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
9615 expectations for long double.
9616
51ccffa0
AS
9617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
9618 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
9619
fd708658 96202011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
9621
9622 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
9623 artificual limit depends upon the system page size.
9624
44f0a71e
UD
96252011-08-17 Ulrich Drepper <drepper@gmail.com>
9626
9627 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
9628 * resolv/Makefile: Define CFLAGS-libresolv.
9629
8de79a24
AS
96302011-08-17 Andreas Schwab <schwab@redhat.com>
9631
9632 * nss/makedb.c (compute_tables): Make variables used in nested
9633 function static.
9634
27724598
UD
96352011-08-17 Ulrich Drepper <drepper@gmail.com>
9636
c5305d88
UD
9637 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
9638 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
9639 if buffer was too small.
9640
27724598
UD
9641 * elf/pldd.c (main): Attach to all threads in the process.
9642 Rewrite /proc handling to use *at functions.
9643
076fe015
UD
96442011-08-16 Ulrich Drepper <drepper@gmail.com>
9645
174baab3
UD
9646 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
9647 specifies first scope to show.
9648 (dl_open_worker): Update callers. Move printing scope of new
9649 object to before the relocation.
44f0a71e 9650 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
9651 * sysdeps/generic/ldsodefs.h: Update declaration.
9652
076fe015
UD
9653 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
9654 string for the scope number.
9655
a60df2c3
UD
96562011-08-14 Ulrich Drepper <drepper@gmail.com>
9657
9658 * nscd/servicescache.c (cache_addserv): Make sure written is always
9659 initialized.
9660
5e4287d1
RM
96612011-08-14 Roland McGrath <roland@hack.frob.com>
9662
85ae0589
RM
9663 * sysdeps/i386/i486/bits/atomic.h
9664 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
9665 statement expression, so as to suppress "set but not used" warning.
9666 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
9667
69f63097
RM
9668 * string/strncat.c (STRNCAT): Use prototype definition.
9669
675456ef
RM
9670 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
9671 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
9672 -Iprograms here.
9673 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
9674 (localedef-modules): Add localedef.
9675 (locale-modules): Add locale.
9676
5e4287d1
RM
9677 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
9678 * elf/rtld.c (dl_main): Invert order of assignment in last change,
9679 to avoid a warning.
9680
9c96ff23
DM
96812011-08-14 David S. Miller <davem@davemloft.net>
9682
9683 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
9684 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
9685
f9ddf089
UD
96862011-08-13 Ulrich Drepper <drepper@gmail.com>
9687
44f0a71e 9688 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
9689 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
9690 * elf/rtld.c (dl_main): Set l_name of vDSO.
9691 Call _dl_show_scope when DL_DEBUG_SCOPES.
9692 (process_dl_debug): Recognize scopes flag and also set it for all.
9693 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
9694 Declare _dl_show_scope.
9695
1dc27704
UD
9696 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
9697 (do_dlopen): Pass caller_dlopen to dl_open.
9698 (__libc_dlopen_mode): Initialize caller_dlopen.
9699
f9ddf089
UD
9700 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
9701 of libc. Make tolower call locale-independent. Optimize a bit by
9702 using isdigit instead of isalnum.
9703 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
9704
9ac533d3
UD
97052011-08-12 Ulrich Drepper <drepper@gmail.com>
9706
9707 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
9708 was a dependency or dynamically loaded.
9709
89edf2e9
UD
97102011-08-11 Ulrich Drepper <drepper@gmail.com>
9711
8e999d29
UD
9712 * intl/l10nflist.c: Allow architecture-specific pop function.
9713 * sysdeps/x86_64/l10nflist.c: New file.
9714
89edf2e9
UD
9715 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
9716 classification.
9717
14d96785
AS
97182011-08-10 Andreas Schwab <schwab@redhat.com>
9719
9720 * include/dirent.h: Add libc_hidden_proto for scandirat and
9721 scandirat64. Don't declare __scandirat64.
9722 * dirent/scandirat.c: Add libc_hidden_def.
9723 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
9724 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
9725
6761ac04
DM
97262011-08-10 David S. Miller <davem@davemloft.net>
9727
9728 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
9729 enum.
9730 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9731 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9732 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9733
c55fbd1e
UD
97342011-08-09 Ulrich Drepper <drepper@gmail.com>
9735
9736 * Versions.def [libc]: Add GLIBC_2.15.
9737 * dirent/Makefile (routines): Add scandirat and scandirat64.
9738 * dirent/Versions [libc]: Export scandirat and scandirat64 for
9739 GLIBC_2.15.
9740 * dirent/dirent.h: Declare scandirat and scandirat64.
9741 * dirent/scandirat.c: New file.
9742 * dirent/scandirat64.c: New file.
9743 * sysdeps/wordsize-64/scandirat.c: New file.
9744 * sysdeps/wordsize-64/scandirat64.c: New file.
9745 * dirent/opendir.c: Define opendirat.
9746 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
9747 using scandirat.
9748 * dirent/scandir64.c: Adjust for scandir.c change.
9749 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
9750 __scandirat64, and __scandir_cancel_handler.
9751 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
9752 additional parameter and use openat instead of open (outside of ld.so).
9753 Add new __opendir as wrapper around __opendirat.
9754 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
9755 here without requiring old scandirat implementation.
9756
879165f2
UD
97572011-08-08 Ulrich Drepper <drepper@gmail.com>
9758
9759 * dirent/scandir.c (cancel_handler): Renamed to
9760 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
9761 defined. Adjust users.
9762 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
9763 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
9764
cb7e923b
UD
97652011-08-04 Ulrich Drepper <drepper@gmail.com>
9766
16292edd
UD
9767 * string/test-string.h (IMPL): Use __STRING to expand name and then
9768 stringify it.
9769
cb7e923b
UD
9770 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
9771 of cleanups.
9772
cff82933
LD
97732011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9774
9775 * string/Makefile: Update.
9776 (strop-tests): Append strncat.
9777 * string/test-wcscmp.c: New file.
9778 New comprehensive test for wcscmp.
9779 * string/test-strcmp.c: Update.
9780 (WIDE): New define.
9781
9be9bfcc
AS
97822011-07-22 Andreas Schwab <schwab@redhat.com>
9783
9784 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
9785 line.
9786
2e96f1c7
AS
97872011-07-26 Andreas Schwab <schwab@redhat.com>
9788
9789 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9790 encoding to ACE if AI_IDN.
9791
85188888
JJ
97922011-08-01 Jakub Jelinek <jakub@redhat.com>
9793
9794 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
9795 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
9796
5fa16e9b
LD
97972011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9798
9799 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
9800 Fix overflow bug in strncat.
9801 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9802
9803 * string/test-strncat.c: Update.
9804 Add new tests for checking overflow bugs.
9805
98062011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9807
9808 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9809 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
9810 * sysdeps/i386/i686/multiarch/strcat.S: New file.
9811 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
9812 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
9813 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
9814 * sysdeps/i386/i686/multiarch/strncat.S: New file.
9815 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
9816 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
9817
9818 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
9819 (USE_AS_STRCAT): Define.
9820 Add strcat and strncat support.
9821 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9822
8c1a459f
AS
98232011-07-25 Andreas Schwab <schwab@redhat.com>
9824
9825 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
9826 __n bigger than INT_MAX+1.
9827 (__strncmp_g): Likewise.
9828
bba33c28
UD
98292011-07-23 Ulrich Drepper <drepper@gmail.com>
9830
798be72d
UD
9831 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
9832 * libio/stido.h: Likewise.
9833
8accd4dc
UD
9834 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
9835 (AF_NFC): Define.
9836 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
9837 (AF_NFC): Define.
9838
cbff0d96
UD
9839 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
9840 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9841 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9842 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
9843 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9844
9191c04a
UD
9845 [BZ #13021]
9846 * scripts/test-installation.pl: Don't expect libnss_test1 to be
9847 installed.
9848
bba33c28
UD
9849 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
9850 typo.
9851 (_dl_x86_64_save_sse): Likewise.
9852
90f139dd
UD
98532011-07-22 Ulrich Drepper <drepper@gmail.com>
9854
1aae088a
UD
9855 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
9856 OSXSAVE.
9857 (_dl_x86_64_save_sse): Likewise.
9858
8e2045f5
UD
9859 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
9860
90f139dd
UD
9861 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
9862
1d002f25
AS
98632011-07-21 Andreas Schwab <schwab@redhat.com>
9864
9865 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
9866 change.
9867 (_dl_x86_64_save_sse): Use correct AVX check.
9868
21137f89
UD
98692011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9870
9871 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
9872 bug in strncpy/strncat.
9873 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
9874
a65c0b7a
UD
98752011-07-21 Ulrich Drepper <drepper@gmail.com>
9876
9877 * string/tester.c (test_strcat): Add tests for different alignments
9878 of source and destination.
9879 (test_strncat): Likewise.
9880
6986b98a
UD
98812011-07-20 Ulrich Drepper <drepper@gmail.com>
9882
90bb2039
UD
9883 [BZ #12852]
9884 * posix/glob.c (glob): Check passed in values before using them in
9885 expressions to avoid some overflows.
9886 (glob_in_dir): Likewise.
9887
5644ef54
UD
9888 [BZ #13007]
9889 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
9890 check for AVX enablement so that we don't crash with old kernels and
9891 new hardware.
9892 * elf/tst-audit4.c: Add same checks here.
9893 * elf/tst-audit6.c: Likewise.
9894
9895 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 9896
bfc9dc9b
AS
98972011-07-09 Andreas Schwab <schwab@linux-m68k.org>
9898
9899 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
9900
702e64bb
UD
99012011-07-20 Ulrich Drepper <drepper@gmail.com>
9902
9903 * po/cs.po: Update from translation team.
9904 * po/bg.po: Likewise.
9905
295e904f
MP
99062011-07-12 Marek Polacek <mpolacek@redhat.com>
9907
9908 * misc/sys/cdefs.h: Add support for const attribute.
9909 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
9910 to gnu_dev_{major,minor,makedev} functions.
9911
3ff94596
MP
99122011-07-20 Marek Polacek <mpolacek@redhat.com>
9913
9914 * intl/dcigettext.c (get_output_charset): Add missing bracket.
9915
28b59fca
AS
99162011-07-20 Andreas Schwab <schwab@redhat.com>
9917
9918 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
9919 strlen results.
9920
19df733e
AK
99212011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9922
9923 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
9924 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
9925 register in order to avoid conflicts with the soft frame pointer
9926 being held in r11 when necessary.
9927 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
9928 (INTERNAL_VSYSCALL_NCS): Likewise.
9929
c8835729
MP
99302011-07-14 Marek Polacek <mpolacek@redhat.com>
9931
9932 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
9933 * elf/dl-fini.c (_dl_fini): Adjust caller.
9934 * elf/dl-close.c (_dl_close_worker): Likewise.
9935 * sysdeps/generic/ldsodefs.h: Adjust declaration.
9936
b902330c
MP
99372011-07-15 Marek Polacek <mpolacek@redhat.com>
9938
8991e135
MP
9939 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
9940 "aux_cache->nlibs < 0".
9941
b902330c
MP
9942 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
9943 in the reload-count case.
9944
99710781
LD
99452011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9946
9947 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9948 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
9949 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
9950 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
9951 * sysdeps/x86_64/multiarch/strcat.S: New file.
9952 * sysdeps/x86_64/multiarch/strncat.S: New file.
9953 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
9954 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
9955 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
9956 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
9957 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
9958 (USE_AS_STRCAT): Define.
9959 Add strcat and strncat support.
9960 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9961 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9962 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
9963 * string/strncat.c: Update.
9964 (USE_AS_STRNCAT): Define.
9965 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9966 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
9967 and i7.
9968 * sysdeps/x86_64/multiarch/init-arch.h
9969 (bit_Prefer_PMINUB_for_stringop): New.
9970 (index_Prefer_PMINUB_for_stringop): Likewise.
9971 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
9972 bit_Prefer_PMINUB_for_stringop.
9973
7dc6bd90
UD
99742011-07-19 Ulrich Drepper <drepper@gmail.com>
9975
9976 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
9977 buffer64.
9978 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
9979 of casting of buffer.
9980 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
9981 buffer32 and buffer64.
9982 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
9983 writes instead of casting of buffer.
9984 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
9985 buffer32.
9986 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
9987 casting of buffer.
9988
e0e72284
AS
99892011-07-19 Andreas Schwab <schwab@redhat.com>
9990
9991 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
9992
feb1eb0b
UD
99932011-07-19 Ulrich Drepper <drepper@gmail.com>
9994
9995 * nscd/nscd.c (termination_handler): Don't do anything for a database
9996 if it has not yet been initialized.
9997
298711ff
UD
99982011-07-18 Ulrich Drepper <drepper@gmail.com>
9999
10000 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10001
100022011-07-15 Marek Polacek <mpolacek@redhat.com>
10003
10004 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10005
f9d68389
UD
100062011-07-18 Ulrich Drepper <drepper@gmail.com>
10007
10008 * po/nl.po: Update from translation team.
10009 * po/sv.po: Likewise.
10010
db290cf5
RM
100112011-07-16 Roland McGrath <roland@hack.frob.com>
10012
10013 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
10014 now disallowed by GCC.
5c550700 10015
fd5e21c7
RM
10016 * configure.in (use-default-link): Default to yes if a test -shared
10017 link meets our qualifications.
10018 * configure: Regenerated.
10019
5c550700
RM
10020 * config.make.in (output-format): New variable.
10021 * configure.in: Check for ld --print-output-format support.
10022 * configure: Regenerated.
10023 * Makerules ($(common-objpfx)format.lds)
10024 [$(output-format) != unknown]: Just use $(output-format),
10025 instead of the linker-script munging.
10026
9fa2c032
RM
100272011-07-14 Roland McGrath <roland@hack.frob.com>
10028
a6928d51
RM
10029 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
10030 of $(common-objpfx)shlib.lds.
10031 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
10032
661607b3
RM
10033 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
10034 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
10035
9fa2c032
RM
10036 * configure.in (-z relro check): Adjust test code to add a large
10037 writable data section after it.
10038 * configure: Regenerated.
10039
defe9061
RM
100402011-07-11 Roland McGrath <roland@hack.frob.com>
10041
10042 * configure.in (-z relro check): Fix test code to make the variable
10043 truly const.
10044 * configure: Regenerated.
10045
319b9ad4
UD
100462011-07-11 Ulrich Drepper <drepper@gmail.com>
10047
10048 * nscd/nscd.h (struct traced_file): Define.
10049 (struct database_dyn): Remove inotify_descr, reset_res, and filename
10050 elements. Add traced_files.
10051 (inotify_fd): Declare.
10052 (register_traced_file): Declare.
10053 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
10054 (inotify_fd): Export.
10055 (resolv_conf_descr): Remove.
10056 (nscd_init): Move inotify descriptor creation to main.
10057 Don't register files for notification here.
10058 (register_traced_file): New function.
10059 (invalidate_cache): Don't use reset_res to determine whether to call
10060 res_init, go through the list of registered files.
10061 (main_loop_poll): The inotify descriptors are now stored in the
10062 structures for the traced files.
10063 (main_loop_epoll): Likewise
10064 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
10065 to __nss_disable_nscd.
10066 * nscd/cache.c (prune_cache): There is no single inotify descriptor
10067 for a database anymore. Check the records for all the registered
10068 files instead.
10069 * nss/Makefile (libnss_files-routines): Add files-init.
10070 (libnss_db-routines): Add db-init.
10071 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
10072 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
10073 * nss/nss_db/db-init.c: New file.
10074 * nss/nss_files/files-init.c: New file.
10075 * nss/nsswitch.c (nss_load_library): New function. Broken out of
10076 __nss_lookup_function.
10077 (__nss_lookup_function): Call nss_load_library.
10078 (nss_load_all_libraries): New function.
10079 (__nss_disable_nscd): Take parameter with callback function for files
10080 to register. Set is_nscd. Load all the DSOs for the NSS modules
10081 used for the cached services.
10082 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
10083 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
10084 options for features to all the files in nscd.
10085
10086 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
10087
23bee3e8
RM
100882011-07-10 Roland McGrath <roland@hack.frob.com>
10089
10090 * csu/elf-init.c (__libc_csu_init): Comment typo.
10091
46a5b7f0
UD
100922011-07-09 Ulrich Drepper <drepper@gmail.com>
10093
10094 * po/pl.po: Update from translation team.
10095 * po/ja.po: Likewise.
10096 * po/ru.po: Likewise.
10097 * po/ko.po: Likewise.
10098 * po/fr.po: Likewise.
10099
d30cf5bb
RM
101002011-07-09 Roland McGrath <roland@hack.frob.com>
10101
113ddea4
RM
10102 * configure.in (.ctors/.dtors header and trailer check):
10103 Use an empirical test on a built program.
10104 * configure: Regenerated.
10105
574920b4
RM
10106 * configure.in (-z relro check): Use an empirical test on a built DSO.
10107 Detect, but do not require, on ia64.
10108 * configure: Regenerated.
10109
d30cf5bb
RM
10110 * configure.in (READELF): Find it with AC_CHECK_TOOL.
10111 Update tests that use readelf to use $READELF instead.
10112 * configure: Regenerated.
10113
8538fdb3
UD
101142011-07-08 Ulrich Drepper <drepper@gmail.com>
10115
10116 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
10117 if the result is not used.
10118
04d08991
AJ
101192011-07-05 Andreas Jaeger <aj@suse.de>
10120
10121 [BZ#9696]
10122 * stdlib/tst-strtod.c: Add testcase.
10123
de283087
AD
101242011-07-07 Ulrich Drepper <drepper@gmail.com>
10125
4e5f31c8 10126 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 10127 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
10128 The latter has a higher limit. Take additional parameter to pass to
10129 the new function.
10130 (__pathconf): Pass file to __statfs_link_max.
10131 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
10132 __statfs_link_max.
10133 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
10134 __statfs_link_max.
10135
de283087
AD
10136 [BZ #12868]
10137 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
10138 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10139 Handle Lustre.
10140 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
10141 (__statfs_filesize_max): Likewise.
10142 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
10143
c75fa153
AJ
101442011-07-05 Andreas Jaeger <aj@suse.de>
10145
10146 * resolv/res_comp.c (dn_skipname): Remove unused variable.
10147
1a544854
UD
101482011-07-06 Marek Polacek <mpolacek@redhat.com>
10149
10150 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
10151 `status' variable.
10152 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
10153 Likewise.
10154
6f0eec67
UD
101552011-07-04 H.J. Lu <hongjiu.lu@intel.com>
10156
10157 * Makefile (strop-tests): Add strncat.
10158 * string/test-strncat.c: New file.
10159
aae30307
UD
101602011-06-30 Marek Polacek <mpolacek@redhat.com>
10161
10162 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
10163
c0cfb5eb
UD
101642011-06-21 Andreas Jaeger <aj@suse.de>
10165
10166 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
10167 Copy rule from iconvdata/Makefile.
10168
01636b21
UD
101692011-07-06 Ulrich Drepper <drepper@gmail.com>
10170
10171 [BZ #12922]
10172 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
10173 but no long options are defined, just return 'W'.
10174
9895c8bc
UD
101752011-06-22 Marek Polacek <mpolacek@redhat.com>
10176
10177 [BZ #9696]
10178 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
10179
5d4cf042
UD
101802011-07-06 Ulrich Drepper <drepper@gmail.com>
10181
10182 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
10183 netgroups to read.
960e5535 10184 (innetgr): Likewise.
5d4cf042 10185
751eb97e
RM
101862011-07-05 Roland McGrath <roland@hack.frob.com>
10187
10188 * config.make.in (install_root): Default to $(DESTDIR).
10189
f15f1e45
UD
101902011-07-05 Ulrich Drepper <drepper@gmail.com>
10191
10192 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
10193
4e34ac6a
RM
101942011-07-02 Roland McGrath <roland@hack.frob.com>
10195
5e9b6af4
RM
10196 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
10197
84f9ea0f
RM
10198 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
10199 containing directory rather than embedding absolute directory names.
10200
ea5ee9f7
RM
10201 * scripts/check-local-headers.sh: Rewritten using awk.
10202 Match by word, not by line. Print error messages for matches.
10203 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
10204
1b74661a
RM
10205 * Makerules [shlib-lds-flags empty]:
10206 ($(common-objpfx)libc_pic.opts): New target.
10207 ($(common-objpfx)libc_pic.os.clean): New target.
10208 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
10209
10210 * config.make.in (OBJCOPY): New variable.
10211 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
10212 * configure: Regenerated.
10213
f781ef40
RM
10214 * config.make.in (use-default-link): New variable.
10215 * configure.in (use_default_link): Grok --with-default-link to set it.
10216 * configure: Regenerated.
10217 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
10218 (shlib-lds, shlib-lds-flags): Define to empty.
10219
2d4fa81e
RM
10220 * Makerules (shlib-lds): New variable.
10221 (shlib-lds-flags): New variable.
10222 (build-shlib, build-moduile, build-module-asneeded): Use it.
10223 ($(common-objpfx)libc.so): Use $(shlib-lds).
10224 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
10225 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
10226
31fffa6b
RM
10227 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
10228 DT_FLAGS/DT_FLAGS_1 with zero flags.
10229
4e34ac6a
RM
10230 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
10231 linker script munging.
10232
fcfc776b
UD
102332011-07-02 Ulrich Drepper <drepper@gmail.com>
10234
10235 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
10236 as 128-bit value.
10237 * crypt/sha512.c (sha512_process_block): Perform total addition using
10238 128-bit if possible.
10239 (__sha512_finish_ctx): Likewise.
10240 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
10241 as 64-bit value.
10242 * crypt/sha256.c (SWAP64): Define.
10243 (sha256_process_block): Perform total addition using 64-bit if
10244 possible.
10245 (__sha256_finish_ctx): Likewise.
10246
99231d9a
UD
102472011-07-01 Ulrich Drepper <drepper@gmail.com>
10248
10249 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
10250 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10251 * nscd/hstcache.c (cache_addhst): Likewise.
10252 * nscd/grpcache.c (cache_addgr): Likewise.
10253 * nscd/aicache.c (addhstaiX): Likewise
10254 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
10255
445b4a53
TK
102562011-07-01 Thorsten Kukuk <kukuk@suse.de>
10257
10258 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
10259 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10260 * nscd/hstcache.c (cache_addhst): Likewise.
10261 * nscd/grpcache.c (cache_addgr): Likewise.
10262 * nscd/aicache.c (addhstaiX): Likewise
10263
6d4d8e8e
AS
102642011-07-01 Andreas Schwab <schwab@redhat.com>
10265
10266 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
10267 domain only when needed.
10268
89f654c5
AS
102692011-06-30 Andreas Schwab <schwab@redhat.com>
10270
10271 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
10272 is always restored.
10273
cf3b23ff
UD
102742011-06-29 Ulrich Drepper <drepper@gmail.com>
10275
10276 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
10277 are re-adding the entry.
10278 * nscd/servicescache.c (cache_addserv): Likewise.
10279
751626f9
AJ
102802011-06-30 Aurelien Jarno <aurelien@aurel32.net>
10281
10282 * sysdeps/generic/dl-irel.h: fix protection against multiple
10283 inclusions.
10284 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
10285
9113ea1f
UD
102862011-06-28 Ulrich Drepper <drepper@gmail.com>
10287
5c0b8d90
UD
10288 [BZ #12935]
10289 * malloc/memusage.sh: Fix quoting in message.
10290 * debug/xtrace.sh: Likewise.
10291
9113ea1f
UD
10292 * configure.in: Remove support for --experimental-malloc option, make
10293 it the default.
10294 * config.make.in: Likewise.
10295 * malloc/Makefile: Likewise.
10296
a4172181
AS
102972011-06-27 Andreas Schwab <schwab@redhat.com>
10298
10299 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
10300 two-byte characters.
10301
78a7eee7
RM
103022011-06-27 Roland McGrath <roland@hack.frob.com>
10303
62bede13
RM
10304 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
10305 AC_CACHE_CHECK invocation.
10306 * configure: Regenerated.
10307
78a7eee7
RM
10308 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
10309
5ce33a62
UD
103102011-06-27 Ulrich Drepper <drepper@gmail.com>
10311
034807a9
UD
10312 [BZ #12350]
10313 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
10314 bit from old_res_options.
10315
4902da17
UD
10316 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
10317
5ce33a62
UD
10318 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
10319 value type for setfct.
10320
c2344f56
L
103212011-06-23 H.J. Lu <hongjiu.lu@intel.com>
10322
10323 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10324 __gettimeofday instead of gettimeofday.
10325
68468076
UD
103262011-06-26 Ulrich Drepper <drepper@gmail.com>
10327
10328 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
10329
acb0d739
L
103302011-06-24 H.J. Lu <hongjiu.lu@intel.com>
10331
10332 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
10333
10334 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
10335 info.
10336
8912479f
L
103372011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10338
10339 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10340 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10341 strcpy-sse2-unaligned strncpy-sse2-unaligned
10342 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
10343 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
10344 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
10345 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
10346 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
10347 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
10348 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
10349 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
10350 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
10351 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
10352 (STRCPY): Support SSE2 and SSSE3 versions.
10353
d5495a11
UD
103542011-06-24 Ulrich Drepper <drepper@gmail.com>
10355
10356 [BZ #12874]
10357 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
10358 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
10359 kernels which artificially limit size of requests.
10360
0b1cbaae
L
103612011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10362
10363 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10364 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10365 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
10366 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
10367 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
10368 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
10369 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
10370 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
10371 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
10372 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
10373 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
10374 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
10375 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
10376 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
10377 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
10378 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10379 Enable unaligned load optimization for Intel Core i3, i5 and i7
10380 processors.
10381 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
10382 Define.
10383 (index_Fast_Unaligned_Load): Define.
10384 (HAS_FAST_UNALIGNED_LOAD): Define.
10385
07f494a0
MP
103862011-06-23 Marek Polacek <mpolacek@redhat.com>
10387
10388 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
10389
fa3fc0fe
UD
103902011-06-22 Ulrich Drepper <drepper@gmail.com>
10391
10392 [BZ #12907]
10393 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
10394 until it is clear that the information is realy needed.
10395 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
10396
e12df166
AS
103972011-06-22 Andreas Schwab <schwab@redhat.com>
10398
10399 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
10400
852eb34d
UD
104012011-06-22 Ulrich Drepper <drepper@gmail.com>
10402
84e2a551
UD
10403 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10404 /sys/devices/system/cpu/online if it is usable.
10405
852eb34d
UD
10406 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
10407 reading the information from the /proc filesystem to once a second.
10408
6e502e19
UD
104092011-06-21 Andreas Jaeger <aj@suse.de>
10410
10411 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
10412 NULL after inclusion of kernel headers.
10413
75d39ff2
UD
104142011-06-21 Ulrich Drepper <drepper@gmail.com>
10415
51f9aa6a
UD
10416 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
10417 calls to internal_setent.
10418
c0244a9d
UD
10419 [BZ #12885]
10420 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
10421 addresses using gethostbyname4_r ignore IPv4 addresses.
10422
c5e3c2ae
UD
10423 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
10424 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
10425
75d39ff2
UD
10426 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
10427
42675c6f
DM
104282011-06-20 David S. Miller <davem@davemloft.net>
10429
10430 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
10431 inclusions.
10432 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
10433
10434 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
10435 (elf_irel): Use it.
10436 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
10437 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
10438 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
10439 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
10440 * sysdeps/x86_64/dl-irel.h: Likewise.
10441
10442 * elf/dl-runtime.c: Use elf_ifunc_invoke.
10443 * elf/dl-sym.c: Likewise.
10444
57912a71
UD
104452011-06-15 Ulrich Drepper <drepper@gmail.com>
10446
10447 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
10448 need to dereference resplen2.
10449
ee22793d
AS
104502011-06-14 Andreas Schwab <schwab@redhat.com>
10451
10452 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
10453
a9e836b0
UD
104542011-06-15 Ulrich Drepper <drepper@gmail.com>
10455
77fb9117
UD
10456 * Makeconfig: Define vardbdir and inst_vardbdir.
10457 * nss/Makefile: Add rules to install db-Makefile.
10458
40c1b22c
UD
10459 * nss/nss_db/db-XXX.c: Cleanup.
10460
9f2da732
UD
10461 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
10462 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
10463 GLIBC_PRIVATE.
10464 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
10465 * nss/makedb.c: Implement -g option to specify that value strings
10466 are generated and should not be added to table iterated over for
10467 get*ent calls.
10468 * nss/nss_db/db-initgroups.c: New file.
10469
82e9a1f7
UD
10470 * nss/getent.c: Add support for initgroups lookups through getgrouplist
10471 interface.
10472
c41af17e
UD
10473 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
10474 (internal_getgrouplist): Adjust to name change.
10475 Update use_initgroups_entry if this is not the first call.
10476 * nss/databases.def: Add initgroups entry.
10477
a9e836b0
UD
10478 * nss/makedb.c (compute_tables): Check result of multiple hash table
10479 sizes to minimize maximum chain length.
10480
2666d441
UD
104812011-06-14 Ulrich Drepper <drepper@gmail.com>
10482
10483 * Versions.def: Add entry for libnss_db.
10484 * shlib-versions: Likewise.
10485 * nss/Makefile: Add rules to build libnss_db.
10486 * nss/Versions: Add libnss_db information. Organize libnss_files
10487 entries better.
10488 * nss/db-Makefile: Add gshadow support. Change rules for the new
10489 makedb progra. Some minor improvements to generate smaller files.
10490 * nss/nss_db/nss_db.h: Move NSS database header data structures to
10491 here from...
10492 * nss/makedb.c: ...here.
10493 Improve database format to be smaller and require less memory at
10494 runtime.
10495 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
10496 db anymore.
10497 * nss/nss_db/db-netgrp.c: Likewise.
10498 * nss/nss_db/db-open.c: Likewise.
10499 * nss/nss_files/flies-XXX.x: Adjust comments.
10500 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
10501 * nss/nss_files/files-grp.c: Likewise.
10502 * nss/nss_files/files-hosts.c: Likewise.
10503 * nss/nss_files/files-network.c: Likewise.
10504 * nss/nss_files/files-proto.c: Likewise.
10505 * nss/nss_files/files-pwd.c: Likewise.
10506 * nss/nss_files/files-rpc.c: Likewise.
10507 * nss/nss_files/files-service.c: Likewise.
10508 * nss/nss_files/files-sgrp.c: Likewise.
10509 * nss/nss_files/files-spwd.c: Likewise.
10510 * nss/nss_db/db-alias.c: Removed.
10511 * nss/nss_db/dummy-db.h: Removed.
10512
9ee76b5a
UD
105132011-06-02 Ulrich Drepper <drepper@gmail.com>
10514
10515 * nss/makedb.c: Rewritten to not use database library.
10516 * nss/Makefile: Update to build new makedb program.
10517
c71ca1f8
AJ
105182011-06-14 Andreas Jaeger <aj@suse.de>
10519
10520 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
10521 memset declaration.
10522
3154bfb8
UD
105232011-06-10 Andreas Schwab <schwab@redhat.com>
10524
10525 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
10526 tmpbuf.
10527
b350afab
RM
105282011-06-10 Roland McGrath <roland@hack.frob.com>
10529
decd4e50
RM
10530 * Makerules (shlib.lds): Fail if the linker script comes out empty.
10531 * elf/Makefile ($(objpfx)ld.so): Likewise.
10532
5615eaf2
RM
10533 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
10534 Don't list ld.so twice in dependencies.
10535
10536 * posix/bug-regex31.c: Include <stdlib.h>.
10537
10538 * nscd/hstcache.c (cache_addhst): Remove unused variable.
10539
10540 * nis/nss_compat/compat-spwd.c
10541 (getspent_next_nss_netgr): Remove unused variable.
10542 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
10543
10544 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
10545 nonmembers" output to use the right array.
10546
10547 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
10548
10549 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
10550
10551 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
10552 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
10553 * catgets/gencat.c (read_input_file): Likewise.
10554 * locale/programs/locarchive.c (enlarge_archive): Likewise.
10555
10556 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
10557 variable definition inside #if's controlling its use.
10558
10559 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
10560
10561 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
10562
10563 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
10564
10565 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
10566 unreachable code.
10567
10568 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
10569
b68e08db
RM
10570 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
10571 * configure: Regenerated.
10572
b350afab
RM
10573 * Makerules: Revert last change.
10574 * elf/Makefile: Likewise.
10575
28368601
RM
105762011-06-09 Roland McGrath <roland@hack.frob.com>
10577
10578 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
10579 * elf/Makefile ($(objpfx)librtld.os): Likewise.
10580 (reloc-link): Likewise.
10581
11988f8f
UD
105822011-06-09 Ulrich Drepper <drepper@gmail.com>
10583
10584 * elf/Makefile: Add rules to build pldd.
10585 * elf/pldd.c: New file.
10586 * elf/pldd-xx.c: New file.
10587
e80fab37
UD
105882011-06-07 Ulrich Drepper <drepper@gmail.com>
10589
10590 * version.h: Update for 2.15 development version.
10591
9b849836
DM
105922011-06-07 David S. Miller <davem@davemloft.net>
10593
10594 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
10595 ifuncs.
10596 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
10597 elf_machine_lazy_rel): Likewise.
10598 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10599 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
10600 elf_machine_lazy_rel): Likewise.
10601 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
10602 dl_hwcap via passed in argument.
10603 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
10604 Likewise.
10605
5a31b283
AK
106062011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10607
10608 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
10609
069e52f8
RM
106102011-06-06 Roland McGrath <roland@hack.frob.com>
10611
10612 [BZ #12849]
10613 * manual/fdl-1.1.texi: New file, verbatim from:
10614 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
10615 * manual/lgpl-2.1.texi: New file, verbatim from:
10616 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
10617 * manual/Makefile (licenses): New variable, list those new file names.
10618 (texis): Use it.
10619 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
10620
10621 * manual/fdl.texi: File removed.
10622 * manual/lesser.texi: File removed.
10623 * manual/libc.texinfo (Copying, Documentation License):
10624 Use new @include file names, put @appendix directive before @include.
10625
f16846a5
JJ
106262011-06-04 Jakub Jelinek <jakub@redhat.com>
10627
10628 [BZ #12841]
10629 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
10630 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
10631 (mq_open): Add __NTH.
10632
3d29045b
L
106332011-06-02 H.J. Lu <hongjiu.lu@intel.com>
10634
10635 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10636 Assume Intel Core i3/i5/i7 processor if AVX is available.
10637
8c297311
UD
106382011-05-31 Ulrich Drepper <drepper@gmail.com>
10639
10640 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10641 typo.
10642
c8fc0c91
UD
106432011-05-31 Andreas Schwab <schwab@redhat.com>
10644
10645 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
10646 memory. Use alloca_account. Fix memory leak when retrying.
10647
5b27a807
UD
106482011-05-31 Ulrich Drepper <drepper@gmail.com>
10649
356f8bc6
UD
10650 * version.h (RELEASE): Bump for 2.14 release.
10651 * include/features.h (__GLIBC_MINOR__): Bump to 14.
10652
5b27a807
UD
10653 * config.make.in (RANLIB): Remove entry.
10654
01f16ab0
UD
106552011-05-30 Ulrich Drepper <drepper@gmail.com>
10656
41fce8bd
UD
10657 * po/Makefile (po-sed-cmd): Add ksh to extensions.
10658 (libc.pot): Work around missing support for .ksh extension in xgettext.
10659
4769ae77
UD
10660 [BZ #12684]
10661 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
10662 if both request failed.
10663 (send_dg): In case of server errors clear resplen or *resplen2.
10664
6b1e7d19
UD
10665 [BZ #12454]
10666 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
10667 when there are multiple maps.
10668 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
10669 (_dl_fini): Remove test here.
10670
01f16ab0
UD
10671 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
10672
b1ebd700
UD
106732011-05-29 Ulrich Drepper <drepper@gmail.com>
10674
7ae22829
UD
10675 [BZ #12350]
10676 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
10677 bit from old_res_options.
10678 (gaih_inet): Likewise.
10679
553149f6 10680 [BZ #11099]
18a84741 10681 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
10682 as signed.
10683
652ffab1
UD
10684 * resolv/res_init.c (res_setoptions): Make the code more compact.
10685
16985fd0
UD
10686 [BZ #11558]
10687 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
10688 set RES_USEVC.
10689
0464f746
UD
10690 [BZ #11634]
10691 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
10692
7d17596c
UD
10693 * malloc/malloc.h: Mark malloc hook variables as deprecated.
10694
cf6bbbd7
UD
10695 [BZ #11781]
10696 * malloc/malloc.h: Declare malloc hook variables as volatile.
10697
13f1ab36
UD
10698 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
10699 in last patch.
10700
b1ebd700
UD
10701 [BZ #11799]
10702 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 10703 raise in the comment.
80e2212d
UD
10704 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10705 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10706 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 10707
ce67228d
UD
107082011-05-28 Ulrich Drepper <drepper@gmail.com>
10709
8887a920
UD
10710 [BZ #12811]
10711 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
10712 grow the buffers more if it already has to be sufficient.
10713 (build_wcs_upper_buffer): Likewise.
10714 * posix/regexec.c (check_matching): Likewise.
10715 (clean_state_log_if_needed): Likewise.
10716 (extend_buffers): Don't enlarge buffers beyond size of the input
10717 buffer.
10718 Patches mostly by Emil Wojak <emil@wojak.eu>.
10719 * posix/bug-regex32.c: New file.
10720 * posix/Makefile (tests): Add bug-regex32.
10721
4f031072
UD
10722 * locale/findlocale.c (_nl_find_locale): Return right away if
10723 _nl_explode_name failed.
10724 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
10725
d0478f0c
UD
10726 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
10727
de81b246
UD
10728 * debug/xtrace.sh: Unify messages.
10729 * malloc/memusage.sh: Likewise.
10730
c738465a
UD
10731 [BZ #12813]
10732 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
10733 time symbol from vDSO. Substitute with vsyscall if not available.
10734 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
10735 __vdso_time.
10736
f1f929d7
UD
10737 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
10738 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
10739 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
10740 Add sendmmsg and internal_sendmmsg.
10741 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
10742 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
10743 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
10744
ce67228d
UD
10745 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
10746 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
10747 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
10748
e57420c6
UD
107492011-05-27 Ulrich Drepper <drepper@gmail.com>
10750
a8509ca5
UD
10751 [BZ #12813]
10752 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
10753 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
10754 available.
10755 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
10756 __vdso_getcpu.
10757
e57420c6
UD
10758 [BZ #12814]
10759 * iconvdata/Makefile (tests): Add bug-iconv9.
10760 * iconvdata/bug-iconv9.c: New file.
10761
4d07db15
AS
107622011-05-27 Andreas Schwab <schwab@redhat.com>
10763
10764 [BZ #12814]
10765 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
10766
ea486f69
JJ
107672011-05-25 Jakub Jelinek <jakub@redhat.com>
10768
10769 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10770 (struct user_regs_struct): Change intcs field back to cs.
10771
6f038433
UD
107722011-05-25 Ulrich Drepper <drepper@gmail.com>
10773
10774 * po/ja.po: Update from translation team.
10775
67f86a25
UD
107762011-05-23 Ulrich Drepper <drepper@gmail.com>
10777
10778 [BZ #12795]
10779 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
10780 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
10781
def7fbd6
AS
107822011-05-20 Andreas Schwab <schwab@redhat.com>
10783
10784 * stdlib/longlong.h: Update from GCC.
10785
f50ef8f1
AS
107862011-05-23 Andreas Schwab <schwab@redhat.com>
10787
10788 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
10789 parameter name.
10790 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
10791 Add parameter name.
10792 (__sysconf): Pass it down.
10793
de7ce8f1
UD
107942011-05-22 Ulrich Drepper <drepper@gmail.com>
10795
f2962a71
UD
10796 [BZ #12671]
10797 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
10798 some situations.
10799 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10800 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
10801 add in in __libc_use_alloca calls. Adjust callers.
10802 (glob): Use malloc in some situations.
10803
de7ce8f1
UD
10804 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
10805 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
10806 pltexit.
10807
aec84f53
UD
108082011-05-21 Ulrich Drepper <drepper@gmail.com>
10809
05bb4a68
UD
10810 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
10811 and CLOCK_BOOTTIME_ALARM.
10812
7ea72f99
UD
10813 [BZ #12782]
10814 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
10815 is returned.
10816
7e4afad5
UD
10817 * string/_strerror.c (__strerror_r): Print negative errors as signed
10818 numbers.
10819
8e211fec
UD
10820 [BZ #12777]
10821 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
10822 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
10823 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
10824
f7d82dc9
UD
10825 * configure.in: Fix typo in redirection and correct removal of test
10826 files in two cases.
10827
cc9e536d
UD
10828 [BZ #12788]
10829 * locale/setlocale.c (new_composite_name): Fix test to check for
10830 identical name of all categories.
10831
aec84f53
UD
10832 [BZ #12792]
10833 * libio/filedoalloc.c (local_isatty): New function.
10834 (_IO_file_doallocate): Use local_isatty.
10835 * stdio-common/perror.c (perror): In case a new stream is used
10836 forward the stream error.
10837 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
10838 error flag.
10839
78e64fdc
RT
108402011-05-20 Ulrich Drepper <drepper@gmail.com>
10841
34a9094f
UD
10842 [BZ #11869]
10843 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
10844 alloca.
10845 * include/alloca.h (extend_alloca_account): Define.
10846
78e64fdc
RT
10847 [BZ #11857]
10848 * posix/regex.h: Fix comments with documentation of user-accessible
10849 fields after compilation and describe correct free'ing of pattern
10850 after re_compile_pattern.
10851 Patch by Reuben Thomas <rrt@sc3d.org>.
10852
457bddfc
RA
108532011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
10854
10855 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
10856 and -mno-altivec to prevent the compiler from using Altivec and/or
10857 VSX instructions when the corresponding registers are not available.
10858
a4527b51
AS
108592011-05-19 Andreas Schwab <schwab@redhat.com>
10860
10861 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
10862
ed690b2f
UD
108632011-05-19 Ulrich Drepper <drepper@gmail.com>
10864
10865 * libio/freopen.c (freopen): Use __dup2, not dup2.
10866 * libio/freopen64.c (freopen64): Likewise.
10867
8db73634
L
108682011-05-17 H.J. Lu <hongjiu.lu@intel.com>
10869
10870 [BZ #12775]
10871 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
10872 * math/Makefile (tests): Add test-powl.
10873 (CFLAGS-test-powl.c): Define.
10874 * math/test-powl.c: New file.
10875
0a197a9d
L
108762011-05-16 H.J. Lu <hongjiu.lu@intel.com>
10877
10878 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
10879
ee30c380
UD
108802011-05-17 Ulrich Drepper <drepper@gmail.com>
10881
10882 [BZ #11837]
10883 * iconvdata/gb18030.c: Update to GB18020-2005.
10884
6ce75379
UD
108852011-05-16 Ulrich Drepper <drepper@gmail.com>
10886
a4b89fd8
AR
10887 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
10888 RE_SYNTAX_POSIX_AWK): Update to match recent development.
10889 Patch by Aharon Robbins <arnold@skeeve.com>.
10890
ea389b12
UD
10891 [BZ #11892]
10892 * stdlib/putenv.c (putenv): Don't always create copy of the variable
10893 on the stack.
10894
68a3f91f
UD
10895 [BZ #11895]
10896 * misc/pselect.c (__pselect): Handle timeout value errors hidden
10897 through underflows.
10898
15cc7dd1
UD
10899 [BZ #12766]
10900 * misc/error.c (error_at_line): Ensure file_name and old_file_name
10901 point to strings before performing equality test for error_one_per_line
10902 mode.
10903
f3799213
UD
10904 [BZ #11697]
10905 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
10906
d79a9c94
UD
10907 [BZ #11820]
10908 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10909 (struct user_fpregs_struct): Avoid __uint*_t types.
10910
56e5eb46
UD
10911 [BZ #6420]
10912 * malloc/mtrace.c (tr_where): Add additional parameter to point to
10913 symbol info. Use it instead of calling _dl_addr locally.
10914 (lock_and_info): New function.
10915 (tr_freehook): Call lock_and_info and pass symbol info as additional
10916 parameter to tr_where.
10917 (tr_mallochook): Likewise.
10918 (tr_reallochook): Likewise.
10919 (tr_memalignhook): Likewise.
10920
6ce75379
UD
10921 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
10922 used and couldn't be at all thread-safe.
10923
f8a3b5bf
UD
109242011-05-15 Ulrich Drepper <drepper@gmail.com>
10925
94b7cc37
UD
10926 * libio/freopen.c (freopen): Don't close old file descriptor
10927 before the new one is opened. Instead dup the new file descriptor
10928 to the old one after the new stream is created.
10929 * libio/freopen64.c (freopen64): Likewise.
10930 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
10931 * libio/fileops.c (_IO_new_file_close_it): Handle new
10932 _IO_FLAGS2_NOCLOSE flag.
10933 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
10934 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
10935 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
10936 _IO_FLAGS2_NOCLOSE flag.
10937 * include/unistd.h: Add hidden_proto for dup3.
10938 Define __have_dup3.
10939 * io/dup3.c: Define hidden symbol.
10940 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
10941
bd25564e
UD
10942 [BZ #7101]
10943 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
10944 when an incomplete long option is used.
10945 * posix/tst-getopt_long1.c: New file.
10946 * posix/Makefile (tests): Add tst-getopt_long1.
10947
c84cfef4
UD
10948 [BZ #10138]
10949 * scripts/config.guess: Update from autoconf-2.68.
10950 * scripts/config.sub: Likewise.
10951
3b85df27
UD
10952 [BZ #10157]
10953 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
10954 tests into ...
10955 (has_cpuclock): ...this. New function.
10956 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
10957 macro here based on has_cpuclock code.
10958
15a856b1
UD
10959 [BZ #10149]
10960 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10961 First byte (not low byte) is now always NUL.
10962 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
10963
05f399e6
UD
10964 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10965 Use non-cancelable interfaces.
10966
10a52685 10967 [BZ #9809]
94ecc67d
UD
10968 * locale/iso-639.def: Add entry for Sorani.
10969
f8a3b5bf
UD
10970 [BZ #11901]
10971 * include/stdlib.h: Move include protection to the right place.
10972 Define abort_msg_s. Declare __abort_msg with it.
10973 * stdlib/abort.c (__abort_msg): Adjust type.
10974 * assert/assert.c (__assert_fail_base): New function. Majority
10975 of code from __assert_fail. Allocate memory for __abort_msg with
10976 mmap.
10977 (__assert_fail): Now call __assert_fail_base.
10978 * assert/assert-perr.c: Remove bulk of implementation. Use
10979 __assert_fail_base.
10980 * include/assert.hL Declare __assert_fail_base.
10981 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
10982 mmap.
10983 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
10984
1af4e298
UD
109852011-05-14 Ulrich Drepper <drepper@gmail.com>
10986
f8a3b5bf 10987 [BZ #11952]
d26dfc60
MG
10988 [BZ #12453]
10989 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
10990 until all modules are registered in the DTV.
10991 * elf/Makefile: Add rules to build and run tst-tls19.
10992 * elf/tst-tls19.c: New file.
10993 * elf/tst-tls19mod1.c: New file.
10994 * elf/tst-tls19mod2.c: New file.
10995 * elf/tst-tls19mod3.c: New file.
10996 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
10997
2fc54d6f
UD
10998 [BZ #12083]
10999 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
11000 correctly.
11001
98d76b46
UD
11002 [BZ #12601]
11003 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
11004 two-byte sequence errors.
11005 * iconvdata/Makefile (tests): Add bug-iconv8.
11006 * iconvdata/bug-iconv8.c: New file.
11007
da3c19ef
UD
11008 [BZ #12626]
11009 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
11010 buf2 definition.
11011
ca408c15
UD
11012 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
11013
d6f67f7d
UD
11014 [BZ #12432]
11015 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
11016 (dummy_getcfa): New function.
11017 (init): Get _Unwind_GetCFA address, use dummy if not found.
11018 (backtrace_helper): In recursion check, also check whether CFA changes.
11019 (__backtrace): Completely initialize arg.
11020
1af4e298 11021 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
11022 storing incomplete byte sequence in state object. Avoid testing for
11023 guaranteed too small input if we know there is enough data available.
1af4e298 11024
da62f81b
AS
110252011-05-11 Andreas Schwab <schwab@redhat.com>
11026
11027 * Makeconfig (+link-pie): Indent.
11028 * Rules (binaries-pie): Define if $(have-fpie) and
11029 $(build-shared).
11030 (binaries-shared): Also filter out $(binaries-pie).
11031 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
11032 * nscd/Makefile (others-pie): Add nscd.
11033 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
11034 ($(objpfx)nscd): Remove command override.
11035 * login/Makefile (others-pie): Add pt_chown.
11036 ($(objpfx)pt_chown): Remove command override.
11037 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
11038 remove command overrides.
11039
fcabc0f8
UD
110402011-05-13 Ulrich Drepper <drepper@gmail.com>
11041
20030ae6
UD
11042 * libio/tst_putwc.c: Fix error messages.
11043
fcabc0f8
UD
11044 [BZ #12724]
11045 * libio/fileops.c (_IO_new_file_close_it): Always flush when
11046 currently writing and seek to current position when not.
11047 * libio/Makefile (tests): Add bug-fclose1.
11048 * libio/bug-fclose1.c: New file.
11049
320a5dc0
PB
110502011-05-12 Ulrich Drepper <drepper@gmail.com>
11051
11052 [BZ #12511]
11053 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
11054 don't set DF_1_NODELETE here.
11055 (do_lookup_x): When entering new entry test for copy relocation
11056 and if necessary set DF_1_NODELETE flag.
11057 * elf/tst-unique4.cc: New file.
11058 * elf/tst-unique4.h: New file.
11059 * elf/tst-unique4lib.cc: New file.
11060 * elf/Makefile: Add rules to build and run tst-unique4.
11061 Patch by Piotr Bury <pbury@goahead.com>.
11062
22836f52
UD
110632011-05-11 Ulrich Drepper <drepper@gmail.com>
11064
f574184a
UD
11065 [BZ #12052]
11066 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
11067
e1fb097f
UD
11068 [BZ #12625]
11069 * misc/mntent_r.c (addmntent): Flush the stream after the output
11070
22836f52
UD
11071 [BZ #12393]
11072 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
11073 (is_trusted_path_normalize): Skip initial colon. Append slash
11074 to empty buffer. Duplicate is_trusted_path code but allow
11075 constructed patch to be prefix.
11076 (is_dst): Allow $ORIGIN followed by /.
11077 (_dl_dst_substitute): Correct clearing of check_for_trusted.
11078 Correct testing of result of is_trusted_path_normalize
11079 (decompose_rpath): Fix warning.
11080
7b3b0b2a
UD
110812011-05-10 Ulrich Drepper <drepper@gmail.com>
11082
11083 [BZ #11257]
11084 * grp/initgroups.c (internal_getgrouplist): When we found the service
11085 list through the initgroups entry in nsswitch.conf do not always
11086 continue on a successful lookup. Don't always use the
eac80ce2 11087 __nss_group_database value if it is set.
7b3b0b2a
UD
11088 * nss/nsswitch.conf (initgroups): Change action for successful db
11089 lookup to continue for compatibility.
11090
2a81eaa5
UD
110912011-05-09 Ulrich Drepper <drepper@gmail.com>
11092
be97a69e
UD
11093 [BZ #11532]
11094 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
11095 and CP774 modules.
11096 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
11097 and CP774 modules.
11098 * iconvdata/tst-tables.sh: Likewise.
11099 * iconvdata/cp770.c: New file.
11100 * iconvdata/cp771.c: New file.
11101 * iconvdata/cp772.c: New file.
11102 * iconvdata/cp773.c: New file.
11103 * iconvdata/cp774.c: New file.
11104 * iconvdata/testdata/CP770: New file.
11105 * iconvdata/testdata/CP770..UTF8: New file.
11106 * iconvdata/testdata/CP771: New file.
11107 * iconvdata/testdata/CP771..UTF8: New file.
11108 * iconvdata/testdata/CP772: New file.
11109 * iconvdata/testdata/CP772..UTF8: New file.
11110 * iconvdata/testdata/CP773: New file.
11111 * iconvdata/testdata/CP773..UTF8: New file.
11112 * iconvdata/testdata/CP774: New file.
11113 * iconvdata/testdata/CP774..UTF8: New file.
11114
11115 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
11116 END CHARMAP line.
11117 * iconvdata/gen-8bit-gap.sh: Likewise.
11118 * iconvdata/gen-8bit.sh: Likewise.
11119
c1e9e399
UD
11120 * locale/iso-639.def: Add ary entry.
11121
24c55fb3 11122 [BZ #11258]
96b4b1b0
UD
11123 * locale/C-translit.h.in: Add U20A1 transliteration.
11124
bdc2f971
KB
11125 [BZ #12178]
11126 * locale/iso-639.def: Add wae entry.
11127 Patch by Kevin Bortis <bortis@translate-wae.ch>.
11128
2952b117
UD
11129 [BZ #12545]
11130 * locale/programs/localedef.c (construct_output_path): Use ssize_t
11131 for n.
11132
2a81eaa5
UD
11133 [BZ #12711]
11134 * locale/C-translit.h.in: Add entry for U20B9.
11135 Patch by pravin.d.s@gmail.com.
11136
28377d1b
UD
111372011-05-08 Ulrich Drepper <drepper@gmail.com>
11138
7fb90fb8
UD
11139 [BZ #12713]
11140 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
11141 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
11142 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
11143 in rtld. Use *stat64.
7fb90fb8 11144 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 11145 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 11146 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
11147 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
11148 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
11149 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
11150 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
11151 __fstatat64 macros.
7fb90fb8
UD
11152 * include/dirent.h: Add libc_hidden_proto for rewinddir.
11153 * dirent/rewinddir.c: Add libc_hidden_def.
11154 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 11155 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 11156
28377d1b
UD
11157 * include/dirent.h (__alloc_dir): Add flags parameter.
11158 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
11159 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
11160 __alloc_dir.
11161 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
11162 from fdopendir if O_CLOEXEC is already set.
11163
66bdbaa4
AM
111642011-03-15 Alan Modra <amodra@gmail.com>
11165
11166 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
11167 l_tls_firstbyte_offset non-zero. Save padding offset in
11168 l_tls_firstbyte_offset for later use.
11169 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
11170 freeing static tls block.
11171
95721191
JN
111722011-03-05 Jonathan Nieder <jrnieder@gmail.com>
11173
11174 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
11175 where #ifdef was intended. The intent is to prevent ARG_MAX from
11176 being defined by the kernel headers.
11177
f87dfb1f
UD
111782011-05-07 Ulrich Drepper <drepper@gmail.com>
11179
11180 [BZ #12734]
11181 * resolv/resolv.h: Define RES_NOTLDQUERY.
11182 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
11183 no-tld-query and set RES_NOTLDQUERY.
11184 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
11185 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
11186 modern BIND to search name as TLD unless forbidden.
11187
47c3cd7a
UD
111882011-05-07 Petr Baudis <pasky@suse.cz>
11189 Ulrich Drepper <drepper@gmail.com>
11190
11191 [BZ #12393]
11192 * elf/dl-load.c (fillin_rpath): Move trusted path check...
11193 (is_trusted_path): ...to here.
c1e9ea35 11194 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 11195 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 11196 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 11197
8a35c912
PP
111982011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11199
11200 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
11201 __BEGIN/__END_DECLS.
11202
acd41f47
UD
112032011-05-06 Ulrich Drepper <drepper@gmail.com>
11204
11205 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
11206 NSS_STATUS_NOTFOUND if no record was found.
11207
597df647
AS
112082011-05-05 Andreas Schwab <schwab@redhat.com>
11209
11210 * sunrpc/Makefile (headers): Add rpc/netdb.h.
11211 (headers-not-in-tirpc): Remove rpc/netdb.h
11212 * resolv/netdb.h: Revert last change.
11213
b9af1301
PP
112142011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11215
11216 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
11217 circular dependency between libgcc.a and libc.a.
11218
4e34d5f5
AS
112192011-05-05 Andreas Schwab <schwab@redhat.com>
11220
11221 * resolv/netdb.h: Don't include <rpc/netdb.h>.
11222 * nis/Makefile: Don't install rpcsvc/*.
11223 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
11224 instead of <rpc/types.h>.
11225 (MAXHOSTNAMELEN): Define.
11226
00ee369c
AS
112272011-05-03 Andreas Schwab <schwab@redhat.com>
11228
11229 * elf/ldconfig.c (add_dir): Don't crash on empty path.
11230
0b592a30
MB
112312011-04-28 Maciej Babinski <mbabinski@google.com>
11232
11233 [BZ #12714]
11234 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
11235 gethostbyname4_r when IPv6 results are possible.
11236
6e04cbbe
UD
112372011-05-02 Ulrich Drepper <drepper@gmail.com>
11238
11239 [BZ #12723]
11240 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
11241 _PC_PIPE_BUF handling.
11242
e4ecafe0
BH
112432011-04-30 Bruno Haible <bruno@clisp.org>
11244
11245 [BZ #12717]
11246 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
11247 * resolv/netdb.h (getnameinfo): Change type of flags parameter
11248 to 'int'.
11249 * inet/getnameinfo.c (getnameinfo): Likewise.
11250
125ee683
UD
112512011-04-29 Ulrich Drepper <drepper@gmail.com>
11252
11253 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
11254 to groups setting in database lookup.
11255 * nss/nsswitch.conf: Add initgroups entry.
11256
b722481a
EB
112572011-04-22 Ulrich Drepper <drepper@gmail.com>
11258
11259 [BZ #12685]
11260 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
11261 mode string.
11262 Patch by Eric Blake <eblake@redhat.com>.
11263
4df46dbd
L
112642011-04-20 H.J. Lu <hongjiu.lu@intel.com>
11265
11266 * sunrpc/Makefile (need-export-routines): Add svc_run.
11267 (routines): Remove svc_run.
11268 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
11269 * sunrpc/clnt_perr.c (clnt_perrno): Export.
11270 * sunrpc/svc_run.c (svc_run): Likewise.
11271 * sunrpc/svc_udp.c (svcudp_create): Likewise.
11272
e84142d2
UD
112732011-04-21 Ulrich Drepper <drepper@gmail.com>
11274
11275 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
11276 problem in reallocation in last patch.
11277
877175d8
UD
112782011-04-20 Ulrich Drepper <drepper@gmail.com>
11279
11280 * sunrpc/Makefile: Move inclusion of Rules.
11281
ab8eed78
UD
112822011-04-19 Ulrich Drepper <drepper@gmail.com>
11283
11284 * nss/nss_files/files-initgroups.c: New file.
11285 * nss/Makefile (libnss_files-routines): Add files-initgroups.
11286 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
11287 _nss_files_initgroups_dyn.
11288
e3d8f584
RS
112892011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
11290
11291 * elf/elf.h (R_ARM_IRELATIVE): Define.
11292
af190f45
UD
112932011-04-19 Ulrich Drepper <drepper@gmail.com>
11294
11295 * po/ru.po: Update from translation team.
11296
53cf59ef
UD
112972011-04-17 Ulrich Drepper <drepper@gmail.com>
11298
11299 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
11300 dependencies.
11301
4c559bcd
MF
113022011-02-06 Mike Frysinger <vapier@gentoo.org>
11303
11304 [BZ #12653]
11305 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
11306 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
11307 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11308 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11309 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11310
4420675c
AS
113112011-03-28 Andreas Schwab <schwab@linux-m68k.org>
11312
11313 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
11314 differing bytes.
11315 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11316 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11317 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11318
75ea32ab
UD
113192011-04-17 Ulrich Drepper <drepper@gmail.com>
11320
11321 [BZ #12420]
11322 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
11323 storing it.
11324 * stdlib/bug-getcontext.c: New file.
11325 * stdlib/Makefile: Add rules to build and run bug-getcontext.
11326
27390476
AK
113272011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11328
11329 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
11330 instructions into .machine "z9-109".
11331 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
11332 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
11333
10442705
AK
113342011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11335
11336 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
11337 between environment variables and auxiliary vector.
11338
7b57bfe5
UD
113392011-04-16 Ulrich Drepper <drepper@gmail.com>
11340
11341 * Makefile: Add rules to build linkobj/libc.so.
11342 * include/libc-symbols.h: Define libc_hidden_nolink.
11343 * include/rpc/auth.h: Mark functions which are to be hidden.
11344 * include/rpc/auth_des.h: Likewise.
11345 * include/rpc/auth_unix.h: Likewise.
11346 * include/rpc/clnt.h: Likewise.
11347 * include/rpc/des_crypt.h: Likewise.
11348 * include/rpc/key_prot.h: Likewise.
11349 * include/rpc/pmap_clnt.h: Likewise.
11350 * include/rpc/pmap_prot.h: Likewise.
11351 * include/rpc/pmap_rmt.h: Likewise.
11352 * include/rpc/rpc_msg.h: Likewise.
11353 * include/rpc/svc.h: Likewise.
11354 * include/rpc/svc_auth.h: Likewise.
11355 * include/rpc/xdr.h: Likewise.
11356 * nis/Makefile: Link all DSOs against linkobj/libc.so.
11357 * nss/Makefile: Likewise.
11358 * sunrpc/Makefile: Don't install headers. Build library with normal
11359 entry points. Don't build rpcinfo. Link RPC tests appropriately.
11360 * sunrpc/auth_des.c: Hide exported symbols by default, export some
11361 for the compat linking library. Remove use of INTDEF/INTUSE.
11362 * sunrpc/auth_none.c: Likewise.
11363 * sunrpc/auth_unix.c: Likewise.
11364 * sunrpc/authdes_prot.c: Likewise.
11365 * sunrpc/authuxprot.c: Likewise.
11366 * sunrpc/clnt_gen.c: Likewise.
11367 * sunrpc/clnt_perr.c: Likewise.
11368 * sunrpc/clnt_raw.c: Likewise.
11369 * sunrpc/clnt_simp.c: Likewise.
11370 * sunrpc/clnt_tcp.c: Likewise.
11371 * sunrpc/clnt_udp.c: Likewise.
11372 * sunrpc/clnt_unix.c: Likewise.
11373 * sunrpc/des_crypt.c: Likewise.
11374 * sunrpc/des_soft.c: Likewise.
11375 * sunrpc/get_myaddr.c: Likewise.
11376 * sunrpc/key_call.c: Likewise.
11377 * sunrpc/key_prot.c: Likewise.
11378 * sunrpc/netname.c: Likewise.
11379 * sunrpc/pm_getmaps.c: Likewise.
11380 * sunrpc/pm_getport.c: Likewise.
11381 * sunrpc/pmap_clnt.c: Likewise.
11382 * sunrpc/pmap_prot.c: Likewise.
11383 * sunrpc/pmap_prot2.c: Likewise.
11384 * sunrpc/pmap_rmt.c: Likewise.
11385 * sunrpc/publickey.c: Likewise.
11386 * sunrpc/rpc_cmsg.c: Likewise.
11387 * sunrpc/rpc_common.c: Likewise.
11388 * sunrpc/rpc_dtable.c: Likewise.
11389 * sunrpc/rpc_prot.c: Likewise.
11390 * sunrpc/rpc_thread.c: Likewise.
11391 * sunrpc/rtime.c: Likewise.
11392 * sunrpc/svc.c: Likewise.
11393 * sunrpc/svc_auth.c: Likewise.
11394 * sunrpc/svc_authux.c: Likewise.
11395 * sunrpc/svc_raw.c: Likewise.
11396 * sunrpc/svc_run.c: Likewise.
11397 * sunrpc/svc_simple.c: Likewise.
11398 * sunrpc/svc_tcp.c: Likewise.
11399 * sunrpc/svc_udp.c: Likewise.
11400 * sunrpc/svc_unix.c: Likewise.
11401 * sunrpc/svcauth_des.c: Likewise.
11402 * sunrpc/xcrypt.c: Likewise.
11403 * sunrpc/xdr.c: Likewise.
11404 * sunrpc/xdr_array.c: Likewise.
11405 * sunrpc/xdr_float.c: Likewise.
11406 * sunrpc/xdr_intXX_t.c: Likewise.
11407 * sunrpc/xdr_mem.c: Likewise.
11408 * sunrpc/xdr_rec.c: Likewise.
11409 * sunrpc/xdr_ref.c: Likewise.
11410 * sunrpc/xdr_sizeof.c: Likewise.
11411 * sunrpc/xdr_stdio.c: Likewise.
11412
e6c61494
UD
114132011-04-10 Ulrich Drepper <drepper@gmail.com>
11414
11415 [BZ #12650]
11416 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
11417 * sysdeps/ia64/dl-tls.h: Likewise.
11418 * sysdeps/powerpc/dl-tls.h: Likewise.
11419 * sysdeps/s390/dl-tls.h: Likewise.
11420 * sysdeps/sh/dl-tls.h: Likewise.
11421 * sysdeps/sparc/dl-tls.h: Likewise.
11422 * sysdeps/x86_64/dl-tls.h: Likewise.
11423 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
11424
34fe483e
AS
114252011-03-14 Andreas Schwab <schwab@redhat.com>
11426
11427 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
11428 rpath element also skip the following colon.
11429 (expand_dynamic_string_token): Add is_path parameter and pass
11430 down to DL_DST_REQUIRED and _dl_dst_substitute.
11431 (decompose_rpath): Call expand_dynamic_string_token with
11432 non-zero is_path. Ignore empty rpaths.
11433 (_dl_map_object_from_fd): Call expand_dynamic_string_token
11434 with zero is_path.
11435
f12a32e6
AS
114362011-04-08 Andreas Schwab <schwab@linux-m68k.org>
11437
11438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11439 Make cancelable.
11440
38a7d692
UD
114412011-04-09 Ulrich Drepper <drepper@gmail.com>
11442
11443 [BZ #12655]
11444 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
11445 Patch by Filipe David Manana <fdmanana@apache.org>.
11446
e451d22b
AS
114472011-04-07 Andreas Schwab <schwab@redhat.com>
11448
11449 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
11450 Maintain aligned stack.
11451 (CHECK_RSP): Remove unused macro.
11452
dedc7c7b
UD
114532011-04-03 Ulrich Drepper <drepper@gmail.com>
11454
11455 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
11456 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
11457
94521213
UD
114582011-04-02 Ulrich Drepper <drepper@gmail.com>
11459
11460 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
11461
8cb700c0 11462 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 11463
0354e355
L
114642011-03-26 H.J. Lu <hongjiu.lu@intel.com>
11465
11466 [BZ #12518]
11467 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
11468 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
11469 * sysdeps/x86_64/memmove.c: New file.
11470 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
11471 (memcpy): Renamed to ...
11472 (__new_memcpy): This.
11473 (memcpy): Provide GLIBC_2_14 memcpy.
11474 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
11475 (memcpy): Provide GLIBC_2_2_5 memcpy.
11476
8593482f
UD
114772011-04-01 Ulrich Drepper <drepper@gmail.com>
11478
11479 [BZ #12631]
11480 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
11481
81a5726b
AS
114822011-03-30 Andreas Schwab <schwab@redhat.com>
11483
11484 * misc/syncfs.c: New file.
11485 * misc/Makefile (routines): Add syncfs.
11486 * posix/unistd.h: Declare syncfs.
11487 * sysdeps/unix/syscalls.list: Add syncfs.
11488
00e5419f
AS
114892011-04-01 Andreas Schwab <schwab@redhat.com>
11490
11491 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
11492 open_by_handle_at.
11493 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11494 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11495 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11496 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11497 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11498 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
11499 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11500
748876bf
UD
115012011-04-01 Ulrich Drepper <drepper@gmail.com>
11502
658e451d
UD
11503 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
11504 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11505 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
11506 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11507 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11508 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11509 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11510
748876bf
UD
11511 * io/Makefile: Compile fallocate.c, fallocate64.c, and
11512 sync_file_range.c with -fexceptions.
11513 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
11514 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
11515 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
11516 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
11517 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
11518 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11519 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
11520 sync_file_range as cancellation point
11521 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
11522 now a wrapper around __call_sync_file_range with cancellation handling.
11523 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
11524 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
11525 function name to __call_sync_file_range.
11526 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
11527 Add call_sync_file_range.
748876bf 11528
6e63d5e1
AS
115292011-04-01 Andreas Schwab <schwab@redhat.com>
11530
11531 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 11532 bits/timex.h.
6e63d5e1 11533
46998f74
UD
115342011-04-01 Ulrich Drepper <drepper@gmail.com>
11535
4c1423ed
UD
11536 * iconv/iconv.h: Fix typo in comment.
11537 * io/fcntl.h: Likewise.
11538 * libio/stdio.h: Likewise.
11539 * posix/spawn.h: Likewise.
11540 * posix/unistd.h: Likewise.
11541 * stdlib/stdlib.h: Likewise.
11542 * time/time.h: Likewise.
11543 * wcsmbs/wchar.h: Likewise.
11544
158648c0
UD
11545 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
11546 open_by_handle): Add.
11547 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
11548 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
11549 Augment a few comments.
11550 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11551 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11552 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11553 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11554 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11555 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
11556 open_by_handle.
11557
46998f74
UD
11558 * io/fcntl.h (AT_EMPTY_PATH): Define.
11559
83fe108b
UD
115602011-03-30 Ulrich Drepper <drepper@gmail.com>
11561
11562 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
11563 * sysdeps/unix/sysv/linux/bits/time.h: New file.
11564 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
11565 to...
11566 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
11567 * Versions.def: Add GLIBC_2.14.
11568 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
11569 Export.
83fe108b 11570
bb242059
UD
115712011-03-22 Ulrich Drepper <drepper@gmail.com>
11572
11573 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
11574 round counter.
11575 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11576
c97a1282
L
115772011-03-20 H.J. Lu <hongjiu.lu@intel.com>
11578
11579 [BZ #12597]
11580 * string/test-strncmp.c (do_page_test): New function.
11581 (check2): Likewise.
11582 (test_main): Call check2.
11583 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
11584
2a115601
UD
115852011-03-20 Ulrich Drepper <drepper@gmail.com>
11586
11587 [BZ #12587]
11588 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
11589 Handle cache information in CPU leaf 4.
11590 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11591
8126d904
UD
115922011-03-18 Ulrich Drepper <drepper@gmail.com>
11593
042c49c6 11594 [BZ #12583]
8126d904
UD
11595 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
11596 character representation.
11597 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
11598
ccfe366e
RA
115992011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
11600
11601 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
11602 END(__isnan) to END(__isnanf) to match function entry point/label
11603 EALIGN(__isnanf,...).
11604
c6e13027
JJ
116052011-03-10 Jakub Jelinek <jakub@redhat.com>
11606
11607 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
11608
33f85a3f
UD
116092011-03-10 Ulrich Drepper <drepper@gmail.com>
11610
028478fa
UD
11611 [BZ #12510]
11612 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
11613 copy from the symbol referenced in the relocation to initialize the
11614 used variable.
11615 Patch by Piotr Bury <pbury@goahead.com>.
11616 * elf/Makefile: Add rules to build and tst-unique3.
11617 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
11618 * elf/tst-unique3.cc: New file.
11619 * elf/tst-unique3.h: New file.
11620 * elf/tst-unique3lib.cc: New file.
11621 * elf/tst-unique3lib2.cc: New file.
11622
33f85a3f
UD
11623 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
11624
03592fc7
MF
116252011-03-10 Mike Frysinger <vapier@gentoo.org>
11626
11627 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
11628 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
11629 to _start.
03592fc7 11630
6a5ee102
UD
116312011-03-06 Ulrich Drepper <drepper@gmail.com>
11632
11633 * elf/dl-load.c (_dl_map_object): If we are looking for the first
11634 to-be-loaded object along a path to loader is ld.so.
11635
7e4ba49c
HJ
116362011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11637 Ulrich Drepper <drepper@gmail.com>
11638
11639 * sysdeps/x86_64/memset.S: After aligning destination, code
11640 branches to different locations depending on the value of
11641 misalignment, when multiarch is enabled. Fix this.
11642
116432011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11644
11645 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
11646 Set _x86_64_preferred_memory_instruction for AMD processsors.
11647 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11648 Set bit_Prefer_SSE_for_memop for AMD processors.
11649
13a804de
UD
116502011-03-04 Ulrich Drepper <drepper@gmail.com>
11651
11652 * libio/fmemopen.c (fmemopen): Optimize a bit.
11653
9d25c392
AS
116542011-03-03 Andreas Schwab <schwab@redhat.com>
11655
11656 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
11657
a5543c6a
RM
116582011-03-03 Roland McGrath <roland@redhat.com>
11659
11660 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
11661
012d35f7
DM
116622011-02-28 Aurelien Jarno <aurelien@aurel32.net>
11663
7e4ba49c 11664 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
11665 __bzero_ultra1 instead of __memset_ultra1.
11666
4bff6e01
AS
116672011-02-23 Andreas Schwab <schwab@redhat.com>
11668 Ulrich Drepper <drepper@gmail.com>
11669
11670 [BZ #12509]
11671 * include/link.h (struct link_map): Add l_orig_initfini.
11672 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
11673 returning unsuccessfully.
11674 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
11675 close of a file loaded at startup, restore the original l_initfini
11676 list.
11677 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
11678 list, store the pointer.
11679 * elf/Makefile ($(objpfx)noload-mem): New rule.
11680 (noload-ENV): Define.
11681 (tests): Add $(objpfx)noload-mem.
11682 * elf/noload.c: Include <memcheck.h>.
11683 (main): Call mtrace. Close all opened handles.
11684
f2092faf
AS
116852011-02-17 Andreas Schwab <schwab@redhat.com>
11686
11687 [BZ #12454]
11688 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
11689 dependencies are missing.
11690
6c8a2e88
ST
116912011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
11692
f2092faf 11693 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
11694 Hurd needs munmap.
11695 * sysdeps/mach/hurd/ifreq.h: New file.
11696
84a42118
PB
116972011-01-27 Petr Baudis <pasky@suse.cz>
11698 Ulrich Drepper <drepper@gmail.com>
11699
071f805e 11700 [BZ 12445]#
84a42118
PB
11701 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
11702 to extend_alloca().
11703 * stdio-common/bug23.c: New file.
11704 * stdio-common/Makefile (tests): Add bug23.
11705
e23fe25b
AS
117062010-09-28 Andreas Schwab <schwab@redhat.com>
11707 Ulrich Drepper <drepper@gmail.com>
11708
11709 [BZ #12489]
11710 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
11711 before performing relro protection. At old place add assertion
11712 to make sure nothing changed.
11713
d3f02e10
NS
117142011-02-17 Nathan Sidwell <nathan@codesourcery.com>
11715 Glauber de Oliveira Costa <glommer@gmail.com>
11716
11717 * elf/elf.h: Add new ARM TLS relocs.
11718
d55fd7a5
RA
117192011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
11720
11721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11722 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
11723 cast from r3.
11724 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
11725 'tests' variable.
11726 * sysdeps/wordsize-64/tst-writev.c: New file.
11727
2206397e
RA
117282011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
11729
11730 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
11731 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
11732 insns in _dl_start to prevent a TOC reference before relocs are
11733 resolved.
11734
e9433893
UD
117352011-02-15 Ulrich Drepper <drepper@gmail.com>
11736
11737 [BZ #12469]
11738 * Makeconfig: Remove RANLIB definition.
11739 * Makerules: Don't use RANLIB.
11740 * aclocal.m4: Remove ranlib test.
11741 * configure.in: No need to check for ranlib.
11742 * elf/rtld-Rules: Don't use RANLIB.
11743
f75286c6
ST
117442011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
11745
8e31c82d
ST
11746 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
11747 protection macro.
11748 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
11749 inclusion protection macro.
11750
f75286c6
ST
11751 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
11752 SIGRTMIN and SIGRTMAX and print information in that case only when
11753 SIGRTMIN is defined.
11754
c1d0e639
JJ
117552011-02-11 Jakub Jelinek <jakub@redhat.com>
11756
11757 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
11758 arginfo fn returning -1.
11759
11760 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
11761 and thousands string is zero terminated.
11762
edf9294e
AS
117632011-02-03 Andreas Schwab <schwab@redhat.com>
11764
11765 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
11766 sysdeps/unix/sysv/linux/bits/socket.h.
11767
2b7e92df
ST
117682011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
11769
edf9294e
AS
11770 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
11771 (__CPU_COUNT): Remove old macros.
11772 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
11773 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
11774 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
11775 (__sched_cpualloc, __sched_cpufree): Add declarations.
11776
a4c7ea7b
UD
117772011-02-05 Ulrich Drepper <drepper@gmail.com>
11778
11779 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
11780 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
11781 * nscd/aicache.c (addhstaiX): Return timeout of added value.
11782 (readdhstai): Return value of addhstaiX call.
11783 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
11784 (addgrbyX): Return value returned by cache_addgr.
11785 (readdgrbyname): Return value returned by addgrbyX.
11786 (readdgrbygid): Likewise.
11787 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
11788 (addpwbyX): Return value returned by cache_addpw.
11789 (readdpwbyname): Return value returned by addhstbyX.
11790 (readdpwbyuid): Likewise.
11791 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
11792 (addservbyX): Return value returned by cache_addserv.
11793 (readdservbyname): Return value returned by addservbyX:
11794 (readdservbyport): Likewise.
11795 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
11796 (addhstbyX): Return value returned by cache_addhst.
11797 (readdhstbyname): Return value returned by addhstbyX.
11798 (readdhstbyaddr): Likewise.
11799 (readdhstbynamev6): Likewise.
11800 (readdhstbyaddrv6): Likewise.
11801 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
11802 (readdinitgroups): Return value returned by addinitgroupsX.
11803 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
11804 (prune_cache): Keep track of timeout value of re-added entries.
11805 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
11806 * nscd/nscd.h: Adjust prototypes of readd* functions.
11807
a0bf67cc
RM
118082011-02-04 Roland McGrath <roland@redhat.com>
11809
11810 * nis/nis_server.c (nis_servstate): Use the right name for 0.
11811 (nis_stats): Likewise.
11812 * nis/nis_modify.c (nis_modify): Likewise.
11813 * nis/nis_remove.c (nis_remove): Likewise.
11814 * nis/nis_add.c (nis_add): Likewise.
11815
11816 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
11817
11818 * posix/fnmatch_loop.c: Add some consts.
11819
11820 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
11821
435b95eb
L
118222011-02-02 H.J. Lu <hongjiu.lu@intel.com>
11823
11824 [BZ #12460]
11825 * config.make.in (config-cflags-novzeroupper): Define.
11826 * configure.in: Substitute libc_cv_cc_novzeroupper.
11827 * elf/Makefile (AVX-CFLAGS): Define.
11828 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
11829 (CFLAGS-tst-auditmod4a.c): Likewise.
11830 (CFLAGS-tst-auditmod4b.c): Likewise.
11831 (CFLAGS-tst-auditmod6b.c): Likewise.
11832 (CFLAGS-tst-auditmod6c.c): Likewise.
11833 (CFLAGS-tst-auditmod7b.c): Likewise.
11834 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
11835
8517b15e
UD
118362011-02-02 Ulrich Drepper <drepper@gmail.com>
11837
11838 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
11839 function to the callback.
11840 Patch partly by Jiri Olsa <jolsa@redhat.com>.
11841
10a656fe
AS
118422011-02-02 Andreas Schwab <schwab@redhat.com>
11843
11844 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
11845 of errno.
11846
968dad0a
UD
118472011-01-19 Ulrich Drepper <drepper@gmail.com>
11848
9f94d2ea 11849 [BZ #11724]
968dad0a
UD
11850 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
11851 of constructors.
11852 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
11853 of destructors.
11854 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
11855
11856 [BZ #11724]
11857 * elf/Makefile: Add rules to build and run new test.
11858 * elf/tst-initorder.c: New file.
11859 * elf/tst-initorder.exp: New file.
11860 * elf/tst-initordera1.c: New file.
11861 * elf/tst-initordera2.c: New file.
11862 * elf/tst-initordera3.c: New file.
11863 * elf/tst-initordera4.c: New file.
11864 * elf/tst-initorderb1.c: New file.
11865 * elf/tst-initorderb2.c: New file.
11866 * elf/tst-order-a1.c: New file.
11867 * elf/tst-order-a2.c: New file.
11868 * elf/tst-order-a3.c: New file.
11869 * elf/tst-order-a4.c: New file.
11870 * elf/tst-order-b1.c: New file.
11871 * elf/tst-order-b2.c: New file.
11872 * elf/tst-order-main.c: New file.
11873 New test case by George Gensure <werkt0@gmail.com>.
11874
86e92359
UD
118752010-10-01 Andreas Schwab <schwab@redhat.com>
11876
11877 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11878 decoding ACE if AI_CANONIDN.
11879
5d5732b0
UD
118802011-01-18 Ulrich Drepper <drepper@gmail.com>
11881
11882 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
11883
a77e8cbc
UD
118842011-01-17 Ulrich Drepper <drepper@gmail.com>
11885
6392473f
UD
11886 * version.h (RELEASE): Bump for 2.13 release.
11887 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
11888
620a0529
UD
11889 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
11890
18ba70a5
UD
11891 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
11892 MADV_NOHUGEPAGE.
32465c3e
UD
11893 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
11894 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11895 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11896 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11897 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11898 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11899
c0dafcf1
UD
11900 * posix/getconf.c: Update copyright year.
11901 * catgets/gencat.c: Likewise.
11902 * csu/version.c: Likewise.
11903 * debug/catchsegv.sh: Likewise.
11904 * debug/xtrace.sh: Likewise.
11905 * elf/ldconfig.c: Likewise.
11906 * elf/ldd.bash.in: Likewise.
11907 * elf/sprof.c (print_version): Likewise.
11908 * iconv/iconv_prog.c: Likewise.
11909 * iconv/iconvconfig.c: Likewise.
11910 * locale/programs/locale.c: Likewise.
11911 * locale/programs/localedef.c: Likewise.
11912 * malloc/memusage.sh: Likewise.
11913 * malloc/mtrace.pl: Likewise.
11914 * nscd/nscd.c (print_version): Likewise.
11915 * nss/getent.c: Likewise.
11916
a77e8cbc
UD
11917 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
11918 PF_CAIF, and PF_ALG.
11919 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11920
77e8bddf
AS
119212011-01-16 Andreas Schwab <schwab@linux-m68k.org>
11922
1f20b93a
AS
11923 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
11924 (modules-names): Use them.
11925 (ifunc-test-modules, ifunc-pie-tests): Define.
11926 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
11927 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
11928 (test-extras): Likewise.
11929 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
11930 $(compile-command.c).
11931 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
11932 (all-built-dso): Define.
11933 (check-textrel.out, check-execstack.out): Depend on it.
11934
77e8bddf
AS
11935 * configure.in: Don't override --enable-multi-arch.
11936
bc425b33
UD
119372011-01-15 Ulrich Drepper <drepper@gmail.com>
11938
11939 [BZ #6812]
11940 * nscd/hstcache.c (tryagain): Define.
11941 (cache_addhst): Return tryagain not notfound for temporary errors.
11942 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
11943 failed.
11944
794c3ad3
UD
119452011-01-14 Ulrich Drepper <drepper@gmail.com>
11946
70181fdd
UD
11947 [BZ #10563]
11948 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
11949 to make the syscall.
11950 * sysdeps/unix/sysv/linux/setgroups.c: New file.
11951
794c3ad3
UD
11952 [BZ #12378]
11953 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
11954 and fall back to matching as normal character if the string ends before
11955 the matching ']' is found. This is what POSIX requires.
11956 * posix/testfnm.c: Adjust test result.
11957 * posix/globtest.sh: Adjust test result. Add new test.
11958 * posix/tst-fnmatch.input: Likewise.
11959 * posix/tst-fnmatch2.c: Add new test.
11960
68dc9497
AS
119612010-12-28 Andreas Schwab <schwab@linux-m68k.org>
11962
11963 * elf/Makefile (check-execstack): Revert last change. Depend on
11964 check-execstack.h.
11965 (check-execstack.h): New target.
11966 (generated): Add check-execstack.h.
11967 * elf/check-execstack.c: Include "check-execstack.h".
11968 (main): Revert last change.
11969 (handle_file): Return zero if GNU_STACK is absent and
11970 DEFAULT_STACK_PERMS doesn't include PF_X.
11971
451f001b
UD
119722011-01-13 Ulrich Drepper <drepper@gmail.com>
11973
cfa28e56
UD
11974 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
11975 in child fails because the descriptor is already closed.
8cf8ce17
UD
11976 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
11977 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
11978 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 11979
1086d70d
UD
11980 [BZ #12397]
11981 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
11982 syscall.
11983
451f001b
UD
11984 [BZ #10484]
11985 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
11986 temporary buffer used to handle multi lookups locally.
a85b5cb4 11987 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 11988
08769175
UD
119892011-01-12 Ulrich Drepper <drepper@gmail.com>
11990
11991 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
11992 loader is ld.so.
11993
5e49c52e
UD
119942011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
11995
11996 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
11997 alignment for SSE2.
11998
60522a5f
UD
119992011-01-12 Ulrich Drepper <drepper@gmail.com>
12000
12001 [BZ #12394]
12002 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
12003 characters. When rounding increased number of integer digits recompute
12004 number of groups.
12005 * stdio-common/tst-grouping.c: New file.
12006 * stdio-common/Makefile: Add rules to build and run tst-grouping.
12007
f257bbd7
UD
120082011-01-09 Ulrich Drepper <drepper@gmail.com>
12009
12010 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
12011 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
12012
12013 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
12014 void.
12015 * bits/select.h: Likewise.
12016
fa9c15cb
UD
120172011-01-08 Ulrich Drepper <drepper@gmail.com>
12018
12019 * po/ja.po: Update from translation team.
12020
16c2895f
DM
120212011-01-04 David S. Miller <davem@sunset.davemloft.net>
12022
12023 [BZ #11155]
12024 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
12025 implementation just like for lxstat, fxstatat, et al.
12026
2543fef2
JM
120272010-12-27 Jim Meyering <meyering@redhat.com>
12028
12029 [BZ #12348]
12030 * posix/regexec.c (build_trtable): Return failure indication upon
12031 calloc failure. Otherwise, re_search_internal could infloop on OOM.
12032
98727dbe
UD
120332010-12-25 Ulrich Drepper <drepper@gmail.com>
12034
5bd6dc5c
UD
12035 [BZ #12201]
12036 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
12037 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
12038 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
12039 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
12040
97983464
UD
12041 [BZ #12207]
12042 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
12043
98727dbe
UD
12044 [BZ #12204]
12045 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
12046 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
12047
4a531bb0
L
120482010-12-15 H.J. Lu <hongjiu.lu@intel.com>
12049
12050 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
12051 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
12052 script has SORT_BY_INIT_PRIORITY.
12053 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
12054 NO_CTORS_DTORS_SECTIONS is defined.
12055 * elf/soinit.c: Likewise.
12056 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
12057 NO_CTORS_DTORS_SECTIONS is defined.
12058 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
12059 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
12060 * sysdeps/sh/init-first.c: Likewise.
12061 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
12062
07eb4b71
UD
120632010-12-24 Ulrich Drepper <drepper@gmail.com>
12064
12065 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
12066 always use the slow path.
12067
30950a5f
RA
120682010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
12069
12070 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
12071 similar rule which adds the sysdep directories to the header search in
12072 order to pick up the correct platform stackinfo.h.
12073 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
12074 perform test if it is, otherwise return successfully without testing.
12075 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
12076 DEFAULT_STACK_PERMS define in stackinfo.h.
12077 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
12078 defined in stackinfo.h.
12079 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
12080 DEFAULT_STACK_PERMS defined in stackinfo.h.
12081 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
12082 * sysdeps/ia64/stackinfo.h: Likewise.
12083 * sysdeps/s390/stackinfo.h: Likewise.
12084 * sysdeps/sh/stackinfo.h: Likewise.
12085 * sysdeps/sparc/stackinfo.h: Likewise.
12086 * sysdeps/x86_64/stackinfo.h: Likewise.
12087 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
12088 PF_X for powerpc64. Retain PF_X for powerpc32.
12089
db753e2c
UD
120902010-12-19 Ulrich Drepper <drepper@gmail.com>
12091
14b697f7
UD
12092 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
12093 accurately.
db753e2c
UD
12094 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
12095 GETDENTS_64BIT_ALIGNED.
12096
28300719
UD
120972010-12-14 Ulrich Drepper <dreper@gmail.com>
12098
14b697f7 12099 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 12100
4f197237
AS
121012010-12-10 Andreas Schwab <schwab@redhat.com>
12102
dbb0472f
AS
12103 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
12104 _GNU_SOURCE.
12105
4f197237
AS
12106 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
12107 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
12108 Remove __restrict.
12109 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
12110 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
12111
fb88ac72
UD
121122010-12-09 Ulrich Drepper <drepper@gmail.com>
12113
12114 [BZ #11655]
12115 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
12116 are initialized.
12117
42acbb92
JJ
121182010-12-09 Jakub Jelinek <jakub@redhat.com>
12119
12120 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
12121
c038d98d
UD
121222010-12-03 Ulrich Drepper <drepper@gmail.com>
12123
12124 * po/it.po: Update from translation team.
12125
3a4a2499
L
121262010-12-01 H.J. Lu <hongjiu.lu@intel.com>
12127
12128 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
12129 unused codes.
12130
1e24cf6e
UD
121312010-11-30 Ulrich Drepper <drepper@gmail.com>
12132
12133 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
12134
a7690819
AS
121352010-11-24 Andreas Schwab <schwab@redhat.com>
12136
12137 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
12138 specially.
12139 (gaih_getanswer_slice): Likewise.
12140
3bf8d1b1
JJ
121412010-10-20 Jakub Jelinek <jakub@redhat.com>
12142
12143 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
12144
6db52fbb
PB
121452010-05-31 Petr Baudis <pasky@suse.cz>
12146
12147 [BZ #11149]
12148 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
12149 silently even in the chroot mode.
12150
eaca7569
UD
121512010-11-22 Ulrich Drepper <drepper@gmail.com>
12152
12153 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
12154 last patch a bit. Pretty printing
12155
3056dcdb
UD
121562010-05-31 Petr Baudis <pasky@suse.cz>
12157
12158 [BZ #10085]
12159 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
12160 initialization of skip_initgroups_dyn.
12161
cf7c9078
UD
121622010-11-19 Ulrich Drepper <drepper@gmail.com>
12163
12164 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
12165 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12166
a1fb5e3e
UD
121672010-11-16 Ulrich Drepper <drepper@gmail.com>
12168
12169 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
12170
3540d66b
AS
121712010-11-11 Andreas Schwab <schwab@redhat.com>
12172
12173 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
12174 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
12175 (tst-fnmatch-ENV): Set MALLOC_TRACE.
12176 ($(objpfx)tst-fnmatch-mem): New rule.
12177 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
12178 * posix/tst-fnmatch.c (main): Call mtrace.
12179
13b69574
L
121802010-11-11 H.J. Lu <hongjiu.lu@intel.com>
12181
12182 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12183 Support Intel processor model 6 and model 0x2c.
12184
da93d214
LM
121852010-11-10 Luis Machado <luisgpm@br.ibm.com>
12186
12187 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
12188 signed comparison.
12189
8ca52c6e
L
121902010-11-09 H.J. Lu <hongjiu.lu@intel.com>
12191
12192 [BZ #12205]
12193 * string/test-strncasecmp.c (check_result): New function.
12194 (do_one_test): Use it.
12195 (check1): New function.
12196 (test_main): Use it.
12197 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
12198 Support strcasecmp and strncasecmp.
12199
69da074d
UD
122002010-11-08 Ulrich Drepper <drepper@gmail.com>
12201
12202 [BZ #12194]
12203 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
12204 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12205
ff02d528
L
122062010-11-07 H.J. Lu <hongjiu.lu@intel.com>
12207
12208 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
12209 IFUNC support.
12210 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12211 memset-x86-64.
12212 * sysdeps/x86_64/multiarch/bzero.S: New file.
12213 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
12214 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
12215 * sysdeps/x86_64/multiarch/memset.S: New file.
12216 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
12217 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12218 Set bit_Prefer_SSE_for_memop for Intel processors.
12219 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
12220 Define.
12221 (index_Prefer_SSE_for_memop): Define.
12222 (HAS_PREFER_SSE_FOR_MEMOP): Define.
12223
344d0b54
LM
122242010-11-04 Luis Machado <luisgpm@br.ibm.com>
12225
12226 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
12227 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
12228
c0dde15b
UD
122292010-11-03 H.J. Lu <hongjiu.lu@intel.com>
12230
12231 [BZ #12191]
12232 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12233 (__x86_64_raw_data_cache_size_half): Likewise.
12234 (__x86_64_raw_shared_cache_size): Likewise.
12235 (__x86_64_raw_shared_cache_size_half): Likewise.
12236
12237 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12238 (__x86_64_raw_data_cache_size_half): Likewise.
12239 (__x86_64_raw_shared_cache_size): Likewise.
12240 (__x86_64_raw_shared_cache_size_half): Likewise.
12241 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
12242 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
12243 and __x86_64_raw_shared_cache_size_half. Round
12244 __x86_64_data_cache_size_half, __x86_64_data_cache_size
12245 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
12246 to multiple of 256 bytes.
12247
0e516e0e
MS
122482010-11-03 Ulrich Drepper <drepper@gmail.com>
12249
12250 [BZ #12167]
12251 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
12252 of inacessible symlinks. Verify result of symlink before returning it.
12253 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12254 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
12255
0e012e87
ER
122562010-10-28 Erich Ritz <erichritz@gmail.com>
12257
12258 * math/math.h (isinf): Fix typo in comment.
12259
de0ff7bc
UD
122602010-11-01 Ulrich Drepper <drepper@gmail.com>
12261
12262 * po/da.po: Update from translation team.
12263
fa41c84d
UD
122642010-10-26 Ulrich Drepper <drepper@gmail.com>
12265
12266 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
12267 is added to the list.
12268
f0967738
AK
122692010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12270 Ulrich Drepper <drepper@gmail.com>
12271
12272 * elf/dl-object.c (_dl_new_object): Don't append the new object to
12273 the global list here. Move code to...
12274 (_dl_add_to_namespace_list): ...here. New function.
12275 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
12276 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
12277 * elf/dl-load.c (lose): Don't remove the element from the list.
12278 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
12279 (_dl_map_object): Likewise.
12280
122812010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
12282
12283 [BZ #12159]
12284 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
12285 into all bytes of SSE register.
12286 Patch by Richard Li <richardpku@gmail.com>.
12287
f0967738 122882010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
12289
12290 [BZ #12140]
12291 * malloc/malloc.c (_int_free): Fill correct number of bytes when
12292 perturbing.
12293
d0b9e94f
MB
122942010-10-20 Michael B. Brutman <brutman@us.ibm.com>
12295
12296 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
12297 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
12298 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
12299 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
12301 submachine.
12302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
12303
8e9f92e9
AS
123042010-10-22 Andreas Schwab <schwab@redhat.com>
12305
12306 * include/dlfcn.h (__RTLD_SECURE): Define.
12307 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
12308 mode & __RTLD_SECURE instead.
12309 (open_path): Rename preloaded parameter to secure.
12310 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
12311 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
12312 * elf/dl-deps.c (openaux): Likewise.
12313 * elf/rtld.c (struct map_args): Remove is_preloaded.
12314 (map_doit): Don't use it.
12315 (dl_main): Likewise.
12316 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
12317 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
12318
bc96fbda
AS
123192010-09-09 Andreas Schwab <schwab@redhat.com>
12320
12321 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
12322 (sysd-rules-targets): Remove duplicates.
12323 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
12324 rtld-%.$o dependency.
12325
22cd1c9b
AS
123262010-10-18 Andreas Schwab <schwab@redhat.com>
12327
12328 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
12329 _dl_map_object do it.
12330
18edac48
UD
123312010-10-19 Ulrich Drepper <drepper@gmail.com>
12332
12333 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
12334 fast fma builtins, define the macros in the C99 standard.
12335 (FP_FAST_FMAF): Likewise.
12336 (FP_FAST_FMAL): Likewise.
12337 * sysdeps/x86_64/bits/mathdef.h: Likewise.
12338
12339 * bits/mathdef.h: Update copyright year.
12340 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12341
d2050124
MM
123422010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
12343
12344 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
12345 builtins, define the macros in the C99 standard.
12346 (FP_FAST_FMAF): Likewise.
12347 (FP_FAST_FMAL): Likewise.
12348 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
12349 multiply/add.
12350 (FP_FAST_FMAF): Likewise.
12351
475facd1
JJ
123522010-10-15 Jakub Jelinek <jakub@redhat.com>
12353
12354 [BZ #3268]
12355 * math/libm-test.inc (fma_test): Some new testcases.
12356 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
12357 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
12358 y and infinite z. Do multiplication by C already in long double.
12359 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
12360 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
12361 y and infinite z. Do bitwise or of inexact bit into u.d.
12362 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
12363 * sysdeps/i386/fpu/s_fmaf.S: Removed.
12364 * sysdeps/i386/fpu/s_fma.S: Removed.
12365 * sysdeps/i386/fpu/s_fmal.S: Removed.
12366
7c08a05c
JJ
123672010-10-16 Jakub Jelinek <jakub@redhat.com>
12368
12369 [BZ #3268]
12370 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
12371 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
12372 computation is not scheduled after fetestexcept. Fix value
12373 of minimum denormal long double.
12374
f3f7372d
JJ
123752010-10-14 Jakub Jelinek <jakub@redhat.com>
12376
12377 [BZ #3268]
12378 * math/libm-test.inc (fma_test): Add some more tests.
12379 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
12380 correctly.
12381
14d43591
AS
123822010-10-15 Andreas Schwab <schwab@redhat.com>
12383
12384 * scripts/data/localplt-s390-linux-gnu.data: New file.
12385 * scripts/data/localplt-s390x-linux-gnu.data: New file.
12386
5e908464
JJ
123872010-10-13 Jakub Jelinek <jakub@redhat.com>
12388
12389 [BZ #3268]
12390 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
12391 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
12392 instead of dbl-64.
12393 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
12394 inlines.
12395 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
12396 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
12397 if one of x and y is very large and the other is subnormal.
12398 * sysdeps/s390/fpu/s_fmaf.c: New file.
12399 * sysdeps/s390/fpu/s_fma.c: New file.
12400 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
12401 * sysdeps/powerpc/fpu/s_fma.S: New file.
12402 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
12403 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
12404 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
12405
124062010-10-12 Jakub Jelinek <jakub@redhat.com>
12407
12408 [BZ #3268]
12409 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
12410 fma tests.
12411 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
12412 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
12413 * sysdeps/i386/i686/multiarch/s_fma.c: Include
12414 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
12415 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
12416 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
12417 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
12418
b833d51f
UD
124192010-10-12 Ulrich Drepper <drepper@redhat.com>
12420
12421 [BZ #12078]
12422 * posix/regcomp.c (parse_branch): One more memory leak plugged.
12423 * posix/bug-regex31.input: Add test case.
12424
1751705d
UD
124252010-10-11 Ulrich Drepper <drepper@gmail.com>
12426
e9b9cbf5
UD
12427 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
12428 * posix/bug-regex31.input: New file.
12429
12430 [BZ #12078]
12431 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
12432 (parse_sub_exp): Fix last change, use postorder.
12433
ef06edbe
UD
12434 * posix/bug-regex31.c: New file.
12435 * posix/Makefile: Add rules to build and run bug-regex31.
12436
a129c80d
UD
12437 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
12438
12439 [BZ #12078]
12440 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
12441
b76b818e
UD
12442 [BZ #12108]
12443 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
12444 to have entries in sys_siglist.
12445
1751705d
UD
12446 [BZ #12093]
12447 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
12448 be NULL.
12449
9ff8d36f
JJ
124502010-10-07 Jakub Jelinek <jakub@redhat.com>
12451
12452 [BZ #3268]
12453 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
12454 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
12455 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
12456 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
12457 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12458 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
12459 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
12460 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
12461 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
12462 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
12463 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
12464 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
12465 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
12466 * math/ftestexcept.c (fetestexcept): Likewise.
12467 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
12468 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
12469 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
12470 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
12471 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
12472 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
12473 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12474
af325969
UD
124752010-10-11 Ulrich Drepper <drepper@gmail.com>
12476
c579b202 12477 [BZ #12107]
af325969
UD
12478 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
12479 newline.
12480
67a67b95
UD
124812010-10-06 Ulrich Drepper <drepper@gmail.com>
12482
12483 * string/bug-strstr1.c: New file.
12484 * string/Makefile: Add rules to build and run bug-strstr1.
12485
5fb308bc
EB
124862010-10-05 Eric Blake <eblake@redhat.com>
12487
12488 [BZ #12092]
12489 * string/str-two-way.h (two_way_long_needle): Always clear memory
12490 when skipping input due to the shift table.
12491
45db99c7
UD
124922010-10-03 Ulrich Drepper <drepper@gmail.com>
12493
3b111893
UD
12494 [BZ #12005]
12495 * malloc/mcheck.c: Handle large requests.
12496
45db99c7
UD
12497 [BZ #12077]
12498 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
12499 for strncmp and strncasecmp.
12500 * string/stratcliff.c: Add tests for strcmp and strncmp.
12501 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
12502
cf7a1eb8
NI
125032010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12504
12505 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
12506 __set_fpscr.
12507
6484ba5e
AJ
125082010-09-30 Andreas Jaeger <aj@suse.de>
12509
12510 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
12511 (CGROUP_SUPER_MAGIC): Define.
12512 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12513 Handle btrfs and cgroup file systems.
12514 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12515 Likewise.
12516
91c42559
LM
125172010-09-27 Luis Machado <luisgpm@br.ibm.com>
12518
12519 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
12520 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
12521
87a97932
AK
125222010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12523
12524 [BZ #12067]
12525 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
12526 trying to locate the ELF header.
12527
c21cc9bc
AS
125282010-09-27 Andreas Schwab <schwab@redhat.com>
12529
12530 [BZ #11611]
12531 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
12532 Mask out sign-bit copies when constructing f_fsid.
12533
315970f6
PB
125342010-09-24 Petr Baudis <pasky@suse.cz>
12535
12536 * debug/stack_chk_fail_local.c: Add missing licence exception.
12537 * debug/warning-nop.c: Likewise.
12538
1ac7a2c7
JM
125392010-09-15 Joseph Myers <joseph@codesourcery.com>
12540
12541 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
12542 implementing getdents64 using getdents syscall, set d_type if
12543 __ASSUME_GETDENTS32_D_TYPE.
12544
56801c50
AS
125452010-09-16 Andreas Schwab <schwab@redhat.com>
12546
12547 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
12548 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
12549
dda51327
UD
125502010-09-21 Ulrich Drepper <drepper@redhat.com>
12551
12552 [BZ #12037]
12553 * posix/unistd.h: Undo change of feature selection for ftruncate from
12554 2010-01-11.
12555
8ffcee4a
UD
125562010-09-20 Ulrich Drepper <drepper@redhat.com>
12557
a545ecd9 12558 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
12559 detection.
12560
e24f0a8b
AS
125612010-09-20 Andreas Schwab <schwab@redhat.com>
12562
12563 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
12564 fanotify_mark.
12565 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12566
7291c56f
AS
125672010-09-14 Andreas Schwab <schwab@redhat.com>
12568
12569 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
12570 variables after CHECK_SP call.
12571 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
12572
bc5fb037
AS
125732010-09-13 Andreas Schwab <schwab@redhat.com>
12574 Ulrich Drepper <drepper@redhat.com>
12575
12576 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
12577 re-relocationg ld.so.
12578 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
12579 _dl_init_paths call.
12580 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
12581 here anymore.
12582
e66e7419
UD
125832010-09-14 Ulrich Drepper <drepper@redhat.com>
12584
12585 * resolv/res_init.c (__res_vinit): Count the default server we added.
12586
c044aa75
CLT
125872010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
12588 Ulrich Drepper <drepper@redhat.com>
12589
12590 [BZ #11968]
12591 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12592 (____longjmp_chk): Use %ebx for saving value across system call.
12593 Add unwind info.
12594
32cf4069
AS
125952010-09-06 Andreas Schwab <schwab@redhat.com>
12596
12597 * manual/Makefile: Don't mix pattern rules with normal rules.
12598
817328ee
AS
125992010-09-05 Andreas Schwab <schwab@linux-m68k.org>
12600
12601 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
12602 operation.
12603 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12604 * libio/iofopncook.c (_IO_cookie_init): Likewise.
12605 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
12606 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12607 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12608 Likewise.
12609
29fddf61
UD
126102010-09-04 Ulrich Drepper <drepper@redhat.com>
12611
12612 [BZ #11979]
12613 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
12614 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
12615
0959ffc9
UD
126162010-09-02 Ulrich Drepper <drepper@redhat.com>
12617
12618 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
12619 * sysdeps/x86_64/addmul_1.S: Likewise.
12620 * sysdeps/x86_64/lshift.S: Likewise.
12621 * sysdeps/x86_64/mul_1.S: Likewise.
12622 * sysdeps/x86_64/rshift.S: Likewise.
12623 * sysdeps/x86_64/sub_n.S: Likewise.
12624 * sysdeps/x86_64/submul_1.S: Likewise.
12625
ece29840
ST
126262010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
12627
0959ffc9
UD
12628 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
12629 Define __sched_param instead of SCHED_* and sched_param when
ece29840 12630 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 12631 * bits/sched.h [__need_schedparam]
ece29840 12632 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
12633 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
12634 (__defined_schedparam): Define to 1.
ece29840
ST
12635 (__sched_param): New structure, identical to sched_param.
12636 (__need_schedparam): Undefine.
12637
e53a31fe
MF
126382010-08-31 Mike Frysinger <vapier@gentoo.org>
12639
fdc0c10d
MF
12640 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
12641 (epoll_create1): Declare.
12642
e53a31fe
MF
12643 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
12644
a726d796
AS
126452010-08-31 Andreas Schwab <schwab@redhat.com>
12646
12647 [BZ #7066]
12648 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
12649 shifting retval into place.
12650
2f3e3dc7
UD
126512010-09-01 Ulrich Drepper <drepper@redhat.com>
12652
f2933da9
UD
12653 * nis/rpcsvc/nis.h: Update copyright notice.
12654 * nis/rpcsvc/nis.x: Likewise.
12655 * nis/rpcsvc/nis_callback.h: Likewise.
12656 * nis/rpcsvc/nis_callback.x: Likewise.
12657 * nis/rpcsvc/nis_object.x: Likewise.
12658 * nis/rpcsvc/nis_tags.h: Likewise.
12659 * nis/rpcsvc/yp.h: Likewise.
12660 * nis/rpcsvc/yp.x: Likewise.
12661 * nis/rpcsvc/ypupd.h: Likewise.
12662 * nis/yp_xdr.c: Likewise.
12663 * nis/ypupdate_xdr.c: Likewise.
12664
2f3e3dc7
UD
12665 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
12666 mainly the body of pmap_getport. Add parameters to specify timeouts.
12667 (pmap_getport): Use __libc_rpc_getport.
12668 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
12669 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
12670 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
12671
f3dcc2f9
AS
126722010-08-31 Andreas Schwab <schwab@linux-m68k.org>
12673
12674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
12675 fanotify_mark.
12676
6d34eb5b
RM
126772010-08-27 Roland McGrath <roland@redhat.com>
12678
12679 * sysdeps/i386/i686/multiarch/Makefile
12680 (CFLAGS-varshift.c): New variable.
12681
9ea3de11
UD
126822010-08-27 Ulrich Drepper <drepper@redhat.com>
12683
c96d23fc
UD
12684 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
12685 * sysdeps/i386/i686/multiarch/varshift.c: New file.
12686
9ea3de11
UD
12687 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
12688
12689 * sysdeps/x86_64/strlen.S: Minimal code improvement.
12690
623aac7f
L
126912010-08-26 H.J. Lu <hongjiu.lu@intel.com>
12692
12693 * sysdeps/x86_64/strlen.S: Unroll the loop.
12694 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12695 strlen-sse2 strlen-sse2-bsf.
12696 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
12697 __strlen_no_bsf if bit_Slow_BSF is set.
12698 (__strlen_sse42): Removed.
12699 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
12700 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
12701
8b2b7715
RM
127022010-08-25 Roland McGrath <roland@redhat.com>
12703
12704 * sysdeps/x86_64/multiarch/varshift.S: File removed.
12705 * sysdeps/x86_64/multiarch/varshift.c: New file.
12706 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
12707 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
12708 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
12709 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12710
e73015f2
L
127112010-08-25 H.J. Lu <hongjiu.lu@intel.com>
12712
12713 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12714 strlen-sse2 strlen-sse2-bsf.
12715 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
12716 __strlen_sse2_bsf if bit_Slow_BSF is unset.
12717 (__strlen_sse2): Removed.
12718 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
12719 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
12720 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12721 bit_Slow_BSF for Atom.
12722 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
12723 (index_Slow_BSF): Define.
12724 (HAS_SLOW_BSF): Define.
12725
df24a73e
UD
127262010-08-25 Ulrich Drepper <drepper@redhat.com>
12727
12728 [BZ #10851]
12729 * resolv/res_init.c (__res_vinit): When no server address at all
12730 is given default to loopback.
12731
f2ac4868
RM
127322010-08-24 Roland McGrath <roland@redhat.com>
12733
09055553
RM
12734 * configure.in: Remove config-name.h generation.
12735 * configure: Regenerated.
12736 * config-name.in: File removed.
12737 * scripts/config-uname.sh: New file.
12738 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
12739 ($(objdir)config-name.h): New target.
12740
f2ac4868
RM
12741 * sunrpc/rpc_parse.h: Avoid nested comment.
12742
73f27d5e
RH
127432010-08-24 Richard Henderson <rth@redhat.com>
12744 Ulrich Drepper <drepper@redhat.com>
12745 H.J. Lu <hongjiu.lu@intel.com>
12746
12747 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
12748 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
12749 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
12750 Replace _mm_srli_si128 with __m128i_shift_right. Replace
12751 _mm_alignr_epi8 with _mm_loadu_si128.
12752 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
12753 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
12754 (__m128i_shift_right): Removed.
12755 * sysdeps/i386/i686/multiarch/varshift.h: New file.
12756 * sysdeps/i386/i686/multiarch/varshift.S: New file.
12757 * sysdeps/x86_64/multiarch/varshift.h: New file.
12758 * sysdeps/x86_64/multiarch/varshift.S: New file.
12759
84b9230c
MF
127602010-08-21 Mike Frysinger <vapier@gentoo.org>
12761
12762 * configure.in: Move assembler checks to before sysdep dir checking.
12763
9bbd0ddc
PB
127642010-08-20 Petr Baudis <pasky@suse.cz>
12765
12766 * LICENSES: Sync the sunrpc license.
12767
9da4bb31
UD
127682010-08-19 Ulrich Drepper <drepper@redhat.com>
12769
a7ab6ec8
UD
12770 * sunrpc/auth_des.c: Update copyright notice once again.
12771 * sunrpc/auth_none.c: Likewise.
12772 * sunrpc/auth_unix.c: Likewise.
12773 * sunrpc/authdes_prot.c: Likewise.
12774 * sunrpc/authuxprot.c: Likewise.
12775 * sunrpc/bindrsvprt.c: Likewise.
12776 * sunrpc/clnt_gen.c: Likewise.
12777 * sunrpc/clnt_perr.c: Likewise.
12778 * sunrpc/clnt_raw.c: Likewise.
12779 * sunrpc/clnt_simp.c: Likewise.
12780 * sunrpc/clnt_tcp.c: Likewise.
12781 * sunrpc/clnt_udp.c: Likewise.
12782 * sunrpc/clnt_unix.c: Likewise.
12783 * sunrpc/des_crypt.c: Likewise.
12784 * sunrpc/des_soft.c: Likewise.
12785 * sunrpc/get_myaddr.c: Likewise.
12786 * sunrpc/getrpcport.c: Likewise.
12787 * sunrpc/key_call.c: Likewise.
12788 * sunrpc/key_prot.c: Likewise.
12789 * sunrpc/openchild.c: Likewise.
12790 * sunrpc/pm_getmaps.c: Likewise.
12791 * sunrpc/pm_getport.c: Likewise.
12792 * sunrpc/pmap_clnt.c: Likewise.
12793 * sunrpc/pmap_prot.c: Likewise.
12794 * sunrpc/pmap_prot2.c: Likewise.
12795 * sunrpc/pmap_rmt.c: Likewise.
12796 * sunrpc/rpc/auth.h: Likewise.
12797 * sunrpc/rpc/auth_unix.h: Likewise.
12798 * sunrpc/rpc/clnt.h: Likewise.
12799 * sunrpc/rpc/des_crypt.h: Likewise.
12800 * sunrpc/rpc/key_prot.h: Likewise.
12801 * sunrpc/rpc/netdb.h: Likewise.
12802 * sunrpc/rpc/pmap_clnt.h: Likewise.
12803 * sunrpc/rpc/pmap_prot.h: Likewise.
12804 * sunrpc/rpc/pmap_rmt.h: Likewise.
12805 * sunrpc/rpc/rpc.h: Likewise.
12806 * sunrpc/rpc/rpc_des.h: Likewise.
12807 * sunrpc/rpc/rpc_msg.h: Likewise.
12808 * sunrpc/rpc/svc.h: Likewise.
12809 * sunrpc/rpc/svc_auth.h: Likewise.
12810 * sunrpc/rpc/types.h: Likewise.
12811 * sunrpc/rpc/xdr.h: Likewise.
12812 * sunrpc/rpc_clntout.c: Likewise.
12813 * sunrpc/rpc_cmsg.c: Likewise.
12814 * sunrpc/rpc_common.c: Likewise.
12815 * sunrpc/rpc_cout.c: Likewise.
12816 * sunrpc/rpc_dtable.c: Likewise.
12817 * sunrpc/rpc_hout.c: Likewise.
12818 * sunrpc/rpc_main.c: Likewise.
12819 * sunrpc/rpc_parse.c: Likewise.
12820 * sunrpc/rpc_parse.h: Likewise.
12821 * sunrpc/rpc_prot.c: Likewise.
12822 * sunrpc/rpc_sample.c: Likewise.
12823 * sunrpc/rpc_scan.c: Likewise.
12824 * sunrpc/rpc_scan.h: Likewise.
12825 * sunrpc/rpc_svcout.c: Likewise.
12826 * sunrpc/rpc_tblout.c: Likewise.
12827 * sunrpc/rpc_util.c: Likewise.
12828 * sunrpc/rpc_util.h: Likewise.
12829 * sunrpc/rpcinfo.c: Likewise.
12830 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
12831 * sunrpc/rpcsvc/key_prot.x: Likewise.
12832 * sunrpc/rpcsvc/klm_prot.x: Likewise.
12833 * sunrpc/rpcsvc/mount.x: Likewise.
12834 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
12835 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
12836 * sunrpc/rpcsvc/rex.x: Likewise.
12837 * sunrpc/rpcsvc/rstat.x: Likewise.
12838 * sunrpc/rpcsvc/rusers.x: Likewise.
12839 * sunrpc/rpcsvc/sm_inter.x: Likewise.
12840 * sunrpc/rpcsvc/spray.x: Likewise.
12841 * sunrpc/rpcsvc/yppasswd.x: Likewise.
12842 * sunrpc/rtime.c: Likewise.
12843 * sunrpc/svc.c: Likewise.
12844 * sunrpc/svc_auth.c: Likewise.
12845 * sunrpc/svc_authux.c: Likewise.
12846 * sunrpc/svc_raw.c: Likewise.
12847 * sunrpc/svc_run.c: Likewise.
12848 * sunrpc/svc_simple.c: Likewise.
12849 * sunrpc/svc_tcp.c: Likewise.
12850 * sunrpc/svc_udp.c: Likewise.
12851 * sunrpc/svc_unix.c: Likewise.
12852 * sunrpc/svcauth_des.c: Likewise.
12853 * sunrpc/xcrypt.c: Likewise.
12854 * sunrpc/xdr.c: Likewise.
12855 * sunrpc/xdr_array.c: Likewise.
12856 * sunrpc/xdr_float.c: Likewise.
12857 * sunrpc/xdr_mem.c: Likewise.
12858 * sunrpc/xdr_rec.c: Likewise.
12859 * sunrpc/xdr_ref.c: Likewise.
12860 * sunrpc/xdr_sizeof.c: Likewise.
12861 * sunrpc/xdr_stdio.c: Likewise.
12862
9da4bb31
UD
12863 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
12864 handling.
12865
bdaa77bc
AS
128662010-08-19 Andreas Schwab <schwab@redhat.com>
12867
12868 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
12869
fe2f79db
LM
128702010-08-19 Luis Machado <luisgpm@br.ibm.com>
12871
12872 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
12873 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
12874 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
12875 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
12876 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
12877 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
12878 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
12879 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
12880 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
12881 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
12882 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
12883 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
12884 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
12885 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
12886
b9b42ee0
AB
128872010-07-26 Anton Blanchard <anton@samba.org>
12888
12889 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
12890 * malloc/arena.c (heap_trim): Likewise.
12891
1c06ba31
UD
128922010-08-16 Ulrich Drepper <drepper@redhat.com>
12893
12894 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
12895 here. Not...
12896 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
12897 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
12898
f8392f40
L
128992010-08-12 H.J. Lu <hongjiu.lu@intel.com>
12900
12901 * sysdeps/i386/elf/Makefile: New file.
12902
3162f12e
AS
129032010-08-14 Andreas Schwab <schwab@linux-m68k.org>
12904
12905 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
12906 from fanotify_init.
12907 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
12908 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12909
28c90b2c
UD
129102010-08-15 Ulrich Drepper <drepper@redhat.com>
12911
12912 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
12913 of strncasecmp_l.
1feccb6c 12914 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 12915
ca6bb004
UD
129162010-08-14 Ulrich Drepper <drepper@redhat.com>
12917
e9f82e0d
UD
12918 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12919 strncase_l-nonascii.
12920 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12921 Add strncase_l-ssse3.
12922 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
12923 * sysdeps/x86_64/strcmp.S: Likewise.
12924 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
12925 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
12926 * sysdeps/x86_64/strncase.S: New file.
12927 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
12928 * sysdeps/x86_64/strncase_l.S: New file.
12929 * string/Makefile (strop-tests): Add strncasecmp.
12930 * string/test-strncasecmp.c: New file.
12931
12932 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
12933 warning.
12934
ca6bb004
UD
12935 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
12936 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
12937
052fa7b3
AS
129382010-08-14 Andreas Schwab <schwab@linux-m68k.org>
12939
12940 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
12941
962dba78
UD
129422010-08-12 Ulrich Drepper <drepper@redhat.com>
12943
12944 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
12945 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
12946 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
12947
bebff237
AM
129482010-05-01 Alan Modra <amodra@gmail.com>
12949
12950 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
12951 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
12952 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
12953 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
12954 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
12955 tidying. Don't tail-call __sigjmp_save for static lib.
12956 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
12957 save location.
12958 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
12959 (CALL_MCOUNT): Add eh info, and nop after bl.
12960 (TAIL_CALL_SYSCALL_ERROR): New macro.
12961 (PSEUDO_RET): Use it.
12962 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12963 Correct save location of integer regs and cr.
12964 (_dl_profile_resolve): Correct cr save location. Delete nops
12965 after bl when SHARED. Reduce cfi size a little by better
12966 placement of cfi directives.
12967 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
12968 make a stack frame. Instead use parm save area as a temp.
12969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
12970 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
12971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12972 Don't make a stack frame for parent, use parm save area.
12973 Increase child stack frame to 112 bytes. Don't save unused reg,
12974 and adjust reg usage. Set up cfi on error recovery and
12975 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
12976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12977 (__makecontext): Add dummy nop after jump to exit.
12978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
12979 Use correct parm save area and cr save, reduce stack frame.
12980 Correct cfi for possible PSEUDO_RET frame setup.
12981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
12982 Branch to local label emitted by PSEUDO_RET rather than
12983 __syscall_error.
12984
02637374
AS
129852010-08-12 Andreas Schwab <schwab@redhat.com>
12986
12987 [BZ #11904]
12988 * locale/programs/locale.c (print_assignment): New function.
12989 (show_locale_vars): Use it.
12990
c3e2f19b
UD
129912010-08-11 Ulrich Drepper <drepper@redhat.com>
12992
3cdaa6ad
UD
12993 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
12994 field.
12995 (struct statfs64): Likewise.
12996 (_STATFS_F_FLAGS): Define.
12997 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
12998 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12999 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
13000 (ST_VALID): Define locally.
13001 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
13002 __statvfs_getflags, use the provided value.
13003 * sysdeps/unix/sysv/linux/kernel-features.h: Define
13004 __ASSUME_STATFS_F_FLAGS.
13005
754f7da3
UD
13006 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
13007
10b3bedc
UD
13008 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
13009 Add sys/fanotify.h.
13010 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
13011 fanotify_mask for GLIBC_2.13.
13012 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
13013 fanotify_init and fanotify_mark.
13014 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13015 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
13016
c08fb0d7
UD
13017 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
13018 Add prlimit.
13019 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
13020 prlimit64 for GLIBC_2.13.
13021 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
13022 prlimit64.
13023 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
13024 syscall.
13025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13026 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13027 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
13028 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
13029 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
13030 add prlimit alias.
13031 * sysdeps/unix/sysv/linux/prlimit.c: New file.
13032
15bac72b
UD
13033 [BZ #11903]
13034 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
13035 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
13036
c3e2f19b
UD
13037 * nss/Makefile: Add rules to build and run tst-nss-test1.
13038 * shlib-versions: Add entry for libnss_test1.
13039 * nss/nss_test1.c: New file.
13040 * nss/tst-nss-test1.c: New file.
13041
13042 * nss/nsswitch.c (__nss_database_custom): Define new variable.
13043 (__nss_configure_lookup): Set appropriate entry in
13044 __nss_configure_lookup to true.
13045 * nss/nsswitch.h: Define enum with indeces of databases in
13046 databases and __nss_database_custom arrays. Declare
13047 __nss_database_custom.
13048 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
13049 to avoid using nscd when custom rules are installed.
13050 * nss/getXXbyYY_r.c: Likewise.
13051 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13052
13053 * nss/nss_files/files-parse.c: Whitespace fixes.
13054
f15ce4d8
UD
130552010-08-09 Ulrich Drepper <drepper@redhat.com>
13056
13057 [BZ #11883]
13058 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
13059 * posix/fnmatch_loop.c: Likewise.
13060
d22e4cc9
AK
130612010-07-17 Andi Kleen <ak@linux.intel.com>
13062
13063 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
13064 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
13065 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
13066 * Versions.def [GLIBC_2.13]: Add.
13067
805bc17d
UD
130682010-08-06 Ulrich Drepper <drepper@redhat.com>
13069
13070 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13071 Also fail if tpwd after pwuid call is NULL.
13072
5a42321d
ST
130732010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
13074
13075 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
13076 when converting to ms.
13077
fd3ebeda
ST
130782010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13079
13080 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
13081 EOPNOTSUPP errors with ENOTTY.
13082 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
13083 EOPNOTSUPP errors with ENOTTY.
13084
73507d3a
UD
130852010-07-31 Ulrich Drepper <drepper@redhat.com>
13086
13087 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13088 Add strcasecmp_l-ssse3.
13089 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
13090 strcasecmp.
13091 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
13092 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
13093 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
13094
fe36dd02
UD
130952010-07-30 Ulrich Drepper <drepper@redhat.com>
13096
66f6765a
UD
13097 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
13098
42e08a54
UD
13099 * string/Makefile (strop-tests): Add strcasecmp.
13100 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13101 strcasecmp_l-nonascii.
13102 (gen-as-const-headers): Add locale-defines.sym.
13103 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
13104 * sysdeps/x86_64/strcasecmp.S: New file.
13105 * sysdeps/x86_64/strcasecmp_l.S: New file.
13106 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
13107 * sysdeps/x86_64/locale-defines.sym: New file.
13108 * string/test-strcasecmp.c: New file.
13109
fe36dd02
UD
13110 * string/test-strcasestr.c: Test both ends of the range of characters.
13111 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
13112
48cbc0d6
RM
131132010-07-29 Roland McGrath <roland@redhat.com>
13114
76e6d6bc 13115 [BZ #11856]
48cbc0d6
RM
13116 * manual/locale.texi (Yes-or-No Questions): Fix example code.
13117
880113d9
UD
131182010-07-27 Ulrich Drepper <drepper@redhat.com>
13119
13120 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
13121 for ld.so.
13122
deb9cabb
AS
131232010-07-27 Andreas Schwab <schwab@redhat.com>
13124
13125 * manual/memory.texi (Malloc Tunable Parameters): Document
13126 M_PERTURB.
13127
1c7570ff
RM
131282010-07-26 Roland McGrath <roland@redhat.com>
13129
13130 [BZ #11840]
13131 * configure.in (-fgnu89-inline check): Set and substitute
13132 gnu89_inline, not libc_cv_gnu89_inline.
13133 * configure: Regenerated.
13134 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
13135
24fb0f88
UD
131362010-07-26 Ulrich Drepper <drepper@redhat.com>
13137
13138 * string/test-strnlen.c: New file.
13139 * string/Makefile (strop-tests): Add strnlen.
13140 * string/tester.c (test_strnlen): Add a few more test cases.
13141 * string/tst-strlen.c: Better error reporting.
13142
13143 * sysdeps/x86_64/strnlen.S: New file.
13144
8e96b93a
UD
131452010-07-24 Ulrich Drepper <drepper@redhat.com>
13146
13147 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
13148 lower-latency instructions.
13149
dbc676d4
UD
131502010-07-23 Ulrich Drepper <drepper@redhat.com>
13151
13152 * string/test-strcasestr.c: New file.
13153 * string/test-strstr.c: New file.
13154 * string/Makefile (strop-tests): Add strstr and strcasestr.
13155 * string/str-two-way.h: Don't undefine MAX.
13156 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
13157
f6a31e0e
AS
131582010-07-21 Andreas Schwab <schwab@redhat.com>
13159
13160 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13161 strcasestr-nonascii.
13162 (CFLAGS-strcasestr-nonascii.c): Define.
13163 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
13164 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
13165 Remove unused attribute.
13166
5dbc3b6c
RM
131672010-07-20 Roland McGrath <roland@redhat.com>
13168
13169 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
13170 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
13171 ld.so.cache was broken. With it, there is no way to disable dsocaps
13172 like LD_HWCAP_MASK can disable hwcaps.
13173
23d101d8
EPM
131742010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13175
13176 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
13177
cc9f2e47
UD
131782010-07-16 Ulrich Drepper <drepper@redhat.com>
13179
13180 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
13181 call in strcasestr.
13182 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
13183 __strcasestr_sse42_nonascii.
13184 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
13185 strcasestr-nonascii.c.
13186 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
13187
77c1b069
LM
131882010-06-15 Luis Machado <luisgpm@br.ibm.com>
13189
13190 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
13191 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
13192 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
13193 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
13194
440566c3
UD
131952010-07-09 Ulrich Drepper <drepper@redhat.com>
13196
13197 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
13198 fcntl.
13199
5be9d05d
AS
132002010-07-06 Andreas Schwab <schwab@redhat.com>
13201
c30b7ee2 13202 [BZ #11577]
5be9d05d
AS
13203 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
13204 dl_signal_cerror.
13205
8a492a67
UD
132062010-07-06 Ulrich Drepper <drepper@redhat.com>
13207
13208 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
13209 _PC_PIPE_BUF using F_GETPIPE_SZ.
13210
713df3d5
RM
132112010-07-05 Roland McGrath <roland@redhat.com>
13212
13213 * manual/arith.texi (Rounding Functions): Fix rint description
13214 implicit in round description.
13215
702e8f14
UD
132162010-07-02 Ulrich Drepper <drepper@redhat.com>
13217
13218 * elf/Makefile: Fix linking for a few tests to make recent linker
13219 happy.
13220
52ed8be9
AS
132212010-06-30 Andreas Schwab <schwab@redhat.com>
13222
13223 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13224 $(common-objpfx)libc_nonshared.a.
13225
f47c9a11
LM
132262010-06-21 Luis Machado <luisgpm@br.ibm.com>
13227
13228 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
13229 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
13230 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13231 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13232 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
13233 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
13234 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13235 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
13237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
13238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
13239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
13241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
13243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
13244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
13245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
13246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
13248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
13250 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
13251 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
13252 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
13253 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
13254 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
13255 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
13256 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
13257 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
13258 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
13259 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
13260 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
13261 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
13262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
13263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
13264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
13265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
13266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
13267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
13268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
13269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
13270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
13271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
13272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
13273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
13274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
13275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
13276
6fb8cbcb
L
132772010-06-25 H.J. Lu <hongjiu.lu@intel.com>
13278
13279 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
13280 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
13281 * string/memmove.c (memmove): Renamed to ...
13282 (MEMMOVE): ...this. Default to memmove.
13283 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
13284 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
13285 (END_CHK): Define.
13286 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13287 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
13288 mempcpy-ssse3-back memmove-ssse3-back.
13289 * sysdeps/x86_64/multiarch/bcopy.S: New file .
13290 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
13291 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
13292 * sysdeps/x86_64/multiarch/memcpy.S: New file.
13293 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
13294 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
13295 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
13296 * sysdeps/x86_64/multiarch/memmove.c: New file.
13297 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
13298 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
13299 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
13300 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
13301 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
13302 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
13303 Define.
13304 (index_Fast_Copy_Backward): Define.
13305 (HAS_ARCH_FEATURE): Define.
13306 (HAS_FAST_REP_STRING): Define.
13307 (HAS_FAST_COPY_BACKWARD): Define.
13308
4e733bac 133092010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
13310
13311 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13312 Restore proper fallback handling.
13313
63c4ed22
UD
133142010-06-19 Ulrich Drepper <drepper@redhat.com>
13315
ac2b484c
UD
13316 [BZ #11701]
13317 * posix/group_member.c (__group_member): Correct checking loop.
13318
63c4ed22
UD
13319 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
13320 OOM in getpwuid_r correctly. Return error number when the caller
13321 should return, otherwise -1.
13322 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
13323 call returning > 0 value.
13324 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
13325
765ade4b
AS
133262010-06-07 Andreas Schwab <schwab@redhat.com>
13327
13328 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
13329 libc_nonshared.a from targets in modules-names.
13330
80da2e09
KS
133312010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
13332
13333 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
13334 requires it.
13335
158db122
LM
133362010-06-10 Luis Machado <luisgpm@br.ibm.com>
13337
13338 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
13339 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
13340 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
13341 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
13342
caa78cf8
AS
133432010-06-02 Andreas Schwab <schwab@redhat.com>
13344
13345 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
13346
b2ef2c01
UD
133472010-06-14 Ulrich Drepper <drepper@redhat.com>
13348
13349 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
13350 and F_GETPIPE_SZ.
13351 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13352 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13353 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13354 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13355 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13356 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
13357
fbd643b6
RM
133582010-06-14 Roland McGrath <roland@redhat.com>
13359
13360 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
13361
f32f2869
JJ
133622010-06-07 Jakub Jelinek <jakub@redhat.com>
13363
13364 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
13365 __REDIRECT followed by __THROW.
13366 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
13367 * posix/getopt.h (getopt): Likewise.
13368
2a50c078
EPM
133692010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13370
13371 * hurd/lookup-at.c (__file_name_lookup_at): Accept
13372 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
13373 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
13374 in AT_FLAGS.
13375 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
13376 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
13377
eb5ad2eb
LM
133782010-05-28 Luis Machado <luisgpm@br.ibm.com>
13379
13380 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
13381
3c88fe1e
L
133822010-05-26 H.J. Lu <hongjiu.lu@intel.com>
13383
13384 [BZ #11640]
13385 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13386 Properly check family and model.
13387
d2f73151
TY
133882010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
13389
13390 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
13391
ebd2e13d
LM
133922010-05-24 Luis Machado <luisgpm@br.ibm.com>
13393
13394 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
13395
b32b8b45
UD
133962010-05-21 Ulrich Drepper <drepper@redhat.com>
13397
13398 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
13399 symbol reference.
13400
9acbe24d
AS
134012010-05-19 Andreas Schwab <schwab@redhat.com>
13402
13403 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
13404 symbol reference.
13405
f0ccf6ea
AS
134062010-05-21 Andreas Schwab <schwab@redhat.com>
13407
3d04ff3a
AS
13408 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
13409 and internal_recvmmsg.
13410 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
13411 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
13412 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
13413 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
13414
f0ccf6ea
AS
13415 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
13416 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13417 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13418
5b08ac57
AS
134192010-05-20 Andreas Schwab <schwab@redhat.com>
13420
13421 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
13422
4828935d
LM
134232010-05-17 Luis Machado <luisgpm@br.ibm.com>
13424
13425 POWER7 optimizations.
13426 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
13427 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
13428
373d545e
UD
134292010-05-19 Ulrich Drepper <drepper@redhat.com>
13430
13431 * version.h: Update for 2.13 development version.
13432
21a2b1ae
AS
134332010-05-12 Andrew Stubbs <ams@codesourcery.com>
13434
13435 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
13436 exceptions. Return 0.
13437
3f7dcb2b
RM
134382010-05-07 Roland McGrath <roland@redhat.com>
13439
13440 * elf/ldconfig.c (main): Add a const.
13441
5f24d53a 134422010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 13443
a160f8d8
UD
13444 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
13445 (args_options): Add no-idn option.
13446 (ahosts_keys_int): Add idn_flags to ai_flags.
13447 (parse_option): Handle 'i' option to clear idn_flags.
13448
5f24d53a
UD
13449 * malloc/malloc.c (_int_free): Possible race in the most recently
13450 added check. Only act on the data if no current modification
13451 happened.
265bb1ce
UD
13452
13453See ChangeLog.17 for earlier changes.