]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Cleanup nscd.c
[thirdparty/glibc.git] / ChangeLog
CommitLineData
bdd74070
AJ
12012-05-09 Andreas Jaeger <aj@suse.de>
2
edfe0dbe
AJ
3 * nscd/nscd.c (run_modes): Make named enum, reorder so that
4 default is first entry.
5 (run_mode): Set type.
6 (main): Remove informal message about syslog.
7 (options): Fix typo.
8
bdd74070
AJ
9 [BZ #14053]
10 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
11 to asm.
12 (lrint): Likewise.
13 (llrintf): Likewise.
14 (llrint): Likewise.
15 (rint): Likewise.
16 (rintf): Likewise.
17 (nearbyint): Likewise.
18 (nearbyintf): Likewise.
19
91d8d69e
AJ
202012-05-09 Andreas Jaeger <aj@suse.de>
21 Pedro Alves <palves@redhat.com>
22
23 * nscd/nscd.c (run_mode): Use enum.
24 (main): Cleanup coding style issue.
25
bb90b80b
AJ
262012-05-09 Alexandre Oliva <aoliva@redhat.com>
27 Andreas Jaeger <aj@suse.de>
28
29 * nscd/nscd.c (go_background): Replaced with...
30 (run_mode): ... this.
31 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
32 (options): Add -F --foreground.
33 (main): Implement it.
34 (parse_opt): Parse it.
35
1a4b75a1
AJ
362012-05-09 Andreas Jaeger <aj@suse.de>
37
38 [BZ #14083]
39 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
40 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
41 -Wconversion warning.
42 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
43 Likewise.
44
b1cc2472
JM
452012-05-09 Joseph Myers <joseph@codesourcery.com>
46
47 * conform/data/locale.h-data (NULL): Use macro-constant. Require
48 == 0.
49 (LC_ALL): Use macro-int-constant.
50 (LC_COLLATE): Likewise.
51 (LC_CTYPE): Likewise.
52 (LC_MESSAGES): Likewise.
53 (LC_MONETARY): Likewise.
54 (LC_NUMERIC): Likewise.
55 (LC_TIME): Likewise.
56 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
57 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
58 [ISO || ISO99 || ISO11] (*_t): Do not allow.
59 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
60 Specify type.
61 [C99-based standards] (float_t): Expect type.
62 [C99-based standards] (double_t): Expect type.
63 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
64 type.
65 [C99-based standards] (HUGE_VALL): Likewise.
66 [C99-based standards] (INFINITY): Likewise.
67 [C99-based standards] (NAN): Likewise.
68 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
69 [C99-based standards] (FP_NAN): Likewise.
70 [C99-based standards] (FP_NORMAL): Likewise.
71 [C99-based standards] (FP_SUBNORMAL): Likewise.
72 [C99-based standards] (FP_ZERO): Likewise.
73 [C99-based standards] (FP_FAST_FMA): Use
74 optional-macro-int-constant. Specify type. Require == 1.
75 [C99-based standards] (FP_FAST_FMAF): Likewise.
76 [C99-based standards] (FP_FAST_FMAL): Likewise.
77 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
78 [C99-based standards] (FP_ILOGBNAN): Likewise.
79 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
80 Specify type.
81 [C99-based standards] (MATH_ERREXCEPT): Likewise.
82 [C99-based standards] (math_errhandling): Specify type.
83 [ISO99 || ISO11] (signgam): Do not allow.
84 [non-C99-based standards] (copysignf): Do not allow.
85 [non-C99-based standards] (exp2f): Likewise.
86 [non-C99-based standards] (log2f): Likewise.
87 [non-C99-based standards] (modff): Allow.
88 [non-C99-based standards] (erff): Do not allow.
89 [non-C99-based standards] (erfcf): Likewise.
90 [non-C99-based standards] (gammaf): Likewise.
91 [non-C99-based standards] (hypotf): Likewise.
92 [non-C99-based standards] (j0f): Likewise.
93 [non-C99-based standards] (j1f): Likewise.
94 [non-C99-based standards] (jnf): Likewise.
95 [non-C99-based standards] (lgammaf): Likewise.
96 [non-C99-based standards] (tgammaf): Likewise.
97 [non-C99-based standards] (y0f): Likewise.
98 [non-C99-based standards] (y1f): Likewise.
99 [non-C99-based standards] (ynf): Likewise.
100 [non-C99-based standards] (isnanf): Likewise.
101 [non-C99-based standards] (acoshf): Likewise.
102 [non-C99-based standards] (asinhf): Likewise.
103 [non-C99-based standards] (atanhf): Likewise.
104 [non-C99-based standards] (cbrtf): Likewise.
105 [non-C99-based standards] (expm1f): Likewise.
106 [non-C99-based standards] (ilogbf): Likewise.
107 [non-C99-based standards] (log1pf): Likewise.
108 [non-C99-based standards] (logbf): Likewise.
109 [non-C99-based standards] (nextafterf): Likewise.
110 [non-C99-based standards] (remainderf): Likewise.
111 [non-C99-based standards] (rintf): Likewise.
112 [non-C99-based standards] (scalbf): Likewise.
113 [non-C99-based standards] (copysignl): Likewise.
114 [non-C99-based standards] (exp2l): Likewise.
115 [non-C99-based standards] (log2l): Likewise.
116 [non-C99-based standards] (modfl): Allow.
117 [non-C99-based standards] (erfl): Do not allow.
118 [non-C99-based standards] (erfcl): Likewise.
119 [non-C99-based standards] (gammal): Likewise.
120 [non-C99-based standards] (hypotl): Likewise.
121 [non-C99-based standards] (j0l): Likewise.
122 [non-C99-based standards] (j1l): Likewise.
123 [non-C99-based standards] (jnl): Likewise.
124 [non-C99-based standards] (lgammal): Likewise.
125 [non-C99-based standards] (tgammal): Likewise.
126 [non-C99-based standards] (y0l): Likewise.
127 [non-C99-based standards] (y1l): Likewise.
128 [non-C99-based standards] (ynl): Likewise.
129 [non-C99-based standards] (isnanl): Likewise.
130 [non-C99-based standards] (acoshl): Likewise.
131 [non-C99-based standards] (asinhl): Likewise.
132 [non-C99-based standards] (atanhl): Likewise.
133 [non-C99-based standards] (cbrtl): Likewise.
134 [non-C99-based standards] (expm1l): Likewise.
135 [non-C99-based standards] (ilogbl): Likewise.
136 [non-C99-based standards] (log1pl): Likewise.
137 [non-C99-based standards] (logbl): Likewise.
138 [non-C99-based standards] (nextafterl): Likewise.
139 [non-C99-based standards] (remainderl): Likewise.
140 [non-C99-based standards] (rintl): Likewise.
141 [non-C99-based standards] (scalbl): Likewise.
142 [ISO || ISO99 || ISO11] (*_t): Do not allow.
143 [non-C99-based standards] (FP_*): Do not allow.
144 [C99-based standards] (FP_*): Change to
145 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
146 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
147 allow.
148 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
149 (SIG_ERR): Likewise.
150 [X/Open-based standards] (SIG_HOLD): Likewise.
151 (SIG_IGN): Likewise.
152 (SIGABRT): Use macro-int-constant. Specify type. Require
153 positive value.
154 (SIGFPE): Likewise.
155 (SIGILL): Likewise.
156 (SIGINT): Likewise.
157 (SIGSEGV): Likewise.
158 (SIGTER): Likewise.
159 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
160 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
161 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
162 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
163 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
164 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
165 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
166 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
167 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
168 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
169 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
170 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
171 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
172 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
173 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
174 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
175 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
176 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
177 [X/Open-based standards] (SIGTRAP): Likewise.
178 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
179 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
180 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
181 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
182 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
183 allow.
184
b9f1922d
IW
1852012-05-08 Ian Wienand <ianw@vmware.com>
186
187 [BZ #14080]
188 * time/tzset.c (__tzset_parse_tz): Update default rules for
189 daylight time changes in the Energy Policy Act of 2005.
190
1db86e88
AJ
1912012-05-09 Andreas Jaeger <aj@suse.de>
192
193 [BZ #13983]
194 * elf/ldconfig.c (parse_conf): Change string to make clear that
195 ldconfig only issued a warning if ld.so.conf does not exist.
196
dee4a4e3
DM
1972012-05-08 David S. Miller <davem@davemloft.net>
198
ee0db190
DM
199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
200 movxtod instead of popping the value on the stack.
201
dee4a4e3
DM
202 * sysdeps/sparc/fpu/libm-test-ulps: Update.
203
6a43ec98
CD
2042012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
205
206 * config.h.in: Add HAVE_ARM_PCS_VFP.
207
05c2c961
RMG
2082012-05-08 Roland Mc Grath <roland@hack.frob.com>
209
210 [BZ #13979]
211 * include/features.h: Warn if user requests __FORTIFY_SOURCE
212 checking but the checks are disabled for any reason.
213
4b30f61a
L
2142012-05-08 H.J. Lu <hongjiu.lu@intel.com>
215
216 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
217 and ELF64_R_TYPE with ELFW(R_TYPE).
218
eee2bc67
JM
2192012-05-08 Joseph Myers <joseph@codesourcery.com>
220
7ea5391a
JM
221 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
222 (ulimit): Likewise.
223
eee2bc67
JM
224 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
225 (settimeofday): Likewise.
226
abb66a67
MF
2272012-05-08 Mike Frysinger <vapier@gentoo.org>
228
229 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
230 a struct th_u2 inside the union, and move tu_block/tu_code into
231 a new th_u3 union of tu_block/tu_code inside of that. Move
232 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
233 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
234 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
235 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
236 (th_stuff): Change to th_u1.tu_stuff.
237 (th_data): Define.
238 (th_msg): Change to th_u1.th_u2.tu_data.
239
7f18b530
DM
2402012-05-07 David S. Miller <davem@davemloft.net>
241
05760585
DM
242 * sysdeps/sparc/fpu/libm-test-ulps: Update.
243
7f18b530
DM
244 [BZ #14074]
245 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
246 (SETUP_PIC_REG): Use it.
247 (SETUP_PIC_REG_LEAF): Use it.
248
495fd99f
JM
2492012-05-07 Joseph Myers <joseph@codesourcery.com>
250
251 [BZ #13885]
252 [BZ #13923]
253 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
254 USE_AS_EXPM1L.
255 (EXPL_FINITE): Likewise.
256 (FLDLOG): Likewise.
257 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
258 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
259 e_expl.S.
260 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
261 USE_AS_EXPM1L.
262 (EXPL_FINITE): Likewise.
263 (FLDLOG): Likewise.
264 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
265 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
266 e_expl.S.
267 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
268 test of -max_value argument for long double.
269 * sysdeps/i386/fpu/libm-test-ulps: Update.
270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
271
6693d694
DM
2722012-05-06 David S. Miller <davem@davemloft.net>
273
274 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
275 quad soft-float symbols whose references which are compiler
276 generated.
277 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
278
6c23e11c
JM
2792012-05-06 Joseph Myers <joseph@codesourcery.com>
280
d8b82cad
JM
281 [BZ #13884]
282 [BZ #13914]
283 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
284 USE_AS_EXP10L.
285 (EXPL_FINITE): Likewise.
286 (FLDLOG): Likewise.
287 (c0): Likewise.
288 (c1): Likewise.
289 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
290 Adjust comments for base varying.
291 (__expl_finite): Change alias to EXPL_FINITE.
292 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
293 e_expl.S.
294 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
295 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
296 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
297 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
298 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
299 USE_AS_EXP10L.
300 (EXPL_FINITE): Likewise.
301 (FLDLOG): Likewise.
302 (c0): Likewise.
303 (c1): Likewise.
304 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
305 Adjust comments for base varying.
306 (__expl_finite): Change alias to EXPL_FINITE.
307 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
308 tests for bugs.
309 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
310
6c23e11c
JM
311 [BZ #14064]
312 * math/libm-test.inc (check_float_internal): Correct ulp
313 calculation for subnormal expected results.
314
29ba805c
AJ
3152012-05-06 Andreas Jaeger <aj@suse.de>
316
317 * Makeconfig (+math-flags): New, set to -frounding-math.
318 (+cflags): Add +math-flags so that all of glibc gets compiled with
319 it.
320
321 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
322
7b17aeda
JM
3232012-05-05 Joseph Myers <joseph@codesourcery.com>
324
5779f134
JM
325 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
326 Disable one test.
327
41498f4d
JM
328 [BZ #13787]
329 [BZ #13922]
330 [BZ #14036]
331 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
332 (__ieee754_expl): Allow for and saturate large arguments.
333 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
334 (u_threshold): Likewise.
335 (__exp): Call __ieee754_exp before checking for overflow and
336 underflow.
337 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
338 (u_threshold): Likewise.
339 (__expf): Call __ieee754_expf before checking for overflow and
340 underflow.
341 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
342 (u_threshold): Likewise.
343 (__expl): Call __ieee754_expl before checking for overflow and
344 underflow.
345 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
346 (__ieee754_expl): Allow for and saturate large arguments.
347 * math/libm-test.inc (exp_test): Add another test. Do not allow
348 missing overflow exception on overflow.
349 (expm1_test): Do not allow missing overflow exception on overflow.
350
6698b8bf
JM
351 * sysdeps/i386/fpu/e_expl.c: Move to ...
352 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
353 rather than using inline asm.
354 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
355 * sysdeps/x86_64/fpu/e_expl.S: Copy from
356 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
357
7b17aeda
JM
358 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
359 (nice): Likewise.
360 (poll): Likewise.
361 (signal): Likewise.
362 (time): Likewise.
363 (times): Likewise.
364
f7c85819
JM
3652012-05-04 Joseph Myers <joseph@codesourcery.com>
366
367 * sysdeps/unix/syscalls.list (adjtime): Add entry from
368 sysdeps/unix/common/syscalls.list.
369 (fchmod): Likewise.
370 (fchown): Likewise.
371 (ftruncate): Likewise.
372 (getrusage): Likewise.
373 (gettimeofday): Likewise.
374 (setpgid): Likewise.
375 (setregid): Likewise.
376 (setreuid): Likewise.
377 (sigaction): Likewise.
378 (truncate): Likewise.
379 (vhangup): Likewise.
380 * sysdeps/unix/common/syscalls.list: Remove file.
381 * sysdeps/unix/bsd/Implies: Don't include unix/common.
382 * sysdeps/unix/sysv/linux/Implies: Likewise.
383
336270d0
L
3842012-05-04 H.J. Lu <hongjiu.lu@intel.com>
385
386 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
387 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
388 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
389 Moved to ...
390 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
391 Here.
392 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
393 to ...
394 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
395 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
396 to ...
397 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
398 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
399 to ...
400 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
401 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
402 to ...
403 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
404 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
405 to ...
406 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
407 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
408 to ...
409 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
410 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
411 to ...
412 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
413 Here.
414 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
415 to ...
416 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
417 Here.
418 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
419 to ...
420 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
421 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
422 Moved to ...
423 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
424 Here.
425 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
426 to ...
427 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
428
d128e450
JM
4292012-05-04 Joseph Myers <joseph@codesourcery.com>
430
fa8ee516
JM
431 * sysdeps/unix/common/bits/dirent.h: Remove file.
432 * sysdeps/unix/common/bits/fcntl.h: Likewise.
433
d128e450
JM
434 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
435 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
436 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
437 * sysdeps/unix/bsd/isatty.c: Likewise.
438 * sysdeps/unix/bsd/tcdrain.c: Likewise.
439 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
440 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
441
ff8faaf0 4422012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 443
62881be4 444 [BZ #13563]
31dc8730
AZ
445 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
446 long double comparison inaccuracies.
447 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
448 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
449
6fef930c
AS
4502012-05-04 Andreas Schwab <schwab@linux-m68k.org>
451
452 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
453 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
454
8f203e6c
JM
4552012-05-04 Joseph Myers <joseph@codesourcery.com>
456
457 [BZ #14049]
458 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
459 nonzero digits before rounding a hex value.
460 * stdlib/tst-strtod.c (tests): Add another test.
461
5197d9c2
AK
4622012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
463
464 * sysdeps/s390/fpu/libm-test-ulps: Update.
465
f0c1dedf
AJ
4662012-05-03 Andreas Jaeger <aj@suse.de>
467
468 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
469 does not get optimized out.
470 (malloc_opt_barrier): New.
471
a65ef2ae 4722012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 473 Roland McGrath <roland@hack.frob.com>
a65ef2ae 474
2b942cb7 475 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 476 intermediate file deletion.
2b942cb7 477 (generated): Add .symlist files.
a65ef2ae 478
54b71e02
JM
4792012-05-03 Joseph Myers <joseph@codesourcery.com>
480
481 [BZ #13775]
482 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
483 Redirect under this condition.
484 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
485 [__USE_GNU] (__dprintf_chk): Not under this condition.
486 [__USE_GNU] (__vdprintf_chk): Likewise.
487 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
488 under this condition.
489 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
490 [__USE_XOPEN2K8] (dprintf): Define under this condition.
491 [__USE_XOPEN2K8] (vdprintf): Likewise.
492 [__USE_GNU] (__dprintf_chk): Not under this condition.
493 [__USE_GNU] (__vdprintf_chk): Likewise.
494 [__USE_GNU] (dprintf): Likewise.
495 [__USE_GNU] (vdprintf): Likewise.
496
d3dfcc41
RM
4972012-05-03 Roland McGrath <roland@hack.frob.com>
498
499 * elf/Makefile (common-generated): Set this instead of generated for
500 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
501 $(all-built-dso)-derived lists.
502
7ac30cc5
AJ
5032012-05-03 Andreas Jaeger <aj@suse.de>
504
0c51e550
AJ
505 * sysdeps/i386/fpu/libm-test-ulps: Update.
506
7ac30cc5
AJ
507 * FAQ: Removed.
508 * FAQ.in: Likewise.
509 * scripts/gen-FAQ.pl: Likewise.
510 * manual/install.texi (Installation): Point to online location of
511 FAQ.
512 * Makefile (files-for-dist): Remove FAQ.
513 (FAQ): Remove.
514
d4c2917f
AM
5152012-05-02 Allan McRae <allan@archlinux.org>
516
517 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
518 (LDFLAGS-reldepmod5.so): Likewise.
519 (LDFLAGS-reldep6mod1.so): Likewise.
520 (LDFLAGS-reldep6mod4.so): Likewise.
521 (LDFLAGS-reldep8mod3.so): Likewise.
522 (LDFLAGS-unload4mod1.so): Likewise.
523 (LDFLAGS-unload4mod2.so): Likewise.
524 (LDFLAGS-tst-initorder): Likewise.
525 (LDFLAGS-tst-initordera2.so): Likewise.
526 (LDFLAGS-tst-initordera3.so): Likewise.
527 (LDFLAGS-tst-initordera4.so): Likewise.
528 (LDFLAGS-tst-initorderb2.so): Likewise.
529 (LDFLAGS-noload): Likewise.
530 (LDFLAGS-next): Likewise.
531 (LDFLAGS-order2mod1.so): Likewise.
532 (LDFLAGS-order2mod2.so): Likewise.
533 (LDFLAGS-tst-initorder2): Likewise.
534 (LDFLAGS-tst-initorder2a.so): Likewise.
535 (LDFLAGS-tst-initorder2b.so): Likewise.
536 (LDFLAGS-tst-initorder2c.so): Likewise.
537 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
538
d77f993f
DM
5392012-05-02 David S. Miller <davem@davemloft.net>
540
541 * sysdeps/sparc/fpu/libm-test-ulps: Update.
542
171a70b4
PP
5432012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
544
545 [BZ #14055]
546 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
547
0be196ad
AJ
5482012-05-02 Andreas Jaeger <aj@suse.de>
549
550 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
551 since we manipulate rounding mode.
552 (CPPFLAGS-test-idouble.c): Likewise.
553 (CPPFLAGS-test-ifloat.c): Likewise.
554 (CFLAGS-test-ldouble.c): Likewise.
555 (CFLAGS-test-double.c): Likewise.
556 (CFLAGS-test-float.c): Likewise.
557 (CFLAGS-test-misc.c): Likewise.
558 (CFLAGS-test-test-fenv.c): Likewise.
559
4f9d04aa
AZ
5602012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
561
2b942cb7
RM
562 [BZ #2550]
563 [BZ #2570]
564 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
565 comparisons to determine direction to adjust input.
4f9d04aa 566
82a79e7d
RM
5672012-05-01 Roland McGrath <roland@hack.frob.com>
568
f5a01ca9
RM
569 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
570 output to the target.
571
90fe4186
RM
572 * scripts/localplt.awk: New file.
573 * elf/Makefile ($(objpfx)check-localplt): Target removed.
574 (check-localplt-CFLAGS): Variable removed.
575 ($(all-built-dso:=.jmprel)): New static pattern rule.
576 (generated): Add those targets.
577 (localplt-built-dso): New variable.
578 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
579
580 * elf/check-localplt.c: File removed.
581
82397ed6
RM
582 * scripts/check-execstack.awk: New file.
583 * elf/Makefile ($(objpfx)check-execstack): Target removed.
584 (check-execstack-CFLAGS): Variable removed.
585 ($(objpfx)check-execstack.h): Target removed.
586 ($(objpfx)execstack-default): New target.
587 (generated): Add that instead of check-execstack.h.
588 ($(all-built-dso:=.phdr)): New static pattern rule.
589 (generated): Add those targets.
590 * elf/check-execstack.c: File removed.
591
82a79e7d
RM
592 * scripts/check-textrel.awk: New file.
593 * elf/Makefile ($(objpfx)check-textrel): Target removed.
594 (check-textrel-CFLAGS): Variable removed.
595 (all-built-dso): Use := to define.o
596 ($(all-built-dso:=.dyn)): New static pattern rule.
597 (generated): Add those targets.
598 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
599 * config.make.in (READELF): New substituted variable.
600 * elf/check-textrel.c: File removed.
601
62fde54f 6022012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 603
615605c9
JM
604 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
605 allow.
606 * conform/data/ctype.h-data [C99-based standards] (isblank):
607 Expect function.
608 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
609 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
610 [ISO || ISO99 || ISO11] (*_t): Do not allow.
611 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
612 Specify type. Require positive value.
613 (EILSEQ): Likewise.
614 (ERANGE): Likewise.
615 [ISO || POSIX] (EILSEQ): Do not expect.
616 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
617 Specify type. Require positive value.
618 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
619 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
620 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
621 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
622 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
623 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
624 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
625 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
626 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
627 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
628 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
629 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
630 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
631 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
632 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
633 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
634 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
635 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
636 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
637 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
638 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
639 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
640 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
641 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
642 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
643 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
644 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
645 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
646 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
647 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
648 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
649 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
650 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
651 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
652 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
653 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
654 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
655 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
656 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
657 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
658 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
659 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
660 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
661 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
662 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
663 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
664 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
665 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
666 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
667 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
668 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
669 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
670 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
671 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
672 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
673 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
674 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
675 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
676 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
677 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
678 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
679 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
680 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
681 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
682 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
683 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
684 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
685 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
686 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
687 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
688 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
689 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
690 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
691 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
692 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
693 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
694 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
695 Require >= 2.
696 (FLT_ROUNDS): Expect as macro, not constant.
697 (FLT_MANT_DIG): Use macro-int-constant.
698 (DBL_MANT_DIG): Likewise.
699 (LDBL_MANT_DIG): Likewise.
700 (FLT_DIG): Likewise.
701 (DBL_DIG): Likewise.
702 (LDBL_DIG): Likewise.
703 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
704 (DBL_MIN_EXP): Likewise.
705 (LDBL_MIN_EXP): Likewise.
706 (FLT_MAX_EXP): Use macro-int-constant.
707 (DBL_MAX_EXP): Likewise.
708 (LDBL_MAX_EXP): Likewise.
709 (FLT_MAX_10_EXP): Likewise.
710 (DBL_MAX_10_EXP): Likewise.
711 (LDBL_MAX_10_EXP): Likewise.
712 (FLT_MAX): Use macro-constant.
713 (DBL_MAX): Likewise.
714 (LDBL_MAX): Likewise.
715 (FLT_EPSILON): Use macro-constant. Give upper bound.
716 (DBL_EPSILON): Likewise.
717 (LDBL_EPSILON): Likewise.
718 (FLT_MIN): Likewise.
719 (DBL_MIN): Likewise.
720 (LDBL_MIN): Likewise.
721 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
722 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
723 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
724 [ISO11] (FLT_HAS_SUBNORM): Likewise.
725 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
726 [ISO11] (DBL_DECIMAL_DIG): Likewise.
727 [ISO11] (FLT_DECIMAL_DIG): Likewise.
728 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
729 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
730 [ISO11] (FLT_TRUE_MIN): Likewise.
731 [ISO11] (LDBL_TRUE_MIN): Likewise.
732 [ISO || ISO99 || ISO11] (*_t): Do not allow.
733 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
734 (SCHAR_MIN): Use macro-int-constant. Specify type.
735 (SCHAR_MAX): Likewise.
736 (UCHAR_MAX): Likewise.
737 (CHAR_MIN): Likewise.
738 (CHAR_MAX): Likewise.
739 (MB_LEN_MAX): Use macro-int-constant.
740 (SHRT_MIN): Use macro-int-constant. Specify type.
741 (SHRT_MAX): Likewise.
742 (USHRT_MAX): Likewise.
743 (INT_MAX): Likewise.
744 (INT_MIN): Use macro-int-constant. Specify type. Make upper
745 bound negative.
746 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
747 bound with "U".
748 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
749 bound with "L".
750 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
751 bound negative. Suffix upper bound with "L".
752 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
753 bound with "UL".
754 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
755 Specify type.
756 [C99-based standards] (LLONG_MAX): Likewise.
757 [C99-based standards] (ULLONG_MAX): Likewise.
758 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
759 == 0.
760 [ISO11] (max_align_t): Require type.
761 [ISO || ISO99 || ISO11] (*_t): Do not allow.
762
c9140a62
JM
763 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
764 from $CFLAGS, without defining away __attribute__ calls.
765 (checknamespace): Use $CFLAGS_namespace.
766
9af0bf29
JM
767 * conform/conformtest.pl (@keywords): Only include C99 keywords
768 for standards based on C99 or C11.
769
343222a2
JM
770 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
771 Disable tests.
772 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
773 UNIX98]: Likewise.
774
661f8cf0
JM
775 * conform/conformtest.pl: Handle "macro-int-constant" and test for
776 usability of symbols in #if.
777
ee74b9cb
JM
778 * conform/conformtest.pl: If macro or constant types start
779 "promoted:", expect the symbol to be of the following type
780 promoted by the integer promotions.
62fde54f 781
aafc49b3
JM
782 * conform/conformtest.pl: Parse all "constant" and "macro" lines
783 in one place. Also handle "macro-constant".
784
fefdf574
JM
785 * conform/conformtest.pl: Only accept expected macro values with
786 "==". Parse all "macro" lines in one place.
787 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
788
f2d922fe
JM
789 * conform/conformtest.pl: Handle braced types on "constant" lines
790 instead of handling "typed-constant".
791 * conform/data/signal.h-data: Use "constant" instead of
792 "typed-constant".
793
d22956c9
JM
794 * conform/conformtest.pl: Handle "optional-" at start of lines in
795 one place rather than duplicating several cases. Handle each
796 format of "macro" line with initial "optional-".
797
028e2e38
JM
798 * conform/conformtest.pl: Only accept expected constant or
799 optional-constant values with "==". Parse all "constant" lines in
800 one place. Parse all "optional-constant" lines in one place.
801 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
802 * conform/data/fmtmsg.h-data: Likewise.
803 * conform/data/netinet/in.h-data: Likewise.
804 * conform/data/tar.h-data: Likewise.
805 * conform/data/limits.h-data: Use "==" form on "constant" and
806 "optional-constant" lines.
807
1b8f2850
JM
808 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
809 Use -std=c99 for XOPEN2K.
810 (@knownproblems): Remove.
811 (newtoken): Don't check %isknown.
812
a05a144b
JM
813 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
814 Do not expect macro.
815 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
816 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
817 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
818 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
819 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
820 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
821 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
822 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
823 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
824 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
825 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
826 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
827 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
828 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
829 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
830 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
831 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
832 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
833 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
834 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
835 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
836 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
837 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
838 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
839 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
840 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
841 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
842 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
843 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
844 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
845 [XPG3] (acosh): Likewise.
846 [XPG3] (asinh): Likewise.
847 [XPG3] (atanh): Likewise.
848 [XPG3] (cbrt): Likewise.
849 [XPG3] (expm1): Likewise.
850 [XPG3] (ilogb): Likewise.
851 [XPG3] (log1p): Likewise.
852 [XPG3] (logb): Likewise.
853 [XPG3] (nextafter): Likewise.
854 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
855 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
856 [XPG3] (remainder): Likewise.
857 [XPG3] (rint): Likewise.
858 [XPG3 || XPG4 || UNIX98] (round): Likewise.
859 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
860 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
861 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
862 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
863 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
864 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
865 [UNIX98 || XOPEN2K] (scalb): Expect.
866 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
867 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
868 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
869 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
870 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
871 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
872 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
873 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
874 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
875 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
876 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
877 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
878 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
879 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
880 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
881 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
882 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
883 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
884 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
885 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
886 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
887 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
888 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
889 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
890 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
891 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
892 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
893 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
894 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
895 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
896 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
897 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
898 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
899 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
900 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
901 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
902 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
903 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
904 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
905 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
906 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
907 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
908 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
909 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
910 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
911 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
912 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
913 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
914 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
915 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
916 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
917 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
918 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
919 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
920 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
921 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
922 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
923 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
924 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
925 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
926 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
927 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
928 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
929 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
930 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
931 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
932 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
933 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
934 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
935 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
936 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
937 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
938 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
939 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
940 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
941 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
942 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
943 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
944 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
945 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
946 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
947 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
948 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
949 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
950 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
951 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
952 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
953 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
954 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
955 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
956 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
957 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
958 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
959 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
960 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
961 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
962 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
963 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
964 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
965 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
966 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
967 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
968 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
969 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
970 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
971 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
972 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
973 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
974 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
975 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
976 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
977 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
978 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
979 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
980 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
981 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
982 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
983 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
984 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
985 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
986 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
987 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
988 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
989 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
990 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
991 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
992 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
993 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
994 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
995 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
996 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
997 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
998 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
999 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
1000 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
1001 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
1002 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
1003
73c5ebe3
JM
1004 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
1005 _XOPEN_SOURCE_EXTENDED for XPG4.
1006
39c33b6c
JM
1007 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
1008
62fde54f
JM
1009 * Makeconfig (localtime): Remove variable.
1010 (inst_localtime-file): Likewise.
1011
0741d64c
AS
10122012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1013
1014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1015 Update.
1016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1017 Update.
1018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1019 Update.
1020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1021 Update.
1022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1023 Update.
1024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
1025 Update.
1026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1027 Update.
1028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
1029 Update.
1030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1031 Update.
1032
7cb029ee
JM
10332012-05-01 Joseph Myers <joseph@codesourcery.com>
1034
1035 [BZ #2550]
1036 [BZ #2570]
1037 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
1038 comparisons to determine direction to adjust input.
1039 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
1040 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
1041 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
1042 Likewise.
1043 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
1044 Likewise.
1045 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1046 Likewise.
1047 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
1048 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1049 Likewise.
1050 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1051 Likewise.
1052 * math/libm-test.inc (nexttoward_test): Add more tests.
1053
412bd966
AS
10542012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1055
1056 [BZ #14040]
1057 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
1058 in version GLIBC_2.1, not GLIBC_2.0.
1059 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
1060 Likewise.
1061
9568c0c2
JM
10622012-04-30 Joseph Myers <joseph@codesourcery.com>
1063
adfbc8ac
JM
1064 [BZ #13942]
1065 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
1066 (1 - x) * (1 + x).
1067 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1068 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
1069 * math/libm-test.inc (acos_test): Add more tests.
1070 (asin_test): Likewise.
1071 * sysdeps/i386/fpu/libm-test-ulps: Update.
1072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1073
5ba3cc69
JM
1074 [BZ #14034]
1075 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
1076 of square root.
1077 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
1078 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1079 * math/libm-test.inc (acos_test_tonearest): New function.
1080 (acos_test_towardzero): Likewise.
1081 (acos_test_downward): Likewise.
1082 (acos_test_upward): Likewise.
1083 (asin_test_tonearest): Likewise.
1084 (asin_test_towardzero): Likewise.
1085 (asin_test_downward): Likewise.
1086 (asin_test_upward): Likewise.
1087 (main): Call the new functions.
1088 * sysdeps/i386/fpu/libm-test-ulps: Update.
1089 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1090
9568c0c2
JM
1091 [BZ #13884]
1092 [BZ #13924]
1093 * math/e_exp10.c: Include <float.h>.
1094 (__ieee754_exp10): Handle underflow here rather than multiplying
1095 large negative argument by M_LN10.
1096 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
1097 of __ieee754_expf.
1098 * math/e_exp10l.c: Include <float.h>.
1099 (__ieee754_exp10l): Handle underflow here rather than multiplying
1100 large negative argument by M_LN10l.
1101 * math/libm-test.inc (exp10_test): Add another test. Do not allow
1102 spurious overflow exception on underflow.
1103
5ac3ea17
MP
11042012-04-29 Marek Polacek <polacek@redhat.com>
1105
1106 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
1107 (__fortify_function): New macro.
1108 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
1109 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
1110 __extern_always_inline.
1111 * libio/bits/stdio2.h: Likewise.
1112 * libio/bits/stdio.h: Likewise.
1113 * string/string.h: Likewise.
1114 * string/bits/string3.h: Likewise.
1115 * include/stdio.h: Likewise.
1116 * stdlib/bits/stdlib.h: Likewise.
1117 * stdlib/stdlib.h: Likewise.
1118 * rt/bits/mqueue2.h: Likewise.
1119 * rt/mqueue.h: Likewise.
1120 * posix/bits/unistd.h: Likewise.
1121 * posix/unistd.h: Likewise.
1122 * io/bits/poll2.h: Likewise.
1123 * io/bits/fcntl2.h: Likewise.
1124 * io/fcntl.h: Likewise.
1125 * io/sys/poll.h: Likewise.
1126 * misc/bits/syslog.h: Likewise.
1127 * misc/bits/syslog-ldbl.h: Likewise.
1128 * misc/sys/syslog.h: Likewise.
1129 * socket/bits/socket2.h: Likewise.
1130 * socket/sys/socket.h: Likewise.
1131 * debug/tst-chk1.c: Likewise.
1132 * wcsmbs/bits/wchar2.h: Likewise.
1133 * wcsmbs/bits/wchar-ldbl.h: Likewise.
1134 * wcsmbs/wchar.h: Likewise.
1135
ecf0ebfb
AJ
11362012-04-29 Andreas Jaeger <aj@suse.de>
1137
1138 * Makerules (tests): Remove enable-check-abi protection.
1139 (check-abi-warn): Remove.
1140 (check-abi-%): Remove check-abi-warn usage.
1141
1142 * configure.in: Remove check-abi configure option.
1143 * configure: Regenerated.
1144 * config.make.in (enable-check-abi): Remove.
1145
6d5c57fa
AS
11462012-04-28 Andreas Schwab <schwab@linux-m68k.org>
1147
24c5d07e 1148 [BZ #14033]
ded5180a
AS
1149 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
1150 double functions to double *_finite functions.
1151
7e0d315d
AS
1152 [BZ #13941]
1153 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
1154 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
1155 LDBL_MIN_EXP.
1156 * stdio-common/Makefile (tests): Add tst-sprintf3.
1157 * stdio-common/tst-sprintf3.c: New file.
1158
6d5c57fa
AS
1159 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
1160 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
1161
0749ff8b
JM
11622012-04-28 Joseph Myers <joseph@codesourcery.com>
1163
1164 * conform/conformtest.pl: Remove duplicate typed-constant
1165 handling.
1166
8dbd5d7b
DM
11672012-04-28 David S. Miller <davem@davemloft.net>
1168
1169 * Makerules (%.abilist): Add vpath on sysdep_dirs.
1170 (check-abi-%): Remove AWK script prerequisite and explicit
1171 abilist directory.
1172 (check-abi): Rewrite to just diff the symlist with the abilist.
1173 (config-tls, config-abi-config): Delete, no longer used.
1174 (update-abi-%): Remove AWK script and explicit abilist directory.
1175 (update-abi): Rewrite to simply compare and conditionally copy the
1176 symlist and the sysdep abilist file. Remove update-abi-config
1177 checks.
1178 * abilist/ld.abilist: Remove.
1179 * abilist/libBrokenLocale.abilist: Remove.
1180 * abilist/libanl.abilist: Remove.
1181 * abilist/libcrypt.abilist: Remove.
1182 * abilist/libdl.abilist: Remove.
1183 * abilist/librt.abilist: Remove.
1184 * abilist/libthread_db.abilist: Remove.
1185 * abilist/libutil.abilist: Remove.
1186 * scripts/extract-abilist.awk: Remove.
1187 * scripts/merge-abilist.awk: Remove.
1188 * sysdeps/generic/libcidn.abilist: New file.
1189 * sysdeps/generic/libnss_compat.abilist: New file.
1190 * sysdeps/generic/libnss_db.abilist: New file.
1191 * sysdeps/generic/libnss_dns.abilist: New file.
1192 * sysdeps/generic/libnss_files.abilist: New file.
1193 * sysdeps/generic/libnss_hesiod.abilist: New file.
1194 * sysdeps/generic/libnss_nis.abilist: New file.
1195 * sysdeps/generic/libnss_nisplus.abilist: New file.
1196 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
1197 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
1198 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
1199 file.
1200 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
1201 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
1202 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
1203 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
1204 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
1205 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
1206 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
1207 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
1208 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
1209 file.
1210 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
1211 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
1212 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
1213 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
1214 file.
1215 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
1216 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
1217 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
1218 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
1219 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
1220 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
1221 file.
1222 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
1223 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
1224 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
1225 file.
1226 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
1227 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
1228 New file.
1229 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
1230 New file.
1231 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
1232 New file.
1233 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
1234 New file.
1235 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
1236 New file.
1237 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
1238 New file.
1239 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
1240 New file.
1241 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
1242 New file.
1243 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
1244 New file.
1245 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
1246 New file.
1247 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
1248 New file.
1249 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
1250 New file.
1251 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
1252 New file.
1253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
1254 file.
1255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1256 New file.
1257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1258 New file.
1259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
1260 file.
1261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1262 New file.
1263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1264 New file.
1265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
1266 file.
1267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1268 New file.
1269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1270 New file.
1271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1272 New file.
1273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1274 New file.
1275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1276 New file.
1277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1278 New file.
1279 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
1280 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
1281 file.
1282 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1283 New file.
1284 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
1285 file.
1286 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
1287 file.
1288 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
1289 file.
1290 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
1291 file.
1292 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
1293 file.
1294 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1295 New file.
1296 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
1297 file.
1298 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
1299 file.
1300 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1301 New file.
1302 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
1303 file.
1304 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
1305 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
1306 file.
1307 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1308 New file.
1309 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
1310 file.
1311 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
1312 file.
1313 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
1314 file.
1315 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
1316 file.
1317 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
1318 file.
1319 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1320 New file.
1321 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
1322 file.
1323 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
1324 file.
1325 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1326 New file.
1327 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
1328 file.
1329 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1330 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
1331 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
1332 file.
1333 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
1334 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
1335 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
1336 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
1337 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
1338 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
1339 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
1340 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
1341 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
1342 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
1343 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
1344 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
1345 file.
1346 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1347 New file.
1348 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
1349 file.
1350 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
1351 file.
1352 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
1353 file.
1354 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
1355 file.
1356 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
1357 file.
1358 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1359 New file.
1360 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1361 New file.
1362 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
1363 file.
1364 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1365 New file.
1366 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
1367 file.
1368 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
1369 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
1370 file.
1371 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1372 New file.
1373 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
1374 file.
1375 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
1376 file.
1377 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
1378 file.
1379 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
1380 file.
1381 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
1382 file.
1383 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1384 New file.
1385 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1386 New file.
1387 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
1388 file.
1389 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1390 New file.
1391 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
1392 file.
1393
41d73a1b
JM
13942012-04-28 Joseph Myers <joseph@codesourcery.com>
1395
1396 * conform/conformtest.pl: Fix typo in handling typed-constant from
1397 allow-header.
1398
28aeeda4
JM
13992012-04-27 Joseph Myers <joseph@codesourcery.com>
1400
adae8f5e
JM
1401 * README: Cut down references to pre-2.6 Linux kernels and
1402 Linuxthreads. Update lists of configurations in libc and ports
1403 and sort alphabetically. Say "or newer" with Linux kernel version
1404 requirements.
1405
28aeeda4
JM
1406 * config.h.in [IS_IN_build]: Allow compiling without optimization.
1407
a462cb63
RA
14082012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1409
1410 [BZ #887]
1411 * math/libm-test.inc (logb_test_downward): New test to expose
1412 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
1413 rounding mode.
1414
6ad3493e
JM
14152012-04-27 Joseph Myers <joseph@codesourcery.com>
1416
1417 [BZ #14027]
1418 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
1419 to be done.
1420 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
1421 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
1422
2ce4f015
JM
14232012-04-26 Joseph Myers <joseph@codesourcery.com>
1424
5aeb141a
JM
1425 * sysdeps/unix/i386/brk.S: Remove file.
1426 * sysdeps/unix/i386/dl-brk.S: Likewise.
1427 * sysdeps/unix/i386/pipe.S: Likewise.
1428 * sysdeps/unix/i386/sigreturn.S: Likewise.
1429 * sysdeps/unix/i386/syscall.S: Likewise.
1430 * sysdeps/unix/i386/vfork.S: Likewise.
1431 * sysdeps/unix/i386/wait.S: Likewise.
1432
7143acae
JM
1433 * sysdeps/unix/common/tcsendbrk.c: Move to ...
1434 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
1435
2ce4f015
JM
1436 * configure.in (arm*-none*): Do not allow without
1437 --enable-hacker-mode.
1438 (netbsd*): Remove case setting base_os.
1439 (386bsd*): Likewise.
1440 (freebsd*): Likewise.
1441 (bsdi*): Likewise.
1442 (osf*): Likewise.
1443 (sunos*): Likewise.
1444 (ultrix*): Likewise.
1445 (newsos*): Likewise.
1446 (dynix*): Likewise.
1447 (*bsd*): Likewise.
1448 (sysv*): Likewise.
1449 (isc*): Likewise.
1450 (esix*): Likewise.
1451 (sco*): Likewise.
1452 (minix*): Likewise.
1453 (irix4*): Likewise.
1454 (irix6*): Likewise.
1455 (solaris[2-9]*): Likewise.
1456 (none): Likewise.
1457 * configure: Regenerated.
1458
0ac229c8
AZ
14592012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1460
1461 [BZ #11521]
1462 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
1463 overflow or cancellation in calculating denominator.
1464 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
1465 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
1466 down expression to avoid unexpected rounding in newer GCCs.
1467 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
1468
33f244f4
DM
14692012-04-26 David S. Miller <davem@davemloft.net>
1470
1471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
1472 long-double compat symbols.
1473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
1477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1478 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
1479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
1480 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
1481 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
1482 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1483 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
1484 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
1485 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1486
cfa1f3e8
DM
14872012-04-25 David S. Miller <davem@davemloft.net>
1488
1489 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
1490 HWCAP_* values only after the memory barriers have been defined.
1491 (atomic_full_barrier): Define.
1492 (atomic_read_barrier): Define.
1493 (atomic_write_barrier): Define.
1494
6e236b92
SP
14952012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1496
1497 * shlib-versions: Add libgcc_s version information.
1498 * sysdeps/generic/libgcc_s.h: Remove.
1499 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
1500 libgcc_s.h.
1501 * sysdeps/gnu/unwind-resume.c: Likewise.
1502 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
1503
aab39a09
DM
15042012-04-25 David S. Miller <davem@davemloft.net>
1505
1506 * sysdeps/unix/sparc/brk.S: Delete.
1507 * sysdeps/unix/sparc/dl-brk.S: Delete.
1508 * sysdeps/unix/sparc/pipe.S: Delete.
1509 * sysdeps/unix/sparc/sysdep.S: Delete.
1510 * sysdeps/unix/sparc/sysdep.h: Delete.
1511 * sysdeps/unix/sparc/vfork.S: Delete.
1512 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
1513 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
1514 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
1515 ret_ERRVAL, r0, r1, MOVE): Define.
1516 (JUMPTARGET): Remove.
1517 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
1518 sysdeps/unix/sparc/sysdep.h
1519 (ENTRY, END): Remove.
1520 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1521
a3cc4f48
JM
15222012-04-25 Joseph Myers <joseph@codesourcery.com>
1523
2ed8cda2
JM
1524 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
1525 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
1526 -DIS_IN_build.
1527
35d76d59
JM
1528 * timezone/README: Update upstream location and email address for
1529 tzcode and tzdata.
1530 * timezone/zdump.c: Update from tzcode 2012b.
1531 * timezone/zic.c: Likewise.
1532
a3cc4f48
JM
1533 * configure.in (libc_cv_as_needed): Remove test.
1534 * configure: Regenerated.
1535 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
1536 conditional definition.
1537 [$(have-as-needed) != yes] (no-as-needed): Likewise.
1538 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
1539 * config.make.in (have-as-needed): Remove variable.
1540
ceab42c3
SP
15412012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1542 Paul Pluzhnikov <ppluzhnikov@google.com>
1543
1544 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
1545 strings correctly.
1546
3ce2865f
CLT
15472012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
1548
1549 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
1550 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
1551 * sysdeps/sh/strlen.S: Likewise.
1552
f37e0d68
JM
15532012-04-24 Joseph Myers <joseph@codesourcery.com>
1554
ae186e9a
JM
1555 * sysdeps/unix/fork.S: Remove file.
1556 * sysdeps/unix/i386/fork.S: Likewise.
1557 * sysdeps/unix/sparc/fork.S: Likewise.
1558
b96914af
JM
1559 * sysdeps/unix/system.c: Remove file.
1560 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
1561
f37e0d68
JM
1562 * sysdeps/unix/getegid.S: Remove file.
1563 * sysdeps/unix/geteuid.S: Likewise.
1564
87ef29ca
RM
15652012-04-24 Roland McGrath <roland@hack.frob.com>
1566
83bcd236
RM
1567 * scripts/check-localplt.awk: New file.
1568 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
1569 of diff.
1570 * scripts/data/localplt-generic.data: Add a comment.
1571
87ef29ca
RM
1572 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
1573 NODE when __dir_mkfile failed.
1574 * sysdeps/mach/hurd/symlinkat.c: Likewise.
1575 Reported by Ludovic Courtès <ludo@gnu.org>.
1576
e5a6e567
AJ
15772012-04-24 Andreas Jaeger <aj@suse.de>
1578
1579 * Makerules (common-clean): Also remove gen-as-const-headers
1580 files.
1581
c1820385
JM
15822012-04-24 Joseph Myers <joseph@codesourcery.com>
1583
1584 * Makerules (native-compile): Do not change working directory for
1585 build. Use $(OUTPUT_OPTION) in command.
1586 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
1587
94e02fc4
AZ
15882012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1589
1590 [BZ #13886]
1591 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
1592 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
1593 * math/libm-test.inc (floor_test): Add more tests.
1594 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
1595
3a533ca3
JM
15962012-04-24 Joseph Myers <joseph@codesourcery.com>
1597
940ab4b3
JM
1598 * sysdeps/unix/getdents.c: Remove file.
1599 * sysdeps/unix/sysv/getdents.c: Likewise.
1600 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
1601
90e037bd
JM
1602 * sysdeps/unix/syscalls.list (madvise): Add syscall from
1603 sysdeps/unix/mman/syscalls.list.
1604 (mmap): Likewise.
1605 (mprotect): Likewise.
1606 (msync): Likewise.
1607 (munmap): Likewise.
1608 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
1609 * sysdeps/unix/mman/syscalls.list: Remove.
1610 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
1611
3a533ca3
JM
1612 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
1613 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
1614 * configure: Regenerated.
1615 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
1616 $(libgcc_s_suffix).
1617 * config.make.in (libgcc_s_suffix): Remove variable.
1618
1ad743de
JM
16192012-04-23 Joseph Myers <joseph@codesourcery.com>
1620
4ad451e2
JM
1621 * sysdeps/unix/sysv/gethostname.c: Move to ...
1622 * sysdeps/posix/gethostname.c: ... here.
1623
5e37ce39
JM
1624 * sysdeps/unix/execve.S: Remove file.
1625
1ad743de
JM
1626 * sysdeps/unix/_exit.S: Remove file.
1627
4e681b5b
AJ
16282012-04-23 Andreas Jaeger <aj@suse.de>
1629
1630 [BZ #13739]
1631 * manual/Makefile: Remove make dist support, there's no
1632 need for a stand-alone documentation tar ball.
1633 (TEXI2DVI): Define always, it's not in Makeconfig.
1634 (dist): Removed.
1635 (tar-it): Removed.
1636 (edition): Removed.
1637 (glibc-doc-$(edition).tar): Removed
1638 (%.Z): Removed.
1639 (%.gz): Removed.
1640 (%.uu): Removed.
1641 (ETAGS): Remove, it's in Makeconfig.
1642 (move-if-change): Remove, it's in Makeconfig.
1643
c0baea34
PE
16442013-04-23 Paul Eggert <eggert@cs.ucla.edu>
1645
1646 [BZ #13970]
1647 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
1648 (strtod, strtof, strtold, strtol, strtoul, strtoq)
1649 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
1650 (strtod_l, strtof_l, strtold_l): Remove __wur.
1651 It is not necessarily an error to ignore strtol's return value.
1652 One can reliably look at the stored endptr to decide whether
1653 the number had valid syntax.
1654
7c0616fa
AJ
16552012-04-21 Andreas Jaeger <aj@suse.de>
1656
803cb6b7 1657 [BZ #13739]
7c0616fa
AJ
1658 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
1659
b0fe253f
JM
16602012-04-21 Joseph Myers <joseph@codesourcery.com>
1661
1662 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
1663 * sysdeps/unix/sysv/Versions: Remove file.
1664
8280f22d
MT
16652012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
1666
1667 [BZ #13927]
1668 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1669
75ce411f 16702012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
1671
1672 [BZ #7064]
1673 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
1674 version from __vm86.
1675
097d59fa
JM
16762012-04-20 Joseph Myers <joseph@codesourcery.com>
1677
a90f3bcb
JM
1678 * sysdeps/unix/common/lxstat.c: Remove file.
1679 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
1680
edc7ea78
JM
1681 * sysdeps/unix/sysv/Makefile: Remove file.
1682
cb78c221
JM
1683 * sysdeps/unix/sysv/direct.h: Remove file.
1684
efa6a45f
JM
1685 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
1686 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
1687 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
1688 * sysdeps/unix/sysv/bits/signum.h: Likewise.
1689 * sysdeps/unix/sysv/bits/stat.h: Likewise.
1690 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
1691 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
1692
9c9f2d0c
JM
1693 * sysdeps/unix/sysv/setrlimit.c: Remove file.
1694
4541c83b
JM
1695 * sysdeps/unix/xmknod.c: Remove file.
1696 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
1697
f5d153a0
JM
1698 * sysdeps/unix/sysv/settimeofday.c: Remove file.
1699
aa746595
JM
1700 * sysdeps/unix/sysv/i386/time.S: Remove file.
1701
cce5905e
JM
1702 * sysdeps/unix/fxstat.c: Remove file.
1703 * sysdeps/unix/xstat.c: Likewise.
1704 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
1705
37fa3841
JM
1706 * sysdeps/unix/sysv/sigaction.c: Remove file.
1707
ff1962a3
JM
1708 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
1709 (sysdep_headers): Remove variable.
1710 [termio.h not in sysdep_headers] (generated): Likewise.
1711 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
1712 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
1713 * sysdeps/unix/sysv/tcdrain.c: Likewise.
1714 * sysdeps/unix/sysv/tcflow.c: Likewise.
1715 * sysdeps/unix/sysv/tcflush.c: Likewise.
1716 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
1717 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
1718 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
1719 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
1720 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
1721
e7740d31
JM
1722 * sysdeps/unix/siglist.c: Remove file.
1723
ee06f18b
JM
1724 * sysdeps/unix/getppid.S: Remove file.
1725
097d59fa
JM
1726 * sysdeps/unix/mkdir.c: Remove file.
1727 * sysdeps/unix/rmdir.c: Likewise.
1728
ff3d51ec
AS
17292012-04-19 Andreas Schwab <schwab@linux-m68k.org>
1730
1731 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
1732 ERR_MAX value.
1733 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
1734 errlist-compat value.
1735
50f81fd7
DM
17362012-04-18 David S. Miller <davem@davemloft.net>
1737
1738 * sysdeps/generic/memcopy.h (reg_char): Delete.
1739 * debug/strcat_chk.c: Use char, not reg_char.
1740 * debug/strcpy_chk.c: Likewise.
1741 * debug/strncat_chk.c: Likewise.
1742 * debug/strncpy_chk.c: Likewise.
1743 * string/memchr.c: Likewise.
1744 * string/memrchr.c: Likewise.
1745 * string/rawmemchr.c: Likewise.
1746 * string/strcat.c: Likewise.
1747 * string/strchr.c: Likewise.
1748 * string/strchrnul.c: Likewise.
1749 * string/strcmp.c: Likewise.
1750 * string/strcpy.c: Likewise.
1751 * string/strncat.c: Likewise.
1752 * string/strncmp.c: Likewise.
1753 * string/strncpy.c: Likewise.
1754
8ff41c46
WS
17552012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1756
1757 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
1758 __builtin_memcopy is called when src and dest ranges are known to not
1759 overlap.
1760
6b652f46
WS
17612012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1762
1763 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
1764 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
1765 fwd_align_merge macro call.
1766 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
1767 bwd_align_merge macro call.
1768 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1769
b282631e
WS
17702012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1771
1772 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
1773 bwd_align_merge macros.
1774 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
1775 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
1776 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1777
95aa737c
DM
17782012-04-18 David S. Miller <davem@davemloft.net>
1779
1780 * sysdeps/sparc/sparc64/memcopy.h: Delete.
1781
7a99a614
AJ
17822012-04-18 Andreas Jaeger <aj@suse.de>
1783
1784 [BZ# 6794]
1785 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
1786 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
1787 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1788
1789 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
1790 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
1791 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1792
1793 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
1794 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
1795 Adjust for changed ldbl-128 files.
1796
1797 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
1798 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
1799 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1800
e5270c23
DM
18012012-04-17 David S. Miller <davem@davemloft.net>
1802
1803 * sysdeps/sparc/sparc32/memcopy.h: Delete.
1804
fb5e92c9
AS
18052012-04-17 Andreas Schwab <schwab@linux-m68k.org>
1806
1807 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
1808 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
1809 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
1810 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
1811 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1812 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
1813
76da7265
AZ
18142012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1815
1816 [BZ #6794]
1817 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
1818 * math/libm-test.inc: Add ilogb errno and exception tests.
1819 * math/w_ilogb.c: New file: ilogb wrapper.
1820 * math/w_ilogbf.c: New file: ilogbf wrapper.
1821 * math/w_ilogbl.c: New file: ilogbl wrapper.
1822 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
1823 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
1824 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
1825 exception being thrown with 0.0 as argument.
1826 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
1827 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
1828 exception being thrown with 0.0 as argument.
1829 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
1830 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1831 exception being thrown with 0.0 as argument.
1832 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
1833 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1834 exception being thrown with 0.0 as argument.
1835 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
1836 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 1837 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
1838 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
1839 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
1840 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
1841 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
1842 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
1843 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
1844
0396e69d
PB
18452012-04-17 Petr Baudis <pasky@ucw.cz>
1846
1847 * include/sys/uio.h: Change __vector to __iovec to avoid clash
1848 with altivec.
1849
750b5926
MP
18502012-04-16 Marek Polacek <polacek@redhat.com>
1851
1852 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
1853
751728a1
MP
18542012-04-16 Marek Polacek <polacek@redhat.com>
1855
1856 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
1857 operands of fdivp instruction.
1858
34a27407
L
18592012-04-13 H.J. Lu <hongjiu.lu@intel.com>
1860
1861 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
1862 * elf/tst-auditmod3b.c: Likewise.
1863 * elf/tst-auditmod4b.c: Likewise.
1864 * elf/tst-auditmod5b.c: Likewise.
1865 * elf/tst-auditmod6b.c: Likewise.
1866 * elf/tst-auditmod6c.c: Likewise.
1867 * elf/tst-auditmod7b.c: Likewise.
1868 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
1869 * sysdeps/x86_64/preconfigure.in: Likewise.
1870 * sysdeps/x86_64/preconfigure: Regenerated.
1871
7e73e17d
L
18722012-04-13 H.J. Lu <hongjiu.lu@intel.com>
1873
1874 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
1875 __ILP32__.
1876
c7a6ab72
AB
18772012-04-13 Antoine Balestrat <merkil33@gmail.com>
1878
1879 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1880 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
1881
a9e8e0e0
CL
18822012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
1883
1884 [BZ #13973]
1885 * locale/iso-639.def: Fix gl language name. Spotted by
1886 Yaron Shahrabani.
1887
ec98af7d
RM
18882012-04-12 Roland McGrath <roland@hack.frob.com>
1889
1890 [BZ #2074]
1891 * libio/libio.h (__io_write_fn): Update comment.
1892
247c3ede
PB
18932012-04-12 Petr Baudis <pasky@ucw.cz>
1894
1895 [BZ #2074]
1896 * stdio.texi (Hook Functions): The user provided writer function
1897 is not allowed to return -1.
1898
55939d6d
DM
18992012-04-11 David S. Miller <davem@davemloft.net>
1900
1901 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1902
90020f5a
MF
19032012-04-11 Mike Frysinger <vapier@gentoo.org>
1904
1905 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
1906 Add a leading slash to rtkaio.
1907
288f9098
JM
19082012-04-11 Jim Meyering <meyering@redhat.com>
1909
90020f5a
MF
1910 [BZ #11959]
1911 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
1912 It is not necessarily an error to ignore fwrite's return
1913 value. One can reliably use ferror to test for errors after
1914 the fact.
288f9098 1915
4be2b570
L
19162012-04-10 H.J. Lu <hongjiu.lu@intel.com>
1917
1918 * bits/types.h (__snseconds_t): New type.
1919 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
1920
1921 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
1922 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1923 (__SNSECONDS_T_TYPE): Likewise.
1924 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1925 (__SNSECONDS_T_TYPE): Likewise.
1926 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1927 (__SNSECONDS_T_TYPE): Likewise.
1928
288f9098 19292012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
1930
1931 [BZ #2636]
1932 * manual/time.texi (Processor Time): Return type of times is
1933 elapsed real time since an arbitrary point in the past.
1934 (CPU Time): Move CLK_TCK from here...
1935 (Processor Time): ...to here. Correct description.
1936 * manual/conf.texi (Constants for Sysconf): Correct description of
1937 _SC_CLK_TCK.
1938
d7dd4413
DM
19392012-04-10 David S. Miller <davem@davemloft.net>
1940
1941 [BZ #13967]
1942 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
1943 where the is a gap between DT_REL(A) and DT_JMPREL.
1944
b46068fc
L
19452012-04-10 H.J. Lu <hongjiu.lu@intel.com>
1946
1947 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
1948 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
1949 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
1950
73d65cc3
SP
19512012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1952
1953 * elf/dl-support.c (_dl_inhibit_cache): New variable.
1954 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
1955 (dl_main): Handle --inhibit-cache.
1956 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
1957 _dl_inhibit_cache.
1958 * elf/dl-load.c (_dl_map_object): Use it.
1959 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
1960
bcc8d661
JM
19612012-04-09 Joseph Myers <joseph@codesourcery.com>
1962
8f9a2fae
JM
1963 [BZ #13872]
1964 * sysdeps/i386/fpu/e_powl.S (p78): New object.
1965 (__ieee754_powl): Saturate large exponents rather than testing for
1966 overflow of y*log2(x).
1967 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1968 * math/libm-test.inc (pow_test): Do not permit spurious overflow
1969 exceptions.
1970
bcc8d661
JM
1971 [BZ #11521]
1972 * math/s_ctan.c: Include <float.h>.
1973 (__ctan): Avoid internal overflow or cancellation in calculating
1974 denominator.
1975 * math/s_ctanf.c: Likewise.
1976 * math/s_ctanl.c: Likewise.
1977 * math/s_ctanh.c: Likewise.
1978 * math/s_ctanhf.c: Likewise.
1979 * math/s_ctanhl.c: Likewise.
1980 * math/libm-test.inc (ctan_test): Add more tests.
1981 (ctanh_test): Likewise.
1982 * sysdeps/i386/fpu/libm-test-ulps: Update.
1983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1984
823fbbb4
AJ
19852012-04-09 Andreas Jaeger <aj@suse.de>
1986
03879793
AJ
1987 [BZ #6894]
1988 * manual/filesys.texi (Directory Entries): Mention that d_namlen
1989 is an optional BSD extension.
1990
823fbbb4
AJ
1991 [BZ #10254]
1992 * manual/stdio.texi (Opening Streams): Document additional fopen
1993 parameters.
1994
8de131cb
RM
19952012-04-09 Roland McGrath <roland@hack.frob.com>
1996
1997 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
1998 %eax without telling the compiler.
1999
c0ed9d7d
CD
20002012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
2001
2002 [BZ # 13963]
2003 * manual/install.texi: Use sourceware.org.
2004
c483f6b4
JM
20052012-04-09 Joseph Myers <joseph@codesourcery.com>
2006
d7dd9453
JM
2007 [BZ #13873]
2008 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
2009 (__ieee754_pow): Generate overflow and underflow using huge*huge
2010 and tiny*tiny rather than just returning constant infinity or zero
2011 for large exponents.
2012 * math/libm-test.inc (pow_test): Require overflow exceptions for
2013 applicable cases of large exponents.
2014
c483f6b4
JM
2015 [BZ #706]
2016 * sysdeps/i386/fpu/e_pow.S (p10): New object.
2017 (__ieee754_pow): Use iterative multiplication algorithm only for
2018 integer exponents with absolute value below 1024. Check for odd
2019 integer exponents when using algorithm for real exponents.
2020 * math/libm-test.inc (pow_test): Add more tests.
2021 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2022
d2de7579
JM
20232012-04-08 Joseph Myers <joseph@codesourcery.com>
2024
2025 [BZ #13705]
2026 * math/libm-test.inc (exp_test): Do not allow overflow exception
2027 on underflow test.
2028
f77f1232
AJ
20292012-04-08 Aurelien Jarno <aurelien@aurel32.net>
2030
2031 [BZ #13705]
2032 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
2033 instead of __kernel_standard_f.
2034
3884932b
MF
20352012-04-08 Mike Frysinger <vapier@gentoo.org>
2036
2037 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
2038 * sysdeps/x86_64/memset_chk.S: Likewise.
2039
54472e9c
AJ
20402012-04-08 Andreas Jaeger <aj@suse.de>
2041
6ab0fbfc
AJ
2042 [BZ #10153]
2043 * manual/startup.texi (Environment Access): Describe return value
2044 for putenv and setenv.
2045
61efba8c
AJ
2046 [BZ #6895]
2047 * manual/filesys.texi (Directory Entries): Add description for
2048 DT_LNK.
2049
95c3f29a
AJ
2050 [BZ #6890]
2051 * manual/filesys.texi (Directory Entries): Clarify that it's file
2052 system not operating system in the description of DT_UNKNOWN.
2053
54472e9c
AJ
2054 [BZ #6578]
2055 * manual/syslog.texi (closelog): Fix reference, it's openlog.
2056
624254b1
SC
20572012-04-08 Stephen Compall <s11@member.fsf.org>
2058
2059 [BZ #6649]
2060 * manual/llio.texi (Opening and Closing Files): Add cross
2061 reference to explain mode argument.
2062
1e4920e0
MF
20632012-04-07 Mike Frysinger <vapier@gentoo.org>
2064
2065 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
2066 * sysdeps/x86_64/memset_chk.S: Likewise.
2067
5ed848f3
DM
20682012-04-07 David S. Miller <davem@davemloft.net>
2069
2070 * elf/elf.h (R_SPARC_WDISP10): Define.
2071 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
2072 R_SPARC_SIZE32.
2073 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
2074 R_SPARC_SIZE64 and R_SPARC_H34.
2075
96154cd8
CD
20762012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
2077
2078 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
2079 conditions and remove no longer applicable assertion.
2080
9904dc47
L
20812012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2082
2083 * bits/byteswap.h: Include <features.h>.
2084 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2085 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2086
f8887d0a
L
20872012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2088
2089 * bits/byteswap.h (__bswap_16): Removed.
2090 Include <bits/byteswap-16.h> to get __bswap_16.
2091 * sysdeps/i386/bits/byteswap.h: Likewise.
2092 * sysdeps/s390/bits/byteswap.h: Likewise.
2093 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2094 * bits/byteswap-16.h: New file.
2095 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2096 * sysdeps/s390/bits/byteswap-16.h: Likewise.
2097 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
2098 * string/Makefile (headers): Add bits/byteswap-16.h.
2099
62470f60
PP
21002012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2101
2102 [BZ #13895]
2103 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
2104 extra indirection.
2105 * nss/Makefile (tests-static, tests): Add tst-nss-static.
2106 * nss/tst-nss-static.c: New.
2107
4dad7bab
RM
21082012-04-06 Robert Millan <rmh@gnu.org>
2109
2110 [BZ #6486]
2111 * manual/llio.texi (File Position Primitive): lseek
2112 refers to WHENCE when it really means OFFSET.
2113
e9142a17
AJ
21142012-04-06 Andreas Jaeger <aj@suse.de>
2115
2c040eff
AJ
2116 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
2117 strncmp declarations.
2118
e9142a17
AJ
2119 * abilist/libc.abilist: Add __poll and __ppoll.
2120
ff9f1c5f
DM
21212012-04-05 David S. Miller <davem@davemloft.net>
2122
dcd2ae90
DM
2123 * scripts/check-local-headers.sh: Accept a host triplet in the
2124 path matched by the exclude regexp.
2125
993eb054
DM
2126 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
2127 definition.
2128 * sysdeps/powerpc/powerpc32/dl-machine.h
2129 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
2130 * sysdeps/s390/s390-32/dl-machine.h
2131 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2132 * sysdeps/sparc/sparc32/dl-machine.h
2133 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2134 * sysdeps/sparc/sparc64/dl-machine.h
2135 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2136
ff9f1c5f
DM
2137 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
2138 lazy binding.
48e2e132 2139 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
2140 undefined symbol errors.
2141
48e2e132 2142 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
2143 DT_NEEDED entries.
2144
e80d6f94
MM
21452012-04-05 Michael Matz <matz@suse.de>
2146
2147 [BZ #13592]
2148 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
2149
349fa79f
AJ
21502012-04-05 Andreas Jaeger <aj@suse.de>
2151
2152 [BZ #13908]
2153 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
2154 comment.
2155
f402708f
KK
21562012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2157
2158 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
2159 which ROUND is no valid rounding mode.
2160
2ecccfc9
KK
21612012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2162
2163 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
2164 read again.
2165 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
2166
8a53f50f
KK
21672012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2168
2169 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
2170 an exception using FPU order intentionally.
2171
21722012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2173
2174 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
2175 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
2176 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
2177 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
2178
d653abb7
SJ
21792012-04-05 Simon Josefsson <simon@josefsson.org>
2180
2181 [BZ #12340]
2182 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
2183 EINVAL when BUFLEN is too smal.
2184
c3b1bf7d
TS
21852012-04-05 Thomas Schwinge <thomas@codesourcery.com>
2186
2187 [BZ #13553]
2188 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
2189 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
2190
b1aa60f3
AJ
21912012-04-03 Andreas Jaeger <aj@suse.de>
2192
c3b1bf7d 2193 [BZ #13938]
67f60a26
AJ
2194 * manual/setjmp.texi (System V contexts): Fix sentence.
2195
b1aa60f3
AJ
2196 [BZ #13926]
2197 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
2198 New macro for this case.
2199 [!__GNUC__] (__bswap_64): New inline function for this case.
2200 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2201 * bits/byteswap.h: Likewise.
2202 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
2203 ull, guard with __GLIBC_HAVE_LONG_LONG.
2204
2205 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
2206 __GLIBC_HAVE_LONG_LONG.
2207
2208 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
2209 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
2210
39c59c35
TMQMF
22112012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2212
2213 [BZ #13691]
2214 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
2215 inptr and inend, rather than using last_ch.
2216
135ffda8
DM
22172012-04-02 David S. Miller <davem@davemloft.net>
2218
2219 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
2220 * stdio-common/printf-parse.h (read_int): Change return type to
2221 'int', return -1 on INT_MAX overflow.
2222 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
2223 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
2224 overflows INT_MAX. Check for overflow of in-format-string precision
2225 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
2226 SIZE_MAX not INT_MAX for integer overflow test.
2227 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
2228 skip the construct in the format string but do not record anything.
2229 * stdio-common/bug22.c: Adjust to test both width/prevision
2230 INT_MAX overflow as well as total length INT_MAX overflow. Check
2231 explicitly for proper errno values.
2232
228c019e
TS
22332012-04-02 Thomas Schwinge <thomas@codesourcery.com>
2234
302cadd3
TS
2235 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
2236 CHAR_MAX.
2237 * string/test-strcmp.c [! WIDE]: Likewise.
2238 * time/tst-mktime2.c: Likewise for INT_MAX.
2239 * string/test-string.h: #include <sys/param.h> for MIN.
2240
228c019e
TS
2241 * csu/init-first.c (__libc_init_first): Call __ctype_init.
2242 * sysdeps/i386/init-first.c (init): Likewise.
2243 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
2244 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
2245 * sysdeps/sh/init-first.c (init): Likewise.
2246
cfa633f5
UD
22472012-04-01 Ulrich Drepper <drepper@gmail.com>
2248
2249 * po/ru.po: Update from translation team.
d1635ef8 2250 * po/vi.po: Likewise.
cfa633f5 2251
6cd0a5ea
SP
22522012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2253
2254 * resolv/nss_dns/dns-host.c: Merge copyright years.
2255
4b43400f
LD
22562012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2257
2258 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
2259 Optimize memcpy with prefetch if
2260 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
2261 src, dst pointers have unequal 16 byte alignments.
2262
48c41d04
SP
22632012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2264
2265 [BZ #13928]
2266 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
2267 from a CNAME entry and return the minimum ttl for the query.
2268 (gaih_getanswer_slice): Likewise.
2269
b8dc394d
JL
22702012-03-30 Jeff Law <law@redhat.com>
2271
2272 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
2273 due to long keys.
2274 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2275 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2276
2f5a5ed0
JL
2277 * resolv/nss_dns/dns-host.c: Update copyright year.
2278
1d39e359
UD
22792012-03-30 Ulrich Drepper <drepper@gmail.com>
2280
c030f70c 2281 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 2282 requests to save a system call. Fix check that all bytes are sent.
c030f70c 2283
1d39e359
UD
2284 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
2285 comments for sendmmsg.
2286
22872012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
2288
2289 [BZ #13691]
2290 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
2291 with only 1 character between 0x0041 and 0x01b0.
2292 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
2293 * wcsmbs/tst-mbsnrtowcs.c: New file.
2294
20fde227
DM
22952012-03-29 David S. Miller <davem@davemloft.net>
2296
2297 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
2298 small copies by hand.
2299
984a4237
JL
23002012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2301
2302 [BZ #13761]
2303 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
2304 _nss_compat_initgroups_dyn): Fall back to malloc/free
2305 for large group memberships.
2306
18c9d62b
DM
23072012-03-28 David S. Miller <davem@davemloft.net>
2308
88d85d4f
DM
2309 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
2310 that branches into memcpy.
2311 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2312 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2313 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2314 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2315 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
2316 bits.
2317 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
2318 implementation too.
2319 * sysdeps/sparc/mempcpy.S: New file.
2320
e5aa83e1
DM
2321 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
2322 the IFUNC routine in the libc case.
2323 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2324
88570753
DM
2325 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
2326 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
2327 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
2328 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
2329 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
2330 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
2331 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
2332 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
2333
249d7567
DM
2334 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
2335 loop to 256 bytes instead of 64 bytes and fix test signedness.
2336
18c9d62b
DM
2337 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
2338 * sysdeps/sparc/sparc32/Makefile: rather than here...
2339 * sysdeps/sparc/sparc64/Makefile: and here.
2340
05f3d1f6
UD
23412012-03-28 Ulrich Drepper <drepper@gmail.com>
2342
2343 * malloc/mallocbug.c: Avoid warnings about unused variables.
2344
86ae07a8
JL
23452012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2346
2347 [BZ #13760]
2348 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
2349 in the right place. Discard and retry query if response is
2350 larger than input buffer size.
2351
41bf21a1
JM
23522012-03-28 Joseph Myers <joseph@codesourcery.com>
2353
d6270972
JM
2354 [BZ #369]
2355 [BZ #2678]
2356 [BZ #3866]
2357 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
2358 x for large integer exponent.
2359 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2360 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
2361 sign of result as needed afterwards.
2362 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2363 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
2364 result for underflowing pow the same as for overflow.
2365 (__kernel_standard_l): Handle powl overflow and underflow here
2366 rather than calling __kernel_standard.
2367 * math/libm-test.inc (pow_test): Add more tests.
2368
414fca03 2369 [BZ #3868]
41bf21a1
JM
2370 [BZ #13879]
2371 [BZ #13910]
2372 [BZ #13911]
2373 [BZ #13912]
2374 [BZ #13913]
2375 [BZ #13915]
2376 [BZ #13916]
2377 [BZ #13917]
2378 [BZ #13918]
2379 [BZ #13919]
2380 [BZ #13920]
2381 [BZ #13921]
2382 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
2383 * sysdeps/ieee754/k_standard.c: Include <float.h>.
2384 (__kernel_standard_l): New function.
2385 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
2386 __kernel_standard.
2387 * math/w_acosl.c (__acosl): Likewise.
2388 * math/w_asinl.c (__asinl): Likewise.
2389 * math/w_atan2l.c (__atan2l): Likewise.
2390 * math/w_atanhl.c (__atanhl): Likewise.
2391 * math/w_coshl.c (__coshl): Likewise.
2392 * math/w_exp10l.c (__exp10l): Likewise.
2393 * math/w_exp2l.c (__exp2l): Likewise.
2394 * math/w_fmodl.c (__fmodl): Likewise.
2395 * math/w_hypotl.c (__hypotl): Likewise.
2396 * math/w_j0l.c (__j0l, __y0l): Likewise.
2397 * math/w_j1l.c (__j1l, __y1l): Likewise.
2398 * math/w_jnl.c (__jnl, __ynl): Likewise.
2399 * math/w_lgammal.c (__lgammal): Likewise.
2400 * math/w_log10l.c (__log10l): Likewise.
2401 * math/w_log2l.c (__log2l): Likewise.
2402 * math/w_logl.c (__logl): Likewise.
2403 * math/w_powl.c (__powl): Likewise.
2404 * math/w_remainderl.c (__remainderl): Likewise.
2405 * math/w_scalbl.c (sysv_scalbl): Likewise.
2406 * math/w_sinhl.c (__sinhl): Likewise.
2407 * math/w_sqrtl.c (__sqrtl): Likewise.
2408 * math/w_tgammal.c (__tgammal): Likewise.
2409 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
2410 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
2411 * math/libm-test.inc (acos_test): Add more tests.
2412 (acosh_test): Likewise.
2413 (asin_test): Likewise.
2414 (atanh_test): Likewise.
2415 (exp_test): Likewise.
2416 (exp10_test): Likewise.
2417 (exp2_test): Likewise.
2418 (expm1_test): Likewise.
2419 (lgamma_test): Likewise.
2420 (log_test): Likewise.
2421 (log10_test): Likewise.
2422 (log1p_test): Likewise.
2423 (log2_test): Likewise.
2424 (pow_test): Do not allow some spurious overflow exceptions.
2425 (sqrt_test): Add more tests.
2426 (tgamma_test): Likewise.
2427 (y0_test): Likewise.
2428 (y1_test): Likewise.
2429 (yn_test): Likewise.
2430
dd62fda6
AB
24312012-03-27 Anton Blanchard <anton@samba.org>
2432
2433 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
2434 MAP_HUGETLB.
2435 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2436 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
2437 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2438
1e3cdfda
AJ
24392012-03-27 David S. Miller <davem@davemloft.net>
2440
b855ab85
DM
2441 * conform/Makefile: Run run-conformtest.sh using $(BASH).
2442
1e3cdfda
AJ
2443 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
2444 have-as-vis3 check.
2445
24462012-03-27 Andreas Jaeger <aj@suse.de>
2447
2448 * sysdeps/x86_64/elf/configure.in: Moved to ...
2449 * sysdeps/x86_64/configure.in: ... here.
2450 * sysdeps/x86_64/elf/start.S: Moved to ...
2451 * sysdeps/x86_64/start.S: ... here.
2452 * sysdeps/x86_64/elf/configure: Delete.
2453
2454 * sysdeps/x86_64/configure.in: Merge contents from
2455 sysdeps/i386/configure.in (without i686 check).
2456
2457 * sysdeps/i386/elf/Versions: Merge into ...
2458 * sysdeps/i386/Versions: ... this.
2459 * sysdeps/i386/elf/Versions: Delete file.
2460 * sysdeps/i386/elf/start.S: Moved to ...
2461 * sysdeps/i386/start.S: ...here.
2462 * sysdeps/i386/elf/configure.in: Merge into...
2463 * sysdeps/i386/configure.in: ...here.
2464 * sysdeps/i386/elf/configure.in: Delete file.
2465 * sysdeps/i386/elf/configure: Delete file.
2466
2467 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
2468 * debug/backtracesyms.c: ... here.
2469 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
2470 * debug/backtracesymsfd.c: ... here.
2471 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
2472 * sysdeps/generic/ifunc-sel.h: ... here.
2473
2474 * sysdeps/unix/i386/start.c: Delete file.
2475 * sysdeps/unix/sparc/start.c: Delete file.
2476 * sysdeps/unix/start.c: Delete file.
2477
2478 * sysdeps/sh/elf/configure.in: Moved to ...
2479 * sysdeps/sh/configure.in: ... here.
2480 * sysdeps/sh/elf/start.S: Moved to ...
2481 * sysdeps/sh/start.S: ... here.
2482 * sysdeps/sh/elf/configure: Delete file.
2483
2484 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
2485 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
2486 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
2487 * sysdeps/powerpc/powerpc64/entry.h: ... here.
2488 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
2489 * sysdeps/powerpc/powerpc64/start.S: here.
2490 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
2491 * sysdeps/powerpc/powerpc64/Makefile: ... this.
2492 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
2493 * sysdeps/powerpc/powerpc64/configure.in: ... this.
2494 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
2495
2496 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
2497 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
2498 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
2499 * sysdeps/powerpc/powerpc32/start.S: ... here.
2500 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
2501 * sysdeps/powerpc/powerpc32/configure.in: ... this.
2502 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
2503
2504 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
2505 * sysdeps/powerpc/ifunc-sel.h: ... here.
2506 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
2507 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
2508
2509 * sysdeps/sparc/elf/configure.in: Moved to ...
2510 * sysdeps/sparc/configure.in: ... here.
2511 * sysdeps/sparc/elf/configure: Delete file.
2512 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
2513 * sysdeps/sparc/sparc32/start.S: ... here.
2514 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
2515 * sysdeps/sparc/sparc64/start.S: ... here.
2516 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
2517 * sysdeps/sparc/sparc32/Makefile: ... this.
2518 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
2519 * sysdeps/sparc/sparc64/Makefile: ... this.
2520
2521 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
2522 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
2523 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
2524 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
2525 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
2526 * sysdeps/s390/s390-32/setjmp.S: ... here.
2527 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
2528 * sysdeps/s390/s390-32/configure.in: ... here.
2529 * sysdeps/s390/s390-32/elf/configure: Delete file.
2530 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
2531 * sysdeps/s390/s390-32/start.S: ... here.
2532
2533 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
2534 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
2535 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
2536 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
2537 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
2538 * sysdeps/s390/s390-64/setjmp.S: ... here.
2539 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
2540 * sysdeps/s390/s390-64/configure.in: ... here
2541 * sysdeps/s390/s390-64/elf/configure: Delete file.
2542 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
2543 * sysdeps/s390/s390-64/start.S: ... here.
2544 * sysdeps/s390/s390-64/elf/configure: Delete.
2545
2546 * configure.in: Remove support for elf directories in sysdeps.
2547
2548 * configure: Regenerated.
2549 * sysdeps/i386/configure: Regenerated.
2550 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2551 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2552 * sysdeps/s390/s390-32/configure: Regenerated.
2553 * sysdeps/s390/s390-64/configure: Regenerated.
2554 * sysdeps/sh/configure: Regenerated.
2555 * sysdeps/sparc/configure: Regenerated.
2556 * sysdeps/x86_64/configure: Regenerated.
2557
a3f61311
AS
25582012-03-26 Andreas Schwab <schwab@linux-m68k.org>
2559
c876e002
AS
2560 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2561
a3f61311
AS
2562 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
2563 denormal result into account.
2564
ac4c54f0
RM
25652012-03-25 Roland McGrath <roland@hack.frob.com>
2566
2567 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
2568 Reported by Allan McRae <allan@archlinux.org>.
2569
6a9b9c02
JL
25702012-03-23 Jeff Law <law@redhat.com>
2571
2572 * nss/getnssent.c (__nss_getent): Fix typo.
2573
4c42a0c1
DM
25742012-03-23 David S. Miller <davem@davemloft.net>
2575
2576 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2577
1532c7ac
L
25782012-03-23 H.J. Lu <hongjiu.lu@intel.com>
2579
2580 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
2581 to pad to uint64_t for each field.
2582 (dl_tls_index): Replace unsigned long with uint64_t.
2583
3ff42526
PP
25842012-03-23 Daniel Jacobowitz <dmj@google.com>
2585 Paul Pluzhnikov <ppluzhnikov@google.com>
2586
2587 [BZ #6528]
2588 * grp/Makefile (otherlibs): Don't set it.
2589 * inet/Makefile (otherlibs): Likewise.
2590 * login/Makefile (otherlibs): Likewise.
2591 * nscd/Makefile (otherlibs): Likewise.
2592 * posix/Makefile (otherlibs): Likewise.
2593 * pwd/Makefile (otherlibs): Likewise.
2594 * rt/Makefile (otherlibs): Likewise.
2595 * sunrpc/Makefile (otherlibs): Likewise.
2596 * nss/Makefile (otherlibs): Likewise.
2597 Add libnss_files to routines and static-only-routines.
2598 ($(objpfx)getent): Remove rule.
2599 * resolv/Makefile: Add libnss_dns and libresolv to routines and
2600 static-only-routines.
2601
7c69cd14
JM
26022012-03-22 Joseph Myers <joseph@codesourcery.com>
2603
2604 [BZ #13892]
2605 * math/s_cexp.c: Include <float.h>.
2606 (__cexp): Handle exp result overflowing not necessarily
2607 overflowing both real and imaginary parts of result.
2608 * math/s_cexpf.c: Likewise.
2609 * math/s_cexpl.c: Likewise.
2610 * math/libm-test.inc (cexp_test): Add more tests.
2611 * sysdeps/i386/fpu/libm-test-ulps: Update.
2612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2613
81b035fe
L
26142012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2615
2616 * include/link.h (ELFW): New macro.
2617 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
2618 Replace ELF64_R_TYPE with ELFW(R_TYPE).
2619
1da7940c
L
26202012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2621
2622 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
2623 with uint64_t.
2624
b749dbb9
L
26252012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2626
2627 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
2628 declaration.
2629 (struct La_x32_retval): Likewise.
2630
2ff87f3f
L
26312012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2632
2633 * sysdeps/x86_64/preconfigure.in: New file.
2634 * sysdeps/x86_64/preconfigure: New generated file.
2635
c0df8e69
JM
26362012-03-22 Joseph Myers <joseph@codesourcery.com>
2637
48e44791
JM
2638 [BZ #13824]
2639 * math/e_exp2l.c: Include <float.h>.
2640 (__ieee754_exp2l): Handle overflow and underflow cases
2641 separately. Only pass fractional part of argument to
2642 __ieee754_expl.
2643 * math/libm-test.inc (exp2_test): Add more tests.
2644
c0df8e69
JM
2645 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
2646 negating x to take absolute value.
2647 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
2648 Likewise.
2649 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2650 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
2651 Likewise.
2652 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
2653 computing low part if x was negated.
2654 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2655
c8e43ba7
L
26562012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2657
2658 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
2659 la_x32_gnu_pltexit.
2660 (pltexit): Cast int_retval to ptrdiff_t.
2661 * elf/tst-auditmod3b.c: Likewise.
2662 * elf/tst-auditmod4b.c: Likewise.
2663 * elf/tst-auditmod5b.c: Likewise.
2664 * elf/tst-auditmod6b.c: Likewise.
2665 * elf/tst-auditmod6c.c: Likewise.
2666 * elf/tst-auditmod7b.c: Likewise.
2667
2668 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
2669 and x32_gnu_pltexit.
2670
2671 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
2672 __ELF_NATIVE_CLASS.
2673 (La_x32_regs): New macro.
2674 (La_x32_retval): Likewise.
2675 (la_x32_gnu_pltenter): New function prototype.
2676 (la_x32_gnu_pltexit): Likewise.
2677
7998fa78
AS
26782012-03-21 Andreas Schwab <schwab@linux-m68k.org>
2679
dcb33988
AS
2680 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
2681 exponent.
2682
233fc563
AS
2683 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2684
7998fa78
AS
2685 * configure.in (libc_cv_cc_nofma): Check for option to disable
2686 generation of FMA instructions.
2687 * configure: Regenerate.
2688 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
2689 * sysdeps/ieee754/dbl-64/Makefile: New file.
2690 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2691 Remove brandred-fma4.
2692 (CFLAGS-brandred-fma4.c): Remove.
2693 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
2694 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
2695 define.
2696 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
2697 define.
2698
8e95c99a
L
26992012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2700
2701 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2702 LLONG_MAX != LONG_MAX.
2703 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2704 (_fitoa_word): Likewise.
2705 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
2706 LLONG_MAX != LONG_MAX.
2707 * stdio-common/_itowa.h: Include <_itoa.h>.
2708 (_itowa_word): Use _ITOA_WORD_TYPE on value.
2709 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
2710 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
2711 only if not defined.
2712 (_ITOA_WORD_TYPE): Likewise.
2713 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2714 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
2715
6f4db457
DM
27162012-03-21 David S. Miller <davem@davemloft.net>
2717
2718 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2719
7785fe5a
L
27202012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2721
2722 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
2723 of x86_64 when setting libc_cv_slibdir, libdir and
2724 libc_cv_localedir.
2725 * sysdeps/unix/sysv/linux/configure: Regenerated.
2726
4535cd55
JM
27272012-03-21 Joseph Myers <joseph@codesourcery.com>
2728
2729 * manual/lang.texi (Old Varargs): Remove section.
2730 (How Variadic): Update menu.
2731 (va_start): Do not mention varargs.h.
2732
17228132
TS
27332012-03-21 Thomas Schwinge <thomas@codesourcery.com>
2734 Joseph Myers <joseph@codesourcery.com>
2735
2736 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
2737 link test.
2738 * configure: Regenerated.
2739
8149f976
TS
27402012-03-21 Thomas Schwinge <thomas@codesourcery.com>
2741
05f3d1f6
UD
2742 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
2743 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
2744 conformtest.pl
8149f976 2745
1a4ac776
JM
27462012-03-21 Joseph Myers <joseph@codesourcery.com>
2747
be22ce65
JM
2748 * NOTES: Remove.
2749 * Makefile (files-for-dist): Remove NOTES.
2750 (NOTES): Remove rule.
2751 * README: Don't refer to NOTES.
2752 * manual/creature.texi: Don't include macros.texi.
2753 * manual/intro.texi (creature.texi): Remove comment referring to
2754 NOTES.
2755
40b601fb
JM
2756 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
2757 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
2758 * configure: Regenerated.
2759 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
2760 LIBC_TRY_CC_OPTION.
2761 (libc_cv_as_i686): Likewise.
2762 (libc_cv_cc_avx): Likewise.
2763 (libc_cv_cc_sse2avx): Likewise.
2764 (libc_cv_cc_fma4): Likewise.
2765 (libc_cv_cc_novzeroupper): Likewise.
2766 * sysdeps/i386/configure: Regenerated.
2767
1a4ac776
JM
2768 [BZ #13883]
2769 * sysdeps/i386/fpu/s_cexp.S: Remove.
2770 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
2771 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
2772 * math/libm-test.inc (cexp_test): Add more tests.
2773 * sysdeps/i386/fpu/libm-test-ulps: Update.
2774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2775
a458e7fe
AM
27762012-03-21 Allan McRae <allan@archlinux.org>
2777
2778 * timezone/Makefile: Do not install iso3166.tab and zone.tab
2779
0cb7efc5
JM
27802012-03-21 Joseph Myers <joseph@codesourcery.com>
2781
2782 [BZ #13871]
2783 * math/w_exp2.c: Do not include <float.h>.
2784 (o_threshold, u_threshold): Remove.
2785 (__exp2): Calculate result before checking finiteness and calling
2786 __kernel_standard.
2787 * math/w_exp2f.c: Likewise.
2788 * math/w_exp2l.c: Likewise.
2789 * math/libm-test.inc (exp2_test): Require overflow exception for
2790 1e6 input.
2460d3aa
JM
2791
2792 [BZ #3866]
2793 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
2794 range of signed 64-bit integers before using fistpll. Remove
2795 checks for whether integers fit in mantissa bits.
2796 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
2797 the range of signed 32-bit integers before using fistpl. Remove
2798 checks for whether integers fit in mantissa bits.
2799 * sysdeps/i386/fpu/e_powl.S (p64): New object.
2800 (__ieee754_powl): Test for y outside the range of signed 64-bit
2801 integers before using fistpll. Reduce 64-bit values to 63-bit
2802 ones as needed.
2803 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
2804 divide-by-zero is raised for zero to large negative powers.
2805 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
2806 (__ieee754_powl): Test for y outside the range of signed 64-bit
2807 integers before using fistpll. Reduce 64-bit values to 63-bit
2808 ones as needed.
2809 * math/libm-test.inc (pow_test): Add more tests.
2810
eb96ffb0
L
28112012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2812
2813 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
2814 <stdio-common/_itoa.h>.
2815 * debug/segfault.c: Likewise.
2816 * elf/dl-cache.c: Likewise.
2817 * elf/dl-minimal.c: Likewise.
2818 * elf/dl-misc.c: Likewise.
2819 * elf/dl-sysdep.c: Likewise.
2820 * elf/dl-version.c: Likewise.
2821 * elf/rtld.c: Likewise.
2822 * hurd/hurdsock.c: Likewise.
2823 * hurd/lookup-retry.c: Likewise.
2824 * malloc/malloc.c: Likewise.
2825 * malloc/mtrace.c: Likewise.
2826 * nscd/nscd_getgr_r.c: Likewise.
2827 * nscd/nscd_getpw_r.c: Likewise.
2828 * nscd/nscd_getserv_r.c: Likewise.
2829 * posix/getopt_init.c: Likewise.
2830 * posix/wordexp.c: Likewise.
2831 * stdio-common/_itoa.c: Likewise.
2832 * stdio-common/printf_fphex.c: Likewise.
2833 * stdio-common/vfprintf.c: Likewise.
2834 * string/_strerror.c: Likewise.
2835 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
2836 * sysdeps/i386/i686/hp-timing.h: Likewise.
2837 * sysdeps/mach/_strerror.c: Likewise.
2838 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
2839 * sysdeps/mach/hurd/sethostid.c: Likewise.
2840 * sysdeps/mach/hurd/xmknodat.c: Likewise.
2841 * sysdeps/mach/xpg-strerror.c: Likewise.
2842 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2843 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2844 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
2845 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
2846 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2847 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
2848 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
2849 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
2850 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
2851 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
2852 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
2853 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2854 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
2855 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2856 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2857 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
2858 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
2859 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
2860 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2861 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2862 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
2863
2864 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
2865
2866 * stdio-common/_itoa.h: Moved to ...
2867 * sysdeps/generic/_itoa.h: Here.
2868
2869 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
2870
2871 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
2872 instead of "_itoa.h" and "_itowa.h".
2873 * stdio-common/vfprintf.: Likewise.
2874
d1af992d
L
28752012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2876
2877 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
2878 <bits/wordsize.h>.
2879 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
2880 (__signbit): Likwise.
2881 (llrintf): Likwise.
2882 (llrint): Likwise.
2883
114883e0
L
28842012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2885
2886 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
2887 __WORDSIZE != 64.
2888
c135cc1b
JM
28892012-03-20 Joseph Myers <joseph@codesourcery.com>
2890
2891 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
2892 OVERFLOW_EXCEPTION_OK.
2893 * math/libm-test.inc ("Philosophy"): Update comment about
2894 exception testing.
2895 (OVERFLOW_EXCEPTION): Define.
2896 (OVERFLOW_EXCEPTION_OK): Likewise.
2897 (INVALID_EXCEPTION_OK): Renumber.
2898 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2899 (IGNORE_ZERO_INF_SIGN): Likewise.
2900 (test_exceptions): Handle FE_OVERFLOW.
2901 (exp10_test): Expect overflow exceptions.
2902 (exp2_test): Likewise.
2903 (expm1_test): Likewise.
2904 (nextafter_test): Likewise.
2905 (pow_test): Likewise.
2906 (scalbn_test): Likewise.
2907 (scalbln_test): Likewise.
2908
95443d88
L
29092012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2910
2911 * sysdeps/x86_64/bits/atomic.h
2912 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
2913 64bit integer.
2914 (atomic_exchange_acq): Likewise.
2915 (__arch_exchange_and_add_body): Likewise.
2916 (__arch_add_body): Likewise.
2917 (atomic_add_negative): Likewise.
2918 (atomic_add_zero): Likewise.
2919
490df6c4
L
29202012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2921
c2722551 2922 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
2923 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
2924
5e52b189
L
29252012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2926
2927 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
2928 Check __x86_64__ instead of __WORDSIZE.
2929
a9879d4c
L
29302012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2931
2932 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
2933
5df98260
DM
29342012-03-19 David S. Miller <davem@davemloft.net>
2935
e1497744
DM
2936 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2937
5df98260
DM
2938 * sysdeps/sparc/fpu/fenv_private.h: New file.
2939 * sysdeps/sparc/fpu/math_private.h: Use it.
2940 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
2941 Remove.
2942 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
2943 (libc_feholdexcept_setroundl): Remove.
2944 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
2945 Remove.
2946 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
2947 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
2948
b4c35121
L
29492012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2950
2951 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
2952 int64_t instead of long int.
2953 (INSERT_WORDS64): Likwise.
2954
56965fd7
L
29552012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2956
2957 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
2958 _Unwind_GetCFA return to _Unwind_Ptr first.
2959
83d1aec8
JM
29602012-03-19 Joseph Myers <joseph@codesourcery.com>
2961
1897ad44
JM
2962 [BZ #13629]
2963 * math/s_clog.c: Include <float.h>.
2964 (__clog): Scale large or subnormal inputs.
2965 * math/s_clogf.c: Likewise.
2966 * math/s_clogl.c: Likewise.
2967 * math/s_clog10.c: Include <float.h>.
2968 (M_LOG10_2): Define.
2969 (__clog10): Scale large or subnormal inputs.
2970 * math/s_clog10f.c: Likewise.
2971 * math/s_clog10l.c: Likewise.
2972 * math/libm-test.inc (clog_test): Add more tests.
2973 (clog10_test): Likewise.
2974 * sysdeps/i386/fpu/libm-test-ulps: Update.
2975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2976
7726d6a9
JM
2977 [BZ #11451]
2978 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
2979 x and y.
2980 * math/libm-test.inc (atan2_test): Add another test.
2981
83d1aec8
JM
2982 * Makerules (common-objdir-compile): Remove.
2983 * sysdeps/unix/Makefile (config-generated): Do not add
2984 $(unix-generated) to variable.
2985 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
2986 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
2987 Remove rule.
2988 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
2989 Likewise.
2990 [generic bits/local_lim.h] (before-compile): Do not append to
2991 variable.
2992 [generic bits/local_lim.h] (common-generated): Likewise.
2993 [generic sys/param.h] (before-compile): Do not append to variable.
2994 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
2995 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
2996 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
2997 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
2998 include.
2999 [generic sys/param.h] (sys/param.h-includes): Remove variable.
3000 [generic sys/param.h] (sys/param.h-includes): Remove rule.
3001 [generic sys/param.h] ($(addprefix
3002 $(common-objpfx),$(sys/param.h-includes))): Likewise.
3003 [generic sys/param.h] (common-generated): Do not append to
3004 variable.
3005 [generic sys/param.h] (sysdep_headers): Likewise.
3006 [generic bits/errno.h] (before-compile): Do not append to
3007 variable.
3008 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
3009 rule.
3010 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
3011 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
3012 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
3013 [generic bits/errno.h] (common-generated): Do not append to
3014 variable.
3015 [generic bits/ioctls.h] (before-compile): Do not append to
3016 variable.
3017 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
3018 rule.
3019 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
3020 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
3021 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
3022 rule.
3023 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
3024 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
3025 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
3026 [generic bits/ioctls.h] (common-generated): Do not append to
3027 variable.
3028 [generic sys/syscall.h] (syscall.h): Remove variable.
3029 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
3030 rule.
3031 [generic sys/syscall.h] (before-compile): Do not append to
3032 variable.
3033 [generic sys/syscall.h] (common-generated): Likewise.
3034 * sysdeps/unix/errnos-tmpl.c: Remove file.
3035 * sysdeps/unix/errnos.awk: Likewise.
3036 * sysdeps/unix/ioctls-tmpl.c: Likewise.
3037 * sysdeps/unix/ioctls.awk: Likewise.
3038 * sysdeps/unix/mk-local_lim.c: Likewise.
3039 * sysdeps/unix/snarf-ioctls: Likewise.
3040
4851a949
RH
30412012-03-19 Richard Henderson <rth@twiddle.net>
3042
bd37f2ee
RH
3043 * sysdeps/i386/fpu/fenv_private.h: New file.
3044 * sysdeps/i386/fpu/math_private.h: Use it.
3045 (math_opt_barrier, math_force_eval): Remove.
3046 (libc_feholdexcept_setround_53bit): Remove.
3047 (libc_feupdateenv_53bit): Remove.
3048 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3049 (math_opt_barrier, math_force_eval): Remove.
3050 (libc_feholdexcept): Remove.
3051 (libc_feholdexcept_setround): Remove.
3052 (libc_fetestexcept, libc_fesetenv): Remove.
3053 (libc_feupdateenv_test): Remove.
3054 (libc_feupdateenv, libc_feholdsetround): Remove.
3055 (libc_feresetround): Remove.
3056
d0adc922
RH
3057 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
3058 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3059
0fe0f1f8
RH
3060 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
3061 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
3062 (libc_feupdateenv_testl): New.
3063 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
3064 (libc_feupdateenv_testf): New.
3065 (libc_feupdateenv): Use libc_feupdateenv_test.
3066 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
3067 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
3068
eb92c487
RH
3069 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
3070 (libc_feholdsetroundf, libc_feholdsetroundl): New.
3071 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
3072 (libc_feresetround_noex): New.
3073 (libc_feresetround_noexf): New.
3074 (libc_feresetround_noexl): New.
3075 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
3076 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
3077 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
3078 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
3079 SET_RESTORE_ROUND.
3080 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3081 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
3082 (__cos): Likewise.
3083 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
3084 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
3085 SET_RESTORE_ROUND_NOEX.
3086 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
3087 SET_RESTORE_ROUND_NOEXF.
3088 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
3089 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
3090 (libc_feholdsetroundf): New.
3091 (libc_feresetround, libc_feresetroundf): New.
3092
7d2e8012
RH
3093 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
3094 (libc_feholdexcept_setround_53bit): Convert from macro to function.
3095 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
3096
b4dabbb4
RH
3097 * sysdeps/generic/math_private.h: Include <fenv.h>.
3098 (default_libc_feholdexcept): New.
3099 (default_libc_feholdexcept_setround): New.
3100 (default_libc_fesetenv, default_libc_feupdateenv): New.
3101 (libc_feholdexcept): Only define if undefined.
3102 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
3103 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
3104 (libc_feholdexcept_setroundl): Likewise.
3105 (libc_feholdexcept_setround_53bit): Likewise.
3106 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
3107 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
3108 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
3109 (libc_feupdateenv_53bit): Likewise.
3110 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
3111 (libc_feholdexcept): Convert from macro to inline function.
3112 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
3113 (libc_fesetenv, libc_feupdateenv): Likewise.
3114
4851a949
RH
3115 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
3116 not previously defined.
3117 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
3118 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
3119 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
3120 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
3121 * sysdeps/ieee754/flt-32/math_private.h: New file.
3122 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
3123 math_private.h below SET_FLOAT_WORD.
3124 (__isnan, __isinf_ns, __finite): Remove.
3125 (__isnanf, __isinf_nsf, __finitef): Remove.
3126
e79d442e
AS
31272012-03-18 Andreas Schwab <schwab@linux-m68k.org>
3128
3129 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3130
90b80344
DM
31312012-03-17 David S. Miller <davem@davemloft.net>
3132
3133 [BZ #6471]
3134 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
3135 for 2.16.
3136
edc21804
DM
31372012-03-16 David S. Miller <davem@davemloft.net>
3138
77e927af
DM
3139 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
3140 warnings.
3141
374976dd
DM
3142 [BZ #6471]
3143 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
3144 properly.
3145 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
3146 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
3147 sysdep_routines when subdir is sysvipc.
3148 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
3149 __getshmlba helper.
3150
edc21804
DM
3151 * sysdeps/sparc/fpu/libm-test/ulps: Update.
3152
473c3ef3
L
31532012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3154
3155 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
3156 [__LP64__].
3157
eb0f39b6
L
31582012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3159
3160 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
3161 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
3162 (__lround): Renamed to ...
3163 (__llround): This. Replace long int with long long int.
3164 Define lround functions as aliases of llround functions.
3165 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
3166
6b6cd74b
L
31672012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3168
3169 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
3170 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
3171 adresses to uintptr_t. Replace "long int" and "unsigned long
3172 int" with "greg_t" on va_arg.
3173
f1a77b01
L
31742012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3175
3176 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
3177 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
3178
3179 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
3180 Move e_machine check before EI_CLASS check. Handle x32
3181 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
3182 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
3183 SKIP_EM_IA_64 and include
3184 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
3185
3186 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
3187 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
3188 (add_system_dir): New macro.
3189
3190 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
3191 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
3192
11b90b9f
JM
31932012-03-16 Joseph Myers <joseph@codesourcery.com>
3194
c36e1d23
JM
3195 [BZ #2551]
3196 [BZ #2552]
3197 [BZ #2553]
3198 [BZ #2554]
3199 [BZ #2562]
3200 [BZ #2563]
3201 [BZ #2565]
3202 [BZ #2566]
3203 [BZ #2576]
3204 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
3205 (y0): Likewise.
3206 * math/w_j0f.c (j0f): Likewise.
3207 (y0f): Likewise.
3208 * math/w_j0l.c (__j0l): Likewise.
3209 (__y0l): Likewise.
3210 * math/w_j1.c (j1): Likewise.
3211 (y1): Likewise.
3212 * math/w_j1f.c (j1f): Likewise.
3213 (y1f): Likewise.
3214 * math/w_j1l.c (__j1l): Likewise.
3215 (__y1l): Likewise.
3216 * math/w_jn.c (jn): Likewise.
3217 (yn): Likewise.
3218 * math/w_jnf.c (jnf): Likewise.
3219 (ynf): Likewise.
3220 * math/w_jnl.c (__jnl): Likewise.
3221 (__ynl): Likewise.
3222 * math/libm-test.inc (j0_test): Add more tests.
3223 (j1_test): Likewise.
3224 (jn_test): Likewise. Add trailing semicolon to existing test.
3225 (y0_test): Likewise.
3226 (y1_test): Likewise.
3227 * sysdeps/i386/fpu/libm-test-ulps: Update.
3228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3229
11b90b9f
JM
3230 [BZ #13851]
3231 [BZ #13854]
3232 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
3233 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
3234 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
3235 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
3236 (__tanl): Set errno for infinite argument.
3237 * sysdeps/i386/fpu/mptan.c: Remove.
3238 * sysdeps/i386/fpu/s_tan.S: Likewise.
3239 * sysdeps/i386/fpu/s_tanl.S: Likewise.
3240 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
3241 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
3242 * math/libm-test.inc (tan_test): Add more tests and enable more
3243 tests for double and long double.
3244 * sysdeps/i386/fpu/libm-test-ulps: Update.
3245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3246
6a1bd2a1
JK
32472012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3248
3249 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
3250 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
3251
10a803e0
RM
32522012-03-16 Roland McGrath <roland@hack.frob.com>
3253
3254 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
3255 * configure.in: Use it for both main tree and add-ons.
3256 * configure: Regenerated.
3257
f196c7f7
L
32582012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3259
3260 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
3261
8848d99d
JM
32622012-03-16 Joseph Myers <joseph@codesourcery.com>
3263
96cbe7f4
JM
3264 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
3265 in comment.
3266
8848d99d
JM
3267 [BZ #13851]
3268 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
3269 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
3270 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
3271 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
3272 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
3273 infinite argument.
3274 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
3275 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
3276 != 0 for prec == 2.
3277 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
3278 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
3279 * sysdeps/i386/fpu/s_cosl.S: Likewise.
3280 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
3281 * sysdeps/i386/fpu/s_sinl.S: Likewise.
3282 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
3283 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
3284 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
3285 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
3286 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
3287 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
3288 * math/libm-test.inc (cos_test): Add more tests and enable more
3289 tests for long double.
3290 (sin_test): Likewise.
3291 (sincos_test): Likewise.
3292 * sysdeps/i386/fpu/libm-test-ulps: Update.
3293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3294
dd7f4703
DM
32952012-03-16 David S. Miller <davem@davemloft.net>
3296
3297 * sysdeps/sparc/fpu/math_private.h: New file.
3298
006f1daa
DM
32992012-03-15 David S. Miller <davem@davemloft.net>
3300
c0c83bc8
DM
3301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
3302 file.
e6a62e18 3303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
3304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
3305 file.
e6a62e18
DM
3306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
3307 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
3308 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
3309 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
3310 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
3311 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
3312 sysdep routines.
3313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3314
88cb87d9
DM
3315 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
3316 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
3317
006f1daa 3318 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
3319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
3320 sparc-ifunc.h
006f1daa 3321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
3322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
3323 Likewise.
3324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
3325 Likewise.
006f1daa
DM
3326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
3327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
3328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
3329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3330 Likewise.
006f1daa
DM
3331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
3333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
3335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
3336 Likewise.
3337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
3338 Likewise.
006f1daa
DM
3339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
3341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
3342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
3343 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3344 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3345 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
3346 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
3347 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3348 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3349 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
3350 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
3351 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
3352 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
3353 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
3354 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
3355 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
3356 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
3357 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
3358 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
3359 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
3360 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
3361 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
3362 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
3363
11e0098e
AS
33642012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3365
3366 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
3367 scaling.
3368 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3369
e85b09d0
AJ
33702012-03-15 Andreas Jaeger <aj@suse.de>
3371
3372 [BZ #13852]
3373 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
3374 ieee754/flt-32 implementation for sin, cos and sincos.
3375 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
3376 * sysdeps/i386/fpu/s_cosf.S: Likewise.
3377 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
3378 * sysdeps/i386/fpu/s_sinf.S: Likewise.
3379 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
3380 ieee754/flt-32 implementation for tan.
3381
3382 * math/libm-test.inc (cos_test): Enable some large input tests for
3383 float as well
3384 (sin_test): Likewise.
3385 (sincos_test): Likewise.
3386 (tan_test): Add tests for large input.
3387
3388 * sysdeps/i386/fpu/libm-test-ulps: Update.
3389
81c64153
AJ
33902012-03-15 Andreas Jaeger <aj@suse.de>
3391
3392 [BZ #13658]
3393 * math/libm-test.inc (cos_test): Add more test cases.
3394 (sin_test): Likewise.
3395 (sincos_test): Likewise.
3396
7bbfa5c6
AJ
33972012-03-15 Andreas Jaeger <aj@suse.de>
3398
3399 [BZ #13837]
3400 * math/libm-test.inc (cos_test): Add a test case for large input
3401 value.
3402 (sin_test): Likewise.
3403 (sincos_test): Likewise.
3404
34052012-03-15 Andreas Jaeger <aj@suse.de>,
3406 Joseph Myers <joseph@codesourcery.com>
3407
3408 [BZ #13658]
0671f479 3409 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
3410 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
3411 * sysdeps/i386/fpu/branred.c: Likewise.
3412 * sysdeps/i386/fpu/dosincos.c: Likewise.
3413 * sysdeps/i386/fpu/mpa.c: Likewise.
3414 * sysdeps/i386/fpu/s_cos.S: Likewise.
3415 * sysdeps/i386/fpu/s_sin.S: Likewise.
3416 * sysdeps/i386/fpu/s_sincos.S: Likewise.
3417 * sysdeps/i386/fpu/sincos32.c: Likewise.
3418
3419 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
3420 Define.
3421 (libc_feupdateenv_53bit): Define.
3422 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
3423 Define.
3424 (libc_feupdateenv_53bit): Define.
3425
3426 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
3427 53 bit (without extend i386 double precision).
3428
3429 * math/libm-test.inc (sincos_test): Add tests for large input.
3430 (sin): Likewise.
3431 (cos): Likewise.
3432
3433 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3434
9cad04ea
AS
34352012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3436
3437 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3438
f7062b9a
DM
34392012-03-15 David S. Miller <davem@davemloft.net>
3440
3441 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
3442 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
3443 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
3444 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
3445 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
3446 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
3447 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
3448 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
3449 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
3450 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
3451 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
3452 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
3453 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
3454 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
3455 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
3456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
3457 file.
f7062b9a 3458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
3459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
3460 file.
f7062b9a 3461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
3462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
3463 file.
f7062b9a 3464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
3465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
3466 file.
f7062b9a
DM
3467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
3468 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
3469 fmin/fmax sysdep routines.
3470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3471
7bd951ff
DM
34722012-03-14 David S. Miller <davem@davemloft.net>
3473
559398ab
DM
3474 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
3475 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
3476 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
3477 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
3478 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
3479 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
3480 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
3481 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
3482 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
3483 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
3484 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
3485 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
3486 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
3487 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
3488 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
3489 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
3490 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
3491 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
3492 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
3493 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
3494 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
3495 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
3496 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
3497 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
3498 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
3499 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
3500 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
3501 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
3502 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
3503 routines.
3504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
3505 file.
559398ab 3506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
3507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
3508 file.
559398ab 3509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
3510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
3511 file.
559398ab 3512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
3513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
3514 file.
559398ab 3515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
3516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
3517 file.
559398ab 3518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
3519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
3520 file.
3521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
3522 file.
3523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
3524 file.
3525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
3526 file.
3527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
3528 New file.
3529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
3530 file.
3531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
3532 file.
559398ab 3533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
3534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
3535 file.
559398ab 3536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
3537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
3538 file.
559398ab 3539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
3540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
3541 file.
559398ab 3542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
3543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
3544 VIS3 routines.
559398ab
DM
3545
3546 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3547 New file.
3548
5a1c1e32
DM
3549 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3550
eae47a36
DM
3551 * sysdeps/sparc/configure.in: New file.
3552 * sysdeps/sparc/configure: Generate.
3553 * configure.in (libc_cv_sparc_as_vis3): Substitute.
3554 * configure: Regenerate.
3555 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
3556 * config.make.in (have-as-vis3): New.
3557 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
3558 available use -Av9d instead of -Av9a.
3559 * sysdeps/sparc/sparc64/Makefile: Likewise.
3560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
3561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
3562 New file.
3563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
3564 file.
3565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
3566 New file.
3567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
3568 file.
eae47a36
DM
3569 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
3570 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
3571 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
3572 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
3573 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
3574
c0c83bc8
DM
3575 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
3576 fzeros/fnegs to load 0x80000000 into a float register instead of
3577 using the stack.
7bd951ff
DM
3578 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
3579
bd951ccb
JM
35802012-03-14 Joseph Myers <joseph@codesourcery.com>
3581
3582 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3583 bits/syscall.h.
3584 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
3585 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
3586 ($(inst_includedir)/bits/syscall.h): Remove rule.
3587 ($(objpfx)bits/syscall.d): Include instead of
3588 $(objpfx)syscall-list.d.
3589 (generated): Change syscall-list.h and syscall-list.d to
3590 bits/syscall.h and bits/syscall.d.
3591
bb4e6db2
RM
35922012-03-14 Roland McGrath <roland@hack.frob.com>
3593
3594 [BZ #13846]
3595 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
3596
aa4a2ae1
JM
35972012-03-14 Joseph Myers <joseph@codesourcery.com>
3598
e456826d
JM
3599 [BZ #13841]
3600 * math/s_csqrt.c: Include <float.h>.
3601 (__csqrt): Scale large or subnormal inputs.
3602 * math/s_csqrtf.c: Likewise.
3603 * math/s_csqrtl.c: Likewise.
3604 * math/libm-test.inc (csqrt_test): Add more tests.
3605 * sysdeps/i386/fpu/libm-test-ulps: Update.
3606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3607
aa4a2ae1
JM
3608 [BZ #13840]
3609 * math/libm-test.inc (hypot_test): Add more tests.
3610
7c10fd35
DM
36112012-03-13 David S. Miller <davem@davemloft.net>
3612
3613 [BZ #13840]
3614 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
3615 double-precision for the calculation instead of scaling.
3616
f453b98b
JM
36172012-03-13 Joseph Myers <joseph@codesourcery.com>
3618
3619 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
3620 manipulate bits before adding and subtracting TWO52[sx].
3621 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
3622 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
3623 Likewise.
3624 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
3625
09a3453f
DM
36262012-03-13 David S. Miller <davem@davemloft.net>
3627
8e59da90
DM
3628 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
3629 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
3630 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
3631 rtld-global-offsets.h
3632 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3633
2a8ab7f2
DM
3634 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
3635 large parameters.
3636
10f62770
DM
3637 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
3638
5f0bdb18
DM
3639 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
3640 'err' in the ifdef scope in which it is actually used.
3641
09a3453f
DM
3642 * nss/nss_db/db-init.c: Include string.h
3643
b4b2eb5e
DM
36442012-03-12 David S. Miller <davem@davemloft.net>
3645
98bb2f1c
DM
3646 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
3647 masking out of the most significant byte of random value used.
3648 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3649 Fix coding style in previous change.
3650
b4b2eb5e
DM
3651 * sysdeps/unix/sysv/linux/kernel-features.h
3652 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
3653 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
3654 expression.
3655 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
3656 later.
3657
6e226b09
DM
36582012-03-11 David S. Miller <davem@davemloft.net>
3659
a1bcbd40
DM
3660 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
3661 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
3662 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
3663 for 'resultvar' otherwise things get truncated on 64-bit.
3664
cb9d6174
DM
3665 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3666 Fix masking out of the most significant byte of random value used.
3667
6e226b09
DM
3668 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3669
058c132d
AS
36702012-03-10 Andreas Schwab <schwab@linux-m68k.org>
3671
3672 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3673
2d2cd515
DM
36742012-03-09 David S. Miller <davem@davemloft.net>
3675
3676 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
3677 variables with appropriate CPP guards.
3678 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
3679 frame pointer, not the stack pointer. Correct layout comments. Fix test
3680 on resulting framesize and the management of the outregs buffer for pltexit.
3681 Preserve floating point return values across _dl_call_pltexit call.
3682 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
3683 framesize and the management of the outregs buffer for pltexit.
3684 Preserve floating point return values across _dl_call_pltexit
3685 call.
3686 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
3687 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
3688 (print_exit): Fix format string for return register value.
3689
9a07f9d0
JM
36902012-03-10 Joseph Myers <joseph@codesourcery.com>
3691
3692 * sunrpc/Makefile (others): Add rpcgen.
3693 ($(objpfx)rpcgen): Remove special build rule and dependency on
3694 libc.
3695 * sunrpc/rpcgen.c: New file.
3696
547b5e30
PE
36972012-03-09 Paul Eggert <eggert@cs.ucla.edu>
3698
c524201a
PE
3699 [BZ #13673]
3700 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
3701 * stdio-common/bug-vfprintf-nargs.c: Likewise.
3702 * sysdeps/i386/crti.S: Likewise.
3703 * sysdeps/i386/crtn.S: Likewise.
3704 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
3705 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
3706 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
3707 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
3708 * sysdeps/sh/crti.S: Likewise.
3709 * sysdeps/sh/crtn.S: Likewise.
3710 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
3711
7b6235f2
PE
3712 [BZ #13673]
3713 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
3714 with URL.
3715 * locale/programs/locfile-kw.gperf: Likewise.
3716 * locale/programs/charmap-kw.h: Regenerated.
3717 * locale/programs/locfile-kw.h: Likewise.
3718
547b5e30
PE
3719 [BZ #13673]
3720 * intl/plural.y: Replace FSF snail mail address with URL.
3721 * intl/plural.c: Regenerated.
3722
5f0a5dae
RH
37232012-03-09 Richard Henderson <rth@twiddle.net>
3724
3725 * include/math_private.h: Remove file.
3726 * math/math_private.h: Move file ...
3727 * sysdeps/generic/math_private.h: ... here.
3728
b8c03620
RH
3729 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
3730 * sysdeps/powerpc/fpu/math_private.h: Likewise.
3731 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3732
4e234f5d 3733 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
3734 and <math_private.h>.
3735 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3736 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3737 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3738 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3739 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3740 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
3741 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3742 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3743 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3744 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3745 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3746 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3747 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3748 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3749 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3750 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3751 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3752 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3753 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3754 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
3755 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3756 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3757 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3758 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3759 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3760 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3761 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3762 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3763 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3764 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3765 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3766 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3767 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3768 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3769 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3770 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3771 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3772 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3773 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3774 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3775 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
3776 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3777 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3778 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3779 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3780 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3781 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
3782 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3783 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3784 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3785 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3786 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
3787 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3788 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3789 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3790 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3791 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3792 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3793 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3794 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
3795 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3796 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3797 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3798 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3799 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
3800 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3801 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3802 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3803 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
3804 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
3805 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3806 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3807 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3808 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3809 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
3810 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
3811 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
3812 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3813 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
3814 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
3815 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3816 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
3817 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3818 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
3819 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3820 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3821 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
3822 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
3823 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
3824 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3825 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3826 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
3827 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3828 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
3829 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
3830 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
3831 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3832 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3833 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3834 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
3835 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
3836 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
3837 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
3838 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
3839 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3840 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
3841 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
3842 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
3843 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3844 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3845 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3846 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3847 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
3848 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3849 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
3850 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3851 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3852 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3853 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3854 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
3855 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3856 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3857 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3858 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
3859 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3860 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3861 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
3862 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
3863 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3864 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
3865 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
3866 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
3867 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3868 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
3869 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
3870 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3871 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
3872 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3873 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
3874 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
3875 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3876 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3877 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3878 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
3879 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
3880 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3881 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3882 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3883 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
3884 * sysdeps/ieee754/k_standard.c: Likewise.
3885 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
3886 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
3887 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3888 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
3889 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
3890 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
3891 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
3892 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
3893 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3894 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3895 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3896 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3897 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
3898 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
3899 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
3900 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
3901 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3902 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
3903 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
3904 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
3905 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
3906 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
3907 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3908 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3909 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3910 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3911 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3912 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3913 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3914 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3915 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3916 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3917 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3918 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3919 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3920 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3921 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3922 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
3923 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
3924 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3925 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3926 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3927 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3928 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3929 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3930 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3931 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3932 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3933 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3934 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3935 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3936 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3937 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3938 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
3939 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3940 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3941 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
3942 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
3943 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3944 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3945 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3946 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3947 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3948 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
3949 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3950 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3951 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
3952 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
3953 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
3954 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
3955 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
3956 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3957 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
3958 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
3959 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
3960 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
3961 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
3962 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
3963 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3964 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
3965 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
3966 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
3967 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3968 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3969 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
3970 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3971 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3972 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3973 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3974 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3975 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
3976 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3977 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3978 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3979 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3980 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3981 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
3982 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3983 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3984 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
3985 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3986 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3987 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3988 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3989 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
3990 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3991 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3992 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3993 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
3994 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3995 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3996 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3997 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
3998 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3999 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4000 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4001 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4002 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4003 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4004 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4005 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4006 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4007 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4008 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4009 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4010 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
4011 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4012 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4013 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4014 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4015 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4016 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4017 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4018 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4019 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4020 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4021 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
4022 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4023 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4024 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
4025 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
4026 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4027 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
4028 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
4029 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4030 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4031 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4032 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4033 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4034 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
4035 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4036 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4037 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4038 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4039 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
4040 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
4041 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4042 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4043 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4044 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4045 * sysdeps/ieee754/s_lib_version.c: Likewise.
4046 * sysdeps/ieee754/s_matherr.c: Likewise.
4047 * sysdeps/ieee754/s_signgam.c: Likewise.
4048 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4049 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4050 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
4051 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
4052 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
4053 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4054 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
4055 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
4056 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
4057 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
4058 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4059 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
4060 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4061 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4062 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
4063 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4064 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4065 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4066 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4067 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4068 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 4069
1991fa03
JM
40702012-03-09 Joseph Myers <joseph@codesourcery.com>
4071
4072 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
4073 * sunrpc/rpc_main.c: Likewise.
4074 * sunrpc/rpc_svcout.c: Likewise.
4075
60d6f5a6
DM
40762012-03-09 David S. Miller <davem@davemloft.net>
4077
4078 * include/math_private.h: New file.
4079
4962050e
JM
40802012-03-09 Joseph Myers <joseph@codesourcery.com>
4081
02a6f887
JM
4082 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
4083 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
4084 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
4085 from <bits/socket_type.h>.
4086 (enum __socket_type): Don't define here.
4087 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
4088 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4089 bits/socket_type.h.
4090
c6e013c1
JM
4091 [BZ #13566]
4092 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
4093 checking __USE_GNU.
4094
4962050e
JM
4095 * Makerules ($(inst_includedir)/%.h): New rule.
4096 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
4097 (install-others): Remove variable setting.
4098 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
4099
38842f45
RH
41002012-03-08 Richard Henderson <rth@twiddle.net>
4101
67bb6da6
RH
4102 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
4103 from macro to inline function; merge with the
4104 !__LIBC_INTERNAL_MATH_INLINES version.
4105 (__ieee754_sqrtf): Likewise.
4106
15194b4b
RH
4107 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
4108 to inline function.
4109 (__rintf, __floor, __floorf): Likewise.
4110
64e21ede
RH
4111 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
4112 macro to inline function.
4113 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
4114
38842f45
RH
4115 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
4116 not <math/math_private.h>.
4117
c64bf5fe
DM
41182012-03-08 David S. Miller <davem@davemloft.net>
4119
4120 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
4121 copyright year.
4122 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
4123
82d86f28
TS
41242012-03-08 Thomas Schwinge <thomas@codesourcery.com>
4125
4126 * resolv/gai_misc.c (handle_requests): Fix struct timespec
4127 normalization.
4128 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
4129 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4130
aea5d727
UD
41312012-03-08 Ulrich Drepper <drepper@gmail.com>
4132
4133 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
4134 be defined individually, they must be defined as a block. Define
4135 S for printing a string instead of hidint the different by using a
4136 macro for adding the 'l'.
4137 * stdio-common/tst-fphex-wide.c: Adjust.
4138
70bca0a3
MP
41392012-03-07 Marek Polacek <polacek@redhat.com>
4140
4141 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
4142
65b81130
MP
41432012-03-08 Marek Polacek <polacek@redhat.com>
4144
4145 [BZ #13806]
4146 * stdio-common/Makefile (tests): Add tst-fphex-wide.
4147 * stdio-common/tst-fphex.c: Define a few macros to make the
4148 test reusable. Use them.
4149 * stdio-common/tst-fphex-wide.c: New file.
4150
07037eeb
JM
41512012-03-08 Joseph Myers <joseph@codesourcery.com>
4152
a7a93d50
JM
4153 [BZ #6911]
4154 * manual/macros.texi (gnusystems): New macro.
4155 (nongnusystems): Likewise.
4156 (gnulinuxhurdsystems): Likewise.
4157 (gnuhurdsystems): Likewise..
4158 (gnulinuxsystems): Likewise.
4159 * manual/charset.texi: Use new macros or @theglibc{} to refer to
4160 variants of the GNU system, not "GNU system".
4161 * manual/conf.texi: Likewise.
4162 * manual/errno.texi: Likewise. Update example of errno macro
4163 expansion.
4164 * manual/filesys.texi: Likewise.
4165 (getumask): Document as specific to GNU/Hurd.
4166 * manual/install.texi: Likewise. Reword some references to
4167 GNU/Linux.
4168 * manual/intro.texi: Likewise.
4169 * manual/io.texi: Likewise.
4170 (File Name Portability): Detail which constraints are inapplicable
4171 to all GNU systems and which are only inapplicable to GNU/Hurd.
4172 * manual/job.texi: Likewise.
4173 * manual/llio.texi: Likewise.
4174 (O_NOCTTY): Document as present on GNU/Linux.
4175 * manual/maint.texi: Likewise.
4176 * manual/memory.texi: Likewise.
4177 * manual/pattern.texi: Likewise.
4178 * manual/pipe.texi: Likewise.
4179 * manual/process.texi: Likewise.
4180 * manual/resource.texi: Likewise.
4181 (RUSAGE_CHILDREN): Remove statement about specifying a particular
4182 child on GNU/Hurd.
4183 * manual/setjmp.texi: Likewise.
4184 * manual/signal.texi: Likewise.
4185 * manual/startup.texi: Likewise.
4186 * manual/stdio.texi: Likewise.
4187 * manual/terminal.texi: Likewise.
4188 (ONLCR): Document as POSIX.
4189 (OXTABS): Document availability on GNU/Linux as XTABS.
4190 (ONOEOT): Document availability separately from other bits.
4191 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
4192 * manual/time.texi: Likewise.
4193 * manual/users.texi: Likewise.
4194 * INSTALL: Regenerated.
4195 * sysdeps/gnu/errlist.c: Regenerated.
4196
07037eeb
JM
4197 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
4198 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
4199 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
4200 puts.
4201 * configure: Regenerated.
4202
d1d3431a
JM
42032012-03-07 Joseph Myers <joseph@codesourcery.com>
4204
af6a1e37
JM
4205 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
4206 default includes instead of AC_HEADER_CHECK.
4207 * sysdeps/i386/configure: Regenerated.
4208
d1d3431a
JM
4209 [BZ #10716]
4210 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
4211 * math/s_cacoshf.c (__cacoshf): Likewise.
4212 * math/s_cacoshl.c (__cacoshl): Likewise.
4213 * math/s_casinh.c (__casinh): Set signs of result from argument.
4214 * math/s_casinhf.c (__casinhf): Likewise.
4215 * math/s_casinhl.c (__casinhl): Likewise.
4216 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
4217 (casinh_test): Add more tests.
4218 * sysdeps/i386/fpu/libm-test-ulps: Update.
4219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4220
482ff4da
UD
42212012-03-07 Ulrich Drepper <drepper@gmail.com>
4222
872fda05
UD
4223 * po/zh_TW.po: Update from translation team.
4224
a4300c7a
UD
4225 * login/Makefile (distribute): Remove variable.
4226 * catgets/Makefile: Likewise.
4227 * mach/Makefile: Likewise.
4228 * malloc/Makefile: Likewise.
4229 * misc/Makefile: Likewise.
4230 * iconv/Makefile: Likewise.
4231 * nscd/Makefile: Likewise.
4232 * hurd/Makefile: Likewise.
4233 * manual/Makefile: Likewise.
4234 * locale/Makefile: Likewise.
4235 * intl/Makefile: Likewise.
4236 * conform/Makefile: Likewise.
4237 * nss/Makefile: Likewise.
4238 * time/Makefile: Likewise.
4239 * soft-fp/Makefile: Likewise.
4240 * dirent/Makefile: Likewise.
4241 * gmon/Makefile: Likewise.
4242 * po/Makefile: Likewise.
4243 * rt/Makefile: Likewise.
4244 * socket/Makefile: Likewise.
4245 * math/Makefile: Likewise.
4246 * signal/Makefile: Likewise.
4247 * debug/Makefile: Likewise.
4248 * elf/Makefile: Likewise.
4249 * timezone/Makefile: Likewise.
4250 * stdlib/Makefile: Likewise.
4251 * iconvdata/Makefile: Likewise.
4252 * sunrpc/Makefile: Likewise.
4253 * io/Makefile: Likewise.
4254 * argp/Makefile: Likewise.
4255 * inet/Makefile: Likewise.
4256 * hesiod/Makefile: Likewise.
4257 * grp/Makefile: Likewise.
4258 * csu/Makefile: Likewise.
4259 * wctype/Makefile: Likewise.
4260 * crypt/Makefile: Likewise.
4261 * libio/Makefile: Likewise.
4262 * string/Makefile: Likewise.
4263 * nis/Makefile: Likewise.
4264 * resolv/Makefile: Likewise.
4265 * stdio-common/Makefile: Likewise.
4266 * wcsmbs/Makefile: Likewise.
4267 * dlfcn/Makefile: Likewise.
4268 * posix/Makefile: Likewise.
4269
3b7c4e74 4270 [BZ #6959]
482ff4da
UD
4271 * timezone/Makefile: Don't install timezone files, just the programs
4272 and scripts.
4273
f72ed77d
UD
42742012-03-06 Ulrich Drepper <drepper@gmail.com>
4275
a000466f
UD
4276 * nss/databases.def: Add missing gshadow entry.
4277
f72ed77d
UD
4278 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
4279
a53b7a4e
MP
42802012-03-06 Marek Polacek <polacek@redhat.com>
4281
4282 [BZ #13726]
4283 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
4284 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4285 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
4286 * stdio-common/tst-long-dbl-fphex.c: New file.
4287
e9258400
DM
42882012-03-06 David S. Miller <davem@davemloft.net>
4289
4290 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4291 (set_obp_int): New function.
4292 (get_obp_int): New function.
4293 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
4294 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
4295 Avoid unused variable warnings on 'val' and use builtin_expect.
4296 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
4297 __builtin_expect.
e9258400
DM
4298 (INLINE_CLONE_SYSCALL): Likewise.
4299
3bd2c723
DM
43002012-03-05 David S. Miller <davem@davemloft.net>
4301
4302 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4303
bbb78d03
AS
43042012-03-05 Andreas Schwab <schwab@linux-m68k.org>
4305
884c5db4
AS
4306 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4307
bbb78d03
AS
4308 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
4309 only for |x| >= 40.
4310 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4311
1c9f702a 43122012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
4313
4314 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
4315 Replace gettimeofday with __vdso_gettimeofday.
4316
7be16f82
RM
4317 * sysdeps/unix/sysv/linux/x86_64/init-first.c
4318 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
4319 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
4320
4321 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
4322 time with __vdso_time.
4323
ed58a00f
JM
43242012-03-05 Joseph Myers <joseph@codesourcery.com>
4325
4326 * manual/lang.texi (size_t): Note types to which size_t may be
4327 equivalent with the GNU C Library, but do not describe when
4328 differences between them are significant.
4329
30ee4ced
AJ
43302012-03-05 Andreas Jaeger <aj@suse.de>
4331
4332 * sysdeps/i386/fpu/libm-test-ulps: Update.
4333
b7cd39e8
JM
43342012-03-05 Joseph Myers <joseph@codesourcery.com>
4335
4336 [BZ #3976]
4337 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
4338 (__ieee754_pow): Save and restore rounding mode and use
4339 round-to-nearest for main computations.
4340 * math/libm-test.inc (pow_test_tonearest): New function.
4341 (pow_test_towardzero): Likewise.
4342 (pow_test_downward): Likewise.
4343 (pow_test_upward): Likewise.
4344 (main): Call the new functions.
4345 * sysdeps/i386/fpu/libm-test-ulps: Update.
4346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
4347
4348 [BZ #3976]
4349 * math/libm-test.inc (cosh_test_tonearest): New function.
4350 (cosh_test_towardzero): Likewise.
4351 (cosh_test_downward): Likewise.
4352 (cosh_test_upward): Likewise.
4353 (sinh_test_tonearest): Likewise.
4354 (sinh_test_towardzero): Likewise.
4355 (sinh_test_downward): Likewise.
4356 (sinh_test_upward): Likewise.
4357 (main): Call the new functions.
4358 * sysdeps/i386/fpu/libm-test-ulps: Update.
4359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4360
6c6a98c9
TV
43612012-03-05 Tom de Vries <tom@codesourcery.com>
4362
4363 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
4364 default stack guard is set in last bytes.
4365 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
4366
21bb2d2e 43672012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 4368
21bb2d2e 4369 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 4370
21bb2d2e
AJ
4371 [BZ #13656]
4372 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
4373 possibly allocate from heap instead of stack.
4374 * stdio-common/bug-vfprintf-nargs.c: New file.
4375 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 4376
c6922934
AS
43772012-03-03 Andreas Schwab <schwab@linux-m68k.org>
4378
4379 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4380
bc957d53
MP
43812012-03-03 Marek Polacek <polacek@redhat.com>
4382
4383 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
4384 * math/math_private.h: Likewise.
4385 * stdlib/tst-strtod.c: Likewise.
4386 * sysdeps/i386/i486/bits/atomic.h: Likewise.
4387 * sysdeps/x86_64/bits/atomic.h: Likewise.
4388
6358490d
DM
43892012-03-02 David S. Miller <davem@davemloft.net>
4390
4391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
4392 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
4393 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
4394 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
4395 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
4396 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
4397 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
4398 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
4399
01ae168d
RM
44002012-03-02 Roland McGrath <roland@hack.frob.com>
4401
d9a17c07
RM
4402 [BZ #13792]
4403 * manual/examples/README: New file, says the example source files
4404 can be used under GPL>=2.
4405 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
4406 line containing just "*/".
4407 * manual/examples/add.c: Add copyright header (GPL>=2).
4408 * manual/examples/argp-ex1.c: Likewise.
4409 * manual/examples/argp-ex2.c: Likewise.
4410 * manual/examples/argp-ex3.c: Likewise.
4411 * manual/examples/argp-ex4.c: Likewise.
4412 * manual/examples/atexit.c: Likewise.
4413 * manual/examples/db.c: Likewise.
4414 * manual/examples/dir.c: Likewise.
4415 * manual/examples/dir2.c: Likewise.
4416 * manual/examples/execinfo.c: Likewise.
4417 * manual/examples/filecli.c: Likewise.
4418 * manual/examples/filesrv.c: Likewise.
4419 * manual/examples/fmtmsgexpl.c: Likewise.
4420 * manual/examples/genpass.c: Likewise.
4421 * manual/examples/inetcli.c: Likewise.
4422 * manual/examples/inetsrv.c: Likewise.
4423 * manual/examples/isockad.c: Likewise.
4424 * manual/examples/longopt.c: Likewise.
4425 * manual/examples/memopen.c: Likewise.
4426 * manual/examples/memstrm.c: Likewise.
4427 * manual/examples/mkfsock.c: Likewise.
4428 * manual/examples/mkisock.c: Likewise.
4429 * manual/examples/mygetpass.c: Likewise.
4430 * manual/examples/pipe.c: Likewise.
4431 * manual/examples/popen.c: Likewise.
4432 * manual/examples/rprintf.c: Likewise.
4433 * manual/examples/search.c: Likewise.
4434 * manual/examples/select.c: Likewise.
4435 * manual/examples/setjmp.c: Likewise.
4436 * manual/examples/sigh1.c: Likewise.
4437 * manual/examples/sigusr.c: Likewise.
4438 * manual/examples/stpcpy.c: Likewise.
4439 * manual/examples/strdupa.c: Likewise.
4440 * manual/examples/strftim.c: Likewise.
4441 * manual/examples/strncat.c: Likewise.
4442 * manual/examples/subopt.c: Likewise.
4443 * manual/examples/swapcontext.c: Likewise.
4444 * manual/examples/termios.c: Likewise.
4445 * manual/examples/testopt.c: Likewise.
4446 * manual/examples/testpass.c: Likewise.
4447 * manual/examples/timeval_subtract.c: Likewise.
4448
01ae168d
RM
4449 [BZ #13792]
4450 * manual/time.texi (Elapsed Time): Move timeval_subtract example
4451 function to ...
4452 * manual/timeval_subtract.c.texi: ... here, new file.
4453
49efa33d
DM
44542012-03-02 David S. Miller <davem@davemloft.net>
4455
4456 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
4457
28afd92d
JM
44582012-03-02 Joseph Myers <joseph@codesourcery.com>
4459
804360ed
JM
4460 [BZ #3976]
4461 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
4462 (__sin): Save and restore rounding mode and use round-to-nearest
4463 for all computations.
4464 (__cos): Save and restore rounding mode and use round-to-nearest
4465 for all computations.
4466 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
4467 <fenv.h>.
4468 (tan): Save and restore rounding mode and use round-to-nearest for
4469 all computations.
4470 * math/libm-test.inc (cos_test_tonearest): New function.
4471 (cos_test_towardzero): Likewise.
4472 (cos_test_downward): Likewise.
4473 (cos_test_upward): Likewise.
4474 (sin_test_tonearest): Likewise.
4475 (sin_test_towardzero): Likewise.
4476 (sin_test_downward): Likewise.
4477 (sin_test_upward): Likewise.
4478 (tan_test_tonearest): Likewise.
4479 (tan_test_towardzero): Likewise.
4480 (tan_test_downward): Likewise.
4481 (tan_test_upward): Likewise.
4482 (main): Call the new functions.
4483 * sysdeps/i386/fpu/libm-test-ulps: Update.
4484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4485
a6d06d7b
JM
4486 [BZ #10135]
4487 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
4488 small n, then large n, before computing and testing k+n.
4489 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4490 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
4491 Likewise.
4492 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
4493 Likewise.
4494 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
4495 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
4496 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
4497 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
4498 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4499 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4500 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
4501 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
4502 * math/libm-test.inc (scalbn_test): Add more tests.
4503 (scalbln_test): Likewise.
4504
07e12bb3
JM
4505 * manual/filesys.texi (mode_t): Describe constraints on size and
4506 signedness, not exact equivalence to a particular type.
4507 (ino_t): Likewise.
4508 (ino64_t): Likewise.
4509 (dev_t): Likewise.
4510 (nlink_t): Likewise.
4511 (blkcnt_t): Likewise.
4512 (blkcnt64_t): Likewise.
4513 * manual/llio.texi (off_t): Likewise.
4514
28afd92d
JM
4515 [BZ #3976]
4516 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
4517 (__ieee754_exp): Save and restore rounding mode and use
4518 round-to-nearest for all computations.
4519 * math/libm-test.inc (exp_test_tonearest): New function.
4520 (exp_test_towardzero): Likewise.
4521 (exp_test_downward): Likewise.
4522 (exp_test_upward): Likewise.
4523 (main): Call the new functions.
4524 * sysdeps/i386/fpu/libm-test-ulps: Update.
4525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4526
b1eeb65d
CD
45272012-03-01 Chris Demetriou <cgd@google.com>
4528
4529 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
4530 have predictable order.
4531
53362a4b
DM
45322012-03-01 David S. Miller <davem@davemloft.net>
4533
3c969083
DM
4534 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
4535
759707de
DM
4536 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
4537 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
4538 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
4539 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
4540
dfdb8ff2
DM
4541 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
4542 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
4543 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
4544 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
4545 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
4546 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
4547 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
4548 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
4549 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
4550
ead89f96
DM
4551 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4552
7f66bd07
DM
4553 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
4554 * sysdeps/sparc/fpu/libm-test-ulps: to here.
4555 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
4556
53362a4b
DM
4557 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
4558 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4559 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4560 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
4561 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
4562 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
4563 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
4564 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4565 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4566 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
4567 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
4568 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4569 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4570 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4571 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4572 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4573 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
4574 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
4575 * sysdeps/sparc/elf/configure: Regenerated.
4576
7b1902cb
JM
45772012-03-01 Joseph Myers <joseph@codesourcery.com>
4578
bec039bc
JM
4579 * configure.in (AS, LD): Require binutils 2.20 or later.
4580 * configure: Regenerated.
4581 * manual/install.texi (Tools for Compilation): Give binutils 2.20
4582 as required minimum version.
4583 * INSTALL: Regenerated.
4584
7b1902cb
JM
4585 [BZ #2541]
4586 [BZ #4108]
4587 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
4588 before squaring exponent.
4589 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
4590 bottom long double and 27 bits of top long double before squaring
4591 exponent.
4592 * math/libm-test.inc (erfc_test): Add more tests.
4593 * sysdeps/i386/fpu/libm-test-ulps: Update.
4594 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4596
f775c276
KT
45972012-03-01 Kai Tietz <ktietz@redhat.com>
4598
4599 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
4600 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
4601 containing bit-fields.
4602 * soft-fp/extended.h (_FP_UNION_E): Likewise.
4603 * soft-fp/single.h (_FP_UNION_S): Likewise.
4604 * soft-fp/double.h (_FP_UNION_D): Likewise.
4605
5b8a4d4a
JM
46062012-02-29 Joseph Myers <joseph@codesourcery.com>
4607
0bab47b6
JM
4608 [BZ #13786]
4609 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
4610 not include ../strcmp.S.
4611 [USE_AS_STRNCASECMP_L]: Likewise.
4612 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
4613 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
4614 * sysdeps/i386/i686/multiarch/strncase_l-c.c
4615 (__strncasecmp_l_ia32): Define as alias to
4616 __strncasecmp_l_nonascii.
4617
0fcad3e2
JM
4618 [BZ #5794]
4619 * math/libm-test.inc (expm1_test): Add test for bug 5794.
4620 * sysdeps/i386/fpu/libm-test-ulps: Update.
4621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4622
5b8a4d4a
JM
4623 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
4624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4625
8fdceb2e
JL
46262012-02-29 Jeff Law <law@redhat.com>
4627
4628 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
4629 out of bounds read.
4630
1f393a11
MP
46312012-02-29 Marek Polacek <polacek@redhat.com>
4632
4633 [BZ #13706]
4634 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
4635 * elf/Makefile: Add rules to run tst-unused-dep.out.
4636
8847f037
DM
46372012-02-28 David S. Miller <davem@davemloft.net>
4638
4639 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
4640 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
4641 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
4642 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
4643 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
4644 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
4645
169d7f11
JM
46462012-02-29 Joseph Myers <joseph@codesourcery.com>
4647
4648 * math/libm-test.inc (llround_test): Move one test from
4649 lround_test. Use TEST_f_L in moved test.
4650 (lround_test): Move misplaced test to llround_test. Add testcase
4651 from bug 2561.
4652
39adf059
UD
46532012-02-28 Ulrich Drepper <drepper@gmail.com>
4654
4655 * sysdeps/x86_64/fpu/e_expf.S: New file.
4656 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
4657
71b5d1c5
SB
46582012-02-28 Stanislav Brabec <sbrabec@suse.cz>
4659
4660 [BZ #13637]
4661 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
4662 of remain_len that may cause incomplete multi-byte character and
4663 false match.
4664 * posix/bug-regex33.c: New file.
4665 * posix/Makefile (tests): Add bug-regex33.
4666
1f77f049
JM
46672012-02-28 Joseph Myers <joseph@codesourcery.com>
4668
4669 * manual/macros.texi: New file.
4670 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
4671 * manual/libc.texinfo: Include macros.texi.
4672 * manual/creatute.texi: Likewise.
4673 * manual/install.texi: Likewise.
4674 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
4675 @glibcadj{} in references to the GNU C Library.
4676 * manual/charset.texi: Likewise.
4677 * manual/conf.texi: Likewise.
4678 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
4679 when not using those macros.
4680 * manual/creature.texi: Likewise.
4681 * manual/crypt.texi: Likewise.
4682 * manual/errno.texi: Likewise.
4683 * manual/filesys.texi: Likewise.
4684 * manual/header.texi: Likewise.
4685 * manual/install.texi: Likewise.
4686 * manual/intro.texi: Likewise.
4687 * manual/io.texi: Likewise.
4688 * manual/job.texi: Likewise.
4689 * manual/lang.texi: Likewise.
4690 * manual/libc.texiinfo: Likewise.
4691 * manual/llio.texi: Likewise.
4692 * manual/locale.texi: Likewise.
4693 * manual/maint.texi: Likewise.
4694 * manual/math.texi: Likewise.
4695 * manual/memory.texi: Likewise.
4696 * manual/message.texi: Likewise.
4697 * manual/nss.texi: Likewise.
4698 * manual/pattern.texi: Likewise.
4699 * manual/process.texi: Likewise.
4700 * manual/resource.texi: Likewise.
4701 * manual/search.texi: Likewise.
4702 * manual/setjmp.texi: Likewise.
4703 * manual/signal.texi: Likewise.
4704 * manual/socket.texi: Likewise.
4705 * manual/startup.texi: Likewise.
4706 * manual/stdio.texi: Likewise.
4707 * manual/string.texi: Likewise.
4708 * manual/sysinfo.texi: Likewise.
4709 * manual/syslog.texi: Likewise.
4710 * manual/terminal.texi: Likewise.
4711 * manual/time.texi: Likewise.
4712 * manual/users.texi: Likewise.
4713 * INSTALL: Regenerated.
4714 * NOTES: Regenerated.
d40c5d54 4715 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 4716
450bf206
AS
47172012-02-28 Andreas Schwab <schwab@linux-m68k.org>
4718
4719 * include/dirent.h: Include <dirstream.h> before
4720 <dirent/dirent.h>.
4721
741a235b
DM
47222012-02-28 David S. Miller <davem@davemloft.net>
4723
4724 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
4725 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
4726 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
4727 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
4728
d6b5aa58
DM
47292012-02-27 David S. Miller <davem@davemloft.net>
4730
1aff59a3
DM
4731 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
4732 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
4733 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
4734 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
4735
d6b5aa58
DM
4736 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
4737 frame pointer instead of stack pointer relative arg slot.
4738 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4739 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4740 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4741
433f48bf
CD
47422012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
4743
4744 [BZ #3992]
4745 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
4746
d674b76d
DM
47472012-02-27 David S. Miller <davem@davemloft.net>
4748
4749 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
4750 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4751 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4752 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
4753 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4754 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4755 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
4756 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
4757
0e7727f7
JM
47582012-02-27 Joseph Myers <joseph@codesourcery.com>
4759
4760 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
4761 later. Allow versions 5-9.
43be4ca2 4762 * configure: Regenerated.
0e7727f7
JM
4763 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
4764 required minimum version and 4.6 as recommended version. Do not
4765 mention bugs in GCC 2.7 and 2.8.
43be4ca2 4766 * INSTALL: Regenerated.
0e7727f7 4767
a78bc654
DM
47682012-02-27 David S. Miller <davem@davemloft.net>
4769
428d5830
DM
4770 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
4771 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
4772 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
4773 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
4774 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
4775 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
4776 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
4777 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
4778
a78bc654
DM
4779 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
4780 manipulate bits before adding and subtracting TWO112[sx].
4781 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4782
4579f81c
RM
47832012-02-27 Roland McGrath <roland@hack.frob.com>
4784
36c8acb4
RM
4785 [BZ #13775]
4786 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
4787 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
4788 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
4789 being in POSIX, because they are in 1003.1-2008.
4790
84ad622b
RM
4791 * rt/tst-aio.c: Include <fcntl.h>.
4792 * rt/tst-aio7.c: Likewise.
4793 * rt/tst-aio64.c: Likewise.
4794
4579f81c
RM
4795 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
4796
abd923db
JM
47972012-02-27 Joseph Myers <joseph@codesourcery.com>
4798
4799 * manual/install.texi (--with-headers): Describe headers as
4800 interface headers, not private headers.
4801 (Specific advice for GNU/Linux systems): Describe use of headers
4802 from "make headers_install", not private headers from older
4803 kernels.
43be4ca2 4804 * INSTALL: Regenerated.
abd923db
JM
4805 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
4806 Change to 2.6.19.
4807 * sysdeps/unix/sysv/linux/configure: Regenerated.
4808
6664049b
JM
4809 * manual/llio.texi (fclean): Remove documentation.
4810
bb8b6697
JM
4811 * manual/Makefile (libc-texi-generated): New variable. Include
4812 version.texi.
4813 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
4814 $(libc-texi-generated), not duplicated list of files.
4815 (version.texi, stamp-version): New rules.
4816 (realclean): Remove $(libc-texi-generated), not individual files
4817 from that list. Do not remove dir-add.texinfo.
4818 * manual/libc.texinfo: Comment out uses of edition numbers and
4819 references to printed manual. Remove last-updated dates.
4820 (EDITION): Comment out.
4821 (ISBN): Likewise.
4822 (VERSION, UPDATED): Remove.
4823 (version.texi): Include.
4824
12e5c3b9
AS
48252012-02-27 Andreas Schwab <schwab@linux-m68k.org>
4826
4827 * sysdeps/posix/spawni.c: Include <signal.h>.
4828 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
4829 * sysdeps/pthread/aio_fsync.c: Likewise.
4830
4efeffc1 48312012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 4832
ba63ba08
UD
4833 * conform/Makefile (tests): Run only when not cross-compiling and
4834 when fast-check is not defined.
4835
d94a4670
UD
4836 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
4837 * conform/data/limits.h-data: Fixes for POSIX2008.
4838 * conform/run-conformtest.sh: Run all tests.
4839 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
4840 headers.
4841 * include/bits/dlfcn.h: Likewise.
4842 * include/langinfo.h: Likewise.
4843 * include/monetary.h: Likewise.
4844 * include/sys/poll.h: Likewise.
4845
4846 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
4847 for __USE_GNU.
4848 * posix/spawn.h: Define __need_sigset_t.
4849 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
4850 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
4851 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
4852 to get sigevent_t only.
4853 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
4854 only for __USE_GNU.
4855 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4856 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
4857 process_vm_writev only for __USE_GNU.
4858 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
4859
4860 * conform/Makefile: For now ignore errors from run-conformtest.
4861 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
4862 POSIX to avoid namespace pollution. Don't prepend headers.
4863 * conform/data/aio.h-data: Fixes for POSIX testing.
4864 * conform/data/fcntl.h-data: Likewise.
4865 * conform/data/glob.h-data: Likewise.
4866 * conform/data/grp.h-data: Likewise.
4867 * conform/data/pthread.h-data: Likewise.
4868 * conform/data/pwd.h-data: Likewise.
4869 * conform/data/signal.h-data: Likewise.
4870 * conform/data/spawn.h-data: Likewise.
4871 * conform/data/stdio.h-data: Likewise.
4872 * conform/data/stdlib.h-data: Likewise.
4873 * conform/data/stropts.h-data: Likewise.
4874 * conform/data/sys/mman.h-data: Likewise.
4875 * conform/data/sys/stat.h-data: Likewise.
4876 * conform/data/sys/types.h-data: Likewise.
4877 * conform/data/sys/wait.h-data: Likewise.
4878 * conform/data/time.h-data: Likewise.
4879 * conform/data/unistd.h-data: Likewise.
4880 * conform/data/utime.h-data: Likewise.
4881
4882 * io/sys/stat.h: fchmod was always in POSIX.
4883 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
4884 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
4885 * rt/aio.h: Define __need_timespec before including <time.h>.
4886 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
4887 struct. Add forward declaration of pthread_attr_t and use it in
4888 sigevent.
4889 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
4890 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4891 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
4892 always remove CLK_TCK definition.
4893
c20105c3
AS
48942012-02-26 Andreas Schwab <schwab@linux-m68k.org>
4895
4896 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
4897
7a270350
UD
48982012-02-25 Ulrich Drepper <drepper@gmail.com>
4899
31341567
UD
4900 * conform/run-conformtest.sh: New file.
4901 * conform/Makefile: Run run-conformtest for tests.
4902 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
4903 support.
4904
4905 * conform/data/uchar.h-data: New file.
4906 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
4907 * conform/data/arpa/inet.h-data: Likewise.
4908 * conform/data/assert.h-data: Likewise.
4909 * conform/data/complex.h-data: Likewise.
4910 * conform/data/cpio.h-data: Likewise.
4911 * conform/data/ctype.h-data: Likewise.
4912 * conform/data/dirent.h-data: Likewise.
4913 * conform/data/dlfcn.h-data: Likewise.
4914 * conform/data/errno.h-data: Likewise.
4915 * conform/data/fcntl.h-data: Likewise.
4916 * conform/data/float.h-data: Likewise.
4917 * conform/data/fmtmsg.h-data: Likewise.
4918 * conform/data/fnmatch.h-data: Likewise.
4919 * conform/data/ftw.h-data: Likewise.
4920 * conform/data/glob.h-data: Likewise.
4921 * conform/data/grp.h-data: Likewise.
4922 * conform/data/iconv.h-data: Likewise.
4923 * conform/data/inttypes.h-data: Likewise.
4924 * conform/data/langinfo.h-data: Likewise.
4925 * conform/data/libgen.h-data: Likewise.
4926 * conform/data/limits.h-data: Likewise.
4927 * conform/data/locale.h-data: Likewise.
4928 * conform/data/math.h-data: Likewise.
4929 * conform/data/monetary.h-data: Likewise.
4930 * conform/data/mqueue.h-data: Likewise.
4931 * conform/data/ndbm.h-data: Likewise.
4932 * conform/data/net/if.h-data: Likewise.
4933 * conform/data/netdb.h-data: Likewise.
4934 * conform/data/netinet/in.h-data: Likewise.
4935 * conform/data/nl_types.h-data: Likewise.
4936 * conform/data/poll.h-data: Likewise.
4937 * conform/data/pthread.h-data: Likewise.
4938 * conform/data/pwd.h-data: Likewise.
4939 * conform/data/regex.h-data: Likewise.
4940 * conform/data/sched.h-data: Likewise.
4941 * conform/data/search.h-data: Likewise.
4942 * conform/data/semaphore.h-data: Likewise.
4943 * conform/data/setjmp.h-data: Likewise.
4944 * conform/data/signal.h-data: Likewise.
4945 * conform/data/spawn.h-data: Likewise.
4946 * conform/data/stdarg.h-data: Likewise.
4947 * conform/data/stdio.h-data: Likewise.
4948 * conform/data/stdlib.h-data: Likewise.
4949 * conform/data/string.h-data: Likewise.
4950 * conform/data/strings.h-data: Likewise.
4951 * conform/data/stropts.h-data: Likewise.
4952 * conform/data/sys/ipc.h-data: Likewise.
4953 * conform/data/sys/mman.h-data: Likewise.
4954 * conform/data/sys/msg.h-data: Likewise.
4955 * conform/data/sys/resource.h-data: Likewise.
4956 * conform/data/sys/select.h-data: Likewise.
4957 * conform/data/sys/sem.h-data: Likewise.
4958 * conform/data/sys/shm.h-data: Likewise.
4959 * conform/data/sys/socket.h-data: Likewise.
4960 * conform/data/sys/stat.h-data: Likewise.
4961 * conform/data/sys/statvfs.h-data: Likewise.
4962 * conform/data/sys/time.h-data: Likewise.
4963 * conform/data/sys/timeb.h-data: Likewise.
4964 * conform/data/sys/times.h-data: Likewise.
4965 * conform/data/sys/types.h-data: Likewise.
4966 * conform/data/sys/uio.h-data: Likewise.
4967 * conform/data/sys/un.h-data: Likewise.
4968 * conform/data/sys/utsname.h-data: Likewise.
4969 * conform/data/sys/wait.h-data: Likewise.
4970 * conform/data/syslog.h-data: Likewise.
4971 * conform/data/tar.h-data: Likewise.
4972 * conform/data/termios.h-data: Likewise.
4973 * conform/data/utime.h-data: Likewise.
4974 * conform/data/utmpx.h-data: Likewise.
4975 * conform/data/varargs.h-data: Likewise.
4976 * conform/data/wchar.h-data: Likewise.
4977 * conform/data/wctype.h-data: Likewise.
4978 * conform/data/wordexp.h-data: Likewise.
4979
4980 * include/stropts.h: New file.
4981 * include/uchar.h: New file.
4982 * include/aio.h: Changes to allow conformtest.pl to use the headers.
4983 * include/assert.h: Likewise.
4984 * include/ctype.h: Likewise.
4985 * include/dirent.h: Likewise.
4986 * include/dlfcn.h: Likewise.
4987 * include/fcntl.h: Likewise.
4988 * include/fnmatch.h: Likewise.
4989 * include/glob.h: Likewise.
4990 * include/grp.h: Likewise.
4991 * include/libio.h: Likewise.
4992 * include/locale.h: Likewise.
4993 * include/math.h: Likewise.
4994 * include/net/if.h: Likewise.
4995 * include/netdb.h: Likewise.
4996 * include/netinet/in.h: Likewise.
4997 * include/pthread.h: Likewise.
4998 * include/pwd.h: Likewise.
4999 * include/regex.h: Likewise.
5000 * include/sched.h: Likewise.
5001 * include/search.h: Likewise.
5002 * include/setjmp.h: Likewise.
5003 * include/signal.h: Likewise.
5004 * include/stdio.h: Likewise.
5005 * include/stdlib.h: Likewise.
5006 * include/string.h: Likewise.
5007 * include/sys/cdefs.h: Likewise.
5008 * include/sys/mman.h: Likewise.
5009 * include/sys/msg.h: Likewise.
5010 * include/sys/resource.h: Likewise.
5011 * include/sys/select.h: Likewise.
5012 * include/sys/socket.h: Likewise.
5013 * include/sys/stat.h: Likewise.
5014 * include/sys/statvfs.h: Likewise.
5015 * include/sys/time.h: Likewise.
5016 * include/sys/times.h: Likewise.
5017 * include/sys/uio.h: Likewise.
5018 * include/sys/utsname.h: Likewise.
5019 * include/sys/wait.h: Likewise.
5020 * include/termios.h: Likewise.
5021 * include/time.h: Likewise.
5022 * include/ulimit.h: Likewise.
5023 * include/unistd.h: Likewise.
5024 * include/utime.h: Likewise.
5025 * include/wchar.h: Likewise.
5026 * include/wctype.h: Likewise.
5027 * include/wordexp.h: Likewise.
5028
5029 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
5030
7a270350
UD
5031 * time/time.h: TIME_UTC must be a macro.
5032 Make timespec_get available for ISO C11 only as well.
5033
7724defc
UD
50342012-02-24 Ulrich Drepper <drepper@gmail.com>
5035
5036 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
5037 Reported by Peng Haitao <penght@cn.fujitsu.com>.
5038
6b1d1d46
JM
50392012-02-24 Joseph Myers <joseph@codesourcery.com>
5040
5041 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 5042
0f8bbd69
JM
50432012-02-24 Joseph Myers <joseph@codesourcery.com>
5044
5045 * manual/texinfo.tex: Update to version 2012-01-19.16.
5046
66ab80bc
JM
50472012-02-24 Joseph Myers <joseph@codesourcery.com>
5048
5049 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
5050
74981cc5
RM
50512012-02-24 Roland McGrath <roland@hack.frob.com>
5052
ee968201
RM
5053 [BZ #13738]
5054 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
5055 * manual/fdl-1.3.texi: New file.
5056 * manual/fdl-1.1.texi: File removed.
5057
74981cc5
RM
5058 [BZ #13738]
5059 * manual/libc.texinfo (FDL_VERSION): New @set.
5060 Use it for mention of FDL in cover text.
5061 (Documentation License): Use it in @include file name.
5062
7bb764bc
JM
50632012-02-22 Joseph Myers <joseph@codesourcery.com>
5064 Roland McGrath <roland@hack.frob.com>
5065
5066 [BZ #5461]
5067 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
5068 not LONG_LONG_MAX and LONG_LONG_MIN.
5069 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
5070 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
5071 name.
5072 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
5073
6cbeae47
JM
50742012-02-22 Joseph Myers <joseph@codesourcery.com>
5075
5076 [BZ #2547]
5077 [BZ #11365]
5078 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
5079 manipulate bits before adding and subtracting TWO23[sx].
5080 * math/libm-test.inc (nearbyint_test): Add more tests.
5081
fe45ce09
JM
50822012-02-22 Joseph Myers <joseph@codesourcery.com>
5083
5084 [BZ #2548]
5085 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
5086 bits before adding and subtracting TWO23[sx].
5087 * math/libm-test.inc (rint_test): Add more tests.
5088 (rint_test_tonearest): Likewise.
5089 (rint_test_towardzero): Likewise.
5090 (rint_test_downward): Likewise.
5091 (rint_test_upward: Likewise.
5092
ff3b3d82
JM
50932012-02-22 Joseph Myers <joseph@codesourcery.com>
5094
5095 [BZ #10110]
5096 * include/stdc-predef.h: New file. Extracted from features.h.
5097 * include/features.h: Include stdc-predef.h.
5098 * Makefile (headers): Add stdc-predef.h.
5099 * CONFORMANCE (Compiler limitations): Update.
5100
ef0aab35
JM
51012012-02-22 Joseph Myers <joseph@codesourcery.com>
5102
5103 * manual/libc.texinfo (VERSION, UPDATED): Revert.
5104
58639409
DM
51052012-02-21 David S. Miller <davem@davemloft.net>
5106
5107 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
5108 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5109
c0e70b25
DM
51102012-02-20 David S. Miller <davem@davemloft.net>
5111
5112 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
5113 using a normal save/restore sequence, rather than allocating a
5114 dummy stack frame just to store a frame pointer and restore.
5115 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5116
fb06851d
JM
51172012-02-21 Joseph Myers <joseph@codesourcery.com>
5118
5119 * manual/install.texi: Fix stray word in line-wrapped comment.
5120
7a8b71c3
DM
51212012-02-20 David S. Miller <davem@davemloft.net>
5122
d510c123
DM
5123 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
5124 both binutils and gcc support GOTDATA.
5125
0722d7c2
DM
5126 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
5127 "rd %pc" in the PIC register setup sequences.
5128
3d2b3019
DM
5129 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
5130 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5131 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5132 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5133 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5134 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5135 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5136 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5137 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
5138 (SYSCALL_ERROR_HANDLER): Likewise.
5139 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5140 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5141 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
5142 (SYSCALL_ERROR_HANDLER): Likewise.
5143
c80098a9
DM
5144 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
5145 (HAVE_GCC_GOTDATA): New.
5146 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
5147 relocation support in both binutils and gcc.
5148 * sysdeps/sparc/elf/configure: Regenerate.
5149
3a2545a0
DM
5150 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
5151 * sysdeps/sparc/sparc32/elf/configure: Delete.
5152 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
5153 * sysdeps/sparc/sparc64/elf/configure: Delete.
5154 * sysdeps/sparc/elf/configure.in: New file.
5155 * sysdeps/sparc/elf/configure: Generate.
5156
7a8b71c3
DM
5157 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
5158 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
5159 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5160 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
5161 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
5162
f1e86fca
JM
51632012-02-21 Joseph Myers <joseph@codesourcery.com>
5164
5165 * manual/install.texi: Do not mention specific glibc version
5166 numbers.
5167 * manual/libc.texinfo (VERSION, UPDATED): Update.
5168 (@copying): Use @copyright{} and range of years.
5169
0e7dfaef
JM
51702012-02-21 Joseph Myers <joseph@codesourcery.com>
5171
5172 [BZ #13695]
5173 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
5174 [crti.S not in sysdirs] (generated): Do not append.
5175 [crti.S not in sysdirs] (omit-deps): Likewise.
5176 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
5177 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
5178 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
5179 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
5180 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
5181 Likewise.
5182 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
5183 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
5184 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
5185 * csu/defs.awk: Remove file.
5186 * sysdeps/generic/initfini.c: Likewise.
5187 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
5188 variable.
5189 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
5190 Likewise.
5191
599af3ca
JM
51922012-02-20 Joseph Myers <joseph@codesourcery.com>
5193
5194 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
5195 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
5196 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
5197 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
5198 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5199 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
5200 <bits/epoll.h>.
5201 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
5202 (__EPOLL_PACKED): Define to empty if not defined by
5203 <bits/epoll.h>.
5204 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
5205 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5206 bits/epoll.h.
5207
0e499750
JM
52082012-02-20 Joseph Myers <joseph@codesourcery.com>
5209
5210 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
5211 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
5212 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
5213 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
5214 <bits/timerfd.h>.
5215 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
5216 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5217 bits/timerfd.h.
5218
5ad91f6e
JM
52192012-02-20 Joseph Myers <joseph@codesourcery.com>
5220
5221 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
5222 in C locale.
5223 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5224 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5225 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
5226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5227
06b99b02
AJ
52282012-02-20 Aurelien Jarno <aurelien@aurel32.net>
5229
5230 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5231 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5232
7638c0fd
AS
52332012-02-19 Andreas Schwab <schwab@linux-m68k.org>
5234
5235 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
5236 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
5237 defined.
5238 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
5239 Likewise.
5240 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
5241 entry for 2.16.
5242
92221550
AJ
52432012-02-19 Aurelien Jarno <aurelien@aurel32.net>
5244
5245 * math/w_acos.c: Use non-signaling floating-point comparisons.
5246 * math/w_acosf.c: Likewise.
5247 * math/w_acosh.c: Likewise.
5248 * math/w_acoshf.c: Likewise.
5249 * math/w_acoshl.c: Likewise.
5250 * math/w_acosl.c: Likewise.
5251 * math/w_asin.c: Likewise.
5252 * math/w_asinf.c: Likewise.
5253 * math/w_asinl.c: Likewise.
5254 * math/w_atanh.c: Likewise.
5255 * math/w_atanhf.c: Likewise.
5256 * math/w_atanhl.c: Likewise.
5257 * math/w_exp2.c: Likewise.
5258 * math/w_exp2f.c: Likewise.
5259 * math/w_exp2l.c: Likewise.
5260 * math/w_j0.c: Likewise.
5261 * math/w_j0f.c: Likewise.
5262 * math/w_j0l.c: Likewise.
5263 * math/w_j1.c: Likewise.
5264 * math/w_j1f.c: Likewise.
5265 * math/w_j1l.c: Likewise.
5266 * math/w_jn.c: Likewise.
5267 * math/w_jnf.c: Likewise.
5268 * math/w_log.c: Likewise.
5269 * math/w_log10.c: Likewise.
5270 * math/w_log10f.c: Likewise.
5271 * math/w_log10l.c: Likewise.
5272 * math/w_log2.c: Likewise.
5273 * math/w_log2f.c: Likewise.
5274 * math/w_log2l.c: Likewise.
5275 * math/w_logf.c: Likewise.
5276 * math/w_logl.c: Likewise.
5277 * math/w_sqrt.c: Likewise.
5278 * math/w_sqrtf.c: Likewise.
5279 * math/w_sqrtl.c: Likewise.
5280 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5281 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5282 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5283 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5284 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5285
ebaf36eb
JM
52862012-02-19 Joseph Myers <joseph@codesourcery.com>
5287
5288 [BZ #9739]
5289 * manual/string.texi (strnlen): Use correct parameter name in
5290 equivalent expression.
5291
71c254a6
JM
52922012-02-19 Joseph Myers <joseph@codesourcery.com>
5293
5294 [BZ #11174]
5295 * manual/users.texi (seteuid): Consistently use neweuid for
5296 argument name.
5297
16d2c631
JM
52982012-02-19 Joseph Myers <joseph@codesourcery.com>
5299
5300 [BZ #13704]
5301 * manual/nss.texi (Services in the NSS configuration): Correct
5302 list of services in example configuration file.
5303
cd837b09
NB
53042012-02-19 Nick Bowler <nbowler@draconx.ca>
5305
5306 [BZ #11322]
5307 * manual/arith.texi: Remove statements about negative zero
5308 behaving identically to zero.
5309
02c4bbad
JM
53102012-02-18 Joseph Myers <joseph@codesourcery.com>
5311
5312 [BZ #5993]
5313 * manual/install.texi: Do not document upgrading from libc5.
5314
366842e7
JM
53152012-02-18 Joseph Myers <joseph@codesourcery.com>
5316
5317 [BZ #4596]
5318 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
5319
dd54084d
DM
53202012-02-18 David S. Miller <davem@davemloft.net>
5321
5322 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
5323 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
5324 %o7 across the call.
5325 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
5326 instead.
5327 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
5328 SETUP_PIC_REG_LEAF.
5329 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5330 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
5331 * sysdeps/sparc/crtn.S: Likewise.
5332
2bcc53a3
UD
53332012-02-17 Ulrich Drepper <drepper@gmail.com>
5334
5335 * aout/Makefile: Remove.
5336
09c093b5
RK
53372012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
5338
5339 [BZ #13058]
5340 * manual/examples/argp-ex1.c (main): Format definition in GNU
5341 style.
5342 * manual/examples/argp-ex2.c (main): Likewise.
5343 * manual/examples/argp-ex3.c (main): Likewise.
5344 * manual/examples/argp-ex4.c (main): Likewise.
5345 * manual/examples/longopt.c (main): Use new-style prototype
5346 definition.
5347 * manual/examples/strncat.c (main): Specify return type and use
5348 (void) for arguments.
5349 * manual/examples/subopt.c (main): Use char **argv argument.
5350
2ee633a2
JM
53512012-02-17 Joseph Myers <joseph@codesourcery.com>
5352
5353 [BZ #5077]
5354 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
5355 rounding modes.
5356
0520adde
FB
53572012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
5358
5359 [BZ #6907]
5360 * manual/string.texi (strchr): Change when strchrnul is
5361 recommended.
5362
3f4081cd
DGM
53632012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
5364
5365 [BZ #174]
5366 * manual/locale.texi (setlocale): Document LOCPATH.
5367
d1b10e78
JM
53682012-02-17 Joseph Myers <joseph@codesourcery.com>
5369
5370 [BZ #10210]
5371 * manual/process.texi (execle): Move @dots{} before last argument.
5372
79c6869c
PB
53732012-02-17 Paul Bolle <pebolle@tiscali.nl>
5374
5375 [BZ #12047]
5376 * manual/charset.texi (Generic Charset Conversion): Fix typo
5377 (LC_TYPE -> LC_CTYPE).
5378
cc6e48bc
NB
53792012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
5380
5381 [BZ #5805]
5382 * manual/arith.texi (scalbn): Use @var{} on parameter names.
5383 (scalbnf): Likewise.
5384 (scalbnl): Likewise.
5385 (scalbln): Likewise.
5386 (scalblnf): Likewise.
5387 (scalblnl): Likewise.
5388 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
5389 (vwarnx): Likewise.
5390 (verr): Likewise.
5391 (verrx): Likewise.
5392 * manual/filesys.texi (telldir): Use braces around return type.
5393 * manual/llio.texi (mmap): Add space after comma.
5394 (mmap64): Likewise.
5395 * manual/math.texi (jn): Use @var{} on parameter names.
5396 (jnf): Likewise.
5397 (jnl): Likewise.
5398 (yn): Likewise.
5399 (ynf): Likewise.
5400 (ynl): Likewise.
5401 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
5402 line.
5403 * manual/resource.texi (ulimit): Use @dots{} instead of literal
5404 "...".
5405 (sched_get_priority_min): Remove semicolon on @deftypefun line.
5406 (sched_get_priority_max): Likewise.
5407 * manual/signal.texi (sigvec): Add space after comma.
5408 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
5409 names.
5410 (if_indextoname): Likewise.
5411 (if_freenameindex): Likewise.
5412 (sendto): Use ',' instead of '.' in prototype.
5413 * manual/startup.texi (syscall): Use @dots{} instead of literal
5414 "...".
5415 * manual/stdio.texi (__fpending): Separate initial words of
5416 paragraph from @deftypefun line.
5417 * manual/syslog.texi (syslog): Use @dots{} instead of literal
5418 "...".
5419 (vsyslog): Use @var{} on parameter names.
5420 * manual/terminal.texi (stty): Use @var{} on parameter names.
5421 * manual/users.texi (getutmp): Use @var{} on parameter names.
5422 (getutmpx): Likewise.
5423
5b23062f
JM
54242012-02-17 Joseph Myers <joseph@codesourcery.com>
5425
5426 [BZ #6884]
5427 * manual/stdio.texi (fopen): Fix typos in description of
5428 ",ccs=STRING".
5429
8dee4833
AJ
54302012-02-17 Aurelien Jarno <aurelien@aurel32.net>
5431
5432 [BZ #4026]
5433 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
5434 get clock_id definition.
5435
9078ce93
TS
54362012-02-17 Thomas Schwinge <thomas@schwinge.name>
5437
5438 [BZ #4822]
5439 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
5440 (madvise): Cast every argument to void on its own.
5441
3835c55f
JM
54422012-02-17 Joseph Myers <joseph@codesourcery.com>
5443
5444 [BZ #9902]
5445 * manual/startup.texi (Exit Status): Fix typo.
5446
35c47e37
JM
54472012-02-17 Joseph Myers <joseph@codesourcery.com>
5448
5449 [BZ #10140]
5450 * manual/examples/argp-ex1.c: Include <stdlib.h>.
5451 * manual/examples/argp-ex2.c: Likewise.
5452 * manual/examples/argp-ex3.c: Likewise.
5453
e3b69ca7
RH
54542012-02-16 Richard Henderson <rth@redhat.com>
5455
5456 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
5457 * sysdeps/s390/s390-32/initfini.c: Remove.
5458 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
5459 * sysdeps/s390/s390-64/initfini.c: Remove.
5460
df83af67
KK
54612012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5462
5463 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
5464 compiler output for sysdeps/generic/initfini.c.
5465 * sysdeps/sh/elf/initfini.c: Remove file.
5466
f63f3380
DM
54672012-02-16 David S. Miller <davem@davemloft.net>
5468
fb59b3a4
DM
5469 [BZ #11494]
5470 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
5471
f63f3380
DM
5472 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
5473 * sysdeps/sparc/crti.S: New file.
5474 * sysdeps/sparc/crtn.S: New file.
5475 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
5476 * sysdeps/sparc/sparc64/Makefile: Likewise.
5477
df6a4a4a
MF
54782012-02-15 Mike Frysinger <vapier@gentoo.org>
5479
6dd8f3dc 5480 [BZ #3335]
df6a4a4a
MF
5481 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
5482
1cac7236
RM
54832012-02-15 Roland McGrath <roland@hack.frob.com>
5484
d2c736f8
RM
5485 [BZ #4822]
5486 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
5487
1cac7236
RM
5488 * mach/devstream.c (cookie_io_functions_t): Macro removed.
5489 (write, read, close): Likewise.
5490 Patch by Aurelien Jarno <aurelien@aurel32.net>.
5491
8e475601
JM
54922012-02-15 Joseph Myers <joseph@codesourcery.com>
5493
5494 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
5495 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
5496 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
5497 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
5498 <bits/signalfd.h>.
5499 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
5500 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5501 bits/signalfd.h.
5502
ed656b40
MP
55032012-02-14 Marek Polacek <polacek@redhat.com>
5504
5505 * sysdeps/x86_64/crti.S: New file.
5506 * sysdeps/x86_64/crtn.S: New file.
5507 * sysdeps/x86_64/elf/initfini.c: Remove file.
5508
2a979d3a
JM
55092012-02-13 Joseph Myers <joseph@codesourcery.com>
5510
5511 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
5512 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
5513 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
5514 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
5515 <bits/inotify.h>.
5516 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
5517 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5518 bits/inotify.h.
5519
2a418ac3
JM
55202012-02-13 Joseph Myers <joseph@codesourcery.com>
5521
5522 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
5523 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
5524 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
5525 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
5526 <bits/eventfd.h>.
5527 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
5528 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5529 bits/eventfd.h.
5530
fb779be7
TS
55312012-02-10 Thomas Schwinge <thomas@codesourcery.com>
5532
e19e83c5
RM
5533 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
5534 __feraiseexcept instead of feraiseexcept.
7c35ffed 5535
fb779be7
TS
5536 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
5537 nanosleep invocations.
5538 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
5539 strings, and add error checking for a nanosleep invocations.
5540
59ba27a6
PE
55412012-02-09 Paul Eggert <eggert@cs.ucla.edu>
5542
5543 Replace FSF snail mail address with URLs, as per GNU coding standards.
5544 Most of the snail mail addresses were wrong anyway, and omitting
5545 them makes the source code easier to maintain. Almost all of the
5546 changes are to license notices and to locale LC_IDENTIFICATION
5547 addresses, except for this one:
5548 * manual/libc.texinfo: In "Published by", give the FSF's URL,
5549 not its snail mail address.
5550
57b957eb
RH
55512012-02-09 Richard Henderson <rth@twiddle.net>
5552
af850b1c
RH
5553 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
5554 of kernel-features.h.
5555
57b957eb
RH
5556 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
5557
6b73181a
MP
55582012-02-08 Marek Polacek <polacek@redhat.com>
5559
5560 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
5561 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
5562 * sysdeps/gnu/_G_config.h: Likewise.
5563 * sysdeps/generic/_G_config.h: Likewise.
5564
26ecc33a
AS
55652012-02-08 Andreas Schwab <schwab@linux-m68k.org>
5566
6c6dbc63
AS
5567 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
5568 tests.
5569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5570
e216c012
AS
5571 * sysdeps/powerpc/powerpc32/crti.S: New file.
5572 * sysdeps/powerpc/powerpc32/crtn.S: New file.
5573 * sysdeps/powerpc/powerpc64/crti.S: New file.
5574 * sysdeps/powerpc/powerpc64/crtn.S: New file.
5575
26ecc33a
AS
5576 * Makeconfig (have-initfini): Don't set.
5577 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
5578 * configure.in (nopic_initfini): Don't substitute.
5579 * config.h.in (HAVE_INITFINI): Don't #undef.
5580 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
5581 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
5582
3add8e13
JM
55832012-02-08 Joseph Myers <joseph@codesourcery.com>
5584
5585 Support crti.S and crtn.S provided directly by architectures.
5586 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
5587 [crti.S in sysdirs] (omit-deps): Likewise.
5588 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
5589 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
5590 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
5591 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
5592 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
5593 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
5594 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
5595 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
5596 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
5597 compiler output for sysdeps/generic/initfini.c.
5598 * sysdeps/i386/elf/Makefile: Remove file.
5599 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
5600
a22f12b4
MP
56012012-02-07 Marek Polacek <polacek@redhat.com>
5602
5603 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
5604 * sysdeps/gnu/_G_config.h: Likewise.
5605 * sysdeps/mach/hurd/_G_config.h: Likewise.
5606
148cf100
MP
56072012-02-07 Marek Polacek <polacek@redhat.com>
5608
5609 * math/Makefile (tests): Add tst-CMPLX2.
5610 * math/tst-CMPLX2.c: New file.
5611
cfdc0dd7
AS
56122012-02-07 Andreas Schwab <schwab@linux-m68k.org>
5613
84ba42c4
AS
5614 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5615
cfdc0dd7
AS
5616 * math/libm-test.inc (jn_test): Add missing L suffix.
5617
622c86f4
MP
56182012-02-06 Marek Polacek <polacek@redhat.com>
5619
5620 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
5621 * sysdeps/i386/fpu/e_powf.S: Likewise.
5622 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5623 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5624 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5625 * sysdeps/i386/fpu/e_pow.S: Likewise.
5626 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5627 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5628 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5629 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5630 * sysdeps/i386/fpu/e_log2.S: Likewise.
5631 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5632 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5633 * sysdeps/i386/fpu/e_powl.S: Likewise.
5634 * sysdeps/i386/fpu/s_log1p.S: Likewise.
5635 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5636 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5637 * sysdeps/i386/fpu/e_logl.S: Likewise.
5638 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5639 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
5640 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5641 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5642 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5643 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5644 * sysdeps/i386/fpu/e_log.S: Likewise.
5645 * sysdeps/i386/fpu/s_cexp.S: Likewise.
5646 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5647 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
5648 * sysdeps/i386/fpu/e_logf.S: Likewise.
5649 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5650 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5651 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
5652 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5653 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5654 * sysdeps/i386/fpu/e_log10.S: Likewise.
5655 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5656 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5657 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5658 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5659 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5660 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5661 * sysdeps/i386/asm-syntax.h: Likewise.
5662 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5663 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5664 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5665 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
5666 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
5667 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5668 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5669 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5670 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5671 * sysdeps/powerpc/sysdep.h: Likewise.
5672 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
5673 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5674
d4a54ac6
JM
56752012-02-06 Joseph Myers <joseph@codesourcery.com>
5676
5677 [BZ #411]
5678 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
5679
314054ea
JM
56802012-02-06 Joseph Myers <joseph@codesourcery.com>
5681
5682 * sysdeps/i386/sysdep.h: Include <features.h>.
5683 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
5684 version.
5685
d8e0ca50
JM
56862012-02-05 Joseph Myers <joseph@codesourcery.com>
5687
5688 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
5689 Define.
5690 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
5691 LOAD_PIC_REG_STR.
5692
b1da7dd9
JM
56932012-02-03 Joseph Myers <joseph@codesourcery.com>
5694
5695 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
5696 (SETUP_PIC_REG): Use GET_PC_THUNK.
5697 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
5698 macro.
5699
9a1d9254
JM
57002012-02-03 Joseph Myers <joseph@codesourcery.com>
5701
5702 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
5703 for non-PIC compilation.
5704 (SETUP_PIC_REG): Add .p2align directive.
5705 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
5706 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
5707 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5708 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5709 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5710 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5711 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
5712 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5713 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5714 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5715 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5716 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5717 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5718 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5719 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5720 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5721 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5722 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5723 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5724 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5725 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5726 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5727 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5728 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5729 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5730 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5731 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5732 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5733 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5734 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5735 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5736 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5737 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5738 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5739 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5740 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5741 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5742 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5743 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5744 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5745 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5746
65dc3b75
JM
57472012-02-03 Joseph Myers <joseph@codesourcery.com>
5748
5749 * math/tst-CMPLX.c: Include <stdio.h>.
5750
d55bf177
JM
57512012-01-31 Joseph Myers <joseph@codesourcery.com>
5752
5753 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
5754 float.
5755 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5756 * sysdeps/sparc/bits/mathdef.h: Likewise.
5757
69db4f8f
MP
57582012-01-31 Marek Polacek <polacek@redhat.com>
5759
5760 * libio/libio.h: Don't define _PARAMS.
5761 * locale/programs/config.h: Don't define PARAMS.
5762 * stdlib/strtol_l.c: Likewise.
5763 (__strtol_l): Remove PARAMS from the prototype.
5764
41b81892
UD
57652012-01-31 Ulrich Drepper <drepper@gmail.com>
5766
3b49edc0
UD
5767 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
5768 names. Just use the correct names. Remove unnecessary wrapper
5769 functions.
5770 * malloc/arena.c: Likewise.
5771 * malloc/hooks.c: Likewise.
5772
41b81892
UD
5773 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
5774 ARENA_TEST says not to. Simplify test for creation of a new arena.
5775 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
5776
27a25b6e
UD
57772012-01-30 Ulrich Drepper <drepper@gmail.com>
5778
5779 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
5780 into tail calls.
5781 (update_get_addr): New function.
5782 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
5783 GET_ADDR_MODULE parameter.
5784
c8a89e7d
JM
57852012-01-30 Joseph Myers <joseph@codesourcery.com>
5786
5787 * crypt/cert.c: Remove __STDC__ conditionals.
5788 * crypt/crypt-entry.c: Likewise.
5789 * crypt/crypt_util.c: Likewise.
5790 * libio/filedoalloc.c: Likewise.
5791 * libio/fileops.c: Likewise.
5792 * libio/genops.c: Likewise.
5793 * libio/iofclose.c: Likewise.
5794 * libio/iofdopen.c: Likewise.
5795 * libio/iofopen.c: Likewise.
5796 * libio/iofopen64.c: Likewise.
5797 * libio/iogetdelim.c: Likewise.
5798 * libio/iopopen.c: Likewise.
5799 * libio/obprintf.c: Likewise.
5800 * libio/oldfileops.c: Likewise.
5801 * libio/oldiofclose.c: Likewise.
5802 * libio/oldiofdopen.c: Likewise.
5803 * libio/oldiofopen.c: Likewise.
5804 * libio/oldiopopen.c: Likewise.
5805 * libio/wfiledoalloc.c: Likewise.
5806 * libio/wgenops.c: Likewise.
5807 * locale/programs/xmalloc.c: Likewise.
5808 * misc/syslog.c: Likewise.
5809 * stdio-common/xbug.c: Likewise.
5810 * string/memchr.c: Likewise.
5811 * string/memcmp.c: Likewise.
5812 * string/memrchr.c: Likewise.
5813 * string/rawmemchr.c: Likewise.
5814 * sysdeps/posix/getcwd.c: Likewise.
5815 * time/strftime_l.c: Likewise.
5816
3b100462
JM
58172012-01-30 Joseph Myers <joseph@codesourcery.com>
5818
5819 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
5820 * config.make.in (config-cflags-sse2avx): Define.
5821 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
5822 Fix typo.
5823
607998af
CM
58242012-01-29 Chris Metcalf <cmetcalf@tilera.com>
5825
5826 * scripts/config.guess: Update from upstream config git repository.
5827 * scripts/config.sub: Likewise.
5828
3601428f
CM
58292012-01-28 Chris Metcalf <cmetcalf@tilera.com>
5830
3ac8b282
CM
5831 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
5832 (EM_NUM): Update.
5833 (R_TILEPRO_*, R_TILEGX_*): New macros.
5834
e034841e
CM
5835 * scripts/firstversions.awk: Fix bug in version range handling.
5836
540d7568
CM
5837 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
5838
3601428f
CM
5839 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
5840
463de862
CM
5841 * include/sys/epoll.h: New file.
5842 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
5843 libc_hidden_def.
5844
73139a76
UD
58452012-01-28 Ulrich Drepper <drepper@gmail.com>
5846
96bc5b45
UD
5847 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
5848 Avoid unnecessary __WORDSIZE == 64 test.
5849 (fmaxf): Use VEX format if possible.
5850 (fmax): Likewise.
5851 (fminf): Likewise.
5852 (fmin): Likewise.
5853
56f6f6a2
UD
5854 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
5855 * math/math_private.h: Remove libc_fegetround* and
5856 libc_fesetround*.
5857 * sysdeps/i386/configure.in: Check for -msse2avx.
5858 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
5859 also if SSE2AVX is defined.
5860 Remove libc_fegetround* and libc_fesetround*.
5861 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
5862 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
5863 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
5864 of HAS_YMM_USABLE.
5865 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5866 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5867 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5868 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5869 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5870
73139a76
UD
5871 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
5872
d73f93a4
AZ
58732012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5874
5875 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
5876 size is not set.
5877 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
5878
6ee65ed6
UD
58792012-01-27 Ulrich Drepper <drepper@gmail.com>
5880
5881 [BZ #13618]
5882 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
5883 relocation.
5884 * Makeconfig (libm): Define.
5885 * elf/Makefile: Add rules to build and run tst-relsort1.
5886 * elf/tst-relsort1.c: New file.
5887 * elf/tst-relsort1mod1.c: New file.
5888 * elf/tst-relsort1mod2.c: New file.
5889
8db21882
JM
58902012-01-27 Joseph Myers <joseph@codesourcery.com>
5891
5892 * math/s_ldexp.c: Remove __STDC__ conditionals.
5893 * math/s_ldexpf.c: Likewise.
5894 * math/s_ldexpl.c: Likewise.
5895 * math/s_nextafter.c: Likewise.
5896 * math/s_nexttowardf.c: Likewise.
5897 * math/s_significand.c: Likewise.
5898 * math/s_significandf.c: Likewise.
5899 * math/s_significandl.c: Likewise.
5900 * math/w_jnl.c: Likewise.
5901 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5902 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5903 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5904 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5905 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5906 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5907 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
5908 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5909 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5910 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5911 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5912 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5913 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5914 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5915 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5916 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5917 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5918 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5919 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5920 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5921 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5922 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5923 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5924 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5925 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5926 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5927 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5928 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5929 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5930 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5931 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5932 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5933 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5934 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5935 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5936 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5937 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5938 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5939 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5940 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5941 * sysdeps/ieee754/k_standard.c: Likewise.
5942 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5943 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5944 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5945 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5946 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5947 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5948 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5949 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5950 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5951 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5952 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5953 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5954 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5955 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5956 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5957 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5958 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5959 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5960 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5961 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5962 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5963 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5964 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5965 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5966 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5967 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5968 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5969 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5970 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5971 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5972 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5973 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
5974 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5975 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5976 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5977 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5978 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
5979 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5980 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5981 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
5982 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
5983 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5984 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
5985 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
5986 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5987 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5988 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
5989 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5990 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5991 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
5992 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
5993 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5994 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5995 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5996 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5997 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5998 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
5999 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6000 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6001 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6002 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6003 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6004 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6005 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6006 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6007 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6008 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6009 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6010 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6011 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6012 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6013 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6014 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6015 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6016 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6017 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6018 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6019 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6020 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6021 * sysdeps/ieee754/s_matherr.c: Likewise.
6022 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6023 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6024 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6025 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6026
965a54a4
JM
60272012-01-26 Joseph Myers <joseph@codesourcery.com>
6028
6029 * crypt/md5.h: Remove __STDC__ conditionals.
6030 * libio/libioP.h: Likewise.
6031 * locale/programs/config.h: Likewise.
6032 * sysdeps/generic/sysdep.h: Likewise.
6033 * sysdeps/i386/asm-syntax.h: Likewise.
6034 * sysdeps/s390/asm-syntax.h: Likewise.
6035 * sysdeps/unix/sysdep.h: Likewise.
6036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6038
7071ad79
JM
60392012-01-26 Joseph Myers <joseph@codesourcery.com>
6040
6041 * libio/libio.h: Remove __STDC__ conditionals.
6042 * malloc/obstack.h: Likewise.
6043 * math/complex.h: Likewise.
6044 * math/math.h: Likewise.
6045 * sysdeps/generic/_G_config.h: Likewise.
6046 * sysdeps/gnu/_G_config.h: Likewise.
6047 * sysdeps/mach/hurd/_G_config.h: Likewise.
6048 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6049 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6050 * sysdeps/sparc/bits/mathdef.h: Likewise.
6051
afc5ed09
UD
60522012-01-26 Ulrich Drepper <drepper@gmail.com>
6053
6054 [BZ #13583]
6055 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 6056 Clean up HAS_* macros.
afc5ed09 6057 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
6058 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
6059 possible.
6060 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
6061 HAS_AVX.
6062 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6063 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6064 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6065 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6066 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 6067
bdb6de1d
JM
60682012-01-25 Joseph Myers <joseph@codesourcery.com>
6069
6070 * elf/tst-unique3.cc (gets): Remove declaration.
6071 * elf/tst-unique3lib.cc (gets): Likewise.
6072 * elf/tst-unique3lib2.cc (gets): Likewise.
6073 * elf/tst-unique4.cc (gets): Likewise.
6074
b15549e6
UD
60752012-01-24 Ulrich Drepper <drepper@gmail.com>
6076
6077 * include/stdio.h: Add C++ protection. Add gets declarations and
6078 definitions.
6079 * debug/tst-chk1.c: Don't declare gets here.
6080 * stdio-common/tst-gets.c: Likewise.
6081
a037381f
JM
60822012-01-24 Joseph Myers <joseph@codesourcery.com>
6083
6084 * posix/glob: Remove directory.
6085
f1d4aa75
JM
60862012-01-24 Joseph Myers <joseph@codesourcery.com>
6087
6088 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
6089
81c0c964
PT
60902012-01-22 Pino Toscano <toscano.pino@tiscali.it>
6091
6092 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
6093 of the non-standard EPFNOSUPPORT.
6094
0ea698ae
ST
60952011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
6096
6097 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
6098 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
6099 ANYWHERE set to 1 only on KERN_NO_SPACE error.
6100
d220b117
UD
61012012-01-21 Ulrich Drepper <drepper@gmail.com>
6102
6103 * wcsmbs/uchar.h: Test __STDC_VERSION__.
6104
3e1aa84e
UD
61052012-01-20 Ulrich Drepper <drepper@gmail.com>
6106
6107 * nscd/aicache.c (addhstaiX): Do not cache negative results of
6108 transient errors.
6109 * nscd/grpcache.c (cache_addgr): Likewise.
6110 * nscd/hstcache.c (cache_addhst): Likewise.
6111 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6112 * nscd/pwdcache.c (cache_addpw): Likewise.
6113 * nscd/servicescache.c (cache_addserv): Likewise.
6114
400aa020
UD
61152012-01-16 Ulrich Drepper <drepper@gmail.com>
6116
d77e7869
UD
6117 * malloc/malloc.c: Various cleanups.
6118 * malloc/hooks.c: Likewise.
6119
400aa020
UD
6120 * stdlib/Makefile (tests): Add bug-fmtmsg1.
6121 * stdlib/bug-fmtmsg1.c: New file.
6122
6123 * stdlib/fmtmsg.c (init): Add missing unlock.
6124 Patch by Peng Haitao <penght@cn.fujitsu.com>.
6125
e0a309cf
MP
61262012-01-12 Marek Polacek <polacek@redhat.com>
6127
6128 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
6129 and _GNU_SOURCE.
6130
929d11c7
WS
61312012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6132
6133 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
6134 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
6135 macro to ensure uniqueness of label name.
6136 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6137 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6138
41d0e869
UD
61392012-01-11 Ulrich Drepper <drepper@gmail.com>
6140
0cc5ed3b
UD
6141 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
6142
41d0e869
UD
6143 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
6144 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6145 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6146 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
6147
a47a831a
UD
61482012-01-10 Ulrich Drepper <drepper@gmail.com>
6149
daa891c0
UD
6150 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
6151
6152 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
6153 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6154 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6155
e58ef0f2
UD
6156 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
6157
a47a831a 6158 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
6159 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6160 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 6161 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
6162
6163 * math/bits/math-finite.h: Add ldexp support.
6164
a0bfc9c7
MP
61652012-01-10 Marek Polacek <polacek@redhat.com>
6166
6167 * locale/programs/localedef.h (show_archive_content): Add noreturn
6168 attribute.
6169
d6e97a1d
UD
61702012-01-09 Ulrich Drepper <drepper@gmail.com>
6171
6172 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
6173
d5835c26
UD
61742012-01-08 Ulrich Drepper <drepper@gmail.com>
6175
e5f484c6
UD
6176 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
6177
d5835c26
UD
6178 * io/Makefile (headers): Add bits/poll2.h.
6179
d1f741e9
WS
61802011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
6181
6182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
6183 typo #include statement.
6184
ec09c1c4
UD
61852012-01-08 Ulrich Drepper <drepper@gmail.com>
6186
6187 * include/sys/cdefs.h: Define __attribute_alloc_size.
6188 * catgets/gencat.c: Add alloc_size attribute and apply consistently
6189 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
6190 * elf/pldd.c: Likewise.
6191 * iconv/iconv_charmap.c: Likewise.
6192 * iconv/iconvconfig.c: Likewise.
6193 * iconv/strtab.c: Likewise.
6194 * locale/programs/locale.c: Likewise.
6195 * locale/programs/localedef.h: Likewise.
6196 * locale/programs/simple-hash.c: Likewise.
6197 * nscd/nscd.h: Likewise.
6198 * nss/makedb.c: Likewise.
6199 * sysdeps/generic/ldconfig.h: Likewise.
6200 * locale/programs/localedef.c: Remove xmalloc prototype.
6201 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
6202
20b38e03
PP
62032012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6204
6205 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
6206 appropriate.
6207
a0da5fe1
UD
62082012-01-08 Ulrich Drepper <drepper@gmail.com>
6209
1d5a644a 6210 * math/Makefile (tests): Add tst-CMPLX.
669704fd 6211 * math/tst-CMPLX.c: New file.
1d5a644a 6212
8784a6db
UD
6213 * math/complex.h (CMPLXL): Fix typo.
6214
d9a216c0
UD
6215 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
6216 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
6217 GLIBC_2.16.
6218 * debug/tst-chk1.c: Add poll and ppoll tests.
6219 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
6220 * include/sys/poll.h: Add hidden proto for ppoll.
6221 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
6222 * sysdeps/mach/hurd/ppoll.c: Likewise.
6223 * io/ppoll.c: Likewise.
6224 * debug/poll_chk.c: New file.
6225 * debug/ppoll_chk.c: New file.
6226 * include/bits/poll2.h: New file.
6227 * io/bits/poll2.h: New file.
6228
ac097f5c
UD
6229 [BZ #1350]
6230 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
6231
2119dcfa
UD
6232 * configure.in: static is always set to yes. Remove.
6233 * config.make.in: Don't set build-static.
6234 * Makeconfig: Remove use of build-static.
6235 * dlfcn/Makefile: Likewise.
6236 * elf/Makefile: Likewise.
6237 * math/Makefile: Likewise.
6238 * misc/Makefile: Likewise.
6239 * nptl/Makefile: Likewise.
6240 * sysdeps/mach/hurd/Makefile: Likewise.
6241
121766a9
UD
6242 * configure.in: PWD_P is not used anymore.
6243 * config.make.in: Remove PWD_P entry.
6244
51a1d39c 6245 * configure.in: Remove last remnants of RANLIB.
8720d066 6246 No need to check for signed size_t anymore.
215f4bdc
UD
6247 Don't set libc_commonpagesize and libc_relro_required here for Alpha
6248 and IA-64.
3857022a 6249 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
6250 * aclocal.m4: Likewise.
6251
d3ed7225
UD
6252 * wcsmbs/mbrtoc16.c: Implement using towc function.
6253 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
6254 * wcsmbs/wcsmbsload.c: Likewise.
6255 * iconv/gconv_simple.c: Likewise.
6256 * iconv/gconv_int.h: Likewise.
6257 * iconv/gconv_builtin.h: Likewise.
6258 * iconv/iconv_prog.c: Remove CHAR16 handling.
6259
6260 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
6261
6262 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
6263
a0da5fe1
UD
6264 * configure.in: Remove --with-elf and --enable-bounded options.
6265 Dont set base_machine for ia64. More non-ELF conditions removed.
6266 Remove testing and setting of leading underscore information.
6267 * config.make.in (build-bounded): Set to no.
6268 * config.h.in: Remove NO_UNDERSCORES entry.
6269 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
6270 them.
6271 * csu/start.c: Remove !NO_UNDERSCORE code.
6272 * locale/localeinfo.h: Likewise.
6273 * sysdeps/generic/machine-gmon.h: Likewise.
6274 * sysdeps/generic/sysdep.h: Likewise.
6275 * sysdeps/i386/sysdep.h: Likewise.
6276 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6277 * sysdeps/mach/sysdep.h: Likewise.
6278 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6279 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6280 * sysdeps/sh/sysdep.h: Likewise.
6281 * sysdeps/sparc/sparc32/alloca.S: Likewise.
6282 * sysdeps/unix/i386/sysdep.S: Likewise.
6283 * sysdeps/unix/sparc/start.c: Likewise.
6284 * sysdeps/unix/sparc/sysdep.S: Likewise.
6285 * sysdeps/unix/sparc/sysdep.h: Likewise.
6286 * sysdeps/unix/start.c: Likewise.
6287 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6288 * sysdeps/x86_64/sysdep.h: Likewise.
6289
df78418a
UD
62902012-01-07 Ulrich Drepper <drepper@gmail.com>
6291
a784e502
UD
6292 [BZ #13553]
6293 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
6294 for non-gcc.
6295 * argp/argp-fmtstream.h: Use const instead __const.
6296 * argp/argp.h: Likewise.
6297 * assert/assert.h: Likewise.
6298 * bits/fenv.h: Likewise.
6299 * bits/sched.h: Likewise.
6300 * bits/sigset.h: Likewise.
6301 * bits/sigthread.h: Likewise.
6302 * catgets/nl_types.h: Likewise.
6303 * conform/data/pthread.h-data: Likewise.
6304 * crypt/crypt-private.h: Likewise.
6305 * crypt/crypt.h: Likewise.
6306 * crypt/crypt_util.c: Likewise.
6307 * ctype/ctype.h: Likewise.
6308 * debug/execinfo.h: Likewise.
6309 * debug/mbsnrtowcs_chk.c: Likewise.
6310 * debug/mbsrtowcs_chk.c: Likewise.
6311 * debug/wcsnrtombs_chk.c: Likewise.
6312 * debug/wcsrtombs_chk.c: Likewise.
6313 * debug/wcstombs_chk.c: Likewise.
6314 * dirent/dirent.h: Likewise.
6315 * dlfcn/dlfcn.h: Likewise.
6316 * elf/neededtest4.c: Likewise.
6317 * grp/grp.h: Likewise.
6318 * gshadow/gshadow.h: Likewise.
6319 * iconv/gconv.h: Likewise.
6320 * iconv/gconv_int.h: Likewise.
6321 * iconv/gconv_simple.c: Likewise.
6322 * iconv/iconv.h: Likewise.
6323 * iconv/loop.c: Likewise.
6324 * iconv/skeleton.c: Likewise.
6325 * include/aio.h: Likewise.
6326 * include/aliases.h: Likewise.
6327 * include/argz.h: Likewise.
6328 * include/arpa/inet.h: Likewise.
6329 * include/assert.h: Likewise.
6330 * include/dirent.h: Likewise.
6331 * include/dlfcn.h: Likewise.
6332 * include/execinfo.h: Likewise.
6333 * include/fcntl.h: Likewise.
6334 * include/fenv.h: Likewise.
6335 * include/glob.h: Likewise.
6336 * include/grp.h: Likewise.
6337 * include/libintl.h: Likewise.
6338 * include/mntent.h: Likewise.
6339 * include/netdb.h: Likewise.
6340 * include/pwd.h: Likewise.
6341 * include/rpc/netdb.h: Likewise.
6342 * include/sched.h: Likewise.
6343 * include/search.h: Likewise.
6344 * include/shadow.h: Likewise.
6345 * include/signal.h: Likewise.
6346 * include/stdio.h: Likewise.
6347 * include/stdlib.h: Likewise.
6348 * include/string.h: Likewise.
6349 * include/sys/socket.h: Likewise.
6350 * include/sys/stat.h: Likewise.
6351 * include/sys/statfs.h: Likewise.
6352 * include/sys/statvfs.h: Likewise.
6353 * include/sys/syslog.h: Likewise.
6354 * include/sys/time.h: Likewise.
6355 * include/sys/uio.h: Likewise.
6356 * include/time.h: Likewise.
6357 * include/unistd.h: Likewise.
6358 * include/utmp.h: Likewise.
6359 * include/wchar.h: Likewise.
6360 * include/wctype.h: Likewise.
6361 * inet/aliases.h: Likewise.
6362 * inet/arpa/inet.h: Likewise.
6363 * inet/netinet/ether.h: Likewise.
6364 * inet/netinet/in.h: Likewise.
6365 * intl/libintl.h: Likewise.
6366 * io/bits/fcntl2.h: Likewise.
6367 * io/fcntl.h: Likewise.
6368 * io/ftw.h: Likewise.
6369 * io/sys/poll.h: Likewise.
6370 * io/sys/stat.h: Likewise.
6371 * io/sys/statfs.h: Likewise.
6372 * io/sys/statvfs.h: Likewise.
6373 * io/utime.h: Likewise.
6374 * libio/bits/stdio.h: Likewise.
6375 * libio/bits/stdio2.h: Likewise.
6376 * libio/libio.h: Likewise.
6377 * libio/libioP.h: Likewise.
6378 * libio/stdio.h: Likewise.
6379 * locale/lc-ctype.c: Likewise.
6380 * locale/locale.h: Likewise.
6381 * login/utmp.h: Likewise.
6382 * malloc/arena.c: Likewise.
6383 * malloc/malloc.c: Likewise.
6384 * malloc/malloc.h: Likewise.
6385 * malloc/mcheck.c: Likewise.
6386 * malloc/mtrace.c: Likewise.
6387 * math/bits/mathcalls.h: Likewise.
6388 * math/fenv.h: Likewise.
6389 * math/math_private.h: Likewise.
6390 * misc/bits/error.h: Likewise.
6391 * misc/bits/syslog.h: Likewise.
6392 * misc/err.h: Likewise.
6393 * misc/error.h: Likewise.
6394 * misc/fstab.h: Likewise.
6395 * misc/mntent.h: Likewise.
6396 * misc/regexp.h: Likewise.
6397 * misc/search.h: Likewise.
6398 * misc/sgtty.h: Likewise.
6399 * misc/sys/mman.h: Likewise.
6400 * misc/sys/syslog.h: Likewise.
6401 * misc/sys/uio.h: Likewise.
6402 * misc/sys/xattr.h: Likewise.
6403 * misc/ttyent.h: Likewise.
6404 * nis/rpcsvc/ypclnt.h: Likewise.
6405 * nss/nss.h: Likewise.
6406 * posix/bits/unistd.h: Likewise.
6407 * posix/fnmatch.h: Likewise.
6408 * posix/glob.h: Likewise.
6409 * posix/sched.h: Likewise.
6410 * posix/spawn.h: Likewise.
6411 * posix/sys/wait.h: Likewise.
6412 * posix/unistd.h: Likewise.
6413 * posix/wordexp.h: Likewise.
6414 * pwd/pwd.h: Likewise.
6415 * resolv/netdb.h: Likewise.
6416 * resource/sys/resource.h: Likewise.
6417 * rt/aio.h: Likewise.
6418 * rt/bits/mqueue2.h: Likewise.
6419 * rt/mqueue.h: Likewise.
6420 * shadow/shadow.h: Likewise.
6421 * signal/signal.h: Likewise.
6422 * socket/send.c: Likewise.
6423 * socket/sendto.c: Likewise.
6424 * socket/sys/socket.h: Likewise.
6425 * stdio-common/printf.h: Likewise.
6426 * stdlib/bits/stdlib.h: Likewise.
6427 * stdlib/fmtmsg.h: Likewise.
6428 * stdlib/monetary.h: Likewise.
6429 * stdlib/stdlib.h: Likewise.
6430 * stdlib/ucontext.h: Likewise.
6431 * streams/stropts.h: Likewise.
6432 * string/argz.h: Likewise.
6433 * string/bits/string2.h: Likewise.
6434 * string/string.h: Likewise.
6435 * string/strings.h: Likewise.
6436 * sunrpc/rpc/auth.h: Likewise.
6437 * sunrpc/rpc/auth_des.h: Likewise.
6438 * sunrpc/rpc/clnt.h: Likewise.
6439 * sunrpc/rpc/netdb.h: Likewise.
6440 * sunrpc/rpc/pmap_clnt.h: Likewise.
6441 * sunrpc/rpc/xdr.h: Likewise.
6442 * sysdeps/generic/inttypes.h: Likewise.
6443 * sysdeps/generic/net/if.h: Likewise.
6444 * sysdeps/generic/sys/swap.h: Likewise.
6445 * sysdeps/gnu/net/if.h: Likewise.
6446 * sysdeps/gnu/utmpx.h: Likewise.
6447 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
6448 * sysdeps/i386/i486/bits/string.h: Likewise.
6449 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
6450 * sysdeps/s390/bits/string.h: Likewise.
6451 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
6452 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
6453 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
6454 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
6455 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
6456 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
6457 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6458 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
6459 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
6460 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
6461 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
6462 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6463 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
6464 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6465 * sysdeps/unix/sysv/linux/readv.c: Likewise.
6466 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
6467 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6468 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6469 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6470 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6471 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6472 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
6473 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
6474 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
6475 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
6476 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
6477 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
6478 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6479 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
6480 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
6481 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
6482 * sysvipc/sys/ipc.h: Likewise.
6483 * sysvipc/sys/msg.h: Likewise.
6484 * sysvipc/sys/sem.h: Likewise.
6485 * sysvipc/sys/shm.h: Likewise.
6486 * termios/termios.h: Likewise.
6487 * time/sys/time.h: Likewise.
6488 * time/time.h: Likewise.
6489 * wcsmbs/bits/wchar2.h: Likewise.
6490 * wcsmbs/uchar.h: Likewise.
6491 * wcsmbs/wchar.h: Likewise.
6492 * wctype/wctype.h: Likewise.
6493
0269750c
UD
6494 [BZ #13551]
6495 * Makeconfig: Remove all but ELF support including AIX support.
6496 * Makerules: Likewise.
6497 * config.h.in: Likewise.
6498 * config.make.in: Likewise.
6499 * configure: Likewise.
6500 * configure.in: Likewise.
6501 * csu/Makefile: Likewise.
6502 * csu/version.c: Likewise.
6503 * debug/Makefile: Likewise.
6504 * dlfcn/Makefile: Likewise.
6505 * elf/Makefile: Likewise.
6506 * extra-lib.mk: Likewise.
6507 * iconv/Makefile: Likewise.
6508 * include/libc-symbols.h: Likewise.
6509 * include/shlib-compat.h: Likewise.
6510 * resolv/Makefile: Likewise.
6511 * resolv/res_libc.c: Likewise.
6512 * rt/Makefile: Likewise.
6513 * sysdeps/i386/asm-syntax.h: Likewise.
6514 * sysdeps/i386/sysdep.h: Likewise.
6515 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6516 * sysdeps/mach/sysdep.h: Likewise.
6517 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
6518 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
6519 * sysdeps/s390/asm-syntax.h: Likewise.
6520 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6521 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6522 * sysdeps/sh/sysdep.h: Likewise.
6523 * sysdeps/unix/sparc/sysdep.h: Likewise.
6524 * sysdeps/wordsize-32/divdi3.c: Likewise.
6525 * sysdeps/x86_64/sysdep.h: Likewise.
6526
00bbd29b
UD
6527 * argp/Versions: Remove _argp_unlock_xxx.
6528
6529 [BZ #13559]
6530 * abilist/ld.abilist: Update. Adjust for removal of tls option.
6531 * abilist/libBrokenLocale.abilist: Likewise.
6532 * abilist/libanl.abilist: Likewise.
6533 * abilist/libc.abilist: Likewise.
6534 * abilist/libcrypt.abilist: Likewise.
6535 * abilist/libdl.abilist: Likewise.
6536 * abilist/libm.abilist: Likewise.
6537 * abilist/libnsl.abilist: Likewise.
6538 * abilist/libpthread.abilist: Likewise.
6539 * abilist/libresolv.abilist: Likewise.
6540 * abilist/librt.abilist: Likewise.
6541 * abilist/libthread_db.abilist: Likewise.
6542 * abilist/libutil.abilist: Likewise.
6543 * abilist/libnss_db.abilist: New file.
6544
6545 * scripts/abilist.awk: Add support for indirect functions.
6546
a2693a0e
UD
6547 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
6548
3f05895f
UD
6549 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
6550
ecb6fb48
UD
6551 * shlib-versions: Remove entries for ports architectures.
6552
664f8cb9
UD
6553 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
6554 files in ports.
6555 * elf/stackguard-macros.h: Remove support for IA-64.
6556 * elf/tst-auditmod1.c: Likewise.
6557 * sysdeps/generic/ldsodefs.h: Likewise.
6558
7ae81d88
UD
6559 * sysdeps/unix/sysv/linux/configure.in: Ports should define
6560 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
6561 configure files.
6562
bdeba135
UD
6563 [BZ #13552]
6564 * configure.in: Remove --enable-omitfp support.
6565 * FAQ.in: Adjust.
6566 * config.make.in: Likewise.
6567 * Makeconfig: Likewise.
6568 * manual/install.texi: Likewise.
6569
d75a0a62
UD
6570 In case anyone cares, the IA-64 architecture could move to ports.
6571 * sysdeps/ia64/*: Removed.
6572 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 6573 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 6574
dcc9756b
UD
6575 [BZ #13555]
6576 * configure.in: Remove entries for unsupported architectures.
6577
d3761ebc 6578 [BZ #13533]
9954432e
UD
6579 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
6580 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
6581 routines.
6582 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
6583 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
6584 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
6585 fall back to using wcrtomb.
6586 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
6587 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
6588 renaming.
6589 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
6590 * wcsmbs/tst-c16c32-1.c: New file.
6591
6592 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
6593 local variable.
6594
c3a87236
UD
6595 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
6596
28926a1b
UD
6597 * elf/tst-unique3.cc: Add explicit declaration of gets.
6598 * elf/tst-unique3lib.cc: Likewise.
6599 * elf/tst-unique3lib2.cc: Likewise.
6600 * elf/tst-unique4.cc: Likewise.
6601
df78418a
UD
6602 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
6603
8ecd6b2a
JM
66042012-01-06 Joseph Myers <joseph@codesourcery.com>
6605
6606 [BZ #13566]
6607 * assert/assert.h (static_assert): Don't define for C++.
6608 * libio/stdio.h (gets): Do declare for C++ <= C++11.
6609 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
6610
9f115170
UD
66112012-01-03 Ulrich Drepper <drepper@gmail.com>
6612
5e0d0300
UD
6613 * iconv/loop.c (single loop): Fix assertion in storing of
6614 remaining bytes.
6615
9f115170
UD
6616 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
6617
81fb02b0
UD
66182012-01-01 Ulrich Drepper <drepper@gmail.com>
6619
6620 * posix/getconf.c: Update copyright year.
6621 * nss/getent.c: Likewise.
a316c1f6 6622 * nss/makedb.c: Likewise.
81fb02b0
UD
6623 * iconv/iconvconfig.c: Likewise.
6624 * iconv/iconv_prog.c: Likewise.
6625 * elf/ldconfig.c: Likewise.
a316c1f6
UD
6626 * elf/pldd.c: Likewise.
6627 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
6628 * catgets/gencat.c: Likewise.
6629 * csu/version.c: Likewise.
6630 * elf/ldd.bash.in: Likewise.
6631 * elf/sprof.c (print_version): Likewise.
6632 * locale/programs/locale.c: Likewise.
6633 * locale/programs/localedef.c: Likewise.
a316c1f6 6634 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
6635 * nscd/nscd.c (print_version): Likewise.
6636 * debug/xtrace.sh: Likewise.
6637 * malloc/memusage.sh: Likewise.
6638 * malloc/mtrace.pl: Likewise.
6639 * debug/catchsegv.sh: Likewise.
6640
2ba92745
JJ
66412011-12-30 Jakub Jelinek <jakub@redhat.com>
6642
6643 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
6644 pure attribute.
6645
dadebdae
UD
66462011-12-24 Ulrich Drepper <drepper@gmail.com>
6647
d3761ebc 6648 [BZ #13533]
db6af3eb
UD
6649 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
6650 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
6651 transformations.
6652 * iconv/gconv_int.h: Likewise.
6653 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
6654 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
6655 from libc for GLIBC_2.16.
6656 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
6657 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
6658 * wcsmbs/uchar.h: Really define mbstate_t.
6659 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
6660 * wcsmbs/c16rtomb.c: New file.
6661 * wcsmbs/mbrtoc16.c: New file.
6662 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
6663 for C/POSIX locale.
6664 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
6665 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
6666
dadebdae
UD
6667 * wcsmbs/wchar.h: Add missing __restrict.
6668
67371b56
UD
66692011-12-23 Ulrich Drepper <drepper@gmail.com>
6670
74033a25
UD
6671 [BZ #13532]
6672 * time/Makefile (routines): Add timespec_get.
6673 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
6674 * time/time.h: Define TIME_UTC and declare timespec_get. Define
6675 timespec for ISO C11.
6676 * time/timespec_get.c: New file.
6677 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
6678 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
6679
380d7e87
UD
6680 [BZ #13531]
6681 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
6682 * stdlib/stdlib.h: Declare aligned_alloc.
6683 * Versions.def: Add GLIBC_2.16 for libc.
6684 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
6685
4e9e7a35
UD
6686 [BZ 13527]
6687 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
6688 ISO C11.
6689
380d7e87 6690 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
6691 code.
6692
03a71829
UD
6693 [BZ #13528]
6694 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
6695
839e283e
UD
6696 [BZ #13529]
6697 * assert/assert.h (static_assert): Define.
6698
ce5294e2 6699 * version.h: Update for 2.16 development version.
90fa7312 6700
8d44e150 6701 [BZ #13526]
d7809905
UD
6702 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
6703 _ISOC11_SOURCE.
6704
c0da14cd
UD
6705 * version.h (RELEASE): Bump for 2.15 release.
6706 * include/features.h (__GLIBC_MINOR__): Bump to 15.
6707
530a3249
MP
6708 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
6709 Patch by Marek Polacek <mpolacek@redhat.com>.
6710
67371b56
UD
6711 * bits/byteswap.h: Protect long long constants with __extension__.
6712 * sysdeps/i386/bits/byteswap.h: Likewise.
6713 * sysdeps/ia64/bits/byteswap.h: Likewise.
6714 * sysdeps/s390/bits/byteswap.h: Likewise.
6715 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6716
15db4de1
LD
67172011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6718
6719 [BZ #13540]
bbe315ea
LD
6720 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
6721 destination buffer.
15db4de1
LD
6722 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
6723
2b2596b1
MP
67242011-12-23 Marek Polacek <polacek@redhat.com>
6725
6726 * elf/dl-addr.c (determine_info): Add inline keyword.
6727 * elf/tst-auditmod4b.c (check_avx): Likewise.
6728 * elf/tst-auditmod6b.c (check_avx): Likewise.
6729 * elf/tst-auditmod6c.c (check_avx): Likewise.
6730 * elf/tst-auditmod7b.c (check_avx): Likewise.
6731
70c6c246
UD
67322011-12-23 Ulrich Drepper <drepper@gmail.com>
6733
6734 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
6735 !__SSE_MATH__.
6736
c044cf14
LD
67372011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6738
15db4de1 6739 [BZ #13540]
c044cf14
LD
6740 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
6741 processing for last bytes.
6742
6b13d9d9
BH
67432011-08-06 Bruno Haible <bruno@clisp.org>
6744
d455f537
BH
6745 [BZ #13061]
6746 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
6747 U+0385, not to U+1FEE.
6748
6b13d9d9
BH
6749 [BZ #13062]
6750 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
6751 entry for U+00A5 U+0301.
6752
db910efd
UD
67532011-12-22 Ulrich Drepper <drepper@gmail.com>
6754
27deeafc
UD
6755 [BZ #13166]
6756 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
6757 buffer for the output is too small.
6758
aed9d171
UD
6759 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
6760 optimization.
6761
db910efd
UD
6762 [BZ #13185]
6763 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
6764 SSE flags if possible.
6765
2bd779ae
LD
67662011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6767
e7f9dac3 6768 [BZ #13540]
2bd779ae
LD
6769 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
6770 processing for last bytes.
6771
154bfc16
JM
67722011-12-22 Joseph Myers <joseph@codesourcery.com>
6773
6774 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
6775 (syscall-list-default-options, syscall-list-default-condition)
6776 (syscall-list-includes): Define.
6777 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
6778 list of ABIs and options and #if conditions for each ABI. Do not
6779 handle common syscalls between ABIs specially.
6780 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
6781 Remove.
6782 (syscall-list-variants, syscall-list-32bit-options)
6783 (syscall-list-32bit-condition, syscall-list-64bit-options)
6784 (syscall-list-64bit-condition): Define.
6785 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
6786 (syscall-list-variants, syscall-list-32bit-options)
6787 (syscall-list-32bit-condition, syscall-list-64bit-options)
6788 (syscall-list-64bit-condition): Define.
6789 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
6790 Remove.
6791 (syscall-list-variants, syscall-list-32bit-options)
6792 (syscall-list-32bit-condition, syscall-list-64bit-options)
6793 (syscall-list-64bit-condition): Define.
6794 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
6795 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
21eaf3a5
UD
68002011-12-22 Ulrich Drepper <drepper@gmail.com>
6801
16c6f992
UD
6802 * locale/iso-639.def: Add brx entry.
6803
41043168
UD
6804 [BZ #13328]
6805 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
6806 Proposed by Mariusz_Cukr <marcukr@op.pl>.
6807
21eaf3a5
UD
6808 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
6809 __feraiseexcept_renamed.
6810
e3a851a2
UD
68112011-12-21 Ulrich Drepper <drepper@gmail.com>
6812
4920765e
UD
6813 [BZ #13538]
6814 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
6815 EPOLLET with unsigned values.
6816 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6817 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6818
e3a851a2
UD
6819 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
6820 to large cancellation.
6821 * math/s_cacoshf.c: Likewise.
6822 * math/s_cacoshl.c: Likewise.
6823
b27e24b8
RK
68242011-11-18 Richard B. Kreckel <kreckel@ginac.de>
6825
6826 [BZ #13305]
aebefeee 6827 [BZ #12786]
b27e24b8
RK
6828 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
6829 * math/s_cacoshf.c: Likewise.
6830 * math/s_cacoshl.c: Likewise.
6831
ee190f67
UD
68322011-12-21 Ulrich Drepper <drepper@gmail.com>
6833
6834 [BZ #13439]
6835 * iconv/gconv.h: Define __GCONV_SWAP.
6836 * iconvdata/unicode.c: The swap bit must be stored in __flags.
6837 * iconvdata/utf-16.c: Likewise.
6838 * iconvdata/utf-32.c: Likewise.
6839
707f25df
AS
68402011-12-21 Andreas Schwab <schwab@linux-m68k.org>
6841
6842 [BZ #13524]
6843 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
6844 numerator after shifting it by one limb.
6845
d2daaa1e
RÁE
68462011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
6847
6848 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
6849 under [__USE_EXTERN_INLINES].
6850
a4647e72
UD
68512011-12-17 Ulrich Drepper <drepper@gmail.com>
6852
6853 [BZ #13446]
6854 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
6855
f0b264f1
AZ
68562011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6857
6858 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
6859 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
6860 optimized code.
6861 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
6862 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
6863 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
6864 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
6865 for strncasecmp/strncasecmp_l compilation.
6866 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
6867 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
6868
8ef4f244
MP
68692011-12-08 Marek Polacek <mpolacek@redhat.com>
6870
6871 [BZ #13484]
6872 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
6873 of __asm__.
6874
97ac2654
UD
68752011-12-17 Ulrich Drepper <drepper@gmail.com>
6876
6877 [BZ #13506]
6878 * time/tzfile.c (__tzfile_read): Check values from file header.
6879
91d2a845
WS
68802011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
6881
6882 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
6883 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
6884 * powerpc/powerpc32/dl-start.S: Likewise.
6885 * powerpc/powerpc32/elf/start.S: Likewise.
6886 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6887 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
6888 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
6889 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
6890 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6891 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
6892 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
6893 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6894 * powerpc/powerpc32/fpu/s_round.S: Likewise.
6895 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6896 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6897 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6898 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
6899 * powerpc/powerpc32/memset.S: Likewise.
6900 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6901 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6902 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6903 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6904 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6905 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6906 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6907 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6908 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
6909 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
6910 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
6911 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6912 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6913
a1267ba1
AZ
69142011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6915
6916 * math/libm-test.inc: Added more nearbyint tests.
6917 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
6918 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
6919 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
6920 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
6921
ad8ac1bd
RL
69222011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
6923
6924 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
6925 FD_CLOEXEC.
6926
1d3e4b61
UD
69272011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6928
6929 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
6930 Add wcscpy-ssse3 wcscpy-c.
6931 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
6932 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
6933 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
6934 * sysdeps/x86_64/wcschr.S: New file.
6935 * sysdeps/x86_64/wcsrchr.S: New file.
6936 * string/test-strcmp.c: Remove checking of wcscmp function for
6937 wrong alignments.
6938 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
6939 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
6940 wcsrchr-sse2 wcsrchr-c.
6941 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
6942 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
6943 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
6944 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
6945 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
6946 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
6947 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
6948 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
6949 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
6950 * wcsmbc/wcschr.c (WCSCHR): New macro.
6951
5b330a2d
UD
69522011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6953
6954 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
6955 * wcsmbs/test-wcsrchr.c: New file.
6956 * string/test-strrchr.c: Add wcsrchr support.
6957 (WIDE): New macro.
6958 * wcsmbs/test-wcscpy.c: New file.
6959 * string/test-strcpy.c: Add wcscpy support.
6960 (WIDE): New macro.
26428b7c 6961
f039c043
UD
69622011-12-10 Ulrich Drepper <drepper@gmail.com>
6963
6964 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
6965 the inner loop.
6966
850fb039
AS
69672011-12-06 Andreas Schwab <schwab@linux-m68k.org>
6968
6969 [BZ #13472]
6970 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
6971
4efbd5cb
UD
69722011-12-04 Ulrich Drepper <drepper@gmail.com>
6973
52ff5dd0 6974 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 6975 Minor optimizations.
52ff5dd0 6976
4efbd5cb
UD
6977 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
6978 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
6979 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
6980
8a426e12
UD
69812011-12-03 Ulrich Drepper <drepper@gmail.com>
6982
aff2453d
UD
6983 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
6984 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
6985 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
6986 for gcc to avoid warnings.
6987 * inet/Makefile (tests): Add tst-checks.
6988 * inet/tst-checks.c: New file.
6989
6990 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
6991 warning.
6992
6993 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
6994 __wmemcmp_sse2.
6995
6996 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
6997 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
6998
8a426e12
UD
6999 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
7000
9bea3473
UD
70012011-12-02 Ulrich Drepper <drepper@gmail.com>
7002
3a965496
UD
7003 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
7004 problem.
7005
9bea3473
UD
7006 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
7007
f101631b
UD
70082011-11-29 Joseph Myers <joseph@codesourcery.com>
7009
7010 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
7011 conditional on GCC version.
7012 (__arch_compare_and_exchange_val_8_acq)
7013 (__arch_compare_and_exchange_val_16_acq)
7014 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
7015 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
7016 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
7017
a98275aa
UD
70182011-12-02 Joseph Myers <joseph@codesourcery.com>
7019
7020 * sysdeps/sh/backtrace.c: New file.
7021
d4cc29a2
AS
70222011-12-02 Andreas Schwab <schwab@redhat.com>
7023
7024 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
7025 parenthesis.
7026
6257af2d
AS
70272011-12-01 Andreas Schwab <schwab@redhat.com>
7028
7029 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
7030 falling back to utime.
7031
b5f44c1a
AS
70322011-11-30 Andreas Schwab <schwab@redhat.com>
7033
7034 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
7035 expectations for float.
7036
f3a6cc0a
AS
70372011-11-29 Andreas Schwab <schwab@redhat.com>
7038
7039 * locale/weight.h (findidx): Add parameter len.
7040 * locale/weightwc.h (findidx): Likewise.
7041 * posix/fnmatch_loop.c (FCT): Adjust caller.
7042 * posix/regcomp.c (build_equiv_class): Likewise.
7043 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
7044 * posix/regexec.c (check_node_accept_bytes): Likewise.
7045 * string/strcoll_l.c (STRCOLL): Likewise.
7046 * string/strxfrm_l.c (STRXFRM): Likewise.
7047
9d65ea3a
UD
70482011-11-17 Ulrich Drepper <drepper@gmail.com>
7049
7050 * Makefile.in: Remove CVSOPT handling.
7051 * configure.in: Remove use of AC_REVISION.
7052 * iconvdata/Makefile (distribute): No need to filter out CVS.
7053 * scripts/list-sources.sh: Remove CVS, subversion and monotone
7054 handling.
7055
5583a086
AS
70562011-11-16 Andreas Schwab <schwab@redhat.com>
7057
7058 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
7059 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
7060 [USE_AS_STRNCASECMP_L]: Likewise.
7061 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
7062 NO_TLS_DIRECT_SEG_REFS.
7063 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
7064 Fix argument offsets for non-PIC.
7065 [USE_AS_STRNCASECMP_L]: Likewise.
7066 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
7067 NO_TLS_DIRECT_SEG_REFS.
7068
d62a8200
UD
70692011-11-15 Ulrich Drepper <drepper@gmail.com>
7070
9d65ea3a 7071 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
7072 O_CLOEXEC.
7073 * locale/loadlocale.c (_nl_load_locale): Likewise.
7074
09f93bd3
AS
70752011-11-15 Andreas Schwab <schwab@redhat.com>
7076
446514f9
AS
7077 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
7078 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
7079 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
7080 (SYSCALL_GETTIME): Set errno on error.
7081
09f93bd3
AS
7082 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
7083 count references to noai6ai_cached.
7084
312be3f9
UD
70852011-11-15 Ulrich Drepper <drepper@gmail.com>
7086
7087 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
7088
7089 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
7090 FD_CLOEXEC for /proc/self/maps.
7091
7092 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
7093 FD_CLOEXEC for /proc/meminfo.
7094
7095 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
7096 gai.conf.
7097
7098 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
7099 FD_CLOEXEC for given file.
7100
7101 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
7102
7103 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
7104 FD_CLOEXEC for /etc/hosts.
7105 (_gethtent): Likewise.
7106
7107 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
7108
7109 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
7110 cancellation and set FD_CLOEXEC for /etc/netgroup.
7111
7112 * nss/nss_files/files-key.c (search): Don't allow cancellation when
7113 reading /etc/publickey.
7114
7115 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
7116 allow cancellation when reading /etc/group.
7117
7118 * nss/nss_files/files-alias.c (internal_setent): Don't allow
7119 cancellation.
7120 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
7121
7122 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
7123 when using data file.
7124
7125 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
7126
7127 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
7128 (write_nis_obj): Use "c" and "e" in fopen.
7129
7130 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
7131
7132 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
7133
7134 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
7135
7136 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
7137
7138 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
7139 locale.alias.
7140
7141 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
7142
7143 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
7144
7145 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
7146
7147 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
7148 file parsing and set FD_CLOEXEC.
7149
82af0fa8
UD
71502011-11-14 Ulrich Drepper <drepper@gmail.com>
7151
7152 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
7153
a5fb313c
AS
71542011-11-14 Andreas Schwab <schwab@redhat.com>
7155
7156 * malloc/arena.c (arena_get2): Don't call reused_arena when
7157 _int_new_arena failed.
7158
6abf3465
UD
71592011-11-14 Ulrich Drepper <drepper@gmail.com>
7160
7161 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
7162 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
7163 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
7164 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7165 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7166 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
7167 to compile strcasecmp and strncasecmp.
7168 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
7169 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
7170
7171 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
7172
76e3966e
UD
71732011-11-13 Ulrich Drepper <drepper@gmail.com>
7174
7175 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
7176 locale-defines.sym to gen-as-const-headers.
7177 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
7178 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
7179 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
7180 to compile strcasecmp and strncasecmp.
7181 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
7182 strcasecmp_l and strncasecmp_l.
7183 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
7184 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
7185 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
7186 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
7187 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
7188 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
7189 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
7190 * sysdeps/i386/i686/multiarch/strncase.S: New file.
7191 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
7192 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
7193 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
7194
ab26144e
UD
71952011-11-12 Ulrich Drepper <drepper@gmail.com>
7196
7edb22ef
UD
7197 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
7198 result of SYSDEP_GETTIME_CPU to retval.
7199 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
7200 parameter list to macro. Remove trailing semicolon. Adjust users.
7201
9694fc44
UD
7202 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
7203 variable.
7204
8ad89ef8
UD
7205 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
7206 mantissa words.
7207 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7208
0c822ef9
UD
7209 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
7210 from unused variable.
7211
874e0564
UD
7212 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
7213 DWARF definitions.
7214 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
7215 for assembling.
7216
3a2edc79
UD
7217 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
7218 over namespaces.
7219
f3c2577f
UD
7220 * sunrpc/rpc_prot.c (rejected): Fix case value.
7221
294ce126
UD
7222 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
7223 unsigned long long int to avoid warnings in shift.
7224
5e2b63c6
UD
7225 * posix/regex_internal.c (re_string_reconstruct): Actually use result
7226 of use of trans.
7227 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
7228 variable tmp.
7229
e7f4b08e
UD
7230 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
7231 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7232 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7233
ab26144e
UD
7234 * nis/nis_table.c (nis_list): Use variable of correct type for
7235 result of __follow_path call.
7236
8a6d5255
AZ
72372011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7238
7239 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
7240 of math functions ceil, trunc, floor, round, and sqrt, when
7241 avaliable on the platform.
7242 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
7243 name clash.
7244 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7245 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7246 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7247
aaddc98c
MP
72482011-10-30 Marek Polacek <mpolacek@redhat.com>
7249
7250 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
7251 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7252
95b7042b
RM
72532011-11-11 Roland McGrath <roland@hack.frob.com>
7254
7255 * include/unistd.h: Fix __readlink return type.
7256 Reported by Chris Metcalf <cmetcalf@tilera.com>.
7257
57769839
UD
72582011-11-11 Ulrich Drepper <drepper@gmail.com>
7259
7260 * stdlib/ucontext.h: Undo last change for makecontext.
7261
edc5984d
AS
72622011-11-11 Andreas Schwab <schwab@redhat.com>
7263
98591e58
AS
7264 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
7265
edc5984d
AS
7266 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
7267 * setjmp/setjmp.h: Mark functions as non-leaf.
7268 * setjmp/bits/setjmp2.h: Likewise.
7269 * stdlib/ucontext.h: Likewise.
7270
77cdc054
AS
72712011-11-10 Andreas Schwab <schwab@redhat.com>
7272
7273 * malloc/arena.c (_int_new_arena): Don't increment narenas.
7274 (reused_arena): Don't check arena limit.
7275 (arena_get2): Atomically check arena limit.
7276
fe72eebd
UD
72772011-11-08 Ulrich Drepper <drepper@gmail.com>
7278
5f078c32
UD
7279 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
7280 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
7281
fe72eebd
UD
7282 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
7283 instructions.
7284
ae1bc2fa
AS
72852011-11-07 Andreas Schwab <schwab@redhat.com>
7286
7583a88d
AS
7287 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
7288 handler when locking.
7289
ae1bc2fa
AS
7290 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7291 Fix size of allocated buffer.
7292
10fb0bfa
AS
72932011-11-04 Andreas Schwab <schwab@redhat.com>
7294
998832a4
AS
7295 [BZ #10103]
7296 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
7297 declarations for long double functions.
7298 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
7299
10fb0bfa
AS
7300 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
7301
3d7ba52b
AS
73022011-11-03 Andreas Schwab <schwab@redhat.com>
7303
a9ae54a1
AS
7304 * nscd/nscd.c (main): Don't start AVC thread until credentials are
7305 installed.
7306
3d7ba52b
AS
7307 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
7308 is disabled.
7309
bc8db248
ST
73102011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7311
7312 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
7313
45b96dd6
AS
73142011-11-01 Andreas Schwab <schwab@linux-m68k.org>
7315
647776f6
AS
7316 * include/alloca.h (stackinfo_alloca_round): Define.
7317 (extend_alloca): Use it.
7318 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
7319 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
7320 here.
7321
d91a8b93
AS
7322 * scripts/check-local-headers.sh: Ignore libaudit.h.
7323
45b96dd6
AS
7324 * nscd/Makefile (extra-objs): Make recursively expanded.
7325
432d41ce
UD
73262011-11-01 Ulrich Drepper <drepper@gmail.com>
7327
34372fc6
UD
7328 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
7329 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7330
fadb59f8
UD
7331 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
7332 * posix/tst-rfc3484-2.c: Likewise.
7333 * posix/tst-rfc3484-3.c: Likewise.
7334
78239589
UD
7335 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7336 process_vm_writev.
7337 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
7338 process_vm_writev.
7339 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
7340 process_vm_writev from libc using GLIBC_2.15 version.
7341
432d41ce
UD
7342 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
7343
02f9c6cf
PP
73442011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7345
7346 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
7347 stack usage.
7348
3a2c0242
UD
73492011-10-31 Ulrich Drepper <drepper@gmail.com>
7350
f4ec4833
UD
7351 [BZ #13367]
7352 * nss/getent.c (initgroups_keys): Show error message in case no group
7353 names are given.
7354
3a2c0242
UD
7355 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
7356 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
7357 __bump_nl_timestamp.
7358 * nscd/connections (nscd_init): When host database is served open
7359 netlink socket and request notification about configuration changes.
7360 (main_loop_poll): Track netlink file descriptor and bump timestamp
7361 in case data becomes available.
7362 (main_loop_epoll): Likewise.
7363 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
7364 (database_pers_head): Add extra_data fileds.
7365 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
7366 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
7367 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
7368 Adjust caller.
7369 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
7370 in6ai data, call __free_in6ai.
7371 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
7372 Add -DHAVE_NETLINK.
7373 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
7374 interface information. Reuse previous data if netlink timestamp
7375 is not changed.
7376 (__bump_nl_timestamp): New function.
7377 (__free_in6ai): New function.
7378
636064eb
UD
73792011-10-30 Ulrich Drepper <drepper@gmail.com>
7380
7381 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
7382 close_not_cancel_no_status here.
7383 (__check_pf): Reorganize code a bit to not call close twice if OOM.
7384
9beb2334
UD
73852011-10-29 Ulrich Drepper <drepper@gmail.com>
7386
6ef76f3b
UD
7387 [BZ #13276]
7388 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
7389 return value.
7390
0ffc4f3e 7391 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
7392 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
7393 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
7394
cb95113e
UD
73952011-07-03 Andreas Jaeger <aj@suse.de>
7396
7397 [BZ #10709]
7398 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
7399 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
7400 * math/libm-test.inc (sin_test): Add test case.
7401
a1b560ff
UD
74022011-10-29 Ulrich Drepper <drepper@gmail.com>
7403
c9aaface
UD
7404 [BZ #13337]
7405 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
7406 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7407
d272e7f1
UD
7408 * elf/chroot_canon.c (chroot_canon): Cleanups.
7409
1bc33071
UD
7410 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
7411
1760874d
TJ
7412 [BZ #13335]
7413 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
7414 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7415
51d91b18
UD
7416 * string/test-strchr.c: Make usable for strchrnul testing.
7417 * string/test-strchrnul.c: New file.
7418 * string/Makefile (strop-tests): Add strchrnul.
7419
a1b560ff 7420 * po/it.po: Update from translation team.
b611fb81 7421 * po/es.po: Likewise.
a1b560ff 7422
a5b81e1f
UD
74232011-10-28 Ulrich Drepper <drepper@gmail.com>
7424
fd52bc6d
UD
7425 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
7426 the three constants needed as parameters. Drop the others.
7427 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
7428 __m128i_strloadu_tolower.
52e4b9eb
UD
7429 Create and initialize variable zero and use it in all the places
7430 where _mm_setzero_si128 was used.
fd52bc6d 7431
a5b81e1f
UD
7432 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
7433 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
7434 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
7435 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
7436 anymore.
7437 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
7438 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
7439 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
7440 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
7441 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
7442 __mpranred, __mptan.
7443 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
7444 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
7445 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
7446 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
7447 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
7448 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
7449 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
7450 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
7451 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
7452
b4343346
AS
74532011-10-28 Andreas Schwab <schwab@redhat.com>
7454
0c92d8a8
AS
7455 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
7456 redefine if SHARED.
7457 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
7458
b4343346
AS
7459 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
7460 wide char related routines to wcsmbs subdir.
7461
3871f58f
AS
74622011-10-27 Andreas Schwab <schwab@redhat.com>
7463
7464 [BZ #13344]
7465 * misc/sys/cdefs.h (__THROWNL): Define.
7466 * posix/unistd.h: Use __THREADNL instead of __THREAD
7467 for memory synchronization functions.
7468
94d44d9f
RM
74692011-10-26 Roland McGrath <roland@hack.frob.com>
7470
21b64b15 7471 [BZ #13349]
94d44d9f
RM
7472 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
7473 doesn't exist.
7474 * manual/stdio.texi (Obstack Streams): Node removed.
7475
f6ce9294
AS
74762011-10-26 Andreas Schwab <schwab@redhat.com>
7477
80479147
AS
7478 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
7479 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7480 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7481
f6ce9294
AS
7482 * math/math_private.h (math_force_eval): Allow non-addressable
7483 arguments.
7484 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
7485
618280a1
UD
74862011-10-25 Ulrich Drepper <drepper@gmail.com>
7487
e0016b11
UD
7488 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
7489 file is not needed.
7490
7491 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
7492 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7493 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7494 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7495 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7496 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7497 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7498 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
7499 Add AVX variants.
7500 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
7501 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
7502 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
7503 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
7504 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
7505 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
7506 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
7507 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
7508 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
7509 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
7510 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
7511 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
7512 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
7513 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
7514 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
7515 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
7516 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
7517 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
7518 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
7519
7520 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
7521 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
7522
618280a1
UD
7523 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
7524 place. Use VEX encoding when compiling for AVX.
7525
37822576
AS
75262011-10-25 Andreas Schwab <schwab@redhat.com>
7527
1f1e1947
AS
7528 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
7529 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7530
37822576
AS
7531 * string/test-strchr.c (do_test): Don't generate NUL bytes.
7532
31ea014d
UD
75332011-10-25 Ulrich Drepper <drepper@gmail.com>
7534
d7826aa1 7535 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 7536 useless if() expression.
d7826aa1
UD
7537 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7538 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7539 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7540 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7541 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7542 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7543 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7544 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7545 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7546 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7547 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7548 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7549 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7550 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7551 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7552 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7553 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7554 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7555 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7556
31ea014d
UD
7557 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
7558
16437fec
AS
75592011-10-25 Andreas Schwab <schwab@redhat.com>
7560
7561 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
7562 condition.
7563 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7564
31d3cc00
UD
75652011-10-25 Ulrich Drepper <drepper@gmail.com>
7566
7567 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
7568 .text section. Avoid duplicate constants.
7569 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7570 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7571 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7572 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7573 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7574 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7575 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7576 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7577 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7578 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
7579 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7580 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7581 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7582 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7583 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7584 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7585 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7586 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7587 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7588 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7589 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7590 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7591 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7592 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
7593 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
7594 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
7595 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
7596 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
7597 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
7598 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
7599 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
7600 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
7601 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7602 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
7603 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
7604 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
7605 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
7606 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
7607 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
7608 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
7609 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
7610 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
7611 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
7612 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
7613 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
7614
58985aa9
UD
76152011-10-24 Ulrich Drepper <drepper@gmail.com>
7616
202c9deb
UD
7617 * sysdeps/x86_64/dla.h: Move to ...
7618 * sysdeps/x86_64/fpu/dla.h: ...here.
7619 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
7620 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 7621
af968f62
UD
7622 * config.make.in: Add have-mfma4 entry.
7623 * configure.in: Substitute libc_cv_cc_fma4.
7624 * math/Makefile (dbl-only-routines): Add sincostab.
7625 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
7626 Use __sincostab not sincos.
7627 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
7628 name is a macro.
7629 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7630 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7631 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7632 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
7633 using __copysign.
7634 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
7635 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
7636 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
7637 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
7638 and __inv.
7639 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
7640 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
7641 __copysign.
7642 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
7643 define aliases when function name is a macro.
7644 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
7645 sysdeps/ieee754/dbl-64/sincos.tbl.
7646 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
7647 fma4-enabled routines.
7648 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
7649 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
7650 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
7651 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
7652 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
7653 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
7654 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
7655 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
7656 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
7657 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
7658 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
7659 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
7660 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
7661 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
7662 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
7663 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
7664 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
7665 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
7666 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
7667 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
7668 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
7669 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
7670 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
7671 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
7672 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
7673 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
7674 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
7675 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
7676 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
7677 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
7678
58985aa9
UD
7679 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
7680 rename.
7681 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7682 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7683 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7684 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7685 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7686 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7687 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7688 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7689
a201fbcf
AS
76902011-10-24 Andreas Schwab <schwab@redhat.com>
7691
7692 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
7693
fc2ee42a
LD
76942011-10-23 Ulrich Drepper <drepper@gmail.com>
7695
bb3129bd
UD
7696 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
7697
0275fff8
UD
7698 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
7699 prediction.
7700 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
7701
2fa2ae85
UD
7702 * string/strnlen.c: Don't define STRNLEN, reverse logic.
7703 Remove unused variable magic_bits.
7704 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
7705
fc2ee42a
LD
7706 * string/strnlen.c: Define and use STRNLEN macro.
7707 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
7708 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
7709 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
7710 * wcsmbs/wcslen.c: Define and use WCSLEN.
7711 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
7712 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
7713 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
7714 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
7715 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
7716 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
7717 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7718
ce7dd29f
LD
77192011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7720
7721 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7722 strnlen-sse2-no-bsf.
7723 Rename strlen-no-bsf to strlen-sse2-no-bsf.
7724 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
7725 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
7726 Add strnlen support.
7727 (USE_AS_STRNLEN): New macro.
7728 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
7729 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
7730 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
7731 * sysdeps/x86_64/wcslen.S: New file.
7732
979c70a3
MZ
77332011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
7734
7735 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7736 XMM-moves are used for copying on small sizes.
7737
2d09f82f
LD
77382011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7739
7740 * wcsmbs/Makefile (strop-tests): Add wcschr.
7741 * wcsmbs/test-wcschr.c: New file.
7742 * string/test-strchr.c: Update.
7743 Add wcschr support.
7744 (WIDE): New macro.
7745
619fccca
LD
77462011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7747
2d09f82f 7748 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
7749 * wcsmbs/test-wcslen.c: New file.
7750 * string/test-strlen.c: Update.
7751 Add wcslen support.
7752 (WIDE): New macro.
7753
09f699ea
UD
77542011-10-23 Ulrich Drepper <drepper@gmail.com>
7755
7756 * po/it.po: Update from translation team.
7757
95584d3b
LD
77582011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7759
7760 * sysdeps/x86_64/wcscmp.S: Update.
7761 Fix wrong comparison semantics.
7762 wcscmp shall use signed comparison not unsigned.
7763 Don't use substraction to avoid overflow bug.
7764 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
7765 * wcsmbc/wcscmp.c: Likewise.
7766 * string/test-strcmp.c: Likewise.
7767 Add new tests to check cases with negative values.
7768
c8b3296b
UD
77692011-10-23 Ulrich Drepper <drepper@gmail.com>
7770
7771 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
7772 * sysdeps/x86_64/dla.h: ...here. New file.
7773 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
7774 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7775 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7776 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7777 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7778 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7779 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7780 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7781 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7782
246ad57a
AS
77832011-10-23 Andreas Schwab <schwab@linux-m68k.org>
7784
7785 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
7786 __ynl_finite aliases.
7787
a1a87169
UD
77882011-10-22 Ulrich Drepper <drepper@gmail.com>
7789
0d355eb7
UD
7790 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7791
a1a87169
UD
7792 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
7793 define DLA_FMA.
7794 [DLA_FMA] (EMULV): Use DLA_FMA.
7795 [DLA_FMA] (MUL12): Use EMULV.
7796 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
7797 that are not needed.
7798 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7799 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7800 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7801 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7802 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7803 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7804 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7805
ee2aafe0
AS
78062011-10-22 Andreas Schwab <schwab@linux-m68k.org>
7807
7808 * math/s_nan.c: Undef __nan.
7809 * math/s_nanf.c: Undef __nanf.
7810 * math/s_nanl.c: Undef __nanl.
7811 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
7812 "math_private.h".
7813
bc62c2fb
UD
78142011-10-22 Ulrich Drepper <drepper@gmail.com>
7815
77425c63
UD
7816 * math/s_catan.c: Add branch predictions.
7817 * math/s_catanf.c: Likewise.
7818 * math/s_catanh.c: Likewise.
7819 * math/s_catanhf.c: Likewise.
7820 * math/s_catanhl.c: Likewise.
7821 * math/s_catanl.c: Likewise.
7822 * math/s_cexp.c: Likewise.
7823 * math/s_cexpf.c: Likewise.
7824 * math/s_cexpl.c: Likewise.
7825 * math/s_clog.c: Likewise.
7826 * math/s_clog10.c: Likewise.
7827 * math/s_clog10f.c: Likewise.
7828 * math/s_clog10l.c: Likewise.
7829 * math/s_clogf.c: Likewise.
7830 * math/s_clogl.c: Likewise.
7831 * math/s_csqrt.c: Likewise.
7832 * math/s_csqrtf.c: Likewise.
7833 * math/s_csqrtl.c: Likewise.
7834 * math/s_ctanf.c: Likewise.
7835 * math/s_ctanh.c: Likewise.
7836 * math/s_ctanhf.c: Likewise.
7837 * math/s_ctanhl.c: Likewise.
7838 * math/s_ctanl.c: Likewise.
7839
bc62c2fb
UD
7840 * math/math_private.h: Define __nan, __nanf, __nanl.
7841 * math/s_cacosh.c: Include <math_private.h>.
7842 * math/s_cacoshl.c: Likewise.
7843 * math/s_casinh.c: Likewise.
7844 * math/s_casinhf.c: Likewise.
7845 * math/s_casinhl.c: Likewise.
7846 * math/s_ccos.c: Rely entire on ccosh.
7847 * math/s_ccosf.c: Rely entire on ccoshf.
7848 * math/s_ccosl.c: Rely entirely on ccoshl.
7849 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
7850 Remove tests for FE_INVALID.
7851 * math/s_ccoshf.c: Likewise.
7852 * math/s_ccoshl.c: Likewise.
7853 * math/s_csin.c: Likewise.
7854 * math/s_csinf.c: Likewise.
7855 * math/s_csinh.c Likewise.
7856 * math/s_csinhf.c: Likewise.
7857 * math/s_csinhl.c: Likewise.
7858 * math/s_csinl.c: Likewise.
7859 * math/s_ctan.c: Likewise.
7860 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
7861 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
7862 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
7863
8ec250a4
UD
78642011-10-21 Ulrich Drepper <drepper@gmail.com>
7865
c196fed8
UD
7866 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
7867 compilation problems.
7868
8ec250a4
UD
7869 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
7870 __builtin_expect.
7871
8d4f46c6
UD
78722011-10-20 Ulrich Drepper <drepper@gmail.com>
7873
ed72b654
UD
7874 * sysdeps/i386/configure.in: Test for -mfma4 option.
7875 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
7876 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
7877 COMMON_CPUID_INDEX_80000001.
7878 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
7879 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
7880 use it if FMA3 is not supported.
7881 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
7882
8d4f46c6
UD
7883 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
7884 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
7885
d45c60c2
AS
78862011-10-20 Andreas Schwab <schwab@redhat.com>
7887
7888 [BZ #12892]
7889 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
7890 it would create a cycle with a link time dependency.
7891
d9a4d2ab
UD
78922011-10-19 Ulrich Drepper <drepper@gmail.com>
7893
855d1560
UD
7894 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
7895 instruction.
7896 * string/Makefile (strop-tests): Add rawmemchr.
7897 * string/test-rawmemchr.c: New file.
7898
d9a4d2ab
UD
7899 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
7900 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
7901 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
7902 when compiling str{,n}casecmp and when AVX is available. Hook up
7903 new optimized code in initializers.
7904
8f3b1ffe
AS
79052011-10-19 Andreas Schwab <schwab@redhat.com>
7906
7907 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
7908 __feraiseexcept instead of feraiseexcept.
7909
d38f1dba
UD
79102011-10-18 Ulrich Drepper <drepper@gmail.com>
7911
d9a8d0ab
UD
7912 * math/math_private.h: Define defaults for libc_fetestexcept and
7913 libc_feupdateenv.
7914 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
7915 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7916 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7917 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7918 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7919 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7920 libc_fetestexcept and libc_feupdateenv.
7921
4855e3dd
UD
7922 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
7923 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
7924 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
7925 * sysdeps/x86_64/fpu/math_private.h: Define special version of
7926 libc_feholdexcept_setround.
7927
581d30e3
UD
7928 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
7929 Add s_nearbyint-c and s_nearbyintf-c.
7930 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
7931 nearbyintf inlines.
7932 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
7933 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
7934 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
7935 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
7936
d38f1dba
UD
7937 * math/math_private.h: Define defaults for libc_fegetround,
7938 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
7939 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
7940 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
7941 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
7942 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
7943 standard functions.
7944 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7945 Remove comments and hacks for old compiler versions.
7946 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7947 libc_fegetround, libc_fesetround, libc_feholdexcept, and
7948 libc_feholdexceptl.
7949
caa6c9d8
AS
79502011-10-18 Andreas Schwab <schwab@redhat.com>
7951
7952 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
7953 (__feraiseexcept_renamed): Add __NTH.
7954 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
7955 namespace violations.
7956
97c066e6
UD
79572011-10-17 Ulrich Drepper <drepper@gmail.com>
7958
99ce7b04
UD
7959 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
7960
1004d182
UD
7961 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
7962
228a984d
UD
7963 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
7964 recently added interfaces.
7965 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
7966
c8553a6a
UD
7967 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
7968 about macro parameter expansion.
7969
ed22dcf6
UD
7970 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
7971 __NO_MATH_INLINES is defined. Cleanups.
7972
7973 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
7974 and __floorf is target has SSE4.1.
7975 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
7976 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
7977 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
7978 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
7979
b171c137
UD
7980 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
7981 name.
7982 (floorf): Likewise.
7983
97c066e6
UD
7984 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
7985
629f62ef
AS
79862011-10-17 Andreas Schwab <schwab@redhat.com>
7987
49a43d80
AS
7988 * misc/sys/cdefs.h: Fix last change.
7989
629f62ef
AS
7990 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
7991 database lookup.
7992
e453f6cd
UD
79932011-10-16 Ulrich Drepper <drepper@gmail.com>
7994
aa78043a
UD
7995 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
7996
ad0f5cad
UD
7997 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
7998 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7999 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8000 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8001 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8002 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8003 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8004 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8005 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8006 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
8007 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
8008 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
8009 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
8010 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
8011 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
8012 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
8013 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
8014 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
8015 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
8016 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
8017 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
8018 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
8019
8020 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
8021 ceil, ceilf, floor, floorf.
8022
8023 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
8024 Perform IRELATIVE relocations last.
8025
e453f6cd
UD
8026 * elf/do-rel.h: Add another parameter nrelative, replacing the
8027 local variable with the same name. Change name of the function
8028 to end in Rel or Rela (uppercase).
8029 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
8030 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
8031 elf_dynamic_do_##reloc function.
8032
fd5bdc09
UD
80332011-10-15 Ulrich Drepper <drepper@gmail.com>
8034
79b195b5
UD
8035 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
8036 is sufficient, at least on modern CPUs.
8037
d4a28569
UD
8038 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
8039
b61099b5
UD
8040 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
8041 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
8042
bcf01e6d
UD
8043 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
8044 __expl_finite.
8045 * math/bits/math-finite.h: Add entries for exp.
8046 * math/e_expl.c: Add __*_finite alias.
8047 * sysdeps/i386/fpu/e_exp.S: Likewise.
8048 * sysdeps/i386/fpu/e_expf.S: Likewise.
8049 * sysdeps/i386/fpu/e_expl.c: Likewise.
8050 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8051 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8052 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8053 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8054 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
8055 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8056 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8057
ba1a0d59
UD
8058 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
8059 is sufficient, at least on modern CPUs.
8060
fd5bdc09
UD
8061 * ctype/ctype-info.c (__ctype_init): Define.
8062 * include/ctype.h (__ctype_init): Declare.
8063 (__ctype_b_loc): The variable is always initialized.
8064 (__ctype_toupper_loc): Likewise.
8065 (__ctype_tolower_loc): Likewise.
8066 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
8067 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
8068
7872cfb0
AS
80692011-10-15 Andreas Schwab <schwab@linux-m68k.org>
8070
b468825a
AS
8071 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
8072
7872cfb0
AS
8073 * configure.in: Also look in $cxxmachine/include for C++ system
8074 headers.
8075
be13f7bf
LD
80762011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8077
8078 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
8079 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
8080 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
8081 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
8082 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
8083 (USE_AS_WMEMCMP): New macro.
8084 Fixing indents.
8085 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
8086 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
8087 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
8088 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
8089 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8090 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
8091 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
8092 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
8093 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
8094 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
8095 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
8096 (USE_AS_WMEMCMP): New macro.
8097 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
8098 * sysdeps/string/test-memcmp.c: Update.
8099 Fix simple_wmemcmp.
8100 Add new tests.
8101 * wcsmbs/wmemcmp.c: Update.
8102 (WMEMCMP): New macro.
8103 Fix overflow bug.
8104
556a2007
AJ
81052011-10-12 Andreas Jaeger <aj@suse.de>
8106
8107 [BZ #13268]
8108 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
8109
538faaa7
UD
81102011-10-15 Ulrich Drepper <drepper@gmail.com>
8111
ab6737ff
UD
8112 * libio/iofwide.c (do_length): Avoid warning.
8113
538faaa7
UD
8114 * ctype/ctype.h (__isctype_f): Add missing __THROW.
8115
396a21b1
UD
81162011-10-14 Ulrich Drepper <drepper@gmail.com>
8117
cdf2901f
UD
8118 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
8119
38ad40ce
UD
8120 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
8121 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
8122 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
8123 * sysdeps/i386/i686/fpu/e_log.S: New file.
8124 * sysdeps/i386/i686/fpu/e_logf.S: New file.
8125 * sysdeps/i386/i686/fpu/e_logl.S: New file.
8126
396a21b1
UD
8127 * ctype/ctype.h: Add support for inlined isXXX functions when
8128 compiling C++ code.
8129
6b1f68c9
AS
81302011-10-14 Andreas Schwab <schwab@redhat.com>
8131
349290c0
AS
8132 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8133
6b1f68c9
AS
8134 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
8135
f2282d42
RM
81362011-10-13 Roland McGrath <roland@hack.frob.com>
8137
8138 [BZ #13291]
8139 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
8140
5298ffa8
AS
81412011-10-13 Andreas Schwab <schwab@redhat.com>
8142
714fad23
AS
8143 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
8144 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
8145 feraiseexcept.
8146
81dcc7fb
AS
8147 * sysdeps/x86_64/memrchr.S: Check for zero size.
8148
5298ffa8
AS
8149 * string/stratcliff.c: Add memrchr tests.
8150
951fbcec
LD
81512011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8152
8153 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8154 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
8155 rawmemchr-sse2 rawmemchr-sse2-bsf.
8156 * sysdeps/i386/i686/multiarch/memchr.S: New file.
8157 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
8158 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
8159 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
8160 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
8161 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
8162 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
8163 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
8164 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
8165 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
8166 * string/memrchr.c (MEMRCHR): New macro.
8167
0ac5ae23
UD
81682011-10-12 Ulrich Drepper <drepper@gmail.com>
8169
8170 Add integration with gcc's -ffinite-math-only and optimize wrapper
8171 functions in libm.
8172 * Versions.def: Define GLIBC_2.15 version for libm.
8173 * math/Makefile (headers): Add bits/math-finite.h.
8174 * math/bits/math-finite.h: New file.
8175 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
8176 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
8177 * math/e_acoshl.c: Add __*_finite alias.
8178 * math/e_acosl.c: Likewise.
8179 * math/e_asinl.c: Likewise.
8180 * math/e_atan2l.c: Likewise.
8181 * math/e_atanhl.c: Likewise.
8182 * math/e_coshl.c: Likewise.
8183 * math/e_exp10.c: Likewise.
8184 * math/e_exp10f.c: Likewise.
8185 * math/e_exp10l.c: Likewise.
8186 * math/e_exp2l.c: Likewise.
8187 * math/e_fmodl.c: Likewise.
8188 * math/e_gammal_r.c: Likewise.
8189 * math/e_hypotl.c: Likewise.
8190 * math/e_j0l.c: Likewise.
8191 * math/e_j1l.c: Likewise.
8192 * math/e_jnl.c: Likewise.
8193 * math/e_lgammal_r.c: Likewise.
8194 * math/e_log10l.c: Likewise.
8195 * math/e_log2l.c: Likewise.
8196 * math/e_logl.c: Likewise.
8197 * math/e_powl.c: Likewise.
8198 * math/e_sinhl.c: Likewise.
8199 * math/e_sqrtl.c: Likewise.
8200 * math/e_scalb.c: Completely rewritten and optimized.
8201 * math/e_scalbf.c: Likewise.
8202 * math/e_scalbl.c: Likewise.
8203 * math/w_acos.c: Likewise.
8204 * math/w_acosf.c: Likewise.
8205 * math/w_acosl.c: Likewise.
8206 * math/w_acosh.c: Likewise.
8207 * math/w_acoshf.c: Likewise.
8208 * math/w_acoshl.c: Likewise.
8209 * math/w_asin.c: Likewise.
8210 * math/w_asinf.c: Likewise.
8211 * math/w_asinl.c: Likewise.
8212 * math/w_atan2.c: Likewise.
8213 * math/w_atan2f.c: Likewise.
8214 * math/w_atan2l.c: Likewise.
8215 * math/w_atanh.c: Likewise.
8216 * math/w_atanhf.c: Likewise.
8217 * math/w_atanhl.c: Likewise.
8218 * math/w_exp10.c: Likewise.
8219 * math/w_exp10f.c: Likewise.
8220 * math/w_exp10l.c: Likewise.
8221 * math/w_fmod.c: Likewise.
8222 * math/w_fmodf.c: Likewise.
8223 * math/w_fmodl.c: Likewise.
8224 * math/w_j0.c: Likewise.
8225 * math/w_j0f.c: Likewise.
8226 * math/w_j0l.c: Likewise.
8227 * math/w_j1.c: Likewise.
8228 * math/w_j1f.c: Likewise.
8229 * math/w_j1l.c: Likewise.
8230 * math/w_jn.c: Likewise.
8231 * math/w_jnf.c: Likewise.
8232 * math/w_log.c: Likewise.
8233 * math/w_logf.c: Likewise.
8234 * math/w_logl.c: Likewise.
8235 * math/w_log10.c: Likewise.
8236 * math/w_log10f.c: Likewise.
8237 * math/w_log10l.c: Likewise.
8238 * math/w_log2.c: Likewise.
8239 * math/w_log2f.c: Likewise.
8240 * math/w_log2l.c: Likewise.
8241 * math/w_pow.c: Likewise.
8242 * math/w_powf.c: Likewise.
8243 * math/w_powl.c: Likewise.
8244 * math/w_remainder.c: Likewise.
8245 * math/w_remainderf.c: Likewise.
8246 * math/w_remainderl.c: Likewise.
8247 * math/w_scalb.c: Likewise.
8248 * math/w_scalbf.c: Likewise.
8249 * math/w_scalbl.c: Likewise.
8250 * math/w_sqrt.c: Likewise.
8251 * math/w_sqrtf.c: Likewise.
8252 * math/w_sqrtl.c: Likewise.
8253 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
8254 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
8255 used.
8256 * math/math_private.h: Declare __kernel_standard_f.
8257 * math/w_cosh.c: Remove cruft and optimize a bit.
8258 * math/w_coshf.c: Likewise.
8259 * math/w_coshl.c: Likewise.
8260 * math/w_exp2.c: Likewise.
8261 * math/w_exp2f.c: Likewise.
8262 * math/w_exp2l.c: Likewise.
8263 * math/w_hypot.c: Likewise.
8264 * math/w_hypotf.c: Likewise.
8265 * math/w_hypotl.c: Likewise.
8266 * math/w_lgamma.c: Likewise.
8267 * math/w_lgamma_r.c: Likewise.
8268 * math/w_lgammaf.c: Likewise.
8269 * math/w_lgammaf_r.c: Likewise.
8270 * math/w_lgammal.c: Likewise.
8271 * math/w_lgammal_r.c: Likewise.
8272 * math/w_sinh.c: Likewise.
8273 * math/w_sinhf.c: Likewise.
8274 * math/w_sinhl.c: Likewise.
8275 * math/w_tgamma.c: Likewise.
8276 * math/w_tgammaf.c: Likewise.
8277 * math/w_tgammal.c: Likewise.
8278 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8279 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8280 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
8281 Minor optimizations. Pretty printing. Remove cruft.
8282 * sysdeps/i386/fpu/e_acosf.S: Likewise.
8283 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8284 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8285 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8286 * sysdeps/i386/fpu/e_acosl.c: Likewise.
8287 * sysdeps/i386/fpu/e_asin.S: Likewise.
8288 * sysdeps/i386/fpu/e_asinf.S: Likewise.
8289 * sysdeps/i386/fpu/e_atan2.S: Likewise.
8290 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
8291 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
8292 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8293 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8294 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8295 * sysdeps/i386/fpu/e_exp10.S: Likewise.
8296 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
8297 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
8298 * sysdeps/i386/fpu/e_exp2.S: Likewise.
8299 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
8300 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
8301 * sysdeps/i386/fpu/e_fmod.S: Likewise.
8302 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
8303 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
8304 * sysdeps/i386/fpu/e_hypot.S: Likewise.
8305 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
8306 * sysdeps/i386/fpu/e_log.S: Likewise.
8307 * sysdeps/i386/fpu/e_log10.S: Likewise.
8308 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8309 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8310 * sysdeps/i386/fpu/e_log2.S: Likewise.
8311 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8312 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8313 * sysdeps/i386/fpu/e_logf.S: Likewise.
8314 * sysdeps/i386/fpu/e_logl.S: Likewise.
8315 * sysdeps/i386/fpu/e_pow.S: Likewise.
8316 * sysdeps/i386/fpu/e_powf.S: Likewise.
8317 * sysdeps/i386/fpu/e_powl.S: Likewise.
8318 * sysdeps/i386/fpu/e_remainder.S: Likewise.
8319 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
8320 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
8321 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8322 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8323 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8324 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
8325 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
8326 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
8327 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8328 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8329 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8330 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8331 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8332 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8333 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8334 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8335 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8336 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8337 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8338 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8339 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8340 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8341 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8342 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8343 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8344 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8345 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8346 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8347 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8348 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8349 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8350 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8351 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8352 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8353 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8354 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8355 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8356 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8357 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8358 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8359 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8360 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8361 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8362 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8363 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8364 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8365 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8366 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8367 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8368 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8369 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8370 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8371 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8372 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8373 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8374 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8375 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8376 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8377 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8378 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8379 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8380 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8381 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8382 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8383 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8384 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8385 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8386 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8387 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8388 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8389 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8390 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8391 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8392 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8393 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8394 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8395 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8396 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8397 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8398 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8399 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8400 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8401 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8402 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8403 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8404 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8405 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8406 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8407 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8408 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8409 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8410 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8411 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8412 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8413 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8414 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8415 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8416 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8417 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8418 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8419 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8420 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8421 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8422 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8423 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8424 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
8425 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
8426 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
8427 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
8428 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
8429 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
8430 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
8431 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8432 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8433 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8434 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8435 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
8436 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8437 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
8438 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
8439 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
8440 (__isnanf): Likewise.
8441 (__isinf_ns): Likewise.
8442 (__isinf_nsf): Likewise.
8443 (__finite): Likewise.
8444 (__finitef): Likewise.
8445 (__ieee754_sqrt): Define as macro.
8446 (__ieee754_sqrtf): Define as macro.
8447 (__ieee754_sqrtl): Define as macro.
8448 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
8449 inlined copy.
8450 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
8451 __FINITE_MATH_ONLY__ consistent.
8452 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
8453
12cc2fcd
AS
84542011-10-10 Andreas Schwab <schwab@linux-m68k.org>
8455
a843a204
AS
8456 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
8457 of rawmemchr.
8458
12cc2fcd
AS
8459 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
8460
c853acd5
UD
84612011-10-09 Ulrich Drepper <drepper@gmail.com>
8462
8463 * po/ja.po: Update from translation team.
8464
c658d255
RM
84652011-10-08 Roland McGrath <roland@hack.frob.com>
8466
110946e4
RM
8467 * locale/programs/locarchive.c (prepare_address_space): New function.
8468 (create_archive, enlarge_archive, open_archive): Use it.
8469
50604220
RM
8470 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
8471 inside [SHARED], where it is used.
8472
c658d255
RM
8473 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
8474
8475 * nss/getent.c (netgroup_keys): Remove unused variable.
8476 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8477
6a621eb7
UD
84782011-10-08 Ulrich Drepper <drepper@gmail.com>
8479
7edb55ce
UD
8480 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
8481 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
8482 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
8483 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
8484 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
8485 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
8486 * math/Makefile (libm-calls): Add s_isinf_ns.
8487 * math/divtc3.c: Use __isinf_nsl instead of isinf.
8488 * math/multc3.c: Likewise.
8489 * math/s_casin.c: Likewise.
8490 * math/s_casinf.c: Likewise.
8491 * math/s_casinl.c: Likewise.
8492 * math/s_ccos.c: Likewise.
8493 * math/s_ccosf.c: Likewise.
8494 * math/s_ccosl.c: Likewise.
8495 * math/s_ctan.c: Likewise.
8496 * math/s_ctanf.c: Likewise.
8497 * math/s_ctanh.c: Likewise.
8498 * math/s_ctanhf.c: Likewise.
8499 * math/s_ctanhl.c: Likewise.
8500 * math/s_ctanl.c: Likewise.
8501 * math/w_fmod.c: Likewise.
8502 * math/w_fmodf.c: Likewise.
8503 * math/w_fmodl.c: Likewise.
8504 * math/w_remainder.c: Likewise.
8505 * math/w_remainderf.c: Likewise.
8506 * math/w_remainderl.c: Likewise.
8507 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
8508 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
8509 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
8510 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
8511 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
8512 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
8513 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
8514 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
8515
187da0ae
UD
8516 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
8517 of the number.
8518 * stdio-common/printf_fphex.c: Likewise.
8519 * stdio-common/printf_size.c: Likewise.
8520
9277c064
UD
8521 * math/e_exp10.c: Include math_private.h using <...> not "...".
8522 * math/e_exp10f.c: Likewise.
8523 * math/e_exp10l.c: Likewise.
8524 * math/e_exp2l.c: Likewise.
8525 * math/e_j0l.c: Likewise.
8526 * math/e_j1l.c: Likewise.
8527 * math/e_jnl.c: Likewise.
8528 * math/e_lgammal_r.c: Likewise.
8529 * math/e_rem_pio2l.c: Likewise.
8530 * math/e_scalb.c: Likewise.
8531 * math/e_scalbf.c: Likewise.
8532 * math/e_scalbl.c: Likewise.
8533 * math/k_cosl.c: Likewise.
8534 * math/k_sinl.c: Likewise.
8535 * math/k_tanl.c: Likewise.
8536 * math/s_cacoshf.c: Likewise.
8537 * math/s_catan.c: Likewise.
8538 * math/s_catanf.c: Likewise.
8539 * math/s_catanh.c: Likewise.
8540 * math/s_catanhf.c: Likewise.
8541 * math/s_catanhl.c: Likewise.
8542 * math/s_catanl.c: Likewise.
8543 * math/s_ccosh.c: Likewise.
8544 * math/s_ccoshf.c: Likewise.
8545 * math/s_ccoshl.c: Likewise.
8546 * math/s_cexp.c: Likewise.
8547 * math/s_cexpf.c: Likewise.
8548 * math/s_cexpl.c: Likewise.
8549 * math/s_clog.c: Likewise.
8550 * math/s_clog10.c: Likewise.
8551 * math/s_clog10f.c: Likewise.
8552 * math/s_clog10l.c: Likewise.
8553 * math/s_clogf.c: Likewise.
8554 * math/s_clogl.c: Likewise.
8555 * math/s_csin.c: Likewise.
8556 * math/s_csinf.c: Likewise.
8557 * math/s_csinh.c: Likewise.
8558 * math/s_csinhf.c: Likewise.
8559 * math/s_csinhl.c: Likewise.
8560 * math/s_csinl.c: Likewise.
8561 * math/s_csqrt.c: Likewise.
8562 * math/s_csqrtf.c: Likewise.
8563 * math/s_csqrtl.c: Likewise.
8564 * math/s_ctan.c: Likewise.
8565 * math/s_ctanf.c: Likewise.
8566 * math/s_ctanh.c: Likewise.
8567 * math/s_ctanhf.c: Likewise.
8568 * math/s_ctanhl.c: Likewise.
8569 * math/s_ctanl.c: Likewise.
8570 * math/s_ldexp.c: Likewise.
8571 * math/s_ldexpf.c: Likewise.
8572 * math/s_ldexpl.c: Likewise.
8573 * math/s_significand.c: Likewise.
8574 * math/s_significandf.c: Likewise.
8575 * math/s_significandl.c: Likewise.
8576 * math/w_acos.c: Likewise.
8577 * math/w_acosf.c: Likewise.
8578 * math/w_acosh.c: Likewise.
8579 * math/w_acoshf.c: Likewise.
8580 * math/w_acoshl.c: Likewise.
8581 * math/w_acosl.c: Likewise.
8582 * math/w_asin.c: Likewise.
8583 * math/w_asinf.c: Likewise.
8584 * math/w_asinl.c: Likewise.
8585 * math/w_atan2.c: Likewise.
8586 * math/w_atan2f.c: Likewise.
8587 * math/w_atan2l.c: Likewise.
8588 * math/w_atanh.c: Likewise.
8589 * math/w_atanhf.c: Likewise.
8590 * math/w_atanhl.c: Likewise.
8591 * math/w_cosh.c: Likewise.
8592 * math/w_coshf.c: Likewise.
8593 * math/w_coshl.c: Likewise.
8594 * math/w_dremf.c: Likewise.
8595 * math/w_exp10.c: Likewise.
8596 * math/w_exp10f.c: Likewise.
8597 * math/w_exp10l.c: Likewise.
8598 * math/w_exp2.c: Likewise.
8599 * math/w_exp2f.c: Likewise.
8600 * math/w_fmod.c: Likewise.
8601 * math/w_fmodf.c: Likewise.
8602 * math/w_fmodl.c: Likewise.
8603 * math/w_hypot.c: Likewise.
8604 * math/w_hypotf.c: Likewise.
8605 * math/w_hypotl.c: Likewise.
8606 * math/w_j0.c: Likewise.
8607 * math/w_j0f.c: Likewise.
8608 * math/w_j0l.c: Likewise.
8609 * math/w_j1.c: Likewise.
8610 * math/w_j1f.c: Likewise.
8611 * math/w_j1l.c: Likewise.
8612 * math/w_jn.c: Likewise.
8613 * math/w_jnf.c: Likewise.
8614 * math/w_jnl.c: Likewise.
8615 * math/w_lgamma.c: Likewise.
8616 * math/w_lgamma_r.c: Likewise.
8617 * math/w_lgammaf.c: Likewise.
8618 * math/w_lgammaf_r.c: Likewise.
8619 * math/w_lgammal.c: Likewise.
8620 * math/w_lgammal_r.c: Likewise.
8621 * math/w_log.c: Likewise.
8622 * math/w_log10.c: Likewise.
8623 * math/w_log10f.c: Likewise.
8624 * math/w_log10l.c: Likewise.
8625 * math/w_log2.c: Likewise.
8626 * math/w_log2f.c: Likewise.
8627 * math/w_log2l.c: Likewise.
8628 * math/w_logf.c: Likewise.
8629 * math/w_logl.c: Likewise.
8630 * math/w_pow.c: Likewise.
8631 * math/w_powf.c: Likewise.
8632 * math/w_powl.c: Likewise.
8633 * math/w_remainder.c: Likewise.
8634 * math/w_remainderf.c: Likewise.
8635 * math/w_remainderl.c: Likewise.
8636 * math/w_scalb.c: Likewise.
8637 * math/w_scalbf.c: Likewise.
8638 * math/w_scalbl.c: Likewise.
8639 * math/w_sinh.c: Likewise.
8640 * math/w_sinhf.c: Likewise.
8641 * math/w_sinhl.c: Likewise.
8642 * math/w_sqrt.c: Likewise.
8643 * math/w_sqrtf.c: Likewise.
8644 * math/w_sqrtl.c: Likewise.
8645 * math/w_tgamma.c: Likewise.
8646 * math/w_tgammaf.c: Likewise.
8647 * math/w_tgammal.c: Likewise.
8648
6a621eb7
UD
8649 * po/ja.po: Update from translation team.
8650
bf582445
AJ
86512011-09-29 Andreas Jaeger <aj@suse.de>
8652
f9efbf3a
AJ
8653 [BZ #13179]
8654 * sunrpc/netname.c (netname2host): Fix logic.
8655
bf582445
AJ
8656 [BZ #6779]
8657 [BZ #6783]
8658 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
8659 correctly.
8660 * math/w_remainder.c (__remainder): Likewise.
8661 * math/w_remainderf.c (__remainderf): Likewise.
8662 * math/libm-test.inc (remainder_test): Add test cases.
8663
48693bea
AK
86642011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8665
8666 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
8667 sdiv_qrnnd.
8668
42622229
LD
86692011-10-07 Ulrich Drepper <drepper@gmail.com>
8670
8671 * string/test-memcmp.c: Avoid unncessary #defines.
8672 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8673
093ecf92
LD
86742011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8675
8676 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
8677 Use new sse2 version for core i3 - i7 as it's faster
8678 than sse42 version.
8679 (bit_Prefer_PMINUB_for_stringop): New.
8680 * sysdeps/x86_64/rawmemchr.S: Update.
8681 Replace with faster SSE2 version.
8682 * sysdeps/x86_64/memrchr.S: New file.
8683 * sysdeps/x86_64/memchr.S: Update.
8684 Replace with faster SSE2 version.
8685
fde56e5c
MP
86862011-09-12 Marek Polacek <mpolacek@redhat.com>
8687
8688 * elf/dl-load.c (lose): Add cast to avoid warning.
8689
21fd49a9
UD
86902011-10-07 Ulrich Drepper <drepper@gmail.com>
8691
5a06e643
UD
8692 * po/ca.po: Update from translation team.
8693
684ae515
UD
8694 * inet/getnetgrent_r.c: Hook up nscd.
8695 * nscd/Makefile (routines): Add nscd_netgroup.
8696 (nscd-modules): Add netgroupcache.
8697 (CFLAGS-netgroupcache.c): Define.
8698 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
8699 (cache_search): Add const to second parameter.
8700 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
8701 INNETGR.
8702 (dbs): Add netgrdb entry.
8703 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
8704 (verify_persistent_db): Handle netgrdb.
8705 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
8706 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
8707 GETFDNETGR.
8708 (netgroup_response_header): Define.
8709 (innetgroup_response_header): Define.
8710 (datahead): Add netgroup_response_header and innetgroup_response_header
8711 elements.
8712 * nscd/nscd.conf: Add entries for netgroup cache.
8713 * nscd/nscd.h (dbtype): Add netgrdb.
8714 (_PATH_NSCD_NETGROUP_DB): Define.
8715 (netgroup_iov_disabled): Declare.
8716 (xmalloc, xcalloc, xrealloc): Move declarations here.
8717 (cache_search): Adjust prototype.
8718 Add netgroup-related prototypes.
8719 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
8720 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
8721 (__nscd_innetgr): Declare.
8722 * nscd/selinux.c (perms): Use access_vector_t as element type and
8723 add netgroup-related initializers.
8724 * nscd/netgroupcache.c: New file.
8725 * nscd/nscd_netgroup.c: New file.
8726 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
8727 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
8728 For four parameters use innetgr.
8729 * nss/nss_files/files-init.c: Add definition and callback for netgr.
8730 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
8731 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
8732 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
8733
21fd49a9
UD
8734 * nscd/connections.c (register_traced_file): Don't register file
8735 for disabled databases.
8736
054c0457
UD
87372011-10-06 Ulrich Drepper <drepper@gmail.com>
8738
32b63198
UD
8739 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
8740
054c0457
UD
8741 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
8742 from tree and freeing node.
8743
64031225
JO
87442011-09-25 Jiri Olsa <jolsa@redhat.com>
8745
8746 * nss/nsswitch.c (__nss_database_lookup): Handle
8747 nss_parse_service_list out of memory case.
8748
0490345c
JO
87492011-09-15 Jiri Olsa <jolsa@redhat.com>
8750
8751 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
8752 out of memory case.
8753
3a62d00d
AS
87542011-10-04 Andreas Schwab <schwab@redhat.com>
8755
8756 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
8757 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
8758 pass it down.
8759 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
8760 elf_machine_rela, elf_machine_lazy_rel.
8761 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
8762 (ELF_DYNAMIC_DO_REL): Likewise.
8763 (ELF_DYNAMIC_DO_RELA): Likewise.
8764 (ELF_DYNAMIC_RELOCATE): Likewise.
8765 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
8766 to ELF_DYNAMIC_DO_REL.
8767 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
8768 (dl_main): In trace mode always set __RTLD_NOIFUNC.
8769 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
8770 elf_machine_rela.
8771 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
8772 skip_ifunc, don't call ifunc function if non-zero.
8773 (elf_machine_rela): Likewise.
8774 (elf_machine_lazy_rel): Likewise.
8775 (elf_machine_lazy_rela): Likewise.
8776 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
8777 (elf_machine_lazy_rel): Likewise.
8778 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
8779 Likewise.
8780 (elf_machine_lazy_rel): Likewise.
8781 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8782 Likewise.
8783 (elf_machine_lazy_rel): Likewise.
8784 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
8785 (elf_machine_lazy_rel): Likewise.
8786 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
8787 (elf_machine_lazy_rel): Likewise.
8788 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8789 (elf_machine_lazy_rel): Likewise.
8790 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
8791 (elf_machine_lazy_rel): Likewise.
8792 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
8793 (elf_machine_lazy_rel): Likewise.
8794 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8795 (elf_machine_lazy_rel): Likewise.
8796
68577918
UD
87972011-09-28 Ulrich Drepper <drepper@gmail.com>
8798
8799 * nss/nss_files/files-init.c (_nss_files_init): Use static
8800 initialization for all the *_traced_file variables.
8801
68822d74
AS
88022011-09-28 Andreas Schwab <schwab@redhat.com>
8803
8804 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8805
2056100b
RM
88062011-09-27 Roland McGrath <roland@hack.frob.com>
8807
8808 [BZ #13226]
8809 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
8810
32c76b63
AS
88112011-09-27 Andreas Schwab <schwab@redhat.com>
8812
8813 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8814 Reread the line before reparsing it.
8815
bf972c9d
AS
88162011-09-26 Andreas Schwab <schwab@redhat.com>
8817
8818 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
8819
e057a1b5
JM
88202011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
8821 Maxim Kuvyrkov <maxim@codesourcery.com>
8822 Joseph Myers <joseph@codesourcery.com>
8823
8824 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
8825 if needed for __stack_chk_guard.
8826
bc7e1c36
RM
88272011-09-19 Roland McGrath <roland@hack.frob.com>
8828
ecb1482f
RM
8829 * sysdeps/posix/spawni.c (script_execute): Always define it.
8830 It will be optimized away if unused.
8831 (maybe_script_execute): New function.
8832 (__spawni): Call it.
8833
bc7e1c36
RM
8834 * Makerules: Don't include tls.make.
8835 (config-tls): Always set to thread.
8836 * tls.make.c: File removed.
8837
1c3b002b
MF
88382011-09-19 Mike Frysinger <vapier@gentoo.org>
8839
8840 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
8841 * config.make.in (CPPFLAGS-config): New substituted variable.
8842
2840865d
UD
88432011-09-15 Ulrich Drepper <drepper@gmail.com>
8844
88738eb6
UD
8845 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
8846
cbf645a6 8847 [BZ #13192]
2840865d
UD
8848 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
8849 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
8850
b402e91a
RM
88512011-09-15 Roland McGrath <roland@hack.frob.com>
8852
8853 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
8854 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
8855 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
8856 (CALL_FAIL): Likewise.
8857 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
8858 (CALL_FAIL): Macro removed.
8859 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
8860
4c1a1f71
UD
88612011-09-15 Ulrich Drepper <drepper@gmail.com>
8862
8863 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
8864 for __FINITE_MATH_ONLY__ == 1.
8865
edc121be
AS
88662011-09-15 Andreas Schwab <schwab@redhat.com>
8867
8868 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
8869 __ieee754_sqrt instead of sqrt.
8870 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
8871 __ieee754_sqrtf instead of sqrtf.
8872 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
8873 __floorf instead of floorf.
8874 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
8875 __floorf, __truncf instead of floorf, truncf.
8876
cd205654
UD
88772011-09-14 Ulrich Drepper <drepper@gmail.com>
8878
ee4d0315
UD
8879 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
8880
cd205654
UD
8881 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
8882 __extern_always_inline.
8883 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
8884 32-bit.
8885
48b67d71
AS
88862011-09-14 Andreas Schwab <schwab@redhat.com>
8887
8888 * elf/rtld.c (dl_main): Also relocate in dependency order when
8889 doing symbol dependency testing.
8890
1ae12c75
AS
88912011-09-13 Andreas Schwab <schwab@linux-m68k.org>
8892
8893 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8894 Always define `refsym'.
8895
995a80df
AS
88962011-09-13 Andreas Schwab <schwab@redhat.com>
8897
e529793b
AS
8898 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
8899 (__FD_ELT): Renamed from __FDELT.
8900 * misc/bits/select2.h (__FD_ELT): Likewise.
8901 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
8902 __FD_MASK instead of __FDELT, __FDMASK.
8903 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8904 Likewise.
8905 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8906 Likewise.
8907
52d4fef8
AS
8908 * elf/Makefile (gen-ldd): Fix pattern.
8909
995a80df
AS
8910 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
8911 (init_tls): Likewise.
8912
8682f8b0
UD
89132011-09-12 Ulrich Drepper <drepper@gmail.com>
8914
8915 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
8916
de82006d
AS
89172011-09-12 Andreas Schwab <schwab@redhat.com>
8918
a7c8e6a1
AS
8919 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
8920 `struct cmsghdr *' instead of `void *'.
8921 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
8922 Likewise.
8923
0f31fe77
AS
89242011-09-11 Andreas Schwab <schwab@linux-m68k.org>
8925
8926 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
8927 if non-absolute.
8928 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
8929 ldd_rewrite_script.
0f31fe77 8930
32b4c839
UD
89312011-09-11 Ulrich Drepper <drepper@gmail.com>
8932
83cd1420
UD
8933 * configure.in: Remove --with-tls option.
8934 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
8935 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
8936 out in case it is missing.
8937 * sysdeps/ia64/elf/configure.in: Likewise.
8938 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
8939 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
8940 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
8941 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
8942 * sysdeps/sh/elf/configure.in: Likewise.
8943 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
8944 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8945 * sysdeps/x86_64/elf/configure.in: Likewise.
8946 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
8947 * sysdeps/mach/hurd/tls.h: Likewise.
8948
633f745d
UD
8949 [BZ #13067]
8950 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
8951
f318beb8
UD
8952 [BZ #13090]
8953 * configure.in: Fix use of AC_INIT.
8954
32b4c839
UD
8955 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
8956
3ce1f295
UD
89572011-09-10 Ulrich Drepper <drepper@gmail.com>
8958
bb016596
UD
8959 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
8960 __set_errno.
8e58439c
UD
8961 * malloc/hooks.c: Likewise.
8962
aebae053 8963 [BZ #11929]
02d46fc4
UD
8964 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
8965 variables statically.
8966 (narenas): Initialize.
8967 (list_lock): Initialize.
bb016596
UD
8968 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
8969 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
8970 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
8971 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
8972 Add initializers to main_arena and mp_.
8973 (malloc_state): Remove pagesize member. Change all users to use
8974 GLRO(dl_pagesize).
8975
8976 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
8977 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
8978 is always initialized.
8979
22a89187
UD
8980 * malloc/malloc.c: Removed unused configurations and dead code.
8981 * malloc/arena.c: Likewise.
8982 * malloc/hooks.c: Likewise.
02d46fc4 8983 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 8984
d063d164
UD
8985 * include/tls.h: Removed. USE___THREAD must always be defined.
8986 * bits/libc-tsd.h: Don't handle !USE___THREAD.
8987 * elf/dl-libc.c: Likewise.
8988 * elf/dl-tsd.c: Likewise.
8989 * include/errno.h: Likewise.
8990 * include/netdb.h: Likewise.
8991 * include/resolv.h: Likewise.
8992 * inet/herrno-loc.c: Likewise.
8993 * inet/herrno.c: Likewise.
8994 * malloc/arena.c: Likewise.
8995 * malloc/hooks.c: Likewise.
8996 * malloc/malloc.c: Likewise.
8997 * resolv/res-state.c: Likewise.
8998 * resolv/res_libc.c: Likewise.
8999 * sysdeps/i386/dl-machine.h: Likewise.
9000 * sysdeps/ia64/dl-machine.h: Likewise.
9001 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9002 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9003 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9004 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9005 * sysdeps/sh/dl-machine.h: Likewise.
9006 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9007 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9008 * sysdeps/unix/i386/sysdep.S: Likewise.
9009 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9010 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9011 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9012 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9013 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9014 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9015 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9016 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9017 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9018 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9019 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9020 * sysdeps/x86_64/dl-machine.h: Likewise.
9021 * tls.make.c: Likewise.
9022
3ce1f295
UD
9023 * configure.in: Remove --with-__thread option. Make tests for
9024 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
9025 tls_model attribute fail if no support is available. Remove
9026 USE_IN_LIBIO.
9027 * Makeconfig: Adjust for dropped configure option. All features are
9028 now mandatory.
9029 * Makerules: Likewise.
9030 * Versions.def: Likewise.
9031 * argp/argp-fmtstream.c: Likewise.
9032 * argp/argp-fmtstream.h: Likewise.
9033 * argp/argp-help.c: Likewise.
9034 * assert/assert.c: Likewise.
9035 * config.h.in: Likewise.
9036 * config.make.in: Likewise.
9037 * configure: Likewise.
9038 * configure.in: Likewise.
9039 * csu/Versions: Likewise.
9040 * csu/init.c: Likewise.
9041 * elf/tst-audit2.c: Likewise.
9042 * elf/tst-tls10.c: Likewise.
9043 * elf/tst-tls10.h: Likewise.
9044 * elf/tst-tls11.c: Likewise.
9045 * elf/tst-tls12.c: Likewise.
9046 * elf/tst-tls14.c: Likewise.
9047 * elf/tst-tlsmod11.c: Likewise.
9048 * elf/tst-tlsmod12.c: Likewise.
9049 * elf/tst-tlsmod13.c: Likewise.
9050 * elf/tst-tlsmod13a.c: Likewise.
9051 * elf/tst-tlsmod14a.c: Likewise.
9052 * elf/tst-tlsmod15b.c: Likewise.
9053 * elf/tst-tlsmod16a.c: Likewise.
9054 * elf/tst-tlsmod16b.c: Likewise.
9055 * elf/tst-tlsmod7.c: Likewise.
9056 * elf/tst-tlsmod8.c: Likewise.
9057 * elf/tst-tlsmod9.c: Likewise.
9058 * gmon/gmon.c: Likewise.
9059 * grp/fgetgrent_r.c: Likewise.
9060 * grp/putgrent.c: Likewise.
9061 * hurd/fopenport.c: Likewise.
9062 * include/libc-symbols.h: Likewise.
9063 * include/tls.h: Likewise.
9064 * intl/gettextP.h: Likewise.
9065 * intl/loadinfo.h: Likewise.
9066 * locale/global-locale.c: Likewise.
9067 * locale/localeinfo.h: Likewise.
9068 * mach/devstream.c: Likewise.
9069 * malloc/arena.c: Likewise.
9070 * malloc/set-freeres.c: Likewise.
9071 * misc/err.c: Likewise.
9072 * misc/getttyent.c: Likewise.
9073 * misc/mntent_r.c: Likewise.
9074 * posix/getopt.c: Likewise.
9075 * posix/wordexp.c: Likewise.
9076 * pwd/fgetpwent_r.c: Likewise.
9077 * resolv/Versions: Likewise.
9078 * resolv/res_hconf.c: Likewise.
9079 * shadow/fgetspent_r.c: Likewise.
9080 * shadow/putspent.c: Likewise.
9081 * stdio-common/printf_fphex.c: Likewise.
9082 * stdio-common/tmpfile.c: Likewise.
9083 * stdlib/abort.c: Likewise.
9084 * stdlib/fmtmsg.c: Likewise.
9085 * sunrpc/auth_unix.c: Likewise.
9086 * sunrpc/clnt_perr.c: Likewise.
9087 * sunrpc/clnt_tcp.c: Likewise.
9088 * sunrpc/clnt_udp.c: Likewise.
9089 * sunrpc/clnt_unix.c: Likewise.
9090 * sunrpc/openchild.c: Likewise.
9091 * sunrpc/svc_simple.c: Likewise.
9092 * sunrpc/svc_tcp.c: Likewise.
9093 * sunrpc/svc_udp.c: Likewise.
9094 * sunrpc/svc_unix.c: Likewise.
9095 * sunrpc/xdr.c: Likewise.
9096 * sunrpc/xdr_array.c: Likewise.
9097 * sunrpc/xdr_rec.c: Likewise.
9098 * sunrpc/xdr_ref.c: Likewise.
9099 * sunrpc/xdr_stdio.c: Likewise.
9100
1248c1c4
PB
91012011-09-09 Ulrich Drepper <drepper@gmail.com>
9102
9103 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9104
91052011-07-03 Andreas Jaeger <aj@suse.de>
9106
9107 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
9108 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
9109 regenerate with gen-libm-tests.pl.
9110
91112010-05-12 Petr Baudis <pasky@suse.cz>
9112
9113 [BZ #11589]
9114 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
9115 around j0() zero points by switching to j1().
9116 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9117 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9118 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9119 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9120
f22e1074
UD
91212011-09-09 Ulrich Drepper <drepper@gmail.com>
9122
f19009c1
UD
9123 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
9124 instead of 0.
9125 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
9126 instead of 0. .
9127 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9128 Patch in part by Pavel Roskin <proski@gnu.org>.
9129
3f8cc204
UD
9130 [BZ #13138]
9131 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
9132 realloc.
9133 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
9134 Free memory block if necessary.
9135
f22e1074
UD
9136 [BZ #12847]
9137 * libio/genops.c (INTDEF): For string streams the _lock pointer can
9138 be NULL. Don't lock in this case.
9139
0a2349f9
RM
91402011-09-09 Roland McGrath <roland@hack.frob.com>
9141
9142 * elf/elf.h (ELFOSABI_GNU): New macro.
9143 (ELFOSABI_LINUX): Define to that.
9144
f3cdd467
DZ
91452011-07-29 Denis Zaitceff <zaitceff@gmail.com>
9146
9147 * string/strncat.c (strncat): Undef the symbol in case it has been
9148 defined in bits/string.h.
9149
74718d13
UD
91502011-09-09 Ulrich Drepper <drepper@gmail.com>
9151
633e9e0f
UD
9152 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
9153
0a2349f9 9154 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
9155 link map.
9156
f9924780
AJ
91572011-08-17 Andreas Jaeger <aj@suse.de>
9158
9159 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
9160
7f5517aa
PP
91612011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9162 Ian Lance Taylor <iant@google.com>
9163
9164 * math/libm-test.inc (lround_test): New testcase.
9165 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
9166
762011fe
UD
91672011-09-08 Ulrich Drepper <drepper@gmail.com>
9168
92963737
UD
9169 * Makefile: Remove support for automatic cvs check-ins.
9170 * Makerules: Likewise.
9171 * config.make.in: Likewise.
9172 * configure.in: Likewise.
9173 * intl/Makefile: Likewise.
9174 * locale/Makefile: Likewise.
9175 * po/Makefile: Likewise.
9176 * posix/Makefile: Likewise.
9177 * sysdeps/gnu/Makefile: Likewise.
9178 * sysdeps/mach/hurd/Makefile: Likewise.
9179 * sysdeps/sparc/sparc32/Makefile: Likewise.
9180
b0727fd8
JS
9181 [BZ #13118]
9182 * posix/Makefile (bug-regex32-ENV): Define.
9183 Patch by John Stanley <jpsinthemix@verizon.net>.
9184
a0f33f99
UD
9185 * misc/Makefile (headers): Add bits/select2.h.
9186 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
9187 * misc/bits/select2.h: New file.
9188 * include/bits/select2.h: New file.
9189 * debug/Makefile (routines): Add fdelt_chk.
9190 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
9191 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
9192 FD_ISSET.
9193 * debug/fdelt_chk.c: New file.
9194
762011fe
UD
9195 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
9196 * wcsmbs/test-wmemcmp.c: Likewise.
9197 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 9198 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
9199
92002011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9201
9202 * string/Makefile (strop-tests): Add memcmp.
9203 * string/test-wmemcmp.c: New file.
9204 * string/test-memcmp.c: Add wmemcmp support.
9205
7f513ec8
RM
92062011-09-08 Roland McGrath <roland@hack.frob.com>
9207
0442afb4
RM
9208 [BZ #13153]
9209 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
9210 2011-07-19 change.
9211
7f513ec8
RM
9212 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
9213 garbage value in a __mach_port_mod_refs call in the cases of the
9214 task-self and thread-self ports.
9215
a12b2239
ST
92162011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
9217
9218 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
9219
610f9ab4
AS
92202011-09-08 Andreas Schwab <schwab@redhat.com>
9221
7f513ec8 9222 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 9223
48882a1a
LD
92242011-09-07 Ulrich Drepper <drepper@gmail.com>
9225
b49865be
UD
9226 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
9227
fdc86bc9
UD
9228 * elf/dl-libc.c (dlerror_run): Pass back error code from
9229 dl_catch_error.
9230
c966526a
UD
9231 [BZ #13123]
9232 * elf/dl-load.c (lose): Free l_origin if it is valid.
9233
48882a1a
LD
9234 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
9235 names.
9236 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9237 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9238 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9239 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9240 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9241 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
9242
77a2a8b4
AZ
92432011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9244
9245 * sysdeps/powerpc/fpu/e_hypot.c: New file.
9246 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
9247 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
9248 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
9249 * sysdeps/powerpc/fpu/k_cosf.c: New file.
9250 * sysdeps/powerpc/fpu/k_sinf.c: New file.
9251 * sysdeps/powerpc/fpu/s_cosf.c: New file.
9252 * sysdeps/powerpc/fpu/s_sinf.c: New file.
9253 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
9254 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
9255
24f579d8
AM
92562011-08-15 Alan Modra <amodra@gmail.com>
9257
9258 [BZ #13092]
9259 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
9260 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
9261 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
9262 ppc_mcount to static-only-routines.
9263 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
9264 __mcount_internal.
9265 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
9266 __mcount_internal with usual JUMPTARGET. Remove useless nop.
9267
3d4837df
UD
92682011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
9269
9270 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
9271 for finite and infinity parameters.
9272
22700377
WS
92732011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9274
9275 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
9276 and add nop instructions for throughput optimization.
9277 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9278
5025581e
WS
92792011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
9280
9281 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
9282 aligned copy for power7 with vector-scalar instructions.
9283 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9284
08a300c9
L
92852011-07-24 H.J. Lu <hongjiu.lu@intel.com>
9286
9287 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
9288 AVX check.
9289
59178ef9
AS
92902011-09-07 Andreas Schwab <schwab@redhat.com>
9291
9292 [BZ #13144]
9293 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
9294 last change.
9295
e38ba7ab
UD
92962011-09-07 Ulrich Drepper <drepper@gmail.com>
9297
9298 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9299 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
9300 syscall wrapper around clock_gettime in __vdso_clock_gettime.
9301 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
9302 clock_gettime.
9303
d53a73ac
UD
93042011-09-06 Ulrich Drepper <drepper@gmail.com>
9305
fc8bffcc
UD
9306 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
9307 Forgot to demangle the pointer.
9308
ceaa0c5d
UD
9309 * sysdeps/i386/sysdep.h: Define atom_text_section.
9310 * sysdeps/x86_64/sysdep.h: Likewise.
9311 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
9312 section with atom_text_section.
9313 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9314 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9315 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9316 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9317 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
9318
a77d3c17
UD
9319 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
9320 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
9321 already be defined. Change to take two parameters and don't assign
9322 result to variable. Adjust all users.
9323 Define INTERNAL_GETTIME if not already defined.
9324 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
9325 call.
9326 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
9327 HAVE_CLOCK_GETTIME_VSYSCALL.
9328 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
9329
d53a73ac
UD
9330 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
9331 gettimeofday vsyscall, just use time.
9332
a8f84144
AS
93332011-09-06 Andreas Schwab <schwab@redhat.com>
9334
9335 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
9336 <errno.h>.
9337
ef606249
UD
93382011-09-06 Ulrich Drepper <drepper@gmail.com>
9339
9340 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
9341 syscall on x86-64.
9342 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
9343 syscall.
9344 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
9345 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
9346 syscall if possible.
9347
6585cb60
UD
93482011-09-05 Ulrich Drepper <drepper@gmail.com>
9349
9350 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
9351 e_ident. Don't pass to find_mapsXX.
9352 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
9353
a5f524e4
LD
93542011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9355
9356 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9357 strchr-sse2-no-bsf strrchr-sse2-no-bsf
9358 * sysdeps/x86_64/multiarch/strchr.S: Update.
9359 Check bit_slow_BSF bit.
9360 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9361 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
9362 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
9363
554881ef
UD
93642011-09-05 Ulrich Drepper <drepper@gmail.com>
9365
d96de963
UD
9366 [BZ #13134]
9367 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
9368 before glibc 2.15.
9369 (tryshell): Define.
9370 (__spawni): Change last parameter to be flag. Test
9371 SPAWN_XFLAGS_USE_PATH flag to use path or not.
9372 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
9373 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
9374 * posix/spawni.c: Likewise.
9375 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
9376 * posix/spawnp.c: Likewise. Change normal version to use
9377 SPAWN_XFLAGS_USE_PATH.
9378 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
9379 SPAWN_XFLAGS_TRY_SHELL.
9380
d48e5868
UD
9381 [BZ #13150]
9382 * posix/glob.h: Remove gcc 1.x support.
9383
554881ef
UD
9384 [BZ #13068]
9385 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
9386
693fb948
LD
93872011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9388
9389 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9390 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
9391 strrchr-sse2-bsf
9392 * sysdeps/i386/i686/multiarch/strchr.S: New file.
9393 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
9394 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
9395 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
9396 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
9397 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
9398
1b48c537
UD
93992011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9400
49d42c37
UD
9401 * sysdeps/x86_64/wcscmp.S: New file.
9402
1b48c537
UD
9403 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
9404 wcscmp-c wcscmp-sse2
9405 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
9406 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
9407 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
9408 * wcsmbs/wcscmp.c: Allow renaming.
9409
15c95c5d
DM
94102011-09-05 David S. Miller <davem@davemloft.net>
9411
9412 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
9413 stack slot, rather than the struct return pointer slot.
9414 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
9415 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
9416 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
9417 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
9418
2f0ad8f3
UD
94192011-09-05 Ulrich Drepper <drepper@gmail.com>
9420
d88ae418
UD
9421 * po/ja.po: Update from translation team.
9422
2f0ad8f3
UD
9423 [BZ #13144]
9424 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
9425 kernel in 64-bit binaries.
9426
5f4318d1
DM
94272011-09-01 David S. Miller <davem@davemloft.net>
9428
9429 * elf/elf.h (HWCAP_SPARC_*): Move to..
9430 * sysdeps/sparc/sysdep.h: this new file and add new values.
9431 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
9432 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
9433 _DL_HWCAP_COUNT to 24.
9434 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9435 entries.
9436 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
9437 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
9438 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
9439 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
9440 instead of magic constants.
9441 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9442
3ba57516
DM
94432011-08-31 David S. Miller <davem@davemloft.net>
9444
9445 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
9446 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
9447 Reimplement to do errno handling inline.
9448 (SYSCALL_ERROR_HANDLER): New macro.
9449 (__SYSCALL_STRING): Do not do errno handling in asm.
9450 (__CLONE_SYSCALL_STRING): Delete.
9451 (__INTERNAL_SYSCALL_STRING): Delete.
9452 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
9453 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
9454 (PSEUDO): Reimplement to do errno handling inline.
9455 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
9456 (SYSCALL_ERROR_HANDLER): New macro.
9457 (__SYSCALL_STRING): Do not do errno handling in asm.
9458 (__CLONE_SYSCALL_STRING): Delete.
9459 (__INTERNAL_SYSCALL_STRING): Delete.
9460 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
9461 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
9462 i386.
9463 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
9464 (inline_syscall*): Add 'err' argument.
9465 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
9466 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
9467 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
9468 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
9469
9470 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
9471 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9472
2bc17433
AS
94732011-08-30 Andreas Schwab <schwab@redhat.com>
9474
9475 * elf/rtld.c (dl_main): Relocate objects in dependency order.
9476
fbeb5f4d
JO
94772011-08-29 Jiri Olsa <jolsa@redhat.com>
9478
9479 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
9480 directive.
9481
ad69cc26
DM
94822011-08-24 David S. Miller <davem@davemloft.net>
9483
9484 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
9485
39dd69df
AS
94862011-08-24 Andreas Schwab <schwab@redhat.com>
9487
9488 * elf/Makefile: Add rules to build and run unload8 test.
9489 * elf/unload8.c: New file.
9490 * elf/unload8mod1.c: New file.
9491 * elf/unload8mod1x.c: New file.
9492 * elf/unload8mod2.c: New file.
9493 * elf/unload8mod3.c: New file.
9494
9495 * elf/dl-close.c (_dl_close_worker): Reset private search list if
9496 it wasn't used.
9497
2c0b250a
DM
94982011-08-23 David S. Miller <davem@davemloft.net>
9499
9500 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
9501 subtract stack bias.
9502 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
9503 %sp not %fp in calculations.
9504 (_JMPBUF_UNWINDS_ADJ): Likewise.
9505
22044b48
DM
9506 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
9507 (aio_suspend): Call it to force an exception region around the
9508 AIO_MISC_WAIT() invocation.
9509
2cae4995
AS
95102011-08-23 Andreas Schwab <schwab@redhat.com>
9511
9512 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
9513 backslash.
9514
873a772e
AJ
95152011-07-04 Aurelien Jarno <aurelien@aurel32.net>
9516
9517 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
9518 protection macro.
9519 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
9520 and <dl-machine.h>.
9521 (Elf64_FuncDesc): Remove.
9522
25ad0df1
DM
95232011-08-22 David S. Miller <davem@davemloft.net>
9524
9525 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
9526 sigaltstack check, add missing cfi directives.
9527 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
9528 missing cfi directives, and sigaltstack handling.
9529
e888bcbe
AS
95302011-08-16 Andreas Schwab <schwab@redhat.com>
9531
9532 [BZ #11724]
9533 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
9534 object is seen twice.
9535 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9536
9537 * elf/Makefile (distribute): Add tst-initorder2.c.
9538 (tests): Add tst-initorder2.
9539 (modules-names): Add tst-initorder2a tst-initorder2b
9540 tst-initorder2c tst-initorder2d. Add rules to build them.
9541 ($(objpfx)tst-initorder2.out): New rule.
9542 * elf/tst-initorder2.c: New file.
9543 * elf/tst-initorder2.exp: New file.
9544
87162f46
AS
95452011-08-22 Andreas Schwab <schwab@redhat.com>
9546
70538b7f
AS
9547 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
9548
f55ffe58
AS
9549 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
9550 dependencies back to end of function.
9551
87162f46
AS
9552 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
9553 $(elfobjdir)/ld.so.
9554
91b392a4
UD
95552011-08-21 Ulrich Drepper <drepper@gmail.com>
9556
9557 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
9558 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
9559 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
9560 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
9561 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
9562 of __vdso_gettimeofday.
9563 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
9564 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
9565 attribute_hidden.
9566 (_libc_vdso_platform_setup): Remove initialization of
9567 __vdso_gettimeofday and __vdso_time.
9568
5c43483f
UD
95692011-08-20 Ulrich Drepper <drepper@gmail.com>
9570
775a77e7
UD
9571 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
9572 and fgetc_unlocked.
9573 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
9574 getc_unlocked.
89f447ed 9575
49c74ba9
UD
9576 * elf/dl-open.c (add_to_global): Report additions to the global scope
9577 for LD_DEBUG=scopes.
9578 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 9579 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 9580
5c43483f
UD
9581 [BZ #13114]
9582 * stdio-common/Makefile (tests): Add bug24.
9583 * stdio-common/bug24.c: New file.
9584
a101b025
AJ
95852011-08-19 Andreas Jaeger <aj@suse.de>
9586
9587 [BZ #13114]
9588 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
9589 non-existant file when using close-on-exec mode.
9590
c88f1766
UD
95912011-08-20 Ulrich Drepper <drepper@gmail.com>
9592
0276a718
UD
9593 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
9594 the very first instruction.
9595
c88f1766
UD
9596 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
9597 the CFI state in the end.
9598 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
9599 inclusion of dl-trampoline.h.
9600 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
9601
51ccffa0
AS
96022011-08-19 Andreas Schwab <schwab@redhat.com>
9603
94d7165f
AS
9604 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
9605 expectations for long double.
9606
51ccffa0
AS
9607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
9608 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
9609
fd708658 96102011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
9611
9612 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
9613 artificual limit depends upon the system page size.
9614
44f0a71e
UD
96152011-08-17 Ulrich Drepper <drepper@gmail.com>
9616
9617 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
9618 * resolv/Makefile: Define CFLAGS-libresolv.
9619
8de79a24
AS
96202011-08-17 Andreas Schwab <schwab@redhat.com>
9621
9622 * nss/makedb.c (compute_tables): Make variables used in nested
9623 function static.
9624
27724598
UD
96252011-08-17 Ulrich Drepper <drepper@gmail.com>
9626
c5305d88
UD
9627 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
9628 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
9629 if buffer was too small.
9630
27724598
UD
9631 * elf/pldd.c (main): Attach to all threads in the process.
9632 Rewrite /proc handling to use *at functions.
9633
076fe015
UD
96342011-08-16 Ulrich Drepper <drepper@gmail.com>
9635
174baab3
UD
9636 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
9637 specifies first scope to show.
9638 (dl_open_worker): Update callers. Move printing scope of new
9639 object to before the relocation.
44f0a71e 9640 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
9641 * sysdeps/generic/ldsodefs.h: Update declaration.
9642
076fe015
UD
9643 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
9644 string for the scope number.
9645
a60df2c3
UD
96462011-08-14 Ulrich Drepper <drepper@gmail.com>
9647
9648 * nscd/servicescache.c (cache_addserv): Make sure written is always
9649 initialized.
9650
5e4287d1
RM
96512011-08-14 Roland McGrath <roland@hack.frob.com>
9652
85ae0589
RM
9653 * sysdeps/i386/i486/bits/atomic.h
9654 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
9655 statement expression, so as to suppress "set but not used" warning.
9656 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
9657
69f63097
RM
9658 * string/strncat.c (STRNCAT): Use prototype definition.
9659
675456ef
RM
9660 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
9661 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
9662 -Iprograms here.
9663 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
9664 (localedef-modules): Add localedef.
9665 (locale-modules): Add locale.
9666
5e4287d1
RM
9667 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
9668 * elf/rtld.c (dl_main): Invert order of assignment in last change,
9669 to avoid a warning.
9670
9c96ff23
DM
96712011-08-14 David S. Miller <davem@davemloft.net>
9672
9673 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
9674 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
9675
f9ddf089
UD
96762011-08-13 Ulrich Drepper <drepper@gmail.com>
9677
44f0a71e 9678 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
9679 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
9680 * elf/rtld.c (dl_main): Set l_name of vDSO.
9681 Call _dl_show_scope when DL_DEBUG_SCOPES.
9682 (process_dl_debug): Recognize scopes flag and also set it for all.
9683 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
9684 Declare _dl_show_scope.
9685
1dc27704
UD
9686 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
9687 (do_dlopen): Pass caller_dlopen to dl_open.
9688 (__libc_dlopen_mode): Initialize caller_dlopen.
9689
f9ddf089
UD
9690 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
9691 of libc. Make tolower call locale-independent. Optimize a bit by
9692 using isdigit instead of isalnum.
9693 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
9694
9ac533d3
UD
96952011-08-12 Ulrich Drepper <drepper@gmail.com>
9696
9697 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
9698 was a dependency or dynamically loaded.
9699
89edf2e9
UD
97002011-08-11 Ulrich Drepper <drepper@gmail.com>
9701
8e999d29
UD
9702 * intl/l10nflist.c: Allow architecture-specific pop function.
9703 * sysdeps/x86_64/l10nflist.c: New file.
9704
89edf2e9
UD
9705 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
9706 classification.
9707
14d96785
AS
97082011-08-10 Andreas Schwab <schwab@redhat.com>
9709
9710 * include/dirent.h: Add libc_hidden_proto for scandirat and
9711 scandirat64. Don't declare __scandirat64.
9712 * dirent/scandirat.c: Add libc_hidden_def.
9713 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
9714 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
9715
6761ac04
DM
97162011-08-10 David S. Miller <davem@davemloft.net>
9717
9718 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
9719 enum.
9720 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9721 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9722 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9723
c55fbd1e
UD
97242011-08-09 Ulrich Drepper <drepper@gmail.com>
9725
9726 * Versions.def [libc]: Add GLIBC_2.15.
9727 * dirent/Makefile (routines): Add scandirat and scandirat64.
9728 * dirent/Versions [libc]: Export scandirat and scandirat64 for
9729 GLIBC_2.15.
9730 * dirent/dirent.h: Declare scandirat and scandirat64.
9731 * dirent/scandirat.c: New file.
9732 * dirent/scandirat64.c: New file.
9733 * sysdeps/wordsize-64/scandirat.c: New file.
9734 * sysdeps/wordsize-64/scandirat64.c: New file.
9735 * dirent/opendir.c: Define opendirat.
9736 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
9737 using scandirat.
9738 * dirent/scandir64.c: Adjust for scandir.c change.
9739 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
9740 __scandirat64, and __scandir_cancel_handler.
9741 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
9742 additional parameter and use openat instead of open (outside of ld.so).
9743 Add new __opendir as wrapper around __opendirat.
9744 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
9745 here without requiring old scandirat implementation.
9746
879165f2
UD
97472011-08-08 Ulrich Drepper <drepper@gmail.com>
9748
9749 * dirent/scandir.c (cancel_handler): Renamed to
9750 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
9751 defined. Adjust users.
9752 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
9753 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
9754
cb7e923b
UD
97552011-08-04 Ulrich Drepper <drepper@gmail.com>
9756
16292edd
UD
9757 * string/test-string.h (IMPL): Use __STRING to expand name and then
9758 stringify it.
9759
cb7e923b
UD
9760 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
9761 of cleanups.
9762
cff82933
LD
97632011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9764
9765 * string/Makefile: Update.
9766 (strop-tests): Append strncat.
9767 * string/test-wcscmp.c: New file.
9768 New comprehensive test for wcscmp.
9769 * string/test-strcmp.c: Update.
9770 (WIDE): New define.
9771
9be9bfcc
AS
97722011-07-22 Andreas Schwab <schwab@redhat.com>
9773
9774 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
9775 line.
9776
2e96f1c7
AS
97772011-07-26 Andreas Schwab <schwab@redhat.com>
9778
9779 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9780 encoding to ACE if AI_IDN.
9781
85188888
JJ
97822011-08-01 Jakub Jelinek <jakub@redhat.com>
9783
9784 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
9785 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
9786
5fa16e9b
LD
97872011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9788
9789 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
9790 Fix overflow bug in strncat.
9791 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9792
9793 * string/test-strncat.c: Update.
9794 Add new tests for checking overflow bugs.
9795
97962011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9797
9798 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9799 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
9800 * sysdeps/i386/i686/multiarch/strcat.S: New file.
9801 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
9802 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
9803 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
9804 * sysdeps/i386/i686/multiarch/strncat.S: New file.
9805 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
9806 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
9807
9808 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
9809 (USE_AS_STRCAT): Define.
9810 Add strcat and strncat support.
9811 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9812
8c1a459f
AS
98132011-07-25 Andreas Schwab <schwab@redhat.com>
9814
9815 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
9816 __n bigger than INT_MAX+1.
9817 (__strncmp_g): Likewise.
9818
bba33c28
UD
98192011-07-23 Ulrich Drepper <drepper@gmail.com>
9820
798be72d
UD
9821 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
9822 * libio/stido.h: Likewise.
9823
8accd4dc
UD
9824 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
9825 (AF_NFC): Define.
9826 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
9827 (AF_NFC): Define.
9828
cbff0d96
UD
9829 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
9830 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9831 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9832 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
9833 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9834
9191c04a
UD
9835 [BZ #13021]
9836 * scripts/test-installation.pl: Don't expect libnss_test1 to be
9837 installed.
9838
bba33c28
UD
9839 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
9840 typo.
9841 (_dl_x86_64_save_sse): Likewise.
9842
90f139dd
UD
98432011-07-22 Ulrich Drepper <drepper@gmail.com>
9844
1aae088a
UD
9845 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
9846 OSXSAVE.
9847 (_dl_x86_64_save_sse): Likewise.
9848
8e2045f5
UD
9849 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
9850
90f139dd
UD
9851 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
9852
1d002f25
AS
98532011-07-21 Andreas Schwab <schwab@redhat.com>
9854
9855 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
9856 change.
9857 (_dl_x86_64_save_sse): Use correct AVX check.
9858
21137f89
UD
98592011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9860
9861 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
9862 bug in strncpy/strncat.
9863 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
9864
a65c0b7a
UD
98652011-07-21 Ulrich Drepper <drepper@gmail.com>
9866
9867 * string/tester.c (test_strcat): Add tests for different alignments
9868 of source and destination.
9869 (test_strncat): Likewise.
9870
6986b98a
UD
98712011-07-20 Ulrich Drepper <drepper@gmail.com>
9872
90bb2039
UD
9873 [BZ #12852]
9874 * posix/glob.c (glob): Check passed in values before using them in
9875 expressions to avoid some overflows.
9876 (glob_in_dir): Likewise.
9877
5644ef54
UD
9878 [BZ #13007]
9879 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
9880 check for AVX enablement so that we don't crash with old kernels and
9881 new hardware.
9882 * elf/tst-audit4.c: Add same checks here.
9883 * elf/tst-audit6.c: Likewise.
9884
9885 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 9886
bfc9dc9b
AS
98872011-07-09 Andreas Schwab <schwab@linux-m68k.org>
9888
9889 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
9890
702e64bb
UD
98912011-07-20 Ulrich Drepper <drepper@gmail.com>
9892
9893 * po/cs.po: Update from translation team.
9894 * po/bg.po: Likewise.
9895
295e904f
MP
98962011-07-12 Marek Polacek <mpolacek@redhat.com>
9897
9898 * misc/sys/cdefs.h: Add support for const attribute.
9899 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
9900 to gnu_dev_{major,minor,makedev} functions.
9901
3ff94596
MP
99022011-07-20 Marek Polacek <mpolacek@redhat.com>
9903
9904 * intl/dcigettext.c (get_output_charset): Add missing bracket.
9905
28b59fca
AS
99062011-07-20 Andreas Schwab <schwab@redhat.com>
9907
9908 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
9909 strlen results.
9910
19df733e
AK
99112011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9912
9913 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
9914 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
9915 register in order to avoid conflicts with the soft frame pointer
9916 being held in r11 when necessary.
9917 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
9918 (INTERNAL_VSYSCALL_NCS): Likewise.
9919
c8835729
MP
99202011-07-14 Marek Polacek <mpolacek@redhat.com>
9921
9922 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
9923 * elf/dl-fini.c (_dl_fini): Adjust caller.
9924 * elf/dl-close.c (_dl_close_worker): Likewise.
9925 * sysdeps/generic/ldsodefs.h: Adjust declaration.
9926
b902330c
MP
99272011-07-15 Marek Polacek <mpolacek@redhat.com>
9928
8991e135
MP
9929 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
9930 "aux_cache->nlibs < 0".
9931
b902330c
MP
9932 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
9933 in the reload-count case.
9934
99710781
LD
99352011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9936
9937 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9938 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
9939 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
9940 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
9941 * sysdeps/x86_64/multiarch/strcat.S: New file.
9942 * sysdeps/x86_64/multiarch/strncat.S: New file.
9943 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
9944 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
9945 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
9946 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
9947 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
9948 (USE_AS_STRCAT): Define.
9949 Add strcat and strncat support.
9950 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9951 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9952 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
9953 * string/strncat.c: Update.
9954 (USE_AS_STRNCAT): Define.
9955 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9956 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
9957 and i7.
9958 * sysdeps/x86_64/multiarch/init-arch.h
9959 (bit_Prefer_PMINUB_for_stringop): New.
9960 (index_Prefer_PMINUB_for_stringop): Likewise.
9961 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
9962 bit_Prefer_PMINUB_for_stringop.
9963
7dc6bd90
UD
99642011-07-19 Ulrich Drepper <drepper@gmail.com>
9965
9966 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
9967 buffer64.
9968 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
9969 of casting of buffer.
9970 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
9971 buffer32 and buffer64.
9972 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
9973 writes instead of casting of buffer.
9974 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
9975 buffer32.
9976 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
9977 casting of buffer.
9978
e0e72284
AS
99792011-07-19 Andreas Schwab <schwab@redhat.com>
9980
9981 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
9982
feb1eb0b
UD
99832011-07-19 Ulrich Drepper <drepper@gmail.com>
9984
9985 * nscd/nscd.c (termination_handler): Don't do anything for a database
9986 if it has not yet been initialized.
9987
298711ff
UD
99882011-07-18 Ulrich Drepper <drepper@gmail.com>
9989
9990 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
9991
99922011-07-15 Marek Polacek <mpolacek@redhat.com>
9993
9994 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
9995
f9d68389
UD
99962011-07-18 Ulrich Drepper <drepper@gmail.com>
9997
9998 * po/nl.po: Update from translation team.
9999 * po/sv.po: Likewise.
10000
db290cf5
RM
100012011-07-16 Roland McGrath <roland@hack.frob.com>
10002
10003 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
10004 now disallowed by GCC.
5c550700 10005
fd5e21c7
RM
10006 * configure.in (use-default-link): Default to yes if a test -shared
10007 link meets our qualifications.
10008 * configure: Regenerated.
10009
5c550700
RM
10010 * config.make.in (output-format): New variable.
10011 * configure.in: Check for ld --print-output-format support.
10012 * configure: Regenerated.
10013 * Makerules ($(common-objpfx)format.lds)
10014 [$(output-format) != unknown]: Just use $(output-format),
10015 instead of the linker-script munging.
10016
9fa2c032
RM
100172011-07-14 Roland McGrath <roland@hack.frob.com>
10018
a6928d51
RM
10019 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
10020 of $(common-objpfx)shlib.lds.
10021 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
10022
661607b3
RM
10023 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
10024 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
10025
9fa2c032
RM
10026 * configure.in (-z relro check): Adjust test code to add a large
10027 writable data section after it.
10028 * configure: Regenerated.
10029
defe9061
RM
100302011-07-11 Roland McGrath <roland@hack.frob.com>
10031
10032 * configure.in (-z relro check): Fix test code to make the variable
10033 truly const.
10034 * configure: Regenerated.
10035
319b9ad4
UD
100362011-07-11 Ulrich Drepper <drepper@gmail.com>
10037
10038 * nscd/nscd.h (struct traced_file): Define.
10039 (struct database_dyn): Remove inotify_descr, reset_res, and filename
10040 elements. Add traced_files.
10041 (inotify_fd): Declare.
10042 (register_traced_file): Declare.
10043 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
10044 (inotify_fd): Export.
10045 (resolv_conf_descr): Remove.
10046 (nscd_init): Move inotify descriptor creation to main.
10047 Don't register files for notification here.
10048 (register_traced_file): New function.
10049 (invalidate_cache): Don't use reset_res to determine whether to call
10050 res_init, go through the list of registered files.
10051 (main_loop_poll): The inotify descriptors are now stored in the
10052 structures for the traced files.
10053 (main_loop_epoll): Likewise
10054 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
10055 to __nss_disable_nscd.
10056 * nscd/cache.c (prune_cache): There is no single inotify descriptor
10057 for a database anymore. Check the records for all the registered
10058 files instead.
10059 * nss/Makefile (libnss_files-routines): Add files-init.
10060 (libnss_db-routines): Add db-init.
10061 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
10062 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
10063 * nss/nss_db/db-init.c: New file.
10064 * nss/nss_files/files-init.c: New file.
10065 * nss/nsswitch.c (nss_load_library): New function. Broken out of
10066 __nss_lookup_function.
10067 (__nss_lookup_function): Call nss_load_library.
10068 (nss_load_all_libraries): New function.
10069 (__nss_disable_nscd): Take parameter with callback function for files
10070 to register. Set is_nscd. Load all the DSOs for the NSS modules
10071 used for the cached services.
10072 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
10073 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
10074 options for features to all the files in nscd.
10075
10076 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
10077
23bee3e8
RM
100782011-07-10 Roland McGrath <roland@hack.frob.com>
10079
10080 * csu/elf-init.c (__libc_csu_init): Comment typo.
10081
46a5b7f0
UD
100822011-07-09 Ulrich Drepper <drepper@gmail.com>
10083
10084 * po/pl.po: Update from translation team.
10085 * po/ja.po: Likewise.
10086 * po/ru.po: Likewise.
10087 * po/ko.po: Likewise.
10088 * po/fr.po: Likewise.
10089
d30cf5bb
RM
100902011-07-09 Roland McGrath <roland@hack.frob.com>
10091
113ddea4
RM
10092 * configure.in (.ctors/.dtors header and trailer check):
10093 Use an empirical test on a built program.
10094 * configure: Regenerated.
10095
574920b4
RM
10096 * configure.in (-z relro check): Use an empirical test on a built DSO.
10097 Detect, but do not require, on ia64.
10098 * configure: Regenerated.
10099
d30cf5bb
RM
10100 * configure.in (READELF): Find it with AC_CHECK_TOOL.
10101 Update tests that use readelf to use $READELF instead.
10102 * configure: Regenerated.
10103
8538fdb3
UD
101042011-07-08 Ulrich Drepper <drepper@gmail.com>
10105
10106 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
10107 if the result is not used.
10108
04d08991
AJ
101092011-07-05 Andreas Jaeger <aj@suse.de>
10110
10111 [BZ#9696]
10112 * stdlib/tst-strtod.c: Add testcase.
10113
de283087
AD
101142011-07-07 Ulrich Drepper <drepper@gmail.com>
10115
4e5f31c8 10116 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 10117 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
10118 The latter has a higher limit. Take additional parameter to pass to
10119 the new function.
10120 (__pathconf): Pass file to __statfs_link_max.
10121 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
10122 __statfs_link_max.
10123 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
10124 __statfs_link_max.
10125
de283087
AD
10126 [BZ #12868]
10127 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
10128 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10129 Handle Lustre.
10130 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
10131 (__statfs_filesize_max): Likewise.
10132 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
10133
c75fa153
AJ
101342011-07-05 Andreas Jaeger <aj@suse.de>
10135
10136 * resolv/res_comp.c (dn_skipname): Remove unused variable.
10137
1a544854
UD
101382011-07-06 Marek Polacek <mpolacek@redhat.com>
10139
10140 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
10141 `status' variable.
10142 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
10143 Likewise.
10144
6f0eec67
UD
101452011-07-04 H.J. Lu <hongjiu.lu@intel.com>
10146
10147 * Makefile (strop-tests): Add strncat.
10148 * string/test-strncat.c: New file.
10149
aae30307
UD
101502011-06-30 Marek Polacek <mpolacek@redhat.com>
10151
10152 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
10153
c0cfb5eb
UD
101542011-06-21 Andreas Jaeger <aj@suse.de>
10155
10156 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
10157 Copy rule from iconvdata/Makefile.
10158
01636b21
UD
101592011-07-06 Ulrich Drepper <drepper@gmail.com>
10160
10161 [BZ #12922]
10162 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
10163 but no long options are defined, just return 'W'.
10164
9895c8bc
UD
101652011-06-22 Marek Polacek <mpolacek@redhat.com>
10166
10167 [BZ #9696]
10168 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
10169
5d4cf042
UD
101702011-07-06 Ulrich Drepper <drepper@gmail.com>
10171
10172 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
10173 netgroups to read.
960e5535 10174 (innetgr): Likewise.
5d4cf042 10175
751eb97e
RM
101762011-07-05 Roland McGrath <roland@hack.frob.com>
10177
10178 * config.make.in (install_root): Default to $(DESTDIR).
10179
f15f1e45
UD
101802011-07-05 Ulrich Drepper <drepper@gmail.com>
10181
10182 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
10183
4e34ac6a
RM
101842011-07-02 Roland McGrath <roland@hack.frob.com>
10185
5e9b6af4
RM
10186 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
10187
84f9ea0f
RM
10188 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
10189 containing directory rather than embedding absolute directory names.
10190
ea5ee9f7
RM
10191 * scripts/check-local-headers.sh: Rewritten using awk.
10192 Match by word, not by line. Print error messages for matches.
10193 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
10194
1b74661a
RM
10195 * Makerules [shlib-lds-flags empty]:
10196 ($(common-objpfx)libc_pic.opts): New target.
10197 ($(common-objpfx)libc_pic.os.clean): New target.
10198 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
10199
10200 * config.make.in (OBJCOPY): New variable.
10201 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
10202 * configure: Regenerated.
10203
f781ef40
RM
10204 * config.make.in (use-default-link): New variable.
10205 * configure.in (use_default_link): Grok --with-default-link to set it.
10206 * configure: Regenerated.
10207 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
10208 (shlib-lds, shlib-lds-flags): Define to empty.
10209
2d4fa81e
RM
10210 * Makerules (shlib-lds): New variable.
10211 (shlib-lds-flags): New variable.
10212 (build-shlib, build-moduile, build-module-asneeded): Use it.
10213 ($(common-objpfx)libc.so): Use $(shlib-lds).
10214 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
10215 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
10216
31fffa6b
RM
10217 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
10218 DT_FLAGS/DT_FLAGS_1 with zero flags.
10219
4e34ac6a
RM
10220 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
10221 linker script munging.
10222
fcfc776b
UD
102232011-07-02 Ulrich Drepper <drepper@gmail.com>
10224
10225 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
10226 as 128-bit value.
10227 * crypt/sha512.c (sha512_process_block): Perform total addition using
10228 128-bit if possible.
10229 (__sha512_finish_ctx): Likewise.
10230 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
10231 as 64-bit value.
10232 * crypt/sha256.c (SWAP64): Define.
10233 (sha256_process_block): Perform total addition using 64-bit if
10234 possible.
10235 (__sha256_finish_ctx): Likewise.
10236
99231d9a
UD
102372011-07-01 Ulrich Drepper <drepper@gmail.com>
10238
10239 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
10240 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10241 * nscd/hstcache.c (cache_addhst): Likewise.
10242 * nscd/grpcache.c (cache_addgr): Likewise.
10243 * nscd/aicache.c (addhstaiX): Likewise
10244 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
10245
445b4a53
TK
102462011-07-01 Thorsten Kukuk <kukuk@suse.de>
10247
10248 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
10249 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10250 * nscd/hstcache.c (cache_addhst): Likewise.
10251 * nscd/grpcache.c (cache_addgr): Likewise.
10252 * nscd/aicache.c (addhstaiX): Likewise
10253
6d4d8e8e
AS
102542011-07-01 Andreas Schwab <schwab@redhat.com>
10255
10256 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
10257 domain only when needed.
10258
89f654c5
AS
102592011-06-30 Andreas Schwab <schwab@redhat.com>
10260
10261 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
10262 is always restored.
10263
cf3b23ff
UD
102642011-06-29 Ulrich Drepper <drepper@gmail.com>
10265
10266 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
10267 are re-adding the entry.
10268 * nscd/servicescache.c (cache_addserv): Likewise.
10269
751626f9
AJ
102702011-06-30 Aurelien Jarno <aurelien@aurel32.net>
10271
10272 * sysdeps/generic/dl-irel.h: fix protection against multiple
10273 inclusions.
10274 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
10275
9113ea1f
UD
102762011-06-28 Ulrich Drepper <drepper@gmail.com>
10277
5c0b8d90
UD
10278 [BZ #12935]
10279 * malloc/memusage.sh: Fix quoting in message.
10280 * debug/xtrace.sh: Likewise.
10281
9113ea1f
UD
10282 * configure.in: Remove support for --experimental-malloc option, make
10283 it the default.
10284 * config.make.in: Likewise.
10285 * malloc/Makefile: Likewise.
10286
a4172181
AS
102872011-06-27 Andreas Schwab <schwab@redhat.com>
10288
10289 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
10290 two-byte characters.
10291
78a7eee7
RM
102922011-06-27 Roland McGrath <roland@hack.frob.com>
10293
62bede13
RM
10294 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
10295 AC_CACHE_CHECK invocation.
10296 * configure: Regenerated.
10297
78a7eee7
RM
10298 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
10299
5ce33a62
UD
103002011-06-27 Ulrich Drepper <drepper@gmail.com>
10301
034807a9
UD
10302 [BZ #12350]
10303 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
10304 bit from old_res_options.
10305
4902da17
UD
10306 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
10307
5ce33a62
UD
10308 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
10309 value type for setfct.
10310
c2344f56
L
103112011-06-23 H.J. Lu <hongjiu.lu@intel.com>
10312
10313 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10314 __gettimeofday instead of gettimeofday.
10315
68468076
UD
103162011-06-26 Ulrich Drepper <drepper@gmail.com>
10317
10318 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
10319
acb0d739
L
103202011-06-24 H.J. Lu <hongjiu.lu@intel.com>
10321
10322 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
10323
10324 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
10325 info.
10326
8912479f
L
103272011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10328
10329 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10330 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10331 strcpy-sse2-unaligned strncpy-sse2-unaligned
10332 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
10333 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
10334 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
10335 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
10336 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
10337 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
10338 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
10339 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
10340 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
10341 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
10342 (STRCPY): Support SSE2 and SSSE3 versions.
10343
d5495a11
UD
103442011-06-24 Ulrich Drepper <drepper@gmail.com>
10345
10346 [BZ #12874]
10347 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
10348 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
10349 kernels which artificially limit size of requests.
10350
0b1cbaae
L
103512011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10352
10353 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10354 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10355 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
10356 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
10357 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
10358 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
10359 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
10360 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
10361 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
10362 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
10363 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
10364 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
10365 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
10366 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
10367 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
10368 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10369 Enable unaligned load optimization for Intel Core i3, i5 and i7
10370 processors.
10371 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
10372 Define.
10373 (index_Fast_Unaligned_Load): Define.
10374 (HAS_FAST_UNALIGNED_LOAD): Define.
10375
07f494a0
MP
103762011-06-23 Marek Polacek <mpolacek@redhat.com>
10377
10378 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
10379
fa3fc0fe
UD
103802011-06-22 Ulrich Drepper <drepper@gmail.com>
10381
10382 [BZ #12907]
10383 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
10384 until it is clear that the information is realy needed.
10385 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
10386
e12df166
AS
103872011-06-22 Andreas Schwab <schwab@redhat.com>
10388
10389 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
10390
852eb34d
UD
103912011-06-22 Ulrich Drepper <drepper@gmail.com>
10392
84e2a551
UD
10393 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10394 /sys/devices/system/cpu/online if it is usable.
10395
852eb34d
UD
10396 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
10397 reading the information from the /proc filesystem to once a second.
10398
6e502e19
UD
103992011-06-21 Andreas Jaeger <aj@suse.de>
10400
10401 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
10402 NULL after inclusion of kernel headers.
10403
75d39ff2
UD
104042011-06-21 Ulrich Drepper <drepper@gmail.com>
10405
51f9aa6a
UD
10406 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
10407 calls to internal_setent.
10408
c0244a9d
UD
10409 [BZ #12885]
10410 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
10411 addresses using gethostbyname4_r ignore IPv4 addresses.
10412
c5e3c2ae
UD
10413 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
10414 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
10415
75d39ff2
UD
10416 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
10417
42675c6f
DM
104182011-06-20 David S. Miller <davem@davemloft.net>
10419
10420 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
10421 inclusions.
10422 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
10423
10424 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
10425 (elf_irel): Use it.
10426 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
10427 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
10428 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
10429 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
10430 * sysdeps/x86_64/dl-irel.h: Likewise.
10431
10432 * elf/dl-runtime.c: Use elf_ifunc_invoke.
10433 * elf/dl-sym.c: Likewise.
10434
57912a71
UD
104352011-06-15 Ulrich Drepper <drepper@gmail.com>
10436
10437 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
10438 need to dereference resplen2.
10439
ee22793d
AS
104402011-06-14 Andreas Schwab <schwab@redhat.com>
10441
10442 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
10443
a9e836b0
UD
104442011-06-15 Ulrich Drepper <drepper@gmail.com>
10445
77fb9117
UD
10446 * Makeconfig: Define vardbdir and inst_vardbdir.
10447 * nss/Makefile: Add rules to install db-Makefile.
10448
40c1b22c
UD
10449 * nss/nss_db/db-XXX.c: Cleanup.
10450
9f2da732
UD
10451 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
10452 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
10453 GLIBC_PRIVATE.
10454 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
10455 * nss/makedb.c: Implement -g option to specify that value strings
10456 are generated and should not be added to table iterated over for
10457 get*ent calls.
10458 * nss/nss_db/db-initgroups.c: New file.
10459
82e9a1f7
UD
10460 * nss/getent.c: Add support for initgroups lookups through getgrouplist
10461 interface.
10462
c41af17e
UD
10463 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
10464 (internal_getgrouplist): Adjust to name change.
10465 Update use_initgroups_entry if this is not the first call.
10466 * nss/databases.def: Add initgroups entry.
10467
a9e836b0
UD
10468 * nss/makedb.c (compute_tables): Check result of multiple hash table
10469 sizes to minimize maximum chain length.
10470
2666d441
UD
104712011-06-14 Ulrich Drepper <drepper@gmail.com>
10472
10473 * Versions.def: Add entry for libnss_db.
10474 * shlib-versions: Likewise.
10475 * nss/Makefile: Add rules to build libnss_db.
10476 * nss/Versions: Add libnss_db information. Organize libnss_files
10477 entries better.
10478 * nss/db-Makefile: Add gshadow support. Change rules for the new
10479 makedb progra. Some minor improvements to generate smaller files.
10480 * nss/nss_db/nss_db.h: Move NSS database header data structures to
10481 here from...
10482 * nss/makedb.c: ...here.
10483 Improve database format to be smaller and require less memory at
10484 runtime.
10485 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
10486 db anymore.
10487 * nss/nss_db/db-netgrp.c: Likewise.
10488 * nss/nss_db/db-open.c: Likewise.
10489 * nss/nss_files/flies-XXX.x: Adjust comments.
10490 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
10491 * nss/nss_files/files-grp.c: Likewise.
10492 * nss/nss_files/files-hosts.c: Likewise.
10493 * nss/nss_files/files-network.c: Likewise.
10494 * nss/nss_files/files-proto.c: Likewise.
10495 * nss/nss_files/files-pwd.c: Likewise.
10496 * nss/nss_files/files-rpc.c: Likewise.
10497 * nss/nss_files/files-service.c: Likewise.
10498 * nss/nss_files/files-sgrp.c: Likewise.
10499 * nss/nss_files/files-spwd.c: Likewise.
10500 * nss/nss_db/db-alias.c: Removed.
10501 * nss/nss_db/dummy-db.h: Removed.
10502
9ee76b5a
UD
105032011-06-02 Ulrich Drepper <drepper@gmail.com>
10504
10505 * nss/makedb.c: Rewritten to not use database library.
10506 * nss/Makefile: Update to build new makedb program.
10507
c71ca1f8
AJ
105082011-06-14 Andreas Jaeger <aj@suse.de>
10509
10510 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
10511 memset declaration.
10512
3154bfb8
UD
105132011-06-10 Andreas Schwab <schwab@redhat.com>
10514
10515 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
10516 tmpbuf.
10517
b350afab
RM
105182011-06-10 Roland McGrath <roland@hack.frob.com>
10519
decd4e50
RM
10520 * Makerules (shlib.lds): Fail if the linker script comes out empty.
10521 * elf/Makefile ($(objpfx)ld.so): Likewise.
10522
5615eaf2
RM
10523 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
10524 Don't list ld.so twice in dependencies.
10525
10526 * posix/bug-regex31.c: Include <stdlib.h>.
10527
10528 * nscd/hstcache.c (cache_addhst): Remove unused variable.
10529
10530 * nis/nss_compat/compat-spwd.c
10531 (getspent_next_nss_netgr): Remove unused variable.
10532 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
10533
10534 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
10535 nonmembers" output to use the right array.
10536
10537 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
10538
10539 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
10540
10541 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
10542 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
10543 * catgets/gencat.c (read_input_file): Likewise.
10544 * locale/programs/locarchive.c (enlarge_archive): Likewise.
10545
10546 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
10547 variable definition inside #if's controlling its use.
10548
10549 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
10550
10551 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
10552
10553 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
10554
10555 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
10556 unreachable code.
10557
10558 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
10559
b68e08db
RM
10560 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
10561 * configure: Regenerated.
10562
b350afab
RM
10563 * Makerules: Revert last change.
10564 * elf/Makefile: Likewise.
10565
28368601
RM
105662011-06-09 Roland McGrath <roland@hack.frob.com>
10567
10568 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
10569 * elf/Makefile ($(objpfx)librtld.os): Likewise.
10570 (reloc-link): Likewise.
10571
11988f8f
UD
105722011-06-09 Ulrich Drepper <drepper@gmail.com>
10573
10574 * elf/Makefile: Add rules to build pldd.
10575 * elf/pldd.c: New file.
10576 * elf/pldd-xx.c: New file.
10577
e80fab37
UD
105782011-06-07 Ulrich Drepper <drepper@gmail.com>
10579
10580 * version.h: Update for 2.15 development version.
10581
9b849836
DM
105822011-06-07 David S. Miller <davem@davemloft.net>
10583
10584 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
10585 ifuncs.
10586 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
10587 elf_machine_lazy_rel): Likewise.
10588 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10589 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
10590 elf_machine_lazy_rel): Likewise.
10591 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
10592 dl_hwcap via passed in argument.
10593 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
10594 Likewise.
10595
5a31b283
AK
105962011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10597
10598 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
10599
069e52f8
RM
106002011-06-06 Roland McGrath <roland@hack.frob.com>
10601
10602 [BZ #12849]
10603 * manual/fdl-1.1.texi: New file, verbatim from:
10604 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
10605 * manual/lgpl-2.1.texi: New file, verbatim from:
10606 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
10607 * manual/Makefile (licenses): New variable, list those new file names.
10608 (texis): Use it.
10609 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
10610
10611 * manual/fdl.texi: File removed.
10612 * manual/lesser.texi: File removed.
10613 * manual/libc.texinfo (Copying, Documentation License):
10614 Use new @include file names, put @appendix directive before @include.
10615
f16846a5
JJ
106162011-06-04 Jakub Jelinek <jakub@redhat.com>
10617
10618 [BZ #12841]
10619 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
10620 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
10621 (mq_open): Add __NTH.
10622
3d29045b
L
106232011-06-02 H.J. Lu <hongjiu.lu@intel.com>
10624
10625 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10626 Assume Intel Core i3/i5/i7 processor if AVX is available.
10627
8c297311
UD
106282011-05-31 Ulrich Drepper <drepper@gmail.com>
10629
10630 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10631 typo.
10632
c8fc0c91
UD
106332011-05-31 Andreas Schwab <schwab@redhat.com>
10634
10635 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
10636 memory. Use alloca_account. Fix memory leak when retrying.
10637
5b27a807
UD
106382011-05-31 Ulrich Drepper <drepper@gmail.com>
10639
356f8bc6
UD
10640 * version.h (RELEASE): Bump for 2.14 release.
10641 * include/features.h (__GLIBC_MINOR__): Bump to 14.
10642
5b27a807
UD
10643 * config.make.in (RANLIB): Remove entry.
10644
01f16ab0
UD
106452011-05-30 Ulrich Drepper <drepper@gmail.com>
10646
41fce8bd
UD
10647 * po/Makefile (po-sed-cmd): Add ksh to extensions.
10648 (libc.pot): Work around missing support for .ksh extension in xgettext.
10649
4769ae77
UD
10650 [BZ #12684]
10651 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
10652 if both request failed.
10653 (send_dg): In case of server errors clear resplen or *resplen2.
10654
6b1e7d19
UD
10655 [BZ #12454]
10656 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
10657 when there are multiple maps.
10658 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
10659 (_dl_fini): Remove test here.
10660
01f16ab0
UD
10661 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
10662
b1ebd700
UD
106632011-05-29 Ulrich Drepper <drepper@gmail.com>
10664
7ae22829
UD
10665 [BZ #12350]
10666 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
10667 bit from old_res_options.
10668 (gaih_inet): Likewise.
10669
553149f6 10670 [BZ #11099]
18a84741 10671 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
10672 as signed.
10673
652ffab1
UD
10674 * resolv/res_init.c (res_setoptions): Make the code more compact.
10675
16985fd0
UD
10676 [BZ #11558]
10677 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
10678 set RES_USEVC.
10679
0464f746
UD
10680 [BZ #11634]
10681 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
10682
7d17596c
UD
10683 * malloc/malloc.h: Mark malloc hook variables as deprecated.
10684
cf6bbbd7
UD
10685 [BZ #11781]
10686 * malloc/malloc.h: Declare malloc hook variables as volatile.
10687
13f1ab36
UD
10688 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
10689 in last patch.
10690
b1ebd700
UD
10691 [BZ #11799]
10692 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 10693 raise in the comment.
80e2212d
UD
10694 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10695 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10696 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 10697
ce67228d
UD
106982011-05-28 Ulrich Drepper <drepper@gmail.com>
10699
8887a920
UD
10700 [BZ #12811]
10701 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
10702 grow the buffers more if it already has to be sufficient.
10703 (build_wcs_upper_buffer): Likewise.
10704 * posix/regexec.c (check_matching): Likewise.
10705 (clean_state_log_if_needed): Likewise.
10706 (extend_buffers): Don't enlarge buffers beyond size of the input
10707 buffer.
10708 Patches mostly by Emil Wojak <emil@wojak.eu>.
10709 * posix/bug-regex32.c: New file.
10710 * posix/Makefile (tests): Add bug-regex32.
10711
4f031072
UD
10712 * locale/findlocale.c (_nl_find_locale): Return right away if
10713 _nl_explode_name failed.
10714 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
10715
d0478f0c
UD
10716 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
10717
de81b246
UD
10718 * debug/xtrace.sh: Unify messages.
10719 * malloc/memusage.sh: Likewise.
10720
c738465a
UD
10721 [BZ #12813]
10722 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
10723 time symbol from vDSO. Substitute with vsyscall if not available.
10724 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
10725 __vdso_time.
10726
f1f929d7
UD
10727 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
10728 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
10729 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
10730 Add sendmmsg and internal_sendmmsg.
10731 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
10732 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
10733 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
10734
ce67228d
UD
10735 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
10736 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
10737 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
10738
e57420c6
UD
107392011-05-27 Ulrich Drepper <drepper@gmail.com>
10740
a8509ca5
UD
10741 [BZ #12813]
10742 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
10743 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
10744 available.
10745 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
10746 __vdso_getcpu.
10747
e57420c6
UD
10748 [BZ #12814]
10749 * iconvdata/Makefile (tests): Add bug-iconv9.
10750 * iconvdata/bug-iconv9.c: New file.
10751
4d07db15
AS
107522011-05-27 Andreas Schwab <schwab@redhat.com>
10753
10754 [BZ #12814]
10755 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
10756
ea486f69
JJ
107572011-05-25 Jakub Jelinek <jakub@redhat.com>
10758
10759 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10760 (struct user_regs_struct): Change intcs field back to cs.
10761
6f038433
UD
107622011-05-25 Ulrich Drepper <drepper@gmail.com>
10763
10764 * po/ja.po: Update from translation team.
10765
67f86a25
UD
107662011-05-23 Ulrich Drepper <drepper@gmail.com>
10767
10768 [BZ #12795]
10769 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
10770 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
10771
def7fbd6
AS
107722011-05-20 Andreas Schwab <schwab@redhat.com>
10773
10774 * stdlib/longlong.h: Update from GCC.
10775
f50ef8f1
AS
107762011-05-23 Andreas Schwab <schwab@redhat.com>
10777
10778 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
10779 parameter name.
10780 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
10781 Add parameter name.
10782 (__sysconf): Pass it down.
10783
de7ce8f1
UD
107842011-05-22 Ulrich Drepper <drepper@gmail.com>
10785
f2962a71
UD
10786 [BZ #12671]
10787 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
10788 some situations.
10789 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10790 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
10791 add in in __libc_use_alloca calls. Adjust callers.
10792 (glob): Use malloc in some situations.
10793
de7ce8f1
UD
10794 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
10795 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
10796 pltexit.
10797
aec84f53
UD
107982011-05-21 Ulrich Drepper <drepper@gmail.com>
10799
05bb4a68
UD
10800 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
10801 and CLOCK_BOOTTIME_ALARM.
10802
7ea72f99
UD
10803 [BZ #12782]
10804 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
10805 is returned.
10806
7e4afad5
UD
10807 * string/_strerror.c (__strerror_r): Print negative errors as signed
10808 numbers.
10809
8e211fec
UD
10810 [BZ #12777]
10811 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
10812 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
10813 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
10814
f7d82dc9
UD
10815 * configure.in: Fix typo in redirection and correct removal of test
10816 files in two cases.
10817
cc9e536d
UD
10818 [BZ #12788]
10819 * locale/setlocale.c (new_composite_name): Fix test to check for
10820 identical name of all categories.
10821
aec84f53
UD
10822 [BZ #12792]
10823 * libio/filedoalloc.c (local_isatty): New function.
10824 (_IO_file_doallocate): Use local_isatty.
10825 * stdio-common/perror.c (perror): In case a new stream is used
10826 forward the stream error.
10827 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
10828 error flag.
10829
78e64fdc
RT
108302011-05-20 Ulrich Drepper <drepper@gmail.com>
10831
34a9094f
UD
10832 [BZ #11869]
10833 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
10834 alloca.
10835 * include/alloca.h (extend_alloca_account): Define.
10836
78e64fdc
RT
10837 [BZ #11857]
10838 * posix/regex.h: Fix comments with documentation of user-accessible
10839 fields after compilation and describe correct free'ing of pattern
10840 after re_compile_pattern.
10841 Patch by Reuben Thomas <rrt@sc3d.org>.
10842
457bddfc
RA
108432011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
10844
10845 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
10846 and -mno-altivec to prevent the compiler from using Altivec and/or
10847 VSX instructions when the corresponding registers are not available.
10848
a4527b51
AS
108492011-05-19 Andreas Schwab <schwab@redhat.com>
10850
10851 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
10852
ed690b2f
UD
108532011-05-19 Ulrich Drepper <drepper@gmail.com>
10854
10855 * libio/freopen.c (freopen): Use __dup2, not dup2.
10856 * libio/freopen64.c (freopen64): Likewise.
10857
8db73634
L
108582011-05-17 H.J. Lu <hongjiu.lu@intel.com>
10859
10860 [BZ #12775]
10861 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
10862 * math/Makefile (tests): Add test-powl.
10863 (CFLAGS-test-powl.c): Define.
10864 * math/test-powl.c: New file.
10865
0a197a9d
L
108662011-05-16 H.J. Lu <hongjiu.lu@intel.com>
10867
10868 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
10869
ee30c380
UD
108702011-05-17 Ulrich Drepper <drepper@gmail.com>
10871
10872 [BZ #11837]
10873 * iconvdata/gb18030.c: Update to GB18020-2005.
10874
6ce75379
UD
108752011-05-16 Ulrich Drepper <drepper@gmail.com>
10876
a4b89fd8
AR
10877 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
10878 RE_SYNTAX_POSIX_AWK): Update to match recent development.
10879 Patch by Aharon Robbins <arnold@skeeve.com>.
10880
ea389b12
UD
10881 [BZ #11892]
10882 * stdlib/putenv.c (putenv): Don't always create copy of the variable
10883 on the stack.
10884
68a3f91f
UD
10885 [BZ #11895]
10886 * misc/pselect.c (__pselect): Handle timeout value errors hidden
10887 through underflows.
10888
15cc7dd1
UD
10889 [BZ #12766]
10890 * misc/error.c (error_at_line): Ensure file_name and old_file_name
10891 point to strings before performing equality test for error_one_per_line
10892 mode.
10893
f3799213
UD
10894 [BZ #11697]
10895 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
10896
d79a9c94
UD
10897 [BZ #11820]
10898 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10899 (struct user_fpregs_struct): Avoid __uint*_t types.
10900
56e5eb46
UD
10901 [BZ #6420]
10902 * malloc/mtrace.c (tr_where): Add additional parameter to point to
10903 symbol info. Use it instead of calling _dl_addr locally.
10904 (lock_and_info): New function.
10905 (tr_freehook): Call lock_and_info and pass symbol info as additional
10906 parameter to tr_where.
10907 (tr_mallochook): Likewise.
10908 (tr_reallochook): Likewise.
10909 (tr_memalignhook): Likewise.
10910
6ce75379
UD
10911 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
10912 used and couldn't be at all thread-safe.
10913
f8a3b5bf
UD
109142011-05-15 Ulrich Drepper <drepper@gmail.com>
10915
94b7cc37
UD
10916 * libio/freopen.c (freopen): Don't close old file descriptor
10917 before the new one is opened. Instead dup the new file descriptor
10918 to the old one after the new stream is created.
10919 * libio/freopen64.c (freopen64): Likewise.
10920 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
10921 * libio/fileops.c (_IO_new_file_close_it): Handle new
10922 _IO_FLAGS2_NOCLOSE flag.
10923 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
10924 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
10925 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
10926 _IO_FLAGS2_NOCLOSE flag.
10927 * include/unistd.h: Add hidden_proto for dup3.
10928 Define __have_dup3.
10929 * io/dup3.c: Define hidden symbol.
10930 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
10931
bd25564e
UD
10932 [BZ #7101]
10933 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
10934 when an incomplete long option is used.
10935 * posix/tst-getopt_long1.c: New file.
10936 * posix/Makefile (tests): Add tst-getopt_long1.
10937
c84cfef4
UD
10938 [BZ #10138]
10939 * scripts/config.guess: Update from autoconf-2.68.
10940 * scripts/config.sub: Likewise.
10941
3b85df27
UD
10942 [BZ #10157]
10943 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
10944 tests into ...
10945 (has_cpuclock): ...this. New function.
10946 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
10947 macro here based on has_cpuclock code.
10948
15a856b1
UD
10949 [BZ #10149]
10950 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10951 First byte (not low byte) is now always NUL.
10952 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
10953
05f399e6
UD
10954 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10955 Use non-cancelable interfaces.
10956
10a52685 10957 [BZ #9809]
94ecc67d
UD
10958 * locale/iso-639.def: Add entry for Sorani.
10959
f8a3b5bf
UD
10960 [BZ #11901]
10961 * include/stdlib.h: Move include protection to the right place.
10962 Define abort_msg_s. Declare __abort_msg with it.
10963 * stdlib/abort.c (__abort_msg): Adjust type.
10964 * assert/assert.c (__assert_fail_base): New function. Majority
10965 of code from __assert_fail. Allocate memory for __abort_msg with
10966 mmap.
10967 (__assert_fail): Now call __assert_fail_base.
10968 * assert/assert-perr.c: Remove bulk of implementation. Use
10969 __assert_fail_base.
10970 * include/assert.hL Declare __assert_fail_base.
10971 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
10972 mmap.
10973 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
10974
1af4e298
UD
109752011-05-14 Ulrich Drepper <drepper@gmail.com>
10976
f8a3b5bf 10977 [BZ #11952]
d26dfc60
MG
10978 [BZ #12453]
10979 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
10980 until all modules are registered in the DTV.
10981 * elf/Makefile: Add rules to build and run tst-tls19.
10982 * elf/tst-tls19.c: New file.
10983 * elf/tst-tls19mod1.c: New file.
10984 * elf/tst-tls19mod2.c: New file.
10985 * elf/tst-tls19mod3.c: New file.
10986 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
10987
2fc54d6f
UD
10988 [BZ #12083]
10989 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
10990 correctly.
10991
98d76b46
UD
10992 [BZ #12601]
10993 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
10994 two-byte sequence errors.
10995 * iconvdata/Makefile (tests): Add bug-iconv8.
10996 * iconvdata/bug-iconv8.c: New file.
10997
da3c19ef
UD
10998 [BZ #12626]
10999 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
11000 buf2 definition.
11001
ca408c15
UD
11002 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
11003
d6f67f7d
UD
11004 [BZ #12432]
11005 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
11006 (dummy_getcfa): New function.
11007 (init): Get _Unwind_GetCFA address, use dummy if not found.
11008 (backtrace_helper): In recursion check, also check whether CFA changes.
11009 (__backtrace): Completely initialize arg.
11010
1af4e298 11011 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
11012 storing incomplete byte sequence in state object. Avoid testing for
11013 guaranteed too small input if we know there is enough data available.
1af4e298 11014
da62f81b
AS
110152011-05-11 Andreas Schwab <schwab@redhat.com>
11016
11017 * Makeconfig (+link-pie): Indent.
11018 * Rules (binaries-pie): Define if $(have-fpie) and
11019 $(build-shared).
11020 (binaries-shared): Also filter out $(binaries-pie).
11021 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
11022 * nscd/Makefile (others-pie): Add nscd.
11023 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
11024 ($(objpfx)nscd): Remove command override.
11025 * login/Makefile (others-pie): Add pt_chown.
11026 ($(objpfx)pt_chown): Remove command override.
11027 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
11028 remove command overrides.
11029
fcabc0f8
UD
110302011-05-13 Ulrich Drepper <drepper@gmail.com>
11031
20030ae6
UD
11032 * libio/tst_putwc.c: Fix error messages.
11033
fcabc0f8
UD
11034 [BZ #12724]
11035 * libio/fileops.c (_IO_new_file_close_it): Always flush when
11036 currently writing and seek to current position when not.
11037 * libio/Makefile (tests): Add bug-fclose1.
11038 * libio/bug-fclose1.c: New file.
11039
320a5dc0
PB
110402011-05-12 Ulrich Drepper <drepper@gmail.com>
11041
11042 [BZ #12511]
11043 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
11044 don't set DF_1_NODELETE here.
11045 (do_lookup_x): When entering new entry test for copy relocation
11046 and if necessary set DF_1_NODELETE flag.
11047 * elf/tst-unique4.cc: New file.
11048 * elf/tst-unique4.h: New file.
11049 * elf/tst-unique4lib.cc: New file.
11050 * elf/Makefile: Add rules to build and run tst-unique4.
11051 Patch by Piotr Bury <pbury@goahead.com>.
11052
22836f52
UD
110532011-05-11 Ulrich Drepper <drepper@gmail.com>
11054
f574184a
UD
11055 [BZ #12052]
11056 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
11057
e1fb097f
UD
11058 [BZ #12625]
11059 * misc/mntent_r.c (addmntent): Flush the stream after the output
11060
22836f52
UD
11061 [BZ #12393]
11062 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
11063 (is_trusted_path_normalize): Skip initial colon. Append slash
11064 to empty buffer. Duplicate is_trusted_path code but allow
11065 constructed patch to be prefix.
11066 (is_dst): Allow $ORIGIN followed by /.
11067 (_dl_dst_substitute): Correct clearing of check_for_trusted.
11068 Correct testing of result of is_trusted_path_normalize
11069 (decompose_rpath): Fix warning.
11070
7b3b0b2a
UD
110712011-05-10 Ulrich Drepper <drepper@gmail.com>
11072
11073 [BZ #11257]
11074 * grp/initgroups.c (internal_getgrouplist): When we found the service
11075 list through the initgroups entry in nsswitch.conf do not always
11076 continue on a successful lookup. Don't always use the
eac80ce2 11077 __nss_group_database value if it is set.
7b3b0b2a
UD
11078 * nss/nsswitch.conf (initgroups): Change action for successful db
11079 lookup to continue for compatibility.
11080
2a81eaa5
UD
110812011-05-09 Ulrich Drepper <drepper@gmail.com>
11082
be97a69e
UD
11083 [BZ #11532]
11084 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
11085 and CP774 modules.
11086 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
11087 and CP774 modules.
11088 * iconvdata/tst-tables.sh: Likewise.
11089 * iconvdata/cp770.c: New file.
11090 * iconvdata/cp771.c: New file.
11091 * iconvdata/cp772.c: New file.
11092 * iconvdata/cp773.c: New file.
11093 * iconvdata/cp774.c: New file.
11094 * iconvdata/testdata/CP770: New file.
11095 * iconvdata/testdata/CP770..UTF8: New file.
11096 * iconvdata/testdata/CP771: New file.
11097 * iconvdata/testdata/CP771..UTF8: New file.
11098 * iconvdata/testdata/CP772: New file.
11099 * iconvdata/testdata/CP772..UTF8: New file.
11100 * iconvdata/testdata/CP773: New file.
11101 * iconvdata/testdata/CP773..UTF8: New file.
11102 * iconvdata/testdata/CP774: New file.
11103 * iconvdata/testdata/CP774..UTF8: New file.
11104
11105 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
11106 END CHARMAP line.
11107 * iconvdata/gen-8bit-gap.sh: Likewise.
11108 * iconvdata/gen-8bit.sh: Likewise.
11109
c1e9e399
UD
11110 * locale/iso-639.def: Add ary entry.
11111
24c55fb3 11112 [BZ #11258]
96b4b1b0
UD
11113 * locale/C-translit.h.in: Add U20A1 transliteration.
11114
bdc2f971
KB
11115 [BZ #12178]
11116 * locale/iso-639.def: Add wae entry.
11117 Patch by Kevin Bortis <bortis@translate-wae.ch>.
11118
2952b117
UD
11119 [BZ #12545]
11120 * locale/programs/localedef.c (construct_output_path): Use ssize_t
11121 for n.
11122
2a81eaa5
UD
11123 [BZ #12711]
11124 * locale/C-translit.h.in: Add entry for U20B9.
11125 Patch by pravin.d.s@gmail.com.
11126
28377d1b
UD
111272011-05-08 Ulrich Drepper <drepper@gmail.com>
11128
7fb90fb8
UD
11129 [BZ #12713]
11130 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
11131 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
11132 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
11133 in rtld. Use *stat64.
7fb90fb8 11134 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 11135 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 11136 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
11137 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
11138 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
11139 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
11140 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
11141 __fstatat64 macros.
7fb90fb8
UD
11142 * include/dirent.h: Add libc_hidden_proto for rewinddir.
11143 * dirent/rewinddir.c: Add libc_hidden_def.
11144 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 11145 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 11146
28377d1b
UD
11147 * include/dirent.h (__alloc_dir): Add flags parameter.
11148 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
11149 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
11150 __alloc_dir.
11151 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
11152 from fdopendir if O_CLOEXEC is already set.
11153
66bdbaa4
AM
111542011-03-15 Alan Modra <amodra@gmail.com>
11155
11156 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
11157 l_tls_firstbyte_offset non-zero. Save padding offset in
11158 l_tls_firstbyte_offset for later use.
11159 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
11160 freeing static tls block.
11161
95721191
JN
111622011-03-05 Jonathan Nieder <jrnieder@gmail.com>
11163
11164 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
11165 where #ifdef was intended. The intent is to prevent ARG_MAX from
11166 being defined by the kernel headers.
11167
f87dfb1f
UD
111682011-05-07 Ulrich Drepper <drepper@gmail.com>
11169
11170 [BZ #12734]
11171 * resolv/resolv.h: Define RES_NOTLDQUERY.
11172 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
11173 no-tld-query and set RES_NOTLDQUERY.
11174 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
11175 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
11176 modern BIND to search name as TLD unless forbidden.
11177
47c3cd7a
UD
111782011-05-07 Petr Baudis <pasky@suse.cz>
11179 Ulrich Drepper <drepper@gmail.com>
11180
11181 [BZ #12393]
11182 * elf/dl-load.c (fillin_rpath): Move trusted path check...
11183 (is_trusted_path): ...to here.
c1e9ea35 11184 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 11185 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 11186 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 11187
8a35c912
PP
111882011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11189
11190 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
11191 __BEGIN/__END_DECLS.
11192
acd41f47
UD
111932011-05-06 Ulrich Drepper <drepper@gmail.com>
11194
11195 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
11196 NSS_STATUS_NOTFOUND if no record was found.
11197
597df647
AS
111982011-05-05 Andreas Schwab <schwab@redhat.com>
11199
11200 * sunrpc/Makefile (headers): Add rpc/netdb.h.
11201 (headers-not-in-tirpc): Remove rpc/netdb.h
11202 * resolv/netdb.h: Revert last change.
11203
b9af1301
PP
112042011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11205
11206 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
11207 circular dependency between libgcc.a and libc.a.
11208
4e34d5f5
AS
112092011-05-05 Andreas Schwab <schwab@redhat.com>
11210
11211 * resolv/netdb.h: Don't include <rpc/netdb.h>.
11212 * nis/Makefile: Don't install rpcsvc/*.
11213 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
11214 instead of <rpc/types.h>.
11215 (MAXHOSTNAMELEN): Define.
11216
00ee369c
AS
112172011-05-03 Andreas Schwab <schwab@redhat.com>
11218
11219 * elf/ldconfig.c (add_dir): Don't crash on empty path.
11220
0b592a30
MB
112212011-04-28 Maciej Babinski <mbabinski@google.com>
11222
11223 [BZ #12714]
11224 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
11225 gethostbyname4_r when IPv6 results are possible.
11226
6e04cbbe
UD
112272011-05-02 Ulrich Drepper <drepper@gmail.com>
11228
11229 [BZ #12723]
11230 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
11231 _PC_PIPE_BUF handling.
11232
e4ecafe0
BH
112332011-04-30 Bruno Haible <bruno@clisp.org>
11234
11235 [BZ #12717]
11236 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
11237 * resolv/netdb.h (getnameinfo): Change type of flags parameter
11238 to 'int'.
11239 * inet/getnameinfo.c (getnameinfo): Likewise.
11240
125ee683
UD
112412011-04-29 Ulrich Drepper <drepper@gmail.com>
11242
11243 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
11244 to groups setting in database lookup.
11245 * nss/nsswitch.conf: Add initgroups entry.
11246
b722481a
EB
112472011-04-22 Ulrich Drepper <drepper@gmail.com>
11248
11249 [BZ #12685]
11250 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
11251 mode string.
11252 Patch by Eric Blake <eblake@redhat.com>.
11253
4df46dbd
L
112542011-04-20 H.J. Lu <hongjiu.lu@intel.com>
11255
11256 * sunrpc/Makefile (need-export-routines): Add svc_run.
11257 (routines): Remove svc_run.
11258 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
11259 * sunrpc/clnt_perr.c (clnt_perrno): Export.
11260 * sunrpc/svc_run.c (svc_run): Likewise.
11261 * sunrpc/svc_udp.c (svcudp_create): Likewise.
11262
e84142d2
UD
112632011-04-21 Ulrich Drepper <drepper@gmail.com>
11264
11265 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
11266 problem in reallocation in last patch.
11267
877175d8
UD
112682011-04-20 Ulrich Drepper <drepper@gmail.com>
11269
11270 * sunrpc/Makefile: Move inclusion of Rules.
11271
ab8eed78
UD
112722011-04-19 Ulrich Drepper <drepper@gmail.com>
11273
11274 * nss/nss_files/files-initgroups.c: New file.
11275 * nss/Makefile (libnss_files-routines): Add files-initgroups.
11276 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
11277 _nss_files_initgroups_dyn.
11278
e3d8f584
RS
112792011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
11280
11281 * elf/elf.h (R_ARM_IRELATIVE): Define.
11282
af190f45
UD
112832011-04-19 Ulrich Drepper <drepper@gmail.com>
11284
11285 * po/ru.po: Update from translation team.
11286
53cf59ef
UD
112872011-04-17 Ulrich Drepper <drepper@gmail.com>
11288
11289 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
11290 dependencies.
11291
4c559bcd
MF
112922011-02-06 Mike Frysinger <vapier@gentoo.org>
11293
11294 [BZ #12653]
11295 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
11296 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
11297 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11298 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11299 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11300
4420675c
AS
113012011-03-28 Andreas Schwab <schwab@linux-m68k.org>
11302
11303 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
11304 differing bytes.
11305 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11306 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11307 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11308
75ea32ab
UD
113092011-04-17 Ulrich Drepper <drepper@gmail.com>
11310
11311 [BZ #12420]
11312 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
11313 storing it.
11314 * stdlib/bug-getcontext.c: New file.
11315 * stdlib/Makefile: Add rules to build and run bug-getcontext.
11316
27390476
AK
113172011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11318
11319 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
11320 instructions into .machine "z9-109".
11321 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
11322 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
11323
10442705
AK
113242011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11325
11326 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
11327 between environment variables and auxiliary vector.
11328
7b57bfe5
UD
113292011-04-16 Ulrich Drepper <drepper@gmail.com>
11330
11331 * Makefile: Add rules to build linkobj/libc.so.
11332 * include/libc-symbols.h: Define libc_hidden_nolink.
11333 * include/rpc/auth.h: Mark functions which are to be hidden.
11334 * include/rpc/auth_des.h: Likewise.
11335 * include/rpc/auth_unix.h: Likewise.
11336 * include/rpc/clnt.h: Likewise.
11337 * include/rpc/des_crypt.h: Likewise.
11338 * include/rpc/key_prot.h: Likewise.
11339 * include/rpc/pmap_clnt.h: Likewise.
11340 * include/rpc/pmap_prot.h: Likewise.
11341 * include/rpc/pmap_rmt.h: Likewise.
11342 * include/rpc/rpc_msg.h: Likewise.
11343 * include/rpc/svc.h: Likewise.
11344 * include/rpc/svc_auth.h: Likewise.
11345 * include/rpc/xdr.h: Likewise.
11346 * nis/Makefile: Link all DSOs against linkobj/libc.so.
11347 * nss/Makefile: Likewise.
11348 * sunrpc/Makefile: Don't install headers. Build library with normal
11349 entry points. Don't build rpcinfo. Link RPC tests appropriately.
11350 * sunrpc/auth_des.c: Hide exported symbols by default, export some
11351 for the compat linking library. Remove use of INTDEF/INTUSE.
11352 * sunrpc/auth_none.c: Likewise.
11353 * sunrpc/auth_unix.c: Likewise.
11354 * sunrpc/authdes_prot.c: Likewise.
11355 * sunrpc/authuxprot.c: Likewise.
11356 * sunrpc/clnt_gen.c: Likewise.
11357 * sunrpc/clnt_perr.c: Likewise.
11358 * sunrpc/clnt_raw.c: Likewise.
11359 * sunrpc/clnt_simp.c: Likewise.
11360 * sunrpc/clnt_tcp.c: Likewise.
11361 * sunrpc/clnt_udp.c: Likewise.
11362 * sunrpc/clnt_unix.c: Likewise.
11363 * sunrpc/des_crypt.c: Likewise.
11364 * sunrpc/des_soft.c: Likewise.
11365 * sunrpc/get_myaddr.c: Likewise.
11366 * sunrpc/key_call.c: Likewise.
11367 * sunrpc/key_prot.c: Likewise.
11368 * sunrpc/netname.c: Likewise.
11369 * sunrpc/pm_getmaps.c: Likewise.
11370 * sunrpc/pm_getport.c: Likewise.
11371 * sunrpc/pmap_clnt.c: Likewise.
11372 * sunrpc/pmap_prot.c: Likewise.
11373 * sunrpc/pmap_prot2.c: Likewise.
11374 * sunrpc/pmap_rmt.c: Likewise.
11375 * sunrpc/publickey.c: Likewise.
11376 * sunrpc/rpc_cmsg.c: Likewise.
11377 * sunrpc/rpc_common.c: Likewise.
11378 * sunrpc/rpc_dtable.c: Likewise.
11379 * sunrpc/rpc_prot.c: Likewise.
11380 * sunrpc/rpc_thread.c: Likewise.
11381 * sunrpc/rtime.c: Likewise.
11382 * sunrpc/svc.c: Likewise.
11383 * sunrpc/svc_auth.c: Likewise.
11384 * sunrpc/svc_authux.c: Likewise.
11385 * sunrpc/svc_raw.c: Likewise.
11386 * sunrpc/svc_run.c: Likewise.
11387 * sunrpc/svc_simple.c: Likewise.
11388 * sunrpc/svc_tcp.c: Likewise.
11389 * sunrpc/svc_udp.c: Likewise.
11390 * sunrpc/svc_unix.c: Likewise.
11391 * sunrpc/svcauth_des.c: Likewise.
11392 * sunrpc/xcrypt.c: Likewise.
11393 * sunrpc/xdr.c: Likewise.
11394 * sunrpc/xdr_array.c: Likewise.
11395 * sunrpc/xdr_float.c: Likewise.
11396 * sunrpc/xdr_intXX_t.c: Likewise.
11397 * sunrpc/xdr_mem.c: Likewise.
11398 * sunrpc/xdr_rec.c: Likewise.
11399 * sunrpc/xdr_ref.c: Likewise.
11400 * sunrpc/xdr_sizeof.c: Likewise.
11401 * sunrpc/xdr_stdio.c: Likewise.
11402
e6c61494
UD
114032011-04-10 Ulrich Drepper <drepper@gmail.com>
11404
11405 [BZ #12650]
11406 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
11407 * sysdeps/ia64/dl-tls.h: Likewise.
11408 * sysdeps/powerpc/dl-tls.h: Likewise.
11409 * sysdeps/s390/dl-tls.h: Likewise.
11410 * sysdeps/sh/dl-tls.h: Likewise.
11411 * sysdeps/sparc/dl-tls.h: Likewise.
11412 * sysdeps/x86_64/dl-tls.h: Likewise.
11413 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
11414
34fe483e
AS
114152011-03-14 Andreas Schwab <schwab@redhat.com>
11416
11417 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
11418 rpath element also skip the following colon.
11419 (expand_dynamic_string_token): Add is_path parameter and pass
11420 down to DL_DST_REQUIRED and _dl_dst_substitute.
11421 (decompose_rpath): Call expand_dynamic_string_token with
11422 non-zero is_path. Ignore empty rpaths.
11423 (_dl_map_object_from_fd): Call expand_dynamic_string_token
11424 with zero is_path.
11425
f12a32e6
AS
114262011-04-08 Andreas Schwab <schwab@linux-m68k.org>
11427
11428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11429 Make cancelable.
11430
38a7d692
UD
114312011-04-09 Ulrich Drepper <drepper@gmail.com>
11432
11433 [BZ #12655]
11434 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
11435 Patch by Filipe David Manana <fdmanana@apache.org>.
11436
e451d22b
AS
114372011-04-07 Andreas Schwab <schwab@redhat.com>
11438
11439 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
11440 Maintain aligned stack.
11441 (CHECK_RSP): Remove unused macro.
11442
dedc7c7b
UD
114432011-04-03 Ulrich Drepper <drepper@gmail.com>
11444
11445 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
11446 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
11447
94521213
UD
114482011-04-02 Ulrich Drepper <drepper@gmail.com>
11449
11450 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
11451
8cb700c0 11452 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 11453
0354e355
L
114542011-03-26 H.J. Lu <hongjiu.lu@intel.com>
11455
11456 [BZ #12518]
11457 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
11458 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
11459 * sysdeps/x86_64/memmove.c: New file.
11460 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
11461 (memcpy): Renamed to ...
11462 (__new_memcpy): This.
11463 (memcpy): Provide GLIBC_2_14 memcpy.
11464 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
11465 (memcpy): Provide GLIBC_2_2_5 memcpy.
11466
8593482f
UD
114672011-04-01 Ulrich Drepper <drepper@gmail.com>
11468
11469 [BZ #12631]
11470 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
11471
81a5726b
AS
114722011-03-30 Andreas Schwab <schwab@redhat.com>
11473
11474 * misc/syncfs.c: New file.
11475 * misc/Makefile (routines): Add syncfs.
11476 * posix/unistd.h: Declare syncfs.
11477 * sysdeps/unix/syscalls.list: Add syncfs.
11478
00e5419f
AS
114792011-04-01 Andreas Schwab <schwab@redhat.com>
11480
11481 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
11482 open_by_handle_at.
11483 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11484 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11485 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11486 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11487 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11488 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
11489 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11490
748876bf
UD
114912011-04-01 Ulrich Drepper <drepper@gmail.com>
11492
658e451d
UD
11493 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
11494 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11495 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
11496 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11497 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11498 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11499 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11500
748876bf
UD
11501 * io/Makefile: Compile fallocate.c, fallocate64.c, and
11502 sync_file_range.c with -fexceptions.
11503 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
11504 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
11505 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
11506 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
11507 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
11508 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11509 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
11510 sync_file_range as cancellation point
11511 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
11512 now a wrapper around __call_sync_file_range with cancellation handling.
11513 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
11514 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
11515 function name to __call_sync_file_range.
11516 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
11517 Add call_sync_file_range.
748876bf 11518
6e63d5e1
AS
115192011-04-01 Andreas Schwab <schwab@redhat.com>
11520
11521 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 11522 bits/timex.h.
6e63d5e1 11523
46998f74
UD
115242011-04-01 Ulrich Drepper <drepper@gmail.com>
11525
4c1423ed
UD
11526 * iconv/iconv.h: Fix typo in comment.
11527 * io/fcntl.h: Likewise.
11528 * libio/stdio.h: Likewise.
11529 * posix/spawn.h: Likewise.
11530 * posix/unistd.h: Likewise.
11531 * stdlib/stdlib.h: Likewise.
11532 * time/time.h: Likewise.
11533 * wcsmbs/wchar.h: Likewise.
11534
158648c0
UD
11535 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
11536 open_by_handle): Add.
11537 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
11538 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
11539 Augment a few comments.
11540 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11541 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11542 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11543 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11544 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11545 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
11546 open_by_handle.
11547
46998f74
UD
11548 * io/fcntl.h (AT_EMPTY_PATH): Define.
11549
83fe108b
UD
115502011-03-30 Ulrich Drepper <drepper@gmail.com>
11551
11552 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
11553 * sysdeps/unix/sysv/linux/bits/time.h: New file.
11554 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
11555 to...
11556 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
11557 * Versions.def: Add GLIBC_2.14.
11558 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
11559 Export.
83fe108b 11560
bb242059
UD
115612011-03-22 Ulrich Drepper <drepper@gmail.com>
11562
11563 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
11564 round counter.
11565 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11566
c97a1282
L
115672011-03-20 H.J. Lu <hongjiu.lu@intel.com>
11568
11569 [BZ #12597]
11570 * string/test-strncmp.c (do_page_test): New function.
11571 (check2): Likewise.
11572 (test_main): Call check2.
11573 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
11574
2a115601
UD
115752011-03-20 Ulrich Drepper <drepper@gmail.com>
11576
11577 [BZ #12587]
11578 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
11579 Handle cache information in CPU leaf 4.
11580 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11581
8126d904
UD
115822011-03-18 Ulrich Drepper <drepper@gmail.com>
11583
042c49c6 11584 [BZ #12583]
8126d904
UD
11585 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
11586 character representation.
11587 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
11588
ccfe366e
RA
115892011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
11590
11591 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
11592 END(__isnan) to END(__isnanf) to match function entry point/label
11593 EALIGN(__isnanf,...).
11594
c6e13027
JJ
115952011-03-10 Jakub Jelinek <jakub@redhat.com>
11596
11597 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
11598
33f85a3f
UD
115992011-03-10 Ulrich Drepper <drepper@gmail.com>
11600
028478fa
UD
11601 [BZ #12510]
11602 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
11603 copy from the symbol referenced in the relocation to initialize the
11604 used variable.
11605 Patch by Piotr Bury <pbury@goahead.com>.
11606 * elf/Makefile: Add rules to build and tst-unique3.
11607 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
11608 * elf/tst-unique3.cc: New file.
11609 * elf/tst-unique3.h: New file.
11610 * elf/tst-unique3lib.cc: New file.
11611 * elf/tst-unique3lib2.cc: New file.
11612
33f85a3f
UD
11613 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
11614
03592fc7
MF
116152011-03-10 Mike Frysinger <vapier@gentoo.org>
11616
11617 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
11618 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
11619 to _start.
03592fc7 11620
6a5ee102
UD
116212011-03-06 Ulrich Drepper <drepper@gmail.com>
11622
11623 * elf/dl-load.c (_dl_map_object): If we are looking for the first
11624 to-be-loaded object along a path to loader is ld.so.
11625
7e4ba49c
HJ
116262011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11627 Ulrich Drepper <drepper@gmail.com>
11628
11629 * sysdeps/x86_64/memset.S: After aligning destination, code
11630 branches to different locations depending on the value of
11631 misalignment, when multiarch is enabled. Fix this.
11632
116332011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11634
11635 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
11636 Set _x86_64_preferred_memory_instruction for AMD processsors.
11637 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11638 Set bit_Prefer_SSE_for_memop for AMD processors.
11639
13a804de
UD
116402011-03-04 Ulrich Drepper <drepper@gmail.com>
11641
11642 * libio/fmemopen.c (fmemopen): Optimize a bit.
11643
9d25c392
AS
116442011-03-03 Andreas Schwab <schwab@redhat.com>
11645
11646 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
11647
a5543c6a
RM
116482011-03-03 Roland McGrath <roland@redhat.com>
11649
11650 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
11651
012d35f7
DM
116522011-02-28 Aurelien Jarno <aurelien@aurel32.net>
11653
7e4ba49c 11654 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
11655 __bzero_ultra1 instead of __memset_ultra1.
11656
4bff6e01
AS
116572011-02-23 Andreas Schwab <schwab@redhat.com>
11658 Ulrich Drepper <drepper@gmail.com>
11659
11660 [BZ #12509]
11661 * include/link.h (struct link_map): Add l_orig_initfini.
11662 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
11663 returning unsuccessfully.
11664 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
11665 close of a file loaded at startup, restore the original l_initfini
11666 list.
11667 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
11668 list, store the pointer.
11669 * elf/Makefile ($(objpfx)noload-mem): New rule.
11670 (noload-ENV): Define.
11671 (tests): Add $(objpfx)noload-mem.
11672 * elf/noload.c: Include <memcheck.h>.
11673 (main): Call mtrace. Close all opened handles.
11674
f2092faf
AS
116752011-02-17 Andreas Schwab <schwab@redhat.com>
11676
11677 [BZ #12454]
11678 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
11679 dependencies are missing.
11680
6c8a2e88
ST
116812011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
11682
f2092faf 11683 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
11684 Hurd needs munmap.
11685 * sysdeps/mach/hurd/ifreq.h: New file.
11686
84a42118
PB
116872011-01-27 Petr Baudis <pasky@suse.cz>
11688 Ulrich Drepper <drepper@gmail.com>
11689
071f805e 11690 [BZ 12445]#
84a42118
PB
11691 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
11692 to extend_alloca().
11693 * stdio-common/bug23.c: New file.
11694 * stdio-common/Makefile (tests): Add bug23.
11695
e23fe25b
AS
116962010-09-28 Andreas Schwab <schwab@redhat.com>
11697 Ulrich Drepper <drepper@gmail.com>
11698
11699 [BZ #12489]
11700 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
11701 before performing relro protection. At old place add assertion
11702 to make sure nothing changed.
11703
d3f02e10
NS
117042011-02-17 Nathan Sidwell <nathan@codesourcery.com>
11705 Glauber de Oliveira Costa <glommer@gmail.com>
11706
11707 * elf/elf.h: Add new ARM TLS relocs.
11708
d55fd7a5
RA
117092011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
11710
11711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11712 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
11713 cast from r3.
11714 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
11715 'tests' variable.
11716 * sysdeps/wordsize-64/tst-writev.c: New file.
11717
2206397e
RA
117182011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
11719
11720 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
11721 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
11722 insns in _dl_start to prevent a TOC reference before relocs are
11723 resolved.
11724
e9433893
UD
117252011-02-15 Ulrich Drepper <drepper@gmail.com>
11726
11727 [BZ #12469]
11728 * Makeconfig: Remove RANLIB definition.
11729 * Makerules: Don't use RANLIB.
11730 * aclocal.m4: Remove ranlib test.
11731 * configure.in: No need to check for ranlib.
11732 * elf/rtld-Rules: Don't use RANLIB.
11733
f75286c6
ST
117342011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
11735
8e31c82d
ST
11736 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
11737 protection macro.
11738 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
11739 inclusion protection macro.
11740
f75286c6
ST
11741 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
11742 SIGRTMIN and SIGRTMAX and print information in that case only when
11743 SIGRTMIN is defined.
11744
c1d0e639
JJ
117452011-02-11 Jakub Jelinek <jakub@redhat.com>
11746
11747 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
11748 arginfo fn returning -1.
11749
11750 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
11751 and thousands string is zero terminated.
11752
edf9294e
AS
117532011-02-03 Andreas Schwab <schwab@redhat.com>
11754
11755 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
11756 sysdeps/unix/sysv/linux/bits/socket.h.
11757
2b7e92df
ST
117582011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
11759
edf9294e
AS
11760 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
11761 (__CPU_COUNT): Remove old macros.
11762 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
11763 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
11764 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
11765 (__sched_cpualloc, __sched_cpufree): Add declarations.
11766
a4c7ea7b
UD
117672011-02-05 Ulrich Drepper <drepper@gmail.com>
11768
11769 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
11770 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
11771 * nscd/aicache.c (addhstaiX): Return timeout of added value.
11772 (readdhstai): Return value of addhstaiX call.
11773 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
11774 (addgrbyX): Return value returned by cache_addgr.
11775 (readdgrbyname): Return value returned by addgrbyX.
11776 (readdgrbygid): Likewise.
11777 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
11778 (addpwbyX): Return value returned by cache_addpw.
11779 (readdpwbyname): Return value returned by addhstbyX.
11780 (readdpwbyuid): Likewise.
11781 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
11782 (addservbyX): Return value returned by cache_addserv.
11783 (readdservbyname): Return value returned by addservbyX:
11784 (readdservbyport): Likewise.
11785 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
11786 (addhstbyX): Return value returned by cache_addhst.
11787 (readdhstbyname): Return value returned by addhstbyX.
11788 (readdhstbyaddr): Likewise.
11789 (readdhstbynamev6): Likewise.
11790 (readdhstbyaddrv6): Likewise.
11791 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
11792 (readdinitgroups): Return value returned by addinitgroupsX.
11793 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
11794 (prune_cache): Keep track of timeout value of re-added entries.
11795 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
11796 * nscd/nscd.h: Adjust prototypes of readd* functions.
11797
a0bf67cc
RM
117982011-02-04 Roland McGrath <roland@redhat.com>
11799
11800 * nis/nis_server.c (nis_servstate): Use the right name for 0.
11801 (nis_stats): Likewise.
11802 * nis/nis_modify.c (nis_modify): Likewise.
11803 * nis/nis_remove.c (nis_remove): Likewise.
11804 * nis/nis_add.c (nis_add): Likewise.
11805
11806 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
11807
11808 * posix/fnmatch_loop.c: Add some consts.
11809
11810 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
11811
435b95eb
L
118122011-02-02 H.J. Lu <hongjiu.lu@intel.com>
11813
11814 [BZ #12460]
11815 * config.make.in (config-cflags-novzeroupper): Define.
11816 * configure.in: Substitute libc_cv_cc_novzeroupper.
11817 * elf/Makefile (AVX-CFLAGS): Define.
11818 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
11819 (CFLAGS-tst-auditmod4a.c): Likewise.
11820 (CFLAGS-tst-auditmod4b.c): Likewise.
11821 (CFLAGS-tst-auditmod6b.c): Likewise.
11822 (CFLAGS-tst-auditmod6c.c): Likewise.
11823 (CFLAGS-tst-auditmod7b.c): Likewise.
11824 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
11825
8517b15e
UD
118262011-02-02 Ulrich Drepper <drepper@gmail.com>
11827
11828 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
11829 function to the callback.
11830 Patch partly by Jiri Olsa <jolsa@redhat.com>.
11831
10a656fe
AS
118322011-02-02 Andreas Schwab <schwab@redhat.com>
11833
11834 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
11835 of errno.
11836
968dad0a
UD
118372011-01-19 Ulrich Drepper <drepper@gmail.com>
11838
9f94d2ea 11839 [BZ #11724]
968dad0a
UD
11840 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
11841 of constructors.
11842 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
11843 of destructors.
11844 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
11845
11846 [BZ #11724]
11847 * elf/Makefile: Add rules to build and run new test.
11848 * elf/tst-initorder.c: New file.
11849 * elf/tst-initorder.exp: New file.
11850 * elf/tst-initordera1.c: New file.
11851 * elf/tst-initordera2.c: New file.
11852 * elf/tst-initordera3.c: New file.
11853 * elf/tst-initordera4.c: New file.
11854 * elf/tst-initorderb1.c: New file.
11855 * elf/tst-initorderb2.c: New file.
11856 * elf/tst-order-a1.c: New file.
11857 * elf/tst-order-a2.c: New file.
11858 * elf/tst-order-a3.c: New file.
11859 * elf/tst-order-a4.c: New file.
11860 * elf/tst-order-b1.c: New file.
11861 * elf/tst-order-b2.c: New file.
11862 * elf/tst-order-main.c: New file.
11863 New test case by George Gensure <werkt0@gmail.com>.
11864
86e92359
UD
118652010-10-01 Andreas Schwab <schwab@redhat.com>
11866
11867 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11868 decoding ACE if AI_CANONIDN.
11869
5d5732b0
UD
118702011-01-18 Ulrich Drepper <drepper@gmail.com>
11871
11872 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
11873
a77e8cbc
UD
118742011-01-17 Ulrich Drepper <drepper@gmail.com>
11875
6392473f
UD
11876 * version.h (RELEASE): Bump for 2.13 release.
11877 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
11878
620a0529
UD
11879 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
11880
18ba70a5
UD
11881 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
11882 MADV_NOHUGEPAGE.
32465c3e
UD
11883 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
11884 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11885 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11886 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11887 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11888 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11889
c0dafcf1
UD
11890 * posix/getconf.c: Update copyright year.
11891 * catgets/gencat.c: Likewise.
11892 * csu/version.c: Likewise.
11893 * debug/catchsegv.sh: Likewise.
11894 * debug/xtrace.sh: Likewise.
11895 * elf/ldconfig.c: Likewise.
11896 * elf/ldd.bash.in: Likewise.
11897 * elf/sprof.c (print_version): Likewise.
11898 * iconv/iconv_prog.c: Likewise.
11899 * iconv/iconvconfig.c: Likewise.
11900 * locale/programs/locale.c: Likewise.
11901 * locale/programs/localedef.c: Likewise.
11902 * malloc/memusage.sh: Likewise.
11903 * malloc/mtrace.pl: Likewise.
11904 * nscd/nscd.c (print_version): Likewise.
11905 * nss/getent.c: Likewise.
11906
a77e8cbc
UD
11907 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
11908 PF_CAIF, and PF_ALG.
11909 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11910
77e8bddf
AS
119112011-01-16 Andreas Schwab <schwab@linux-m68k.org>
11912
1f20b93a
AS
11913 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
11914 (modules-names): Use them.
11915 (ifunc-test-modules, ifunc-pie-tests): Define.
11916 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
11917 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
11918 (test-extras): Likewise.
11919 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
11920 $(compile-command.c).
11921 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
11922 (all-built-dso): Define.
11923 (check-textrel.out, check-execstack.out): Depend on it.
11924
77e8bddf
AS
11925 * configure.in: Don't override --enable-multi-arch.
11926
bc425b33
UD
119272011-01-15 Ulrich Drepper <drepper@gmail.com>
11928
11929 [BZ #6812]
11930 * nscd/hstcache.c (tryagain): Define.
11931 (cache_addhst): Return tryagain not notfound for temporary errors.
11932 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
11933 failed.
11934
794c3ad3
UD
119352011-01-14 Ulrich Drepper <drepper@gmail.com>
11936
70181fdd
UD
11937 [BZ #10563]
11938 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
11939 to make the syscall.
11940 * sysdeps/unix/sysv/linux/setgroups.c: New file.
11941
794c3ad3
UD
11942 [BZ #12378]
11943 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
11944 and fall back to matching as normal character if the string ends before
11945 the matching ']' is found. This is what POSIX requires.
11946 * posix/testfnm.c: Adjust test result.
11947 * posix/globtest.sh: Adjust test result. Add new test.
11948 * posix/tst-fnmatch.input: Likewise.
11949 * posix/tst-fnmatch2.c: Add new test.
11950
68dc9497
AS
119512010-12-28 Andreas Schwab <schwab@linux-m68k.org>
11952
11953 * elf/Makefile (check-execstack): Revert last change. Depend on
11954 check-execstack.h.
11955 (check-execstack.h): New target.
11956 (generated): Add check-execstack.h.
11957 * elf/check-execstack.c: Include "check-execstack.h".
11958 (main): Revert last change.
11959 (handle_file): Return zero if GNU_STACK is absent and
11960 DEFAULT_STACK_PERMS doesn't include PF_X.
11961
451f001b
UD
119622011-01-13 Ulrich Drepper <drepper@gmail.com>
11963
cfa28e56
UD
11964 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
11965 in child fails because the descriptor is already closed.
8cf8ce17
UD
11966 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
11967 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
11968 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 11969
1086d70d
UD
11970 [BZ #12397]
11971 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
11972 syscall.
11973
451f001b
UD
11974 [BZ #10484]
11975 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
11976 temporary buffer used to handle multi lookups locally.
a85b5cb4 11977 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 11978
08769175
UD
119792011-01-12 Ulrich Drepper <drepper@gmail.com>
11980
11981 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
11982 loader is ld.so.
11983
5e49c52e
UD
119842011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
11985
11986 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
11987 alignment for SSE2.
11988
60522a5f
UD
119892011-01-12 Ulrich Drepper <drepper@gmail.com>
11990
11991 [BZ #12394]
11992 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
11993 characters. When rounding increased number of integer digits recompute
11994 number of groups.
11995 * stdio-common/tst-grouping.c: New file.
11996 * stdio-common/Makefile: Add rules to build and run tst-grouping.
11997
f257bbd7
UD
119982011-01-09 Ulrich Drepper <drepper@gmail.com>
11999
12000 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
12001 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
12002
12003 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
12004 void.
12005 * bits/select.h: Likewise.
12006
fa9c15cb
UD
120072011-01-08 Ulrich Drepper <drepper@gmail.com>
12008
12009 * po/ja.po: Update from translation team.
12010
16c2895f
DM
120112011-01-04 David S. Miller <davem@sunset.davemloft.net>
12012
12013 [BZ #11155]
12014 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
12015 implementation just like for lxstat, fxstatat, et al.
12016
2543fef2
JM
120172010-12-27 Jim Meyering <meyering@redhat.com>
12018
12019 [BZ #12348]
12020 * posix/regexec.c (build_trtable): Return failure indication upon
12021 calloc failure. Otherwise, re_search_internal could infloop on OOM.
12022
98727dbe
UD
120232010-12-25 Ulrich Drepper <drepper@gmail.com>
12024
5bd6dc5c
UD
12025 [BZ #12201]
12026 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
12027 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
12028 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
12029 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
12030
97983464
UD
12031 [BZ #12207]
12032 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
12033
98727dbe
UD
12034 [BZ #12204]
12035 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
12036 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
12037
4a531bb0
L
120382010-12-15 H.J. Lu <hongjiu.lu@intel.com>
12039
12040 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
12041 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
12042 script has SORT_BY_INIT_PRIORITY.
12043 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
12044 NO_CTORS_DTORS_SECTIONS is defined.
12045 * elf/soinit.c: Likewise.
12046 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
12047 NO_CTORS_DTORS_SECTIONS is defined.
12048 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
12049 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
12050 * sysdeps/sh/init-first.c: Likewise.
12051 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
12052
07eb4b71
UD
120532010-12-24 Ulrich Drepper <drepper@gmail.com>
12054
12055 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
12056 always use the slow path.
12057
30950a5f
RA
120582010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
12059
12060 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
12061 similar rule which adds the sysdep directories to the header search in
12062 order to pick up the correct platform stackinfo.h.
12063 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
12064 perform test if it is, otherwise return successfully without testing.
12065 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
12066 DEFAULT_STACK_PERMS define in stackinfo.h.
12067 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
12068 defined in stackinfo.h.
12069 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
12070 DEFAULT_STACK_PERMS defined in stackinfo.h.
12071 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
12072 * sysdeps/ia64/stackinfo.h: Likewise.
12073 * sysdeps/s390/stackinfo.h: Likewise.
12074 * sysdeps/sh/stackinfo.h: Likewise.
12075 * sysdeps/sparc/stackinfo.h: Likewise.
12076 * sysdeps/x86_64/stackinfo.h: Likewise.
12077 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
12078 PF_X for powerpc64. Retain PF_X for powerpc32.
12079
db753e2c
UD
120802010-12-19 Ulrich Drepper <drepper@gmail.com>
12081
14b697f7
UD
12082 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
12083 accurately.
db753e2c
UD
12084 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
12085 GETDENTS_64BIT_ALIGNED.
12086
28300719
UD
120872010-12-14 Ulrich Drepper <dreper@gmail.com>
12088
14b697f7 12089 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 12090
4f197237
AS
120912010-12-10 Andreas Schwab <schwab@redhat.com>
12092
dbb0472f
AS
12093 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
12094 _GNU_SOURCE.
12095
4f197237
AS
12096 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
12097 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
12098 Remove __restrict.
12099 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
12100 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
12101
fb88ac72
UD
121022010-12-09 Ulrich Drepper <drepper@gmail.com>
12103
12104 [BZ #11655]
12105 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
12106 are initialized.
12107
42acbb92
JJ
121082010-12-09 Jakub Jelinek <jakub@redhat.com>
12109
12110 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
12111
c038d98d
UD
121122010-12-03 Ulrich Drepper <drepper@gmail.com>
12113
12114 * po/it.po: Update from translation team.
12115
3a4a2499
L
121162010-12-01 H.J. Lu <hongjiu.lu@intel.com>
12117
12118 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
12119 unused codes.
12120
1e24cf6e
UD
121212010-11-30 Ulrich Drepper <drepper@gmail.com>
12122
12123 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
12124
a7690819
AS
121252010-11-24 Andreas Schwab <schwab@redhat.com>
12126
12127 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
12128 specially.
12129 (gaih_getanswer_slice): Likewise.
12130
3bf8d1b1
JJ
121312010-10-20 Jakub Jelinek <jakub@redhat.com>
12132
12133 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
12134
6db52fbb
PB
121352010-05-31 Petr Baudis <pasky@suse.cz>
12136
12137 [BZ #11149]
12138 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
12139 silently even in the chroot mode.
12140
eaca7569
UD
121412010-11-22 Ulrich Drepper <drepper@gmail.com>
12142
12143 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
12144 last patch a bit. Pretty printing
12145
3056dcdb
UD
121462010-05-31 Petr Baudis <pasky@suse.cz>
12147
12148 [BZ #10085]
12149 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
12150 initialization of skip_initgroups_dyn.
12151
cf7c9078
UD
121522010-11-19 Ulrich Drepper <drepper@gmail.com>
12153
12154 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
12155 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12156
a1fb5e3e
UD
121572010-11-16 Ulrich Drepper <drepper@gmail.com>
12158
12159 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
12160
3540d66b
AS
121612010-11-11 Andreas Schwab <schwab@redhat.com>
12162
12163 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
12164 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
12165 (tst-fnmatch-ENV): Set MALLOC_TRACE.
12166 ($(objpfx)tst-fnmatch-mem): New rule.
12167 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
12168 * posix/tst-fnmatch.c (main): Call mtrace.
12169
13b69574
L
121702010-11-11 H.J. Lu <hongjiu.lu@intel.com>
12171
12172 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12173 Support Intel processor model 6 and model 0x2c.
12174
da93d214
LM
121752010-11-10 Luis Machado <luisgpm@br.ibm.com>
12176
12177 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
12178 signed comparison.
12179
8ca52c6e
L
121802010-11-09 H.J. Lu <hongjiu.lu@intel.com>
12181
12182 [BZ #12205]
12183 * string/test-strncasecmp.c (check_result): New function.
12184 (do_one_test): Use it.
12185 (check1): New function.
12186 (test_main): Use it.
12187 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
12188 Support strcasecmp and strncasecmp.
12189
69da074d
UD
121902010-11-08 Ulrich Drepper <drepper@gmail.com>
12191
12192 [BZ #12194]
12193 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
12194 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12195
ff02d528
L
121962010-11-07 H.J. Lu <hongjiu.lu@intel.com>
12197
12198 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
12199 IFUNC support.
12200 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12201 memset-x86-64.
12202 * sysdeps/x86_64/multiarch/bzero.S: New file.
12203 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
12204 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
12205 * sysdeps/x86_64/multiarch/memset.S: New file.
12206 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
12207 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12208 Set bit_Prefer_SSE_for_memop for Intel processors.
12209 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
12210 Define.
12211 (index_Prefer_SSE_for_memop): Define.
12212 (HAS_PREFER_SSE_FOR_MEMOP): Define.
12213
344d0b54
LM
122142010-11-04 Luis Machado <luisgpm@br.ibm.com>
12215
12216 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
12217 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
12218
c0dde15b
UD
122192010-11-03 H.J. Lu <hongjiu.lu@intel.com>
12220
12221 [BZ #12191]
12222 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12223 (__x86_64_raw_data_cache_size_half): Likewise.
12224 (__x86_64_raw_shared_cache_size): Likewise.
12225 (__x86_64_raw_shared_cache_size_half): Likewise.
12226
12227 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12228 (__x86_64_raw_data_cache_size_half): Likewise.
12229 (__x86_64_raw_shared_cache_size): Likewise.
12230 (__x86_64_raw_shared_cache_size_half): Likewise.
12231 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
12232 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
12233 and __x86_64_raw_shared_cache_size_half. Round
12234 __x86_64_data_cache_size_half, __x86_64_data_cache_size
12235 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
12236 to multiple of 256 bytes.
12237
0e516e0e
MS
122382010-11-03 Ulrich Drepper <drepper@gmail.com>
12239
12240 [BZ #12167]
12241 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
12242 of inacessible symlinks. Verify result of symlink before returning it.
12243 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12244 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
12245
0e012e87
ER
122462010-10-28 Erich Ritz <erichritz@gmail.com>
12247
12248 * math/math.h (isinf): Fix typo in comment.
12249
de0ff7bc
UD
122502010-11-01 Ulrich Drepper <drepper@gmail.com>
12251
12252 * po/da.po: Update from translation team.
12253
fa41c84d
UD
122542010-10-26 Ulrich Drepper <drepper@gmail.com>
12255
12256 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
12257 is added to the list.
12258
f0967738
AK
122592010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12260 Ulrich Drepper <drepper@gmail.com>
12261
12262 * elf/dl-object.c (_dl_new_object): Don't append the new object to
12263 the global list here. Move code to...
12264 (_dl_add_to_namespace_list): ...here. New function.
12265 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
12266 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
12267 * elf/dl-load.c (lose): Don't remove the element from the list.
12268 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
12269 (_dl_map_object): Likewise.
12270
122712010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
12272
12273 [BZ #12159]
12274 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
12275 into all bytes of SSE register.
12276 Patch by Richard Li <richardpku@gmail.com>.
12277
f0967738 122782010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
12279
12280 [BZ #12140]
12281 * malloc/malloc.c (_int_free): Fill correct number of bytes when
12282 perturbing.
12283
d0b9e94f
MB
122842010-10-20 Michael B. Brutman <brutman@us.ibm.com>
12285
12286 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
12287 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
12288 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
12289 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
12291 submachine.
12292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
12293
8e9f92e9
AS
122942010-10-22 Andreas Schwab <schwab@redhat.com>
12295
12296 * include/dlfcn.h (__RTLD_SECURE): Define.
12297 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
12298 mode & __RTLD_SECURE instead.
12299 (open_path): Rename preloaded parameter to secure.
12300 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
12301 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
12302 * elf/dl-deps.c (openaux): Likewise.
12303 * elf/rtld.c (struct map_args): Remove is_preloaded.
12304 (map_doit): Don't use it.
12305 (dl_main): Likewise.
12306 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
12307 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
12308
bc96fbda
AS
123092010-09-09 Andreas Schwab <schwab@redhat.com>
12310
12311 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
12312 (sysd-rules-targets): Remove duplicates.
12313 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
12314 rtld-%.$o dependency.
12315
22cd1c9b
AS
123162010-10-18 Andreas Schwab <schwab@redhat.com>
12317
12318 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
12319 _dl_map_object do it.
12320
18edac48
UD
123212010-10-19 Ulrich Drepper <drepper@gmail.com>
12322
12323 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
12324 fast fma builtins, define the macros in the C99 standard.
12325 (FP_FAST_FMAF): Likewise.
12326 (FP_FAST_FMAL): Likewise.
12327 * sysdeps/x86_64/bits/mathdef.h: Likewise.
12328
12329 * bits/mathdef.h: Update copyright year.
12330 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12331
d2050124
MM
123322010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
12333
12334 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
12335 builtins, define the macros in the C99 standard.
12336 (FP_FAST_FMAF): Likewise.
12337 (FP_FAST_FMAL): Likewise.
12338 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
12339 multiply/add.
12340 (FP_FAST_FMAF): Likewise.
12341
475facd1
JJ
123422010-10-15 Jakub Jelinek <jakub@redhat.com>
12343
12344 [BZ #3268]
12345 * math/libm-test.inc (fma_test): Some new testcases.
12346 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
12347 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
12348 y and infinite z. Do multiplication by C already in long double.
12349 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
12350 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
12351 y and infinite z. Do bitwise or of inexact bit into u.d.
12352 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
12353 * sysdeps/i386/fpu/s_fmaf.S: Removed.
12354 * sysdeps/i386/fpu/s_fma.S: Removed.
12355 * sysdeps/i386/fpu/s_fmal.S: Removed.
12356
7c08a05c
JJ
123572010-10-16 Jakub Jelinek <jakub@redhat.com>
12358
12359 [BZ #3268]
12360 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
12361 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
12362 computation is not scheduled after fetestexcept. Fix value
12363 of minimum denormal long double.
12364
f3f7372d
JJ
123652010-10-14 Jakub Jelinek <jakub@redhat.com>
12366
12367 [BZ #3268]
12368 * math/libm-test.inc (fma_test): Add some more tests.
12369 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
12370 correctly.
12371
14d43591
AS
123722010-10-15 Andreas Schwab <schwab@redhat.com>
12373
12374 * scripts/data/localplt-s390-linux-gnu.data: New file.
12375 * scripts/data/localplt-s390x-linux-gnu.data: New file.
12376
5e908464
JJ
123772010-10-13 Jakub Jelinek <jakub@redhat.com>
12378
12379 [BZ #3268]
12380 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
12381 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
12382 instead of dbl-64.
12383 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
12384 inlines.
12385 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
12386 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
12387 if one of x and y is very large and the other is subnormal.
12388 * sysdeps/s390/fpu/s_fmaf.c: New file.
12389 * sysdeps/s390/fpu/s_fma.c: New file.
12390 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
12391 * sysdeps/powerpc/fpu/s_fma.S: New file.
12392 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
12393 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
12394 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
12395
123962010-10-12 Jakub Jelinek <jakub@redhat.com>
12397
12398 [BZ #3268]
12399 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
12400 fma tests.
12401 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
12402 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
12403 * sysdeps/i386/i686/multiarch/s_fma.c: Include
12404 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
12405 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
12406 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
12407 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
12408
b833d51f
UD
124092010-10-12 Ulrich Drepper <drepper@redhat.com>
12410
12411 [BZ #12078]
12412 * posix/regcomp.c (parse_branch): One more memory leak plugged.
12413 * posix/bug-regex31.input: Add test case.
12414
1751705d
UD
124152010-10-11 Ulrich Drepper <drepper@gmail.com>
12416
e9b9cbf5
UD
12417 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
12418 * posix/bug-regex31.input: New file.
12419
12420 [BZ #12078]
12421 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
12422 (parse_sub_exp): Fix last change, use postorder.
12423
ef06edbe
UD
12424 * posix/bug-regex31.c: New file.
12425 * posix/Makefile: Add rules to build and run bug-regex31.
12426
a129c80d
UD
12427 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
12428
12429 [BZ #12078]
12430 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
12431
b76b818e
UD
12432 [BZ #12108]
12433 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
12434 to have entries in sys_siglist.
12435
1751705d
UD
12436 [BZ #12093]
12437 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
12438 be NULL.
12439
9ff8d36f
JJ
124402010-10-07 Jakub Jelinek <jakub@redhat.com>
12441
12442 [BZ #3268]
12443 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
12444 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
12445 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
12446 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
12447 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12448 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
12449 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
12450 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
12451 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
12452 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
12453 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
12454 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
12455 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
12456 * math/ftestexcept.c (fetestexcept): Likewise.
12457 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
12458 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
12459 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
12460 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
12461 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
12462 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
12463 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12464
af325969
UD
124652010-10-11 Ulrich Drepper <drepper@gmail.com>
12466
c579b202 12467 [BZ #12107]
af325969
UD
12468 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
12469 newline.
12470
67a67b95
UD
124712010-10-06 Ulrich Drepper <drepper@gmail.com>
12472
12473 * string/bug-strstr1.c: New file.
12474 * string/Makefile: Add rules to build and run bug-strstr1.
12475
5fb308bc
EB
124762010-10-05 Eric Blake <eblake@redhat.com>
12477
12478 [BZ #12092]
12479 * string/str-two-way.h (two_way_long_needle): Always clear memory
12480 when skipping input due to the shift table.
12481
45db99c7
UD
124822010-10-03 Ulrich Drepper <drepper@gmail.com>
12483
3b111893
UD
12484 [BZ #12005]
12485 * malloc/mcheck.c: Handle large requests.
12486
45db99c7
UD
12487 [BZ #12077]
12488 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
12489 for strncmp and strncasecmp.
12490 * string/stratcliff.c: Add tests for strcmp and strncmp.
12491 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
12492
cf7a1eb8
NI
124932010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12494
12495 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
12496 __set_fpscr.
12497
6484ba5e
AJ
124982010-09-30 Andreas Jaeger <aj@suse.de>
12499
12500 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
12501 (CGROUP_SUPER_MAGIC): Define.
12502 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12503 Handle btrfs and cgroup file systems.
12504 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12505 Likewise.
12506
91c42559
LM
125072010-09-27 Luis Machado <luisgpm@br.ibm.com>
12508
12509 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
12510 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
12511
87a97932
AK
125122010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12513
12514 [BZ #12067]
12515 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
12516 trying to locate the ELF header.
12517
c21cc9bc
AS
125182010-09-27 Andreas Schwab <schwab@redhat.com>
12519
12520 [BZ #11611]
12521 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
12522 Mask out sign-bit copies when constructing f_fsid.
12523
315970f6
PB
125242010-09-24 Petr Baudis <pasky@suse.cz>
12525
12526 * debug/stack_chk_fail_local.c: Add missing licence exception.
12527 * debug/warning-nop.c: Likewise.
12528
1ac7a2c7
JM
125292010-09-15 Joseph Myers <joseph@codesourcery.com>
12530
12531 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
12532 implementing getdents64 using getdents syscall, set d_type if
12533 __ASSUME_GETDENTS32_D_TYPE.
12534
56801c50
AS
125352010-09-16 Andreas Schwab <schwab@redhat.com>
12536
12537 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
12538 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
12539
dda51327
UD
125402010-09-21 Ulrich Drepper <drepper@redhat.com>
12541
12542 [BZ #12037]
12543 * posix/unistd.h: Undo change of feature selection for ftruncate from
12544 2010-01-11.
12545
8ffcee4a
UD
125462010-09-20 Ulrich Drepper <drepper@redhat.com>
12547
a545ecd9 12548 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
12549 detection.
12550
e24f0a8b
AS
125512010-09-20 Andreas Schwab <schwab@redhat.com>
12552
12553 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
12554 fanotify_mark.
12555 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12556
7291c56f
AS
125572010-09-14 Andreas Schwab <schwab@redhat.com>
12558
12559 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
12560 variables after CHECK_SP call.
12561 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
12562
bc5fb037
AS
125632010-09-13 Andreas Schwab <schwab@redhat.com>
12564 Ulrich Drepper <drepper@redhat.com>
12565
12566 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
12567 re-relocationg ld.so.
12568 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
12569 _dl_init_paths call.
12570 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
12571 here anymore.
12572
e66e7419
UD
125732010-09-14 Ulrich Drepper <drepper@redhat.com>
12574
12575 * resolv/res_init.c (__res_vinit): Count the default server we added.
12576
c044aa75
CLT
125772010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
12578 Ulrich Drepper <drepper@redhat.com>
12579
12580 [BZ #11968]
12581 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12582 (____longjmp_chk): Use %ebx for saving value across system call.
12583 Add unwind info.
12584
32cf4069
AS
125852010-09-06 Andreas Schwab <schwab@redhat.com>
12586
12587 * manual/Makefile: Don't mix pattern rules with normal rules.
12588
817328ee
AS
125892010-09-05 Andreas Schwab <schwab@linux-m68k.org>
12590
12591 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
12592 operation.
12593 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12594 * libio/iofopncook.c (_IO_cookie_init): Likewise.
12595 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
12596 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12597 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12598 Likewise.
12599
29fddf61
UD
126002010-09-04 Ulrich Drepper <drepper@redhat.com>
12601
12602 [BZ #11979]
12603 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
12604 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
12605
0959ffc9
UD
126062010-09-02 Ulrich Drepper <drepper@redhat.com>
12607
12608 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
12609 * sysdeps/x86_64/addmul_1.S: Likewise.
12610 * sysdeps/x86_64/lshift.S: Likewise.
12611 * sysdeps/x86_64/mul_1.S: Likewise.
12612 * sysdeps/x86_64/rshift.S: Likewise.
12613 * sysdeps/x86_64/sub_n.S: Likewise.
12614 * sysdeps/x86_64/submul_1.S: Likewise.
12615
ece29840
ST
126162010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
12617
0959ffc9
UD
12618 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
12619 Define __sched_param instead of SCHED_* and sched_param when
ece29840 12620 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 12621 * bits/sched.h [__need_schedparam]
ece29840 12622 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
12623 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
12624 (__defined_schedparam): Define to 1.
ece29840
ST
12625 (__sched_param): New structure, identical to sched_param.
12626 (__need_schedparam): Undefine.
12627
e53a31fe
MF
126282010-08-31 Mike Frysinger <vapier@gentoo.org>
12629
fdc0c10d
MF
12630 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
12631 (epoll_create1): Declare.
12632
e53a31fe
MF
12633 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
12634
a726d796
AS
126352010-08-31 Andreas Schwab <schwab@redhat.com>
12636
12637 [BZ #7066]
12638 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
12639 shifting retval into place.
12640
2f3e3dc7
UD
126412010-09-01 Ulrich Drepper <drepper@redhat.com>
12642
f2933da9
UD
12643 * nis/rpcsvc/nis.h: Update copyright notice.
12644 * nis/rpcsvc/nis.x: Likewise.
12645 * nis/rpcsvc/nis_callback.h: Likewise.
12646 * nis/rpcsvc/nis_callback.x: Likewise.
12647 * nis/rpcsvc/nis_object.x: Likewise.
12648 * nis/rpcsvc/nis_tags.h: Likewise.
12649 * nis/rpcsvc/yp.h: Likewise.
12650 * nis/rpcsvc/yp.x: Likewise.
12651 * nis/rpcsvc/ypupd.h: Likewise.
12652 * nis/yp_xdr.c: Likewise.
12653 * nis/ypupdate_xdr.c: Likewise.
12654
2f3e3dc7
UD
12655 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
12656 mainly the body of pmap_getport. Add parameters to specify timeouts.
12657 (pmap_getport): Use __libc_rpc_getport.
12658 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
12659 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
12660 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
12661
f3dcc2f9
AS
126622010-08-31 Andreas Schwab <schwab@linux-m68k.org>
12663
12664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
12665 fanotify_mark.
12666
6d34eb5b
RM
126672010-08-27 Roland McGrath <roland@redhat.com>
12668
12669 * sysdeps/i386/i686/multiarch/Makefile
12670 (CFLAGS-varshift.c): New variable.
12671
9ea3de11
UD
126722010-08-27 Ulrich Drepper <drepper@redhat.com>
12673
c96d23fc
UD
12674 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
12675 * sysdeps/i386/i686/multiarch/varshift.c: New file.
12676
9ea3de11
UD
12677 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
12678
12679 * sysdeps/x86_64/strlen.S: Minimal code improvement.
12680
623aac7f
L
126812010-08-26 H.J. Lu <hongjiu.lu@intel.com>
12682
12683 * sysdeps/x86_64/strlen.S: Unroll the loop.
12684 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12685 strlen-sse2 strlen-sse2-bsf.
12686 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
12687 __strlen_no_bsf if bit_Slow_BSF is set.
12688 (__strlen_sse42): Removed.
12689 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
12690 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
12691
8b2b7715
RM
126922010-08-25 Roland McGrath <roland@redhat.com>
12693
12694 * sysdeps/x86_64/multiarch/varshift.S: File removed.
12695 * sysdeps/x86_64/multiarch/varshift.c: New file.
12696 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
12697 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
12698 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
12699 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12700
e73015f2
L
127012010-08-25 H.J. Lu <hongjiu.lu@intel.com>
12702
12703 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12704 strlen-sse2 strlen-sse2-bsf.
12705 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
12706 __strlen_sse2_bsf if bit_Slow_BSF is unset.
12707 (__strlen_sse2): Removed.
12708 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
12709 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
12710 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12711 bit_Slow_BSF for Atom.
12712 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
12713 (index_Slow_BSF): Define.
12714 (HAS_SLOW_BSF): Define.
12715
df24a73e
UD
127162010-08-25 Ulrich Drepper <drepper@redhat.com>
12717
12718 [BZ #10851]
12719 * resolv/res_init.c (__res_vinit): When no server address at all
12720 is given default to loopback.
12721
f2ac4868
RM
127222010-08-24 Roland McGrath <roland@redhat.com>
12723
09055553
RM
12724 * configure.in: Remove config-name.h generation.
12725 * configure: Regenerated.
12726 * config-name.in: File removed.
12727 * scripts/config-uname.sh: New file.
12728 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
12729 ($(objdir)config-name.h): New target.
12730
f2ac4868
RM
12731 * sunrpc/rpc_parse.h: Avoid nested comment.
12732
73f27d5e
RH
127332010-08-24 Richard Henderson <rth@redhat.com>
12734 Ulrich Drepper <drepper@redhat.com>
12735 H.J. Lu <hongjiu.lu@intel.com>
12736
12737 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
12738 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
12739 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
12740 Replace _mm_srli_si128 with __m128i_shift_right. Replace
12741 _mm_alignr_epi8 with _mm_loadu_si128.
12742 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
12743 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
12744 (__m128i_shift_right): Removed.
12745 * sysdeps/i386/i686/multiarch/varshift.h: New file.
12746 * sysdeps/i386/i686/multiarch/varshift.S: New file.
12747 * sysdeps/x86_64/multiarch/varshift.h: New file.
12748 * sysdeps/x86_64/multiarch/varshift.S: New file.
12749
84b9230c
MF
127502010-08-21 Mike Frysinger <vapier@gentoo.org>
12751
12752 * configure.in: Move assembler checks to before sysdep dir checking.
12753
9bbd0ddc
PB
127542010-08-20 Petr Baudis <pasky@suse.cz>
12755
12756 * LICENSES: Sync the sunrpc license.
12757
9da4bb31
UD
127582010-08-19 Ulrich Drepper <drepper@redhat.com>
12759
a7ab6ec8
UD
12760 * sunrpc/auth_des.c: Update copyright notice once again.
12761 * sunrpc/auth_none.c: Likewise.
12762 * sunrpc/auth_unix.c: Likewise.
12763 * sunrpc/authdes_prot.c: Likewise.
12764 * sunrpc/authuxprot.c: Likewise.
12765 * sunrpc/bindrsvprt.c: Likewise.
12766 * sunrpc/clnt_gen.c: Likewise.
12767 * sunrpc/clnt_perr.c: Likewise.
12768 * sunrpc/clnt_raw.c: Likewise.
12769 * sunrpc/clnt_simp.c: Likewise.
12770 * sunrpc/clnt_tcp.c: Likewise.
12771 * sunrpc/clnt_udp.c: Likewise.
12772 * sunrpc/clnt_unix.c: Likewise.
12773 * sunrpc/des_crypt.c: Likewise.
12774 * sunrpc/des_soft.c: Likewise.
12775 * sunrpc/get_myaddr.c: Likewise.
12776 * sunrpc/getrpcport.c: Likewise.
12777 * sunrpc/key_call.c: Likewise.
12778 * sunrpc/key_prot.c: Likewise.
12779 * sunrpc/openchild.c: Likewise.
12780 * sunrpc/pm_getmaps.c: Likewise.
12781 * sunrpc/pm_getport.c: Likewise.
12782 * sunrpc/pmap_clnt.c: Likewise.
12783 * sunrpc/pmap_prot.c: Likewise.
12784 * sunrpc/pmap_prot2.c: Likewise.
12785 * sunrpc/pmap_rmt.c: Likewise.
12786 * sunrpc/rpc/auth.h: Likewise.
12787 * sunrpc/rpc/auth_unix.h: Likewise.
12788 * sunrpc/rpc/clnt.h: Likewise.
12789 * sunrpc/rpc/des_crypt.h: Likewise.
12790 * sunrpc/rpc/key_prot.h: Likewise.
12791 * sunrpc/rpc/netdb.h: Likewise.
12792 * sunrpc/rpc/pmap_clnt.h: Likewise.
12793 * sunrpc/rpc/pmap_prot.h: Likewise.
12794 * sunrpc/rpc/pmap_rmt.h: Likewise.
12795 * sunrpc/rpc/rpc.h: Likewise.
12796 * sunrpc/rpc/rpc_des.h: Likewise.
12797 * sunrpc/rpc/rpc_msg.h: Likewise.
12798 * sunrpc/rpc/svc.h: Likewise.
12799 * sunrpc/rpc/svc_auth.h: Likewise.
12800 * sunrpc/rpc/types.h: Likewise.
12801 * sunrpc/rpc/xdr.h: Likewise.
12802 * sunrpc/rpc_clntout.c: Likewise.
12803 * sunrpc/rpc_cmsg.c: Likewise.
12804 * sunrpc/rpc_common.c: Likewise.
12805 * sunrpc/rpc_cout.c: Likewise.
12806 * sunrpc/rpc_dtable.c: Likewise.
12807 * sunrpc/rpc_hout.c: Likewise.
12808 * sunrpc/rpc_main.c: Likewise.
12809 * sunrpc/rpc_parse.c: Likewise.
12810 * sunrpc/rpc_parse.h: Likewise.
12811 * sunrpc/rpc_prot.c: Likewise.
12812 * sunrpc/rpc_sample.c: Likewise.
12813 * sunrpc/rpc_scan.c: Likewise.
12814 * sunrpc/rpc_scan.h: Likewise.
12815 * sunrpc/rpc_svcout.c: Likewise.
12816 * sunrpc/rpc_tblout.c: Likewise.
12817 * sunrpc/rpc_util.c: Likewise.
12818 * sunrpc/rpc_util.h: Likewise.
12819 * sunrpc/rpcinfo.c: Likewise.
12820 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
12821 * sunrpc/rpcsvc/key_prot.x: Likewise.
12822 * sunrpc/rpcsvc/klm_prot.x: Likewise.
12823 * sunrpc/rpcsvc/mount.x: Likewise.
12824 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
12825 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
12826 * sunrpc/rpcsvc/rex.x: Likewise.
12827 * sunrpc/rpcsvc/rstat.x: Likewise.
12828 * sunrpc/rpcsvc/rusers.x: Likewise.
12829 * sunrpc/rpcsvc/sm_inter.x: Likewise.
12830 * sunrpc/rpcsvc/spray.x: Likewise.
12831 * sunrpc/rpcsvc/yppasswd.x: Likewise.
12832 * sunrpc/rtime.c: Likewise.
12833 * sunrpc/svc.c: Likewise.
12834 * sunrpc/svc_auth.c: Likewise.
12835 * sunrpc/svc_authux.c: Likewise.
12836 * sunrpc/svc_raw.c: Likewise.
12837 * sunrpc/svc_run.c: Likewise.
12838 * sunrpc/svc_simple.c: Likewise.
12839 * sunrpc/svc_tcp.c: Likewise.
12840 * sunrpc/svc_udp.c: Likewise.
12841 * sunrpc/svc_unix.c: Likewise.
12842 * sunrpc/svcauth_des.c: Likewise.
12843 * sunrpc/xcrypt.c: Likewise.
12844 * sunrpc/xdr.c: Likewise.
12845 * sunrpc/xdr_array.c: Likewise.
12846 * sunrpc/xdr_float.c: Likewise.
12847 * sunrpc/xdr_mem.c: Likewise.
12848 * sunrpc/xdr_rec.c: Likewise.
12849 * sunrpc/xdr_ref.c: Likewise.
12850 * sunrpc/xdr_sizeof.c: Likewise.
12851 * sunrpc/xdr_stdio.c: Likewise.
12852
9da4bb31
UD
12853 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
12854 handling.
12855
bdaa77bc
AS
128562010-08-19 Andreas Schwab <schwab@redhat.com>
12857
12858 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
12859
fe2f79db
LM
128602010-08-19 Luis Machado <luisgpm@br.ibm.com>
12861
12862 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
12863 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
12864 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
12865 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
12866 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
12867 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
12868 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
12869 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
12870 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
12871 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
12872 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
12873 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
12874 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
12875 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
12876
b9b42ee0
AB
128772010-07-26 Anton Blanchard <anton@samba.org>
12878
12879 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
12880 * malloc/arena.c (heap_trim): Likewise.
12881
1c06ba31
UD
128822010-08-16 Ulrich Drepper <drepper@redhat.com>
12883
12884 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
12885 here. Not...
12886 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
12887 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
12888
f8392f40
L
128892010-08-12 H.J. Lu <hongjiu.lu@intel.com>
12890
12891 * sysdeps/i386/elf/Makefile: New file.
12892
3162f12e
AS
128932010-08-14 Andreas Schwab <schwab@linux-m68k.org>
12894
12895 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
12896 from fanotify_init.
12897 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
12898 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12899
28c90b2c
UD
129002010-08-15 Ulrich Drepper <drepper@redhat.com>
12901
12902 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
12903 of strncasecmp_l.
1feccb6c 12904 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 12905
ca6bb004
UD
129062010-08-14 Ulrich Drepper <drepper@redhat.com>
12907
e9f82e0d
UD
12908 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12909 strncase_l-nonascii.
12910 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12911 Add strncase_l-ssse3.
12912 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
12913 * sysdeps/x86_64/strcmp.S: Likewise.
12914 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
12915 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
12916 * sysdeps/x86_64/strncase.S: New file.
12917 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
12918 * sysdeps/x86_64/strncase_l.S: New file.
12919 * string/Makefile (strop-tests): Add strncasecmp.
12920 * string/test-strncasecmp.c: New file.
12921
12922 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
12923 warning.
12924
ca6bb004
UD
12925 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
12926 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
12927
052fa7b3
AS
129282010-08-14 Andreas Schwab <schwab@linux-m68k.org>
12929
12930 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
12931
962dba78
UD
129322010-08-12 Ulrich Drepper <drepper@redhat.com>
12933
12934 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
12935 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
12936 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
12937
bebff237
AM
129382010-05-01 Alan Modra <amodra@gmail.com>
12939
12940 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
12941 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
12942 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
12943 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
12944 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
12945 tidying. Don't tail-call __sigjmp_save for static lib.
12946 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
12947 save location.
12948 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
12949 (CALL_MCOUNT): Add eh info, and nop after bl.
12950 (TAIL_CALL_SYSCALL_ERROR): New macro.
12951 (PSEUDO_RET): Use it.
12952 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12953 Correct save location of integer regs and cr.
12954 (_dl_profile_resolve): Correct cr save location. Delete nops
12955 after bl when SHARED. Reduce cfi size a little by better
12956 placement of cfi directives.
12957 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
12958 make a stack frame. Instead use parm save area as a temp.
12959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
12960 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
12961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12962 Don't make a stack frame for parent, use parm save area.
12963 Increase child stack frame to 112 bytes. Don't save unused reg,
12964 and adjust reg usage. Set up cfi on error recovery and
12965 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
12966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12967 (__makecontext): Add dummy nop after jump to exit.
12968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
12969 Use correct parm save area and cr save, reduce stack frame.
12970 Correct cfi for possible PSEUDO_RET frame setup.
12971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
12972 Branch to local label emitted by PSEUDO_RET rather than
12973 __syscall_error.
12974
02637374
AS
129752010-08-12 Andreas Schwab <schwab@redhat.com>
12976
12977 [BZ #11904]
12978 * locale/programs/locale.c (print_assignment): New function.
12979 (show_locale_vars): Use it.
12980
c3e2f19b
UD
129812010-08-11 Ulrich Drepper <drepper@redhat.com>
12982
3cdaa6ad
UD
12983 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
12984 field.
12985 (struct statfs64): Likewise.
12986 (_STATFS_F_FLAGS): Define.
12987 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
12988 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12989 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
12990 (ST_VALID): Define locally.
12991 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
12992 __statvfs_getflags, use the provided value.
12993 * sysdeps/unix/sysv/linux/kernel-features.h: Define
12994 __ASSUME_STATFS_F_FLAGS.
12995
754f7da3
UD
12996 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
12997
10b3bedc
UD
12998 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
12999 Add sys/fanotify.h.
13000 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
13001 fanotify_mask for GLIBC_2.13.
13002 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
13003 fanotify_init and fanotify_mark.
13004 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13005 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
13006
c08fb0d7
UD
13007 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
13008 Add prlimit.
13009 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
13010 prlimit64 for GLIBC_2.13.
13011 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
13012 prlimit64.
13013 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
13014 syscall.
13015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13016 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13017 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
13018 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
13019 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
13020 add prlimit alias.
13021 * sysdeps/unix/sysv/linux/prlimit.c: New file.
13022
15bac72b
UD
13023 [BZ #11903]
13024 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
13025 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
13026
c3e2f19b
UD
13027 * nss/Makefile: Add rules to build and run tst-nss-test1.
13028 * shlib-versions: Add entry for libnss_test1.
13029 * nss/nss_test1.c: New file.
13030 * nss/tst-nss-test1.c: New file.
13031
13032 * nss/nsswitch.c (__nss_database_custom): Define new variable.
13033 (__nss_configure_lookup): Set appropriate entry in
13034 __nss_configure_lookup to true.
13035 * nss/nsswitch.h: Define enum with indeces of databases in
13036 databases and __nss_database_custom arrays. Declare
13037 __nss_database_custom.
13038 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
13039 to avoid using nscd when custom rules are installed.
13040 * nss/getXXbyYY_r.c: Likewise.
13041 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13042
13043 * nss/nss_files/files-parse.c: Whitespace fixes.
13044
f15ce4d8
UD
130452010-08-09 Ulrich Drepper <drepper@redhat.com>
13046
13047 [BZ #11883]
13048 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
13049 * posix/fnmatch_loop.c: Likewise.
13050
d22e4cc9
AK
130512010-07-17 Andi Kleen <ak@linux.intel.com>
13052
13053 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
13054 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
13055 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
13056 * Versions.def [GLIBC_2.13]: Add.
13057
805bc17d
UD
130582010-08-06 Ulrich Drepper <drepper@redhat.com>
13059
13060 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13061 Also fail if tpwd after pwuid call is NULL.
13062
5a42321d
ST
130632010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
13064
13065 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
13066 when converting to ms.
13067
fd3ebeda
ST
130682010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13069
13070 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
13071 EOPNOTSUPP errors with ENOTTY.
13072 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
13073 EOPNOTSUPP errors with ENOTTY.
13074
73507d3a
UD
130752010-07-31 Ulrich Drepper <drepper@redhat.com>
13076
13077 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13078 Add strcasecmp_l-ssse3.
13079 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
13080 strcasecmp.
13081 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
13082 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
13083 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
13084
fe36dd02
UD
130852010-07-30 Ulrich Drepper <drepper@redhat.com>
13086
66f6765a
UD
13087 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
13088
42e08a54
UD
13089 * string/Makefile (strop-tests): Add strcasecmp.
13090 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13091 strcasecmp_l-nonascii.
13092 (gen-as-const-headers): Add locale-defines.sym.
13093 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
13094 * sysdeps/x86_64/strcasecmp.S: New file.
13095 * sysdeps/x86_64/strcasecmp_l.S: New file.
13096 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
13097 * sysdeps/x86_64/locale-defines.sym: New file.
13098 * string/test-strcasecmp.c: New file.
13099
fe36dd02
UD
13100 * string/test-strcasestr.c: Test both ends of the range of characters.
13101 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
13102
48cbc0d6
RM
131032010-07-29 Roland McGrath <roland@redhat.com>
13104
76e6d6bc 13105 [BZ #11856]
48cbc0d6
RM
13106 * manual/locale.texi (Yes-or-No Questions): Fix example code.
13107
880113d9
UD
131082010-07-27 Ulrich Drepper <drepper@redhat.com>
13109
13110 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
13111 for ld.so.
13112
deb9cabb
AS
131132010-07-27 Andreas Schwab <schwab@redhat.com>
13114
13115 * manual/memory.texi (Malloc Tunable Parameters): Document
13116 M_PERTURB.
13117
1c7570ff
RM
131182010-07-26 Roland McGrath <roland@redhat.com>
13119
13120 [BZ #11840]
13121 * configure.in (-fgnu89-inline check): Set and substitute
13122 gnu89_inline, not libc_cv_gnu89_inline.
13123 * configure: Regenerated.
13124 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
13125
24fb0f88
UD
131262010-07-26 Ulrich Drepper <drepper@redhat.com>
13127
13128 * string/test-strnlen.c: New file.
13129 * string/Makefile (strop-tests): Add strnlen.
13130 * string/tester.c (test_strnlen): Add a few more test cases.
13131 * string/tst-strlen.c: Better error reporting.
13132
13133 * sysdeps/x86_64/strnlen.S: New file.
13134
8e96b93a
UD
131352010-07-24 Ulrich Drepper <drepper@redhat.com>
13136
13137 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
13138 lower-latency instructions.
13139
dbc676d4
UD
131402010-07-23 Ulrich Drepper <drepper@redhat.com>
13141
13142 * string/test-strcasestr.c: New file.
13143 * string/test-strstr.c: New file.
13144 * string/Makefile (strop-tests): Add strstr and strcasestr.
13145 * string/str-two-way.h: Don't undefine MAX.
13146 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
13147
f6a31e0e
AS
131482010-07-21 Andreas Schwab <schwab@redhat.com>
13149
13150 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13151 strcasestr-nonascii.
13152 (CFLAGS-strcasestr-nonascii.c): Define.
13153 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
13154 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
13155 Remove unused attribute.
13156
5dbc3b6c
RM
131572010-07-20 Roland McGrath <roland@redhat.com>
13158
13159 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
13160 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
13161 ld.so.cache was broken. With it, there is no way to disable dsocaps
13162 like LD_HWCAP_MASK can disable hwcaps.
13163
23d101d8
EPM
131642010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13165
13166 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
13167
cc9f2e47
UD
131682010-07-16 Ulrich Drepper <drepper@redhat.com>
13169
13170 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
13171 call in strcasestr.
13172 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
13173 __strcasestr_sse42_nonascii.
13174 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
13175 strcasestr-nonascii.c.
13176 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
13177
77c1b069
LM
131782010-06-15 Luis Machado <luisgpm@br.ibm.com>
13179
13180 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
13181 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
13182 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
13183 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
13184
440566c3
UD
131852010-07-09 Ulrich Drepper <drepper@redhat.com>
13186
13187 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
13188 fcntl.
13189
5be9d05d
AS
131902010-07-06 Andreas Schwab <schwab@redhat.com>
13191
c30b7ee2 13192 [BZ #11577]
5be9d05d
AS
13193 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
13194 dl_signal_cerror.
13195
8a492a67
UD
131962010-07-06 Ulrich Drepper <drepper@redhat.com>
13197
13198 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
13199 _PC_PIPE_BUF using F_GETPIPE_SZ.
13200
713df3d5
RM
132012010-07-05 Roland McGrath <roland@redhat.com>
13202
13203 * manual/arith.texi (Rounding Functions): Fix rint description
13204 implicit in round description.
13205
702e8f14
UD
132062010-07-02 Ulrich Drepper <drepper@redhat.com>
13207
13208 * elf/Makefile: Fix linking for a few tests to make recent linker
13209 happy.
13210
52ed8be9
AS
132112010-06-30 Andreas Schwab <schwab@redhat.com>
13212
13213 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13214 $(common-objpfx)libc_nonshared.a.
13215
f47c9a11
LM
132162010-06-21 Luis Machado <luisgpm@br.ibm.com>
13217
13218 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
13219 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
13220 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13221 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13222 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
13223 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
13224 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13225 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
13227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
13228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
13229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
13231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
13233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
13234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
13235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
13236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
13238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
13240 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
13241 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
13242 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
13243 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
13244 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
13245 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
13246 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
13247 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
13248 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
13249 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
13250 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
13251 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
13252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
13253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
13254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
13255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
13256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
13257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
13258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
13259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
13260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
13261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
13262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
13263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
13264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
13265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
13266
6fb8cbcb
L
132672010-06-25 H.J. Lu <hongjiu.lu@intel.com>
13268
13269 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
13270 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
13271 * string/memmove.c (memmove): Renamed to ...
13272 (MEMMOVE): ...this. Default to memmove.
13273 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
13274 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
13275 (END_CHK): Define.
13276 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13277 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
13278 mempcpy-ssse3-back memmove-ssse3-back.
13279 * sysdeps/x86_64/multiarch/bcopy.S: New file .
13280 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
13281 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
13282 * sysdeps/x86_64/multiarch/memcpy.S: New file.
13283 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
13284 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
13285 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
13286 * sysdeps/x86_64/multiarch/memmove.c: New file.
13287 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
13288 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
13289 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
13290 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
13291 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
13292 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
13293 Define.
13294 (index_Fast_Copy_Backward): Define.
13295 (HAS_ARCH_FEATURE): Define.
13296 (HAS_FAST_REP_STRING): Define.
13297 (HAS_FAST_COPY_BACKWARD): Define.
13298
4e733bac 132992010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
13300
13301 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13302 Restore proper fallback handling.
13303
63c4ed22
UD
133042010-06-19 Ulrich Drepper <drepper@redhat.com>
13305
ac2b484c
UD
13306 [BZ #11701]
13307 * posix/group_member.c (__group_member): Correct checking loop.
13308
63c4ed22
UD
13309 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
13310 OOM in getpwuid_r correctly. Return error number when the caller
13311 should return, otherwise -1.
13312 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
13313 call returning > 0 value.
13314 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
13315
765ade4b
AS
133162010-06-07 Andreas Schwab <schwab@redhat.com>
13317
13318 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
13319 libc_nonshared.a from targets in modules-names.
13320
80da2e09
KS
133212010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
13322
13323 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
13324 requires it.
13325
158db122
LM
133262010-06-10 Luis Machado <luisgpm@br.ibm.com>
13327
13328 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
13329 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
13330 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
13331 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
13332
caa78cf8
AS
133332010-06-02 Andreas Schwab <schwab@redhat.com>
13334
13335 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
13336
b2ef2c01
UD
133372010-06-14 Ulrich Drepper <drepper@redhat.com>
13338
13339 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
13340 and F_GETPIPE_SZ.
13341 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13342 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13343 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13344 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13345 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13346 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
13347
fbd643b6
RM
133482010-06-14 Roland McGrath <roland@redhat.com>
13349
13350 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
13351
f32f2869
JJ
133522010-06-07 Jakub Jelinek <jakub@redhat.com>
13353
13354 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
13355 __REDIRECT followed by __THROW.
13356 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
13357 * posix/getopt.h (getopt): Likewise.
13358
2a50c078
EPM
133592010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13360
13361 * hurd/lookup-at.c (__file_name_lookup_at): Accept
13362 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
13363 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
13364 in AT_FLAGS.
13365 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
13366 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
13367
eb5ad2eb
LM
133682010-05-28 Luis Machado <luisgpm@br.ibm.com>
13369
13370 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
13371
3c88fe1e
L
133722010-05-26 H.J. Lu <hongjiu.lu@intel.com>
13373
13374 [BZ #11640]
13375 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13376 Properly check family and model.
13377
d2f73151
TY
133782010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
13379
13380 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
13381
ebd2e13d
LM
133822010-05-24 Luis Machado <luisgpm@br.ibm.com>
13383
13384 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
13385
b32b8b45
UD
133862010-05-21 Ulrich Drepper <drepper@redhat.com>
13387
13388 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
13389 symbol reference.
13390
9acbe24d
AS
133912010-05-19 Andreas Schwab <schwab@redhat.com>
13392
13393 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
13394 symbol reference.
13395
f0ccf6ea
AS
133962010-05-21 Andreas Schwab <schwab@redhat.com>
13397
3d04ff3a
AS
13398 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
13399 and internal_recvmmsg.
13400 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
13401 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
13402 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
13403 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
13404
f0ccf6ea
AS
13405 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
13406 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13407 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13408
5b08ac57
AS
134092010-05-20 Andreas Schwab <schwab@redhat.com>
13410
13411 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
13412
4828935d
LM
134132010-05-17 Luis Machado <luisgpm@br.ibm.com>
13414
13415 POWER7 optimizations.
13416 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
13417 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
13418
373d545e
UD
134192010-05-19 Ulrich Drepper <drepper@redhat.com>
13420
13421 * version.h: Update for 2.13 development version.
13422
21a2b1ae
AS
134232010-05-12 Andrew Stubbs <ams@codesourcery.com>
13424
13425 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
13426 exceptions. Return 0.
13427
3f7dcb2b
RM
134282010-05-07 Roland McGrath <roland@redhat.com>
13429
13430 * elf/ldconfig.c (main): Add a const.
13431
5f24d53a 134322010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 13433
a160f8d8
UD
13434 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
13435 (args_options): Add no-idn option.
13436 (ahosts_keys_int): Add idn_flags to ai_flags.
13437 (parse_option): Handle 'i' option to clear idn_flags.
13438
5f24d53a
UD
13439 * malloc/malloc.c (_int_free): Possible race in the most recently
13440 added check. Only act on the data if no current modification
13441 happened.
265bb1ce
UD
13442
13443See ChangeLog.17 for earlier changes.