]> sourceware.org Git - glibc.git/blame - ChangeLog
New function _dl_find_dso_for_object
[glibc.git] / ChangeLog
CommitLineData
be179c8a
SP
12013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2
3 * elf/Versions (ld): Add _dl_find_dso_for_object.
4 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
5 * elf/dl-open.c (_dl_find_dso_for_object): New function.
6 (dl_open_worker): Use _dl_find_dso_for_object.
7 * elf/dl-sym.c (do_sym): Likewise.
8 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
9
f78b5caa
AK
102013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11
12 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
13 Syntactic changes only.
14 (_dl_runtime_profile): Do a tail-call to the resolved function.
15
29691210
JM
162013-02-17 Joseph Myers <joseph@codesourcery.com>
17
18 [BZ #13550]
19 * sysdeps/x86_64/bp-asm.h: Remove file.
20 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
21 <bp-sym.h> and <bp-asm.h>.
22 (__clone): Do not use BP_SYM.
23 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
24 <bp-sym.h> and <bp-asm.h>.
25 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
27 "bp-asm.h".
28 (_setjmp): Do not use BP_SYM.
29 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
30 "bp-asm.h".
31 (setjmp): Do not use BP_SYM.
32 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
33 libc_hidden_def.
34 (mempcpy): Do not use BP_SYM in weak_alias.
35 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
36 "bp-asm.h".
37 (strchr): Do not use BP_SYM.
38 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
39 "bp-asm.h".
40 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
41 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
42 (_start): Do not use BP_SYM.
43 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
44 "bp-asm.h".
45 (strcat): Do not use BP_SYM.
46 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
47 "bp-asm.h".
48 (STRCMP): Do not use BP_SYM.
49 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
50 "bp-asm.h".
51 (STRCPY): Do not use BP_SYM.
52 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
53 "bp-asm.h".
54 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
55 "bp-asm.h".
56 (FUNCTION): Do not use BP_SYM.
57 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
58 weak_alias.
59 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
60
f238fd19
AJ
612013-02-17 Andreas Jaeger <aj@suse.de>
62
63 * time/Versions: Sort entries.
64 * string/Versions: Likewise.
65 * resolv/Versions: Likewise.
66 * posix/Versions: Likewise.
67 * iconv/Versions: Likewise.
68 * elf/Versions: Likewise.
69 * wcsmbs/Versions: Likewise.
70
bd07f23c 712013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 72
22af19f9
SP
73 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
74 loop termination condition.
75
4709fe76
SP
76 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
77 variable to calculate EZ.
78 (__sqr): Likewise.
2d0e0f29
SP
79
80 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
81 the lower precision input.
82
daaa7713
JM
832013-02-15 Joseph Myers <joseph@codesourcery.com>
84
85 [BZ #13550]
86 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
87 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
88 (run-via-rtld-prefix): Do not handle %-bp tests.
89 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
90 (all-object-suffixes): Remove .ob.
91 (bppfx): Remove variable.
92 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
93 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
94 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
95 [$(build-bounded) = yes] (libtype.ob): Likewise.
96 * Makerules (elide-routines.ob): Remove variable.
97 (do-tests-clean): Do not handle *-bp.out.
98 (common-mostlyclean): Do not handle *-bp and *-bp.out.
99 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
100 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
101 (tests): Do not include $(tests-bp.out).
102 (xtests): Do not include $(xtests-bp.out).
103 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
104 [$(build-bounded) = yes] ($(addprefix
105 $(objpfx),$(binaries-bounded))): Remove rule.
106 ($(objpfx)%-bp.out): Remove rule.
107 * config.make.in (build-bounded): Remove variable.
108 * crypt/Makefile [$(build-bounded) = yes]
109 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
110 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
111 append to variable.
112 [$(build-bounded) = yes] (install-lib): Likewise.
113 [$(build-bounded) = yes] (generated): Likewise.
114 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
115 Remove rule.
116 * intl/Makefile [$(build-bounded) = yes]
117 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
118 * math/Makefile [$(build-bounded) = yes]
119 ($(tests:%=$(objpfx)%-bp): Likewise.
120 * misc/Makefile [$(build-bounded) = yes]
121 ($(objpfx)tst-tsearch-bp): Likewise.
122 * nptl/Makeconfig (bounded-thread-library): Remove variable.
123 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
124 Remove dependency.
125 * string/Makefile (o-objects.ob): Remove variable.
126 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
127 (CFLAGS-.ob): Remove variable.
128 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
129 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
130 both definitions of variable.
131 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
132 (ASFLAGS-.ob): Remove variable.
133
e97ed6dd
JM
1342013-02-14 Joseph Myers <joseph@codesourcery.com>
135
2bdd4ca6
JM
136 [BZ #13550]
137 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
138 Remove __BOUNDED_POINTERS__ from condition.
139 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
140 * string/bits/string2.h [!__NO_STRING_INLINES &&
141 !__BOUNDED_POINTERS__]: Likewise.
142 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
143 Likewise.
144 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
145 Remove conditional code.
146 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
147 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
148 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
149 condition.
150
e97ed6dd
JM
151 [BZ #13550]
152 * csu/libc-start.c: Do not include <bp-sym.h>.
153 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
154 * elf/dl-open.c: Do not include <bp-sym.h>.
155 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
156 * math/fegetenv.c: Do not include <bp-sym.h>.
157 (fegetenv): Do not use BP_SYM in versioned symbols.
158 * nptl/sysdeps/pthread/bits/libc-lockP.h
159 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
160 <bp-sym.h>.
161 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
162 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
163 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
164 (__pthread_mutex_destroy): Likewise.
165 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
166 (__pthread_mutex_lock): Likewise.
167 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
168 (__pthread_mutex_trylock): Likewise.
169 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
170 (__pthread_mutex_unlock): Likewise.
171 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
172 (__pthread_mutexattr_init): Likewise.
173 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
174 (__pthread_mutexattr_destroy): Likewise.
175 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
176 (__pthread_mutexattr_settype): Likewise.
177 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
178 (__pthread_rwlock_init): Likewise.
179 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
180 (__pthread_rwlock_destroy): Likewise.
181 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
182 (__pthread_rwlock_rdlock): Likewise.
183 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
184 (__pthread_rwlock_tryrdlock): Likewise.
185 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
186 (__pthread_rwlock_wrlock): Likewise.
187 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
188 (__pthread_rwlock_trywrlock): Likewise.
189 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
190 (__pthread_rwlock_unlock): Likewise.
191 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
192 (__pthread_key_create): Likewise.
193 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
194 (__pthread_setspecific): Likewise.
195 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
196 (__pthread_getspecific): Likewise.
197 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
198 Likewise.
199 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
200 (_pthread_cleanup_push_defer): Likewise.
201 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
202 (_pthread_cleanup_pop_restore): Likewise.
203 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
204 (pthread_setcancelstate): Likewise.
205 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
206 <bp-sym.h>.
207 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
208 (memchr): Do not use BP_SYM in weak_alias.
209 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
210 (fegetenv): Do not use BP_SYM in versioned symbols.
211 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
212 (fesetenv): Do not use BP_SYM in versioned symbols.
213 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
214 (feupdateenv): Do not use BP_SYM in versioned symbols.
215 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
216 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
217 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
218 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
219 (open64): Do not use BP_SYM in weak_alias.
220 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
221 (fegetenv): Do not use BP_SYM in versioned symbols.
222 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
223 (fesetenv): Do not use BP_SYM in versioned symbols.
224 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
225 (feupdateenv): Do not use BP_SYM in versioned symbols.
226 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
227 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
228 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
229 (feraiseexcept): Do not use BP_SYM in versioned symbols.
230 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
231 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
232 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
233 <bp-sym.h>.
234 (__libc_start_main): Do not use BP_SYM.
235
d6752ccd
SP
2362013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
237
cb57ce60
SP
238 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
239 redundant return line.
240 (norm): Likewise.
241 (denorm): Likewise.
242 (dbl_mp): Likewise.
243 (sub_magnitudes): Likewise.
244 (__add): Likewise.
245 (__sub): Likewise.
246 (__mul): Likewise.
247 (__inv): Likewise.
248 (__dvd): Likewise.
249 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
250 (norm): Likewise.
251 (denorm): Likewise.
252 (dbl_mp): Likewise.
253 (sub_magnitudes): Likewise.
254 (__add): Likewise.
255 (__sub): Likewise.
256 (__mul): Likewise.
257 (__inv): Likewise.
258 (__dvd): Likewise.
259
f414520d
SP
260 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
261 instead of __mul.
262 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
263 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
264 (cc32): Likewise.
265
d6752ccd
SP
266 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
267 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
268 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
269 of __mul for squares.
270 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
271 function
272 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
273 Likewise.
274 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
275 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
276
70d9946a
JM
2772013-02-13 Joseph Myers <joseph@codesourcery.com>
278
279 [BZ #13550]
280 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
281 code.
282 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
283 prototype or function definition. Rename ubp_* variables and
284 parameters. Remove argv definitions conditional on
285 [__BOUNDED_POINTERS__].
286 * debug/backtrace.c (__backtrace): Do not use __unbounded.
287 * elf/dl-runtime.c (_dl_fixup): Likewise.
288 * include/set-hooks.h (RUN_HOOK): Likewise.
289 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
290 definition.
291 * string/strcpy.c (strcpy): Do not use __unbounded.
292 * sysdeps/generic/frame.h (struct layout): Likewise.
293 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
294 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
295 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
296 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
297 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
298 (__backtrace): Likewise.
299 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
300 use __ptrvalue.
301 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
302 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
303 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
304 Likewise.
305 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
306 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
307 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
308 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
309 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
310 Do not use __unbounded.
311 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
312 Rename __unboundedrlimits parameter to rlimits in prototype.
313 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
314 Do not use __unbounded.
315 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
316 not use __ptrvalue.
317 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
318 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
319 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
320 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
321 __ptrvalue or __unbounded.
322 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
323 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
324 use __unbounded.
325 (__new_msgctl): Do not use __ptrvalue.
326 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
327 __unbounded.
328 (__libc_msgrcv): Do not use __ptrvalue.
329 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
330 startup_info): Do not use __unbounded.
331 (__libc_start_main): Likewise. Rename ubp_* variables and
332 parameters. Remove argv definitions conditional on
333 [__BOUNDED_POINTERS__].
334 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
335 __ptrvalue.
336 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
337 use __unbounded.
338 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
339 or __ptrvalue.
340 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
341 use __unbounded.
342 (__new_shmctl): Do not use __ptrvalue.
343 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
344 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
345 Likewise.
346 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
347 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
348 (__libc_sigaction): Likewise.
349 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
350 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
351 Likewise.
352 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
353
cc7834d6
OB
3542013-02-13 Ondřej Bílka <neleai@seznam.cz>
355
ffb1ec7b 356 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
357
358 * string/mempcpy.c: Implement by calling memcpy.
359
bdf02814
SP
3602013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
361
c2af38aa
SP
362 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
363
4e92d59e
SP
364 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
365 evaluation.
366
909279a5
SP
367 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
368 values in the mantissa.
369
bdf02814
SP
370 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
371 minimize writes to Z.
372 (sub_magnitudes): Simplify code a bit.
373
cd525923
RM
3742013-02-12 Roland McGrath <roland@hack.frob.com>
375
376 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
377 from the message. The linker prefixes all warnings with that already.
378
7e2f0d2d
AS
3792013-02-12 Andreas Schwab <schwab@suse.de>
380
a445af0b
AS
381 [BZ #15078]
382 * posix/regexec.c (extend_buffers): Add parameter min_len.
383 (check_matching): Pass minimum needed length.
384 (clean_state_log_if_needed): Likewise.
385 (get_subexp): Likewise.
386 * posix/Makefile (tests): Add bug-regex34.
387 (bug-regex34-ENV): Define.
388 * posix/bug-regex34.c: New file.
389
7e2f0d2d
AS
390 [BZ #11561]
391 * posix/regcomp.c (parse_bracket_exp): When looking up collating
392 elements compare against the byte sequence of it, not its name.
393 * posix/Makefile (tests): Add bug-regex35.
394 (bug-regex35-ENV): Define.
395 * posix/bug-regex35.c: New file.
396
a175b684
TV
3972013-02-11 Tom de Vries <tom@codesourcery.com>
398
399 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
400 comment.
401 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
402 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
403 (CHECK_EOL): Add undef.
404
310998fe 4052013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
406
407 * bits/stdlib-bsearch.h: New file.
408 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 409 * stdlib/stdlib.h: Likewise.
41eda41d 410
8ded91fb
RM
4112013-02-11 Roland McGrath <roland@hack.frob.com>
412
413 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
414 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
415 declaration.
416 * manual/search.texi (Array Search Function): Add missing const in
417 lfind prototype.
418 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
419 declaration to use rlim_t.
420 (Basic Scheduling Functions): Remove erroneous const from
421 sched_getparam prototype. Remove erroneous * from
422 sched_get_priority_max and sched_get_priority_min prototypes.
423 (Resource Usage): Fix summary @comment on vtimes to refer to
424 sys/vtimes.h rather than vtimes.h.
425 Add missing *s in vtimes prototype.
426 (Limits on Resources): Fix ulimit prototype to return long int.
427 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
428 prototypes to use long int rather than double.
429 (BSD Random): Fix initstate and setstate to use char *, not void *.
430 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
431 prototype to make second argument 'struct aiocb64 *const[]'.
432 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
433 (Status of AIO Operations): Remove erroneous const in aio_return and
434 aio_return64 prototypes.
435 (Synchronizing I/O): Fix sync prototype to return void.
436 * manual/startup.texi (Suboptions): Remove an erroneous const in
437 getsubopt prototype.
438 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
439 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
440 use size_t rather than int.
441 (Scanning All Users): Likewise for getpwent_r.
442 (Setting Groups): Add missing const to setgroups prototype.
443 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
444 * manual/socket.texi (Host Names): Fix gethostbyaddr and
445 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
446 'const void *' rather than 'const char *'.
447 (Host Address Functions): Likewise for inet_ntop.
448 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
449 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
450 ssize_t for return value.
451 (Sending Data): Likewise for send, sendto, sendmsg.
452 (Socket Option Functions): Add a missing const in setsockopt prototype.
453 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
454 use wchar_t for the argument.
455 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
456 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
457 take no arguments.
458 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
459 double/float/long double for second argument.
460 Fix return types of significand, significandf, significandl.
461 * manual/filesys.texi (Setting Permissions): Use mode_t for second
462 argument in fchmod prototype.
463 (File Owner): Use uid_t and gid_t in fchown prototype.
464 (File Times): Add const to utimes, futimes, and lutimes prototypes.
465 (Making Special Files): Use mode_t and dev_t in mknod prototype.
466 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
467 use 'const struct dirent **' as argument types to CMP function pointer
468 argument.
469 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
470 (File Times): Fix summary magic @comment for struct utimbuf and utime
471 to refer to utime.h, not time.h.
472 * manual/string.texi (Argz Functions): Add missing const in
473 argz_extract and argz_next prototypes.
474 (Finding Tokens in a String): Likewise for basename.
475 (String/Array Comparison): Fix typo in wcscasecmp prototype.
476 (Copying and Concatenation): Fix typo in wmemmove prototype.
477 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
478 (Signal Stack): Remove erroneous const in sigstack prototype.
479 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
480 prototype.
481 (Simple Calendar Time): Likewise for stime.
482 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
483 prototype.
484 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
485 say sys/sysctl.h instead.
486 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
487 and vsyslog prototypes.
488
fe77fe6d
TV
4892013-02-11 Tom de Vries <tom@codesourcery.com>
490
491 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
492 Remove.
493
3a09b620
RM
4942013-02-11 Roland McGrath <roland@hack.frob.com>
495
496 * misc/sys/mman.h: Fix typo in mremap comment.
497
550a0b89
RM
4982013-02-08 Roland McGrath <roland@hack.frob.com>
499
500 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
501 the '\0' terminator.
502
a2da1673
JM
5032013-02-08 Joseph Myers <joseph@codesourcery.com>
504
505 [BZ #13550]
506 * debug/segfault.c: Don't include <bp-checks.h>.
507 * sysdeps/generic/bp-checks.h: Remove file.
508 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
509 (__GETDENTS): Don't use CHECK_N.
510 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
511 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
512 (__getgroups): Don't use CHECK_N.
513 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
514 (setgroups): Don't use CHECK_N.
515 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
516 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
517 (__libc_msgrcv): Don't use CHECK_N.
518 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
519 (__libc_msgsnd): Don't use CHECK_N.
520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
521 <bp-checks.h>.
522 (__libc_pread): Don't use CHECK_N.
523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
524 include <bp-checks.h>.
525 (__libc_pread64): Don't use CHECK_N.
526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
527 include <bp-checks.h>.
528 (__libc_pwrite): Don't use CHECK_N.
529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
530 include <bp-checks.h>.
531 (__libc_pwrite64): Don't use CHECK_N.
532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
533 <bp-checks.h>.
534 (__libc_pread): Don't use CHECK_N.
535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
536 include <bp-checks.h>.
537 (__libc_pread64): Don't use CHECK_N.
538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
539 include <bp-checks.h>.
540 (__libc_pwrite): Don't use CHECK_N.
541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
542 include <bp-checks.h>.
543 (__libc_pwrite64): Don't use CHECK_N.
544 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
545 (do_pread): Don't use CHECK_N.
546 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
547 (do_pread64): Don't use CHECK_N.
548 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
549 (do_pwrite): Don't use CHECK_N.
550 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
551 (do_pwrite64): Don't use CHECK_N.
552 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
553 (__libc_readv): Don't use CHECK_N.
554 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
555 (semop): Don't use CHECK_N.
556 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
557 <bp-checks.h>.
558 (semtimedop): Don't use CHECK_N.
559 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
560 (__libc_pread): Don't use CHECK_N.
561 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
562 <bp-checks.h>.
563 (__libc_pread64): Don't use CHECK_N.
564 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
565 <bp-checks.h>.
566 (__libc_pwrite): Don't use CHECK_N.
567 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
568 <bp-checks.h>.
569 (__libc_pwrite64): Don't use CHECK_N.
570 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
571 <bp-checks.h>.
572 (__libc_msgrcv): Don't use CHECK_N.
573 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
574 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
575 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
576 (__libc_writev): Don't use CHECK_N.
577
b84660a8
RM
5782013-02-08 Roland McGrath <roland@hack.frob.com>
579
7f3e75f8
RM
580 * string/strcpy.c: Removed unused variable.
581
b84660a8
RM
582 * Makeconfig (+sysdep-includes): Define with := rather than =.
583 Use an existing include/ subdir of each sysdeps dir before it.
584
471514d3
CD
5852013-02-08 Carlos O'Donell <carlos@redhat.com>
586
587 * nscd/connection.c (register_traced_file): Comment function.
588 [HAVE_INOTIFY] (union __inev): Define.
589 [HAVE_INOTIFY] (inotify_check_files): New function.
590 [HAVE_INOTIFY] (clear_db_cache): Likewise.
591 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
592 clear_db_cache.
593 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
594
b2d3c3be
CD
5952013-02-08 Carlos O'Donell <carlos@redhat.com>
596
597 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
598 loaded if not already and that a failure is permanent.
599
b39949d2
CD
6002013-02-08 Carlos O'Donell <carlos@redhat.com>
601
ddacd1db 602 [BZ #15006]
b39949d2
CD
603 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
604 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
605
b2c9eff4
JM
6062013-02-08 Joseph Myers <joseph@codesourcery.com>
607
f3aae3f3
JM
608 [BZ #13550]
609 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
610 (CHECK_1_NULL_OK): Likewise.
611 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
612 (__fxstat): Do not use CHECK_1.
613 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
614 <bp-checks.h>.
615 (___fxstat64): Do not use CHECK_1.
616 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
617 <bp-checks.h>.
618 (__fxstatat): Do not use CHECK_1.
619 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
620 <bp-checks.h>.
621 (__fxstatat64): Do not use CHECK_1.
622 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
623 <bp-checks.h>.
624 (__fxstat): Do not use CHECK_1.
625 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
626 <bp-checks.h>.
627 (__fxstatat): Do not use CHECK_1.
628 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
629 <bp-checks.h>.
630 (__getresgid): Do not use CHECK_1.
631 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
632 <bp-checks.h>.
633 (__getresuid): Do not use CHECK_1.
634 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
635 <bp-checks.h>.
636 (__lxstat): Do not use CHECK_1.
637 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
638 <bp-checks.h>.
639 (__old_msgctl): Do not use CHECK_1.
640 (__new_msgctl): Likewise.
641 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
642 <bp-checks.h>.
643 (__new_setrlimit): Do not use CHECK_1.
644 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
645 <bp-checks.h>.
646 (__old_shmctl): Do not use CHECK_1.
647 (__new_shmctl): Likewise.
648 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
649 <bp-checks.h>.
650 (__xstat): Do not use CHECK_1.
651 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
652 (__lxstat): Do not use CHECK_1.
653 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
654 <bp-checks.h>.
655 (___lxstat64): Do not use CHECK_1.
656 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
657 (__old_msgctl): Do not use CHECK_1.
658 (__new_msgctl): Likewise.
659 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
660 <bp-checks.h>.
661 (__gettimeofday): Do not use CHECK_1.
662 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
663 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
664 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
665 <bp-checks.h>.
666 (__gettimeofday): Do not use CHECK_1.
667 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
668 (__old_shmctl): Do not use CHECK_1_NULL_OK.
669 (__new_shmctl): Do not use CHECK_1.
670 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
671 <bp-checks.h>.
672 (do_sigtimedwait): Do not use CHECK_1.
673 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
674 <bp-checks.h>.
675 (do_sigwaitinfo): Do not use CHECK_1.
676 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
677 <bp-checks.h>.
678 (msgctl): Do not use CHECK_1.
679 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
680 <bp-checks.h>.
681 (shmctl): Do not use CHECK_1.
682 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
683 (ustat): Do not use CHECK_1.
684 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
685 <bp-checks.h>.
686 (__fxstat): Do not use CHECK_1.
687 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
688 <bp-checks.h>.
689 (__fxstatat): Do not use CHECK_1.
690 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
691 <bp-checks.h>.
692 (__lxstat): Do not use CHECK_1.
693 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
694 <bp-checks.h>.
695 (__xstat): Do not use CHECK_1.
696 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
697 (__xstat): Do not use CHECK_1.
698 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
699 (___xstat64): Do not use CHECK_1.
700
b2c9eff4
JM
701 [BZ #13550]
702 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
703 definitions.
704 (CHECK_BOUNDS_HIGH): Likewise.
705 * string/strcpy.c: Do not include <bp-checks.h>.
706 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
707
f1d70dad
RM
7082013-02-07 Roland McGrath <roland@hack.frob.com>
709
710 * nscd/nscd-client.h (__nscd_drop_map_ref):
711 Add __attribute__ ((unused)).
712 * nis/nss-nisplus.h (niserr2nss): Likewise.
713
714 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
715 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
716
717 * csu/libc-tls.c (init_static_tls, init_slotinfo):
718 Remove inline keyword.
719 * include/rounding-mode.h (round_away): Likewise.
720 * libio/wfileops.c (adjust_wide_data): Likewise.
721 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
722 (__m128i_strloadu_tolower): Likewise.
723 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
724 (__m128i_strloadu_tolower): Likewise.
725 * time/mktime.c (ydhms_diff): Likewise.
726 * locale/elem-hash.h (elem_hash): Likewise.
727 * locale/setlocale.c (setdata): Likewise.
728 * posix/regex_internal.h (re_string_char_size_at): Likewise.
729 (re_string_wchar_at): Likewise.
730 (bitset_not, bitset_merge, bitset_mask): Likewise.
731 [!(__GNUC__ > 3)] (inline): Remove macro.
732 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
733 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
734 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
735 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
736 * string/memcmp.c (memcmp_bytes): Likewise.
737 * locale/programs/locarchive.c (compute_hashval): Likewise.
738 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
739 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
740 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
741 * nss/getent.c (print_rpc, print_protocols): Likewise.
742 (print_passwd, print_group, print_aliases): Likewise.
743 * nis/nss-nisplus.h (niserr2nss): Likewise.
744 * nscd/connections.c (restart_p): Likewise.
745 Change return type to bool.
746
eab55bfb
RM
7472013-02-05 Roland McGrath <roland@hack.frob.com>
748
7bd642f5
RM
749 * Makeconfig (all-Depend-files): Add existing
750 $(sorted-subdirs:=/Depend) files.
751 (all-subdirs): Remove nss.
752 * sysdeps/unix/inet/Subdirs: Add it here instead.
753 * hesiod/Depend: New file.
754
573c29b2
RM
755 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
756 instead of calling alloca.
757
b2e25af0
RM
758 * io/lseek.c (__lseek): Rename to __libc_lseek.
759 Define __lseek as an alias.
760
eab55bfb
RM
761 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
762
9a0d1941
CD
7632013-02-04 Carlos O'Donell <carlos@redhat.com>
764
765 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
766 else clause and remove check for non-standard endianness.
767
b83bbec4
DM
7682013-02-04 David S. Miller <davem@davemloft.net>
769
770 * sysdeps/sparc/fpu/libm-test-ulps: Update.
771
6277fdab
JM
7722013-02-04 Joseph Myers <joseph@codesourcery.com>
773
774 [BZ #13550]
775 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
776 (__ubp_memchr): Remove prototype.
777 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
778 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
779 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
780 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
781 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
782 Remove alias.
783 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
784 (__ubp_memchr): Likewise.
785 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
786 (__ubp_memchr): Likewise.
787 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
788 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
789 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
790 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
791 CHECK_STRING.
792 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
793 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
794 (__getcwd): Do not use CHECK_STRING.
795 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
796 <bp-checks.h>.
797 (__real_chown): Do not use CHECK_STRING.
798 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
799 <bp-checks.h>.
800 (fchownat): Do not use CHECK_STRING.
801 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
802 CHECK_STRING.
803 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
804 <bp-checks.h>.
805 (__lchown): Do not use CHECK_STRING.
806 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
807 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
808 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
809 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
811 include <bp-checks.h>.
812 (truncate64): Do not use CHECK_STRING.
813 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
814 <bp-checks.h>.
815 (__real_chown): Do not use CHECK_STRING.
816 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
817 <bp-checks.h>.
818 (__lchown): Do not use CHECK_STRING.
819 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
820 <bp-checks.h>.
821 (__chown): Do not use CHECK_STRING.
822 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
823 <bp-checks.h>.
824 (truncate64): Do not use CHECK_STRING.
825 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
826 Likewise.
827 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
828 (__xmknod): Do not use CHECK_STRING.
829 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
830 <bp-checks.h>.
831 (__xmknodat): Do not use CHECK_STRING.
832 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
833 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
834
903ae060
AS
8352013-02-04 Andreas Schwab <schwab@suse.de>
836
837 [BZ #14142]
838 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
839 * include/netdb.h: Likewise for h_errno.
840 * elf/tst-stackguard1.c: Include <tls.h>.
841
542f9466
JK
8422013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
843
844 * elf/link.h (struct link_map): Extend the l_addr comment.
845 * include/link.h (struct link_map): Likewise.
846
e782a927
JM
8472013-02-01 Joseph Myers <joseph@codesourcery.com>
848
849 [BZ #13550]
850 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
851 (BOUNDED_1): Remove macro.
852 * debug/backtrace.c: Don't include <bp-checks.h>.
853 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
854 (__backtrace): Likewise.
855 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
856 <bp-checks.h>.
857 (__backtrace): Don't use BOUNDED_1.
858 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
859 <bp-checks.h>.
860 (__backtrace): Don't use BOUNDED_1.
861 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
862 (__backtrace): Don't use BOUNDED_1.
863 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
864 (shmat): Don't use BOUNDED_N.
865
8cf28c5e
JM
8662013-01-31 Joseph Myers <joseph@codesourcery.com>
867
3a7ac8a0
JM
868 [BZ #13550]
869 * sysdeps/generic/bp-start.h: Remove file.
870 * csu/libc-start.c: Don't include <bp-start.h>.
871 (LIBC_START_MAIN): Set up __environ directly instead of using
872 INIT_ARGV_and_ENVIRON.
873 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
874 <bp-start.h>.
875
f3499f95
JM
876 [BZ #13550]
877 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
878 definitions.
879 (CHECK_FCNTL): Likewise.
880 (CHECK_N_PAGES): Likewise.
881
32a45bea
JM
882 [BZ #13550]
883 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
884 definitions.
885 (CHECK_SIGSET_NULL_OK): Likewise.
886 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
887 <bp-checks.h>.
888 (sigpending): Don't use CHECK_SIGSET.
889 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
890 <bp-checks.h>.
891 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
892 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
893 <bp-checks.h>.
894 (do_sigsuspend): Don't use CHECK_SIGSET.
895 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
896 use CHECK_SIGSET.
897 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
898 (do_sigwait): Don't use CHECK_SIGSET.
899 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
900 use CHECK_SIGSET.
901 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
902 include <bp-checks.h>.
903 (sigpending): Don't use CHECK_SIGSET.
904 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
905 include <bp-checks.h>.
906 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
907 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
908 <bp-checks.h>.
909 (sigpending): Don't use CHECK_SIGSET.
910 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
911 <bp-checks.h>.
912 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
913
2e8a5c8c
JM
914 [BZ #13550]
915 * sysdeps/generic/bp-semctl.h: Remove file.
916 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
917 <bp-checks.h> and <bp-semctl.h>.
918 (__old_semctl): Don't use CHECK_SEMCTL.
919 (__new_semctl): Likewise.
920 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
921 and <bp-semctl.h>.
922 (__old_semctl): Don't use CHECK_SEMCTL.
923 (__new_semctl): Likewise.
924 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
925 <bp-checks.h> and <bp-semctl.h>.
926 (__old_semctl): Don't use CHECK_SEMCTL.
927 (__new_semctl): Likewise.
928 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
929 <bp-checks.h> and <bp-semctl.h>.
930 (semctl): Don't use CHECK_SEMCTL.
931
c2d54929
JM
932 [BZ #13550]
933 * Makerules (elide-bp-thunks): Remove variable.
934 (elide-routines.oS): Don't use $(elide-bp-thunks).
935 (elide-routines.os): Likewise.
936 (elide-routines.o): Likewise.
937 (elide-routines.op): Likewise.
938 (elide-routines.og): Likewise.
939 (objects): Don't use $(bp-thunks).
940 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
941 include.
942 (common-generated): Do not add s-proto-bp.d.
943 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
944 (int): Likewise.
945 (typ): Likewise.
946 Do not generate makefile rules for bounded-pointer thunks.
947 * sysdeps/generic/bp-thunks.h: Remove file.
948 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
949 * sysdeps/unix/s-proto-bp.S: Likewise.
950
8cf28c5e
JM
951 [BZ #15062]
952 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
953 parts of result separately when argument is not close to line from
954 -i to i and one part of argument is small.
955 * math/k_casinhf.c (__kernel_casinhf): Likewise.
956 * math/k_casinhl.c (__kernel_casinhl): Likewise.
957 * math/libm-test.inc (cacos_test): Add more tests.
958 (casin_test): Likewise.
959 (casinh_test): Likewise.
960 * sysdeps/i386/fpu/libm-test-ulps: Update.
961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
962
c4e33b8d
DM
9632013-01-31 David S. Miller <davem@davemloft.net>
964
965 * po/de.po: Update from translation team.
966
3b60b421
MK
9672013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
968
969 * time/tzfile.c: Include stdint.h for SIZE_MAX.
970
bb931195
TS
9712013-01-25 Thomas Schwinge <thomas@codesourcery.com>
972
b5a5da23
TS
973 * configure.in (_AC_PROG_CC_C89): New definition.
974 * configure: Regenerate.
975
bb931195
TS
976 * configure.in (AC_PROG_CPP): New definition.
977 * configure: Regenerate.
978
8c53a12c
JM
9792013-01-23 Joseph Myers <joseph@codesourcery.com>
980
981 * debug/tst-backtrace.h: New file.
982 * debug/tst-backtrace2.c: Include tst-backtrace.h.
983 (ret): Remove variable.
984 (x): Likewise.
985 (FAIL): Remove macro.
986 (NO_INLINE): Likewise.
987 (fn1): Use match function instead of strstr.
988 * debug/tst-backtrace3.c: Include tst-backtrace.h.
989 (ret): Remove variable.
990 (x): Likewise.
991 (FAIL): Remove macro.
992 (NO_INLINE): Likewise.
993 (fn): Use match function instead of strstr.
994 * debug/tst-backtrace4.c: Include tst-backtrace.h.
995 (ret): Remove variable.
996 (x): Likewise.
997 (FAIL): Remove macro.
998 (NO_INLINE): Likewise.
999 (handle_signal): Use match function instead of strstr.
1000 * debug/tst-backtrace5.c: Include tst-backtrace.h.
1001 (ret): Remove variable.
1002 (x): Likewise.
1003 (FAIL): Remove macro.
1004 (NO_INLINE): Likewise.
1005 (handle_signal): Use match function instead of strstr.
1006
4858fa2a
RM
10072013-01-23 Roland McGrath <roland@hack.frob.com>
1008
1009 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
1010
bae8e7f5
DM
10112013-01-23 David S. Miller <davem@davemloft.net>
1012
1013 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
1014 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
1015 argument of CAS if possible.
1016 * sysdeps/sparc/sparc64/bits/atomic.h
1017 (__arch_compare_and_exchange_val_32_acq): Likewise.
1018 (__arch_compare_and_exchange_val_64_acq): Likewise.
1019
9cbbc4ae
PT
10202013-01-23 Pino Toscano <toscano.pino@tiscali.it>
1021
1022 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
1023 * sysdeps/posix/ulimit.c: ... this.
92a601b8 1024 Include <limits.h>.
67b3f58c 1025 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 1026
5655a0b5
AC
10272013-01-23 Adam Conrad <adconrad@0c3.net>
1028
1029 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
1030 (LDFLAGS-tst-array5): Likewise.
1031
052aff95
JM
10322013-01-23 Joseph Myers <joseph@codesourcery.com>
1033
1034 [BZ #15036]
1035 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
1036 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
1037 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
1038 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
1039
7c1e01aa
DM
10402013-01-21 David S. Miller <davem@davemloft.net>
1041
1042 * sysdeps/sparc/backtrace.c: New file.
1043 * sysdeps/sparc/sparc32/backtrace.h: New file.
1044 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
1045 * sysdeps/sparc/sparc64/backtrace.h: New file.
1046 * sysdeps/sparc/sparc64/backtrace.c: Delete.
1047 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
1048 -funwind-tables.
1049
ab087e0a
AS
10502013-01-21 Andreas Schwab <schwab@suse.de>
1051
1052 [BZ #15020]
1053 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
1054 closed its stdout.
1055
ed689c2f
AS
10562013-01-20 Andreas Schwab <schwab@linux-m68k.org>
1057
1058 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
1059 "mpa2.h".
1060 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1061
31d470ac
JM
10622013-01-18 Joseph Myers <joseph@codesourcery.com>
1063 Mark Mitchell <mark@codesourcery.com>
1064 Tom de Vries <tom@codesourcery.com>
1065 Paul Pluzhnikov <ppluzhnikov@google.com>
1066
1067 * debug/tst-backtrace2.c: New file.
1068 * debug/tst-backtrace3.c: Likewise.
1069 * debug/tst-backtrace4.c: Likewise.
1070 * debug/tst-backtrace5.c: Likewise.
1071 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
1072 (CFLAGS-tst-backtrace3.c): Likewise.
1073 (CFLAGS-tst-backtrace4.c): Likewise.
1074 (CFLAGS-tst-backtrace5.c): Likewise.
1075 (LDFLAGS-tst-backtrace2): Likewise.
1076 (LDFLAGS-tst-backtrace3): Likewise.
1077 (LDFLAGS-tst-backtrace4): Likewise.
1078 (LDFLAGS-tst-backtrace5): Likewise.
1079 (tests): Add new tests tst-backtrace2, tst-backtrace3,
1080 tst-backtrace4 and tst-backtrace5.
1081
90567f30 10822013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
1083 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1084
1085 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
1086 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
1087 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
1088 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
1089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1090 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
1091 "+r" and remove output regs list as redundant. Add explicit inline
1092 asm to specify register of return val to work around compiler codegen
1093 bug. Remove (int) cast on return value. Add return type parameter to
1094 use in macro so that this macro does not truncate return value for
1095 64-bit values.
1096 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
1097 pass to INTERNAL_VSYSCALL_NCS.
1098 (INLINE_VSYSCALL): Add 'long int' as return type to
1099 INTERNAL_VSYSCALL_NCS macro invocation.
1100 (INTERNAL_VSYSCALL): Add 'long int' as return type to
1101 INTERNAL_VSYSCALL_NCS macro invocation.
1102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1103
d3b9ea61
SP
11042013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1105
0b57daeb
SP
1106 [BZ #14496]
1107 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
1108 Fix application of SIMD FP exception mask.
1109
caa99d06
SP
1110 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
1111 mp_no from a power of two.
1112 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
1113 __mpexp_twomm1. Use __pow_mp.
1114
d3b9ea61
SP
1115 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
1116 multiplication.
1117
1dbaee3c
DM
11182013-01-17 David S. Miller <davem@davemloft.net>
1119
1120 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1121
728d7b43
JM
11222013-01-17 Joseph Myers <joseph@codesourcery.com>
1123
1124 [BZ #15023]
1125 * include/complex.h: Condition contents on [!_COMPLEX_H].
1126 (__kernel_casinhf): New prototype.
1127 (__kernel_casinh): Likewise.
1128 (__kernel_casinhl): Likewise.
1129 * math/Makefile (libm_calls): Add k_casinh.
1130 * math/k_casinh.c: New file.
1131 * math/k_casinhf.c: Likewise.
1132 * math/k_casinhl.c: Likewise.
1133 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
1134 finite nonzero arguments.
1135 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
1136 finite nonzero arguments.
1137 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
1138 finite nonzero arguments.
1139 * math/s_casinh.c: Do not include <float.h>.
1140 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
1141 * math/s_casinhf.c: Do not include <float.h>.
1142 (__casinhf): Move code for finite nonzero arguments to
1143 k_casinhf.c.
1144 * math/s_casinhl.c: Do not include <float.h>.
1145 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
1146 redefine.
1147 (__casinhl): Move code for finite nonzero arguments to
1148 k_casinhl.c.
1149 * math/libm-test.inc (cacos_test): Add more tests.
1150 * sysdeps/i386/fpu/libm-test-ulps: Update.
1151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1152
2a26ef3a
PT
11532013-01-17 Pino Toscano <toscano.pino@tiscali.it>
1154
1155 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
1156 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
1157 [!HAVE_MREMAP]: Remove [defined linux] case.
1158 * malloc/arena.c: Do not include <malloc-sysdep.h>.
1159
a897655d
SP
11602013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1161
1162 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
1163
881ebe89 11642013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
1165
1166 * elf/elf.h (R_386_SIZE32): New relocation.
1167 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
1168 R_386_SIZE32.
1169 (elf_machine_rela): Likewise.
1170 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
1171 R_X86_64_SIZE64 and R_X86_64_SIZE32.
1172
59981e9b
JM
11732013-01-17 Joseph Myers <joseph@codesourcery.com>
1174
1175 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
1176 (FP_FAST_FMA): Do not define.
1177 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
1178 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
1179 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
1180 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
1181 !_SOFT_FLOAT]: Likewise.
1182 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
1183 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
1184 value.
1185 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
1186 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
1187 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
1188 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
1189 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
1190 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
1191 file.
1192
cfa8054f
AS
11932013-01-16 Andreas Schwab <schwab@suse.de>
1194
1195 [BZ #14327]
1196 * include/stdlib.h (__mktemp): Add declaration.
1197 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
1198 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
1199
dd930cc5
SP
12002013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1201
881ebe89
SP
1202 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
1203 definitions.
1204 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
1205 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
1206 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
1207 definitions here.
1208 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
1209 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
1210 definitions.
1211 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
1212 and ONE.
1213 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
1214 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
1215 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
1216 definitions.
1217 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
1218 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
1219 definitions.
1220 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 1221
dd930cc5
SP
1222 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
1223
c19a9f89
DM
12242013-01-15 David S. Miller <davem@davemloft.net>
1225
1aa61767
DM
1226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1227 trunc{,f} to libm-sysdep_routes.
1228 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
1230 file.
1231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
1232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
1233 file.
1234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
1235 file.
1236 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
1237 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
1238 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
1239 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
1240 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
1241 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
1242 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
1243 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
1244
c42d5e98
DM
1245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1246 nearbyint{,f} to libm-sysdep_routes.
1247 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
1249 New file.
1250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
1251 file.
1252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
1253 New file.
1254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
1255 file.
1256 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
1257 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
1258 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
1259 file.
1260 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
1261 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
1262 file.
1263 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
1264 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
1265 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
1266
c19a9f89
DM
1267 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
1268 libc_feholdexcept and libc_fesetenv.
1269
357679d2
MF
12702013-01-15 Mike Frysinger <vapier@gentoo.org>
1271
1272 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
1273
65a82e3d
DM
12742013-01-14 David S. Miller <davem@davemloft.net>
1275
8b954ab9
DM
1276 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
1277 (SPARC_ASM_VIS2_IFUNC): Likewise.
1278 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
1279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
1280 use of 'siam' instruction.
1281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
1282 Likewise.
1283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
1284 Likewise.
1285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
1286 Likewise.
1287 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
1288 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
1289 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
1290 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
1291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
1292 file.
1293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
1294 file.
1295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
1296 file.
1297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
1298 file.
1299 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
1300 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
1301 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
1302 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
1303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
1304 new VIS2 routines.
1305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1308 Likewise.
1309 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1310 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1311 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1312 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
1314 routines to libm-sysdep_routines.
1315 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1316
65a82e3d
DM
1317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1318 fdim/fdimf to libm-sysdep_routines.
1319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
1320 file.
1321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
1322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
1323 file.
1324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
1325 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
1326 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
1327 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
1328 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
1329 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
1330 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
1331
e34ab705
SP
13322013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1333
2a91b573
SP
1334 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
1335 to optimize copies.
1336
1066a534
SP
1337 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
1338 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1339 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1340
e34ab705
SP
1341 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
1342 local variable MPTWO.
1343 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
1344 Likewise.
1345
aba5e596
MF
13462013-01-13 Mike Frysinger <vapier@gentoo.org>
1347
1348 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
1349 GLOB_NOESCAPE.
1350
e557e9e5
MF
13512013-01-13 Mike Frysinger <vapier@gentoo.org>
1352
1353 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
1354
0428cec9
MF
13552013-01-13 Mike Frysinger <vapier@gentoo.org>
1356
1357 * manual/pattern.texi (glob_t): Document gl_flags.
1358 (glob64_t): Likewise.
1359
8794a964
DM
13602013-01-11 David S. Miller <davem@davemloft.net>
1361
66438c3f
RM
1362 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
1363 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
1364 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
1365 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
1366 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
1367 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
1368 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
1369 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
1370 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
1371 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
1372 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
1373 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
1374 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
1375
4ae4244d
DM
1376 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
1377 sparc V9 rather than using V8 code.
1378 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
1379 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
1380
8794a964
DM
1381 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1382 Move to...
1383 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
1384 Here.
1385
6270516e
RM
13862013-01-11 Roland McGrath <roland@hack.frob.com>
1387
1388 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
1389 not in the main loop.
1390 * configure: Regenerated.
1391
6a57d931
JM
13922013-01-11 Joseph Myers <joseph@codesourcery.com>
1393
1394 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
1395 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
1396 to just #else.
1397 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
1398 [!__GLIBC_HAVE_LONG_LONG] case.
1399 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
1400 condition to just #else.
1401 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
1402 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
1403 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
1404 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
1405 unconditional.
1406 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
1407 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
1408 #elif condition to just #else.
1409 * sysdeps/unix/sysv/linux/sys/sysmacros.h
1410 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
1411 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
1412 #elif condition to just #else.
1413
0e8529e9
SE
14142013-01-11 Steve Ellcey <sellcey@mips.com>
1415
1416 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
1417 (EF_MIPS_ARCH_64): Fix value.
1418 (EF_MIPS_ARCH_32R2): New.
1419 (EF_MIPS_ARCH_64R2): New.
1420
740b3dbe
L
14212013-01-11 H.J. Lu <hongjiu.lu@intel.com>
1422
1423 * Makeconfig (+link-pie-before-libc): New.
1424 (+link-pie-after-libc): Likewise.
1425 (+link-pie-tests): Likewise.
1426 (+link-pie): Rewritten.
1427 (link-before-libc): Remove $(config-LDFLAGS).
1428 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
1429 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
1430 (config-LDFLAGS): Renamed to ...
1431 (rtld-LDFLAGS): This.
1432 (rtld-tests-LDFLAGS): New macro.
1433 (link-libc-rpath-link): Likewise.
1434 (link-libc-tests-rpath-link): Likewise.
1435 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
1436 (link-libc): Prepand $(link-libc-rpath-link).
1437 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
1438 (test-program-prefix): New macro.
1439 (test-via-rtld-prefix): Likewise.
1440 (test-program-cmd): Likewise.
1441 (host-test-program-cmd): Likewise.
1442 * Makefile ($(common-objpfx)testrun.sh): Replace
1443 $(run-program-prefix) with $(test-program-prefix).
1444 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
1445 $(rtld-LDFLAGS).
1446 ($(common-objpfx)shlib.lds): Likewise.
1447 (build-module-helper): Likewise.
1448 ($(common-objpfx)format.lds): Likewise.
1449 * Rules (binaries-pie-tests): New.
1450 (binaries-pie-notests): Likewise.
1451 (binaries-pie): Rewritten.
1452 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
1453 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
1454 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
1455 (make-test-out): Replace $(host-built-program-cmd) with
1456 $(host-test-program-cmd).
1457 * config.make.in (build-hardcoded-path-in-tests): New variable.
1458 * configure.in (--enable-hardcoded-path-in-tests): New configure
1459 option.
1460 (hardcoded_path_in_tests): New AC_SUBST.
1461 * configure: Regenerated.
1462 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
1463 $(built-program-cmd) with $(test-program-cmd).
1464 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
1465 (test_program_cmd): This.
1466 * elf/Makefile ($(objpfx)order.out): Run test with
1467 $(test-program-prefix).
1468 ($(objpfx)order2.out): Likewise.
1469 ($(objpfx)tst-initorder.out): Likewise.
1470 ($(objpfx)tst-initorder2.out): Likewise.
1471 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
1472 $(test-program-cmd).
1473 ($(objpfx)tst-array1-static.out): Likewise.
1474 ($(objpfx)tst-array2.out): Likewise.
1475 ($(objpfx)tst-array3.out): Likewise.
1476 ($(objpfx)tst-array4.out): Likewise.
1477 ($(objpfx)tst-array5.out): Likewise.
1478 ($(objpfx)tst-array5-static.out): Likewise.
1479 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
1480 $(test-program-cmd).
1481 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
1482 $(run-program-prefix) with $(test-program-prefix).
1483 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
1484 (test_program_prefix): This.
1485 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
1486 $(run-program-prefix) with $(test-program-prefix).
1487 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
1488 (test_program_prefix): This.
1489 * iconvdata/tst-tables.sh: Likewise.
1490 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
1491 $(run-program-prefix) with $(test-program-prefix).
1492 ($(objpfx)tst-translit.out): Likewise.
1493 ($(objpfx)tst-gettext2.out): Likewise.
1494 ($(objpfx)tst-gettext4.out): Likewise.
1495 ($(objpfx)tst-gettext6.out): Likewise.
1496 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
1497 (test_program_prefix): This.
1498 * intl/tst-gettext2.sh: Likewise.
1499 * intl/tst-gettext4.sh Likewise.
1500 * intl/tst-gettext6.sh: Likewise.
1501 * intl/tst-translit.sh: Likewise.
1502 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
1503 with $(test-program-cmd).
1504 * libio/Makefile ($(objpfx)test-freopen.out): Replace
1505 $(run-program-prefix) with $(test-program-prefix).
1506 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
1507 (test_program_prefix): This.
1508 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
1509 $(run-program-prefix) with $(test-program-prefix).
1510 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
1511 (test_program_prefix): This.
1512 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
1513 * posix/Makefile ($(objpfx)globtest.out): Replace
1514 $(run-via-rtld-prefix) and $(test-wrapper) with
1515 $(test-program-prefix) and $(test-via-rtld-prefix).
1516 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
1517 $(test-program-prefix).
1518 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
1519 $(host-test-program-cmd).
1520 (tst-spawn-ARGS): Likewise.
1521 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
1522 $(test-program-prefix).
1523 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
1524 (test_via_rtld_prefix): This.
1525 (test_wrapper): Renamed to ...
1526 (test_program_prefix): This.
1527 (run_program_prefix): Replaced by test_program_prefix.
1528 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
1529 (test_program_prefix): This.
1530 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
1531 with $(host-test-program-cmd).
1532 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
1533 $(run-program-prefix) with $(test-program-prefix).
1534 ($(objpfx)tst-printf.out): Likewise.
1535 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
1536 $(test-program-cmd).
1537 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
1538 (test_program_prefix): This.
1539 * stdio-common/tst-unbputc.sh: Likewise.
1540 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
1541 $(run-program-prefix) with $(test-program-prefix).
1542 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
1543 (test_program_prefix): This.
1544 * string/Makefile ($(objpfx)tst-svc.out): Replace
1545 $(built-program-cmd) with $(test-program-cmd).
1546
c6fe55cf
AJ
15472013-01-11 Andreas Jaeger <aj@suse.de>
1548
1549 [BZ #15003]
1550 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
1551 value. Sync with Linux 3.7.
1552
9e6919c8
DM
15532013-01-10 David S. Miller <davem@davemloft.net>
1554
1555 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
1556 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
1557 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
1558
1c9f1a02
RM
15592013-01-10 Roland McGrath <roland@hack.frob.com>
1560
1561 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
1562 never set.
1563 * configure: Regenerated.
1564
b9de2dde
DM
15652013-01-10 David S. Miller <davem@davemloft.net>
1566
1567 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
1568 sparc V9 rather than using V8 code.
1569 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
1570 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
1571
e7f68ef4
RM
15722013-01-10 Roland McGrath <roland@hack.frob.com>
1573
1574 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
1575 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
1576 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
1577 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
1578 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
1579 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
1580 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
1581 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
1582 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
1583 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
1584 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
1585 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
1586 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
1587 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
1588 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
1589 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
1590 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
1591 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
1592 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
1593 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
1594 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
1595 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
1596 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
1597 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
1598 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
1599 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
1600 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
1601
5a47cc9c
DM
16022013-01-10 David S. Miller <davem@davemloft.net>
1603
1604 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1605
4cf8f209
L
16062013-01-10 H.J. Lu <hongjiu.lu@intel.com>
1607
1608 * posix/Makefile (tests-static): New variable.
1609 (tests): Add $(tests-static).
1610 (tst-exec-static-ARGS): New variable.
1611 (tst-spawn-static-ARGS): Likewise.
1612 * posix/tst-exec-static.c: New file.
1613 * posix/tst-spawn-static.c: Likewise.
1614 * posix/tst-exec.c: Support run directly.
1615 * posix/tst-spawn.c: Likewise.
1616
fed0faa1
JM
16172013-01-10 Joseph Myers <joseph@codesourcery.com>
1618
828beb13
JM
1619 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
1620 long.
1621 * math/bits/mathcalls.h (llrint): Likewise.
1622 (llround): Likewise.
1623 * stdlib/stdlib.h (struct drand48_data): Likewise.
1624 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
1625 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
1626 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
1627 Likewise.
1628 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
1629 Likewise.
1630 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
1631 (elf_greg_t): Likewise.
1632 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
1633 (__jmp_buf): Likewise.
1634 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
1635 definitions.
1636 (llrint): Likewise, for all definitions.
1637 (llrintl): Likewise.
1638
fed0faa1
JM
1639 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
1640 Remove [__GNUC__] condition.
1641 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
1642 condition to just [__USE_ISOC99].
1643 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
1644
1a20cb20
L
16452013-01-10 H.J. Lu <hongjiu.lu@intel.com>
1646
1647 [BZ #14200]
1648 * sysdeps/unix/sysv/linux/x86/bits/environments.h
1649 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
1650 defined.
1651 (_POSIX_V6_ILP32_OFF32): Likewise.
1652 (_XBS5_ILP32_OFF32): Likewise.
1653 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
1654 (__ILP32_OFFBIG_LDFLAGS): Likewise.
1655
751b85f7
SP
16562013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1657
7490eb81
SP
1658 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
1659
751b85f7
SP
1660 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
1661 doubles __mpexp_twomm1. Adjust usage.
1662 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
1663 Remove.
1664
988197f0
AS
16652013-01-10 Andreas Schwab <schwab@suse.de>
1666
1667 [BZ #14964]
1668 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
1669 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
1670
e83d7298
DM
16712013-01-09 David S. Miller <davem@davemloft.net>
1672
034ed64b 1673 [BZ #15003]
e83d7298
DM
1674 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
1675 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
1676 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
1677 TCP_FASTOPEN): Define.
1678 (tcp_repair_opt): New structure.
1679 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
1680 enum values.
1681 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
1682 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
1683 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
1684 (tcp_cookie_transactions): New structure.
1685
d5e0b9bd
AB
16862013-01-09 Anton Blanchard <anton@samba.org>
1687
1688 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
1689 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
1690 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
1691 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
1692
0c07e3ea
JM
16932013-01-09 Joseph Myers <joseph@codesourcery.com>
1694
1695 * include/features.h (__USE_ANSI): Remove.
1696
232f7002
RM
16972013-01-09 Roland McGrath <roland@hack.frob.com>
1698
ad98e30c
RM
1699 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
1700
232f7002
RM
1701 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
1702
950c99ca
SP
17032013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
1704
b5792741
SP
1705 * sysdeps/s390/fpu/libm-test-ulps: Update.
1706
47cf2278
SP
1707 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1708
950c99ca
SP
1709 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
1710 (__acr): Likewise.
1711 (__cpy): Likewise.
1712 (norm): Likewise.
1713 (denorm): Likewise.
1714 (__mp_dbl): Likewise.
1715 (__dbl_mp): Likewise.
1716 (add_magnitudes): Likewise.
1717 (sub_magnitudes): Likewise.
1718 (__add): Likewise.
1719 (__sub): Likewise.
1720 (__mul): Likewise.
1721 (__inv): Likewise.
1722 (__dvd): Likewise.
1723 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
1724 (__acr): Likewise.
1725 (__cpy): Likewise.
1726 (norm): Likewise.
1727 (denorm): Likewise.
1728 (__mp_dbl): Likewise.
1729 (__dbl_mp): Likewise.
1730 (add_magnitudes): Likewise.
1731 (sub_magnitudes): Likewise.
1732 (__add): Likewise.
1733 (__sub): Likewise.
1734 (__mul): Likewise.
1735 (__inv): Likewise.
1736 (__dvd): Likewise.
1737 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
1738 (__acr): Likewise.
1739 (__cpy): Likewise.
1740 (norm): Likewise.
1741 (denorm): Likewise.
1742 (__mp_dbl): Likewise.
1743 (__dbl_mp): Likewise.
1744 (add_magnitudes): Likewise.
1745 (sub_magnitudes): Likewise.
1746 (__add): Likewise.
1747 (__sub): Likewise.
1748 (__mul): Likewise.
1749 (__inv): Likewise.
1750 (__dvd): Likewise.
1751
eede9df9
JM
17522013-01-08 Joseph Myers <joseph@codesourcery.com>
1753
1754 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
1755 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
1756 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
1757 2 && __USE_EXTERN_INLINES]: Likewise.
1758
c40ea3d9
AJ
17592013-01-08 Andreas Jaeger <aj@suse.de>
1760
1761 [BZ# 14985]
1762 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
1763 Remove.
1764 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
1765 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
1766
2ccdea26
AB
17672013-01-07 Anton Blanchard <anton@samba.org>
1768
1769 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
1770 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1771 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
1772 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1773 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
1774 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1775 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
1776 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
1777 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1778 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1779 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1780 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1781 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1782 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1783 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
1784 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1785 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1786 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1787 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1788 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
1789 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1790 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
1791 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
1792 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
1793 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
1794 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1795 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1796 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1797 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
1798 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1799 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1800 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1801 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1802 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1803 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1804 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1805 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1806 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1807 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
1808 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
1809 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
1810 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1811 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1812
a9708fed
JM
18132013-01-07 Joseph Myers <joseph@codesourcery.com>
1814
375607b9
JM
1815 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
1816 (__MALLOC_PMT): Likewise.
1817 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
1818 [__GNUC__], only on [_LIBC].
1819 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
1820 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
1821 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
1822 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
1823 forward declaration.
1824 (realloc_hook_ini): Likewise.
1825 (memalign_hook_ini): Likewise.
1826 (__libc_memalign): Do not use __MALLOC_PMT in variable
1827 declaration.
1828 (__libc_valloc): Likewise.
1829 (__libc_pvalloc): Likewise.
1830 (__libc_calloc): Likewise.
1831 (__posix_memalign): Likewise.
1832
a9708fed
JM
1833 [BZ #14996]
1834 * math/s_casinh.c: Include <float.h>.
1835 (__casinh): Do not do computation with squaring and square root
1836 for large arguments.
1837 * math/s_casinhf.c: Include <float.h>.
1838 (__casinhf): Do not do computation with squaring and square root
1839 for large arguments.
1840 * math/s_casinhl.c: Include <float.h>.
1841 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
1842 (__casinhl): Do not do computation with squaring and square root
1843 for large arguments.
1844 * math/libm-test.inc (casin_test): Add more tests.
1845 (casinh_test): Likewise.
1846 * sysdeps/i386/fpu/libm-test-ulps: Update.
1847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1848
afec409a
L
18492013-01-04 H.J. Lu <hongjiu.lu@intel.com>
1850
1851 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
1852 (__x86_64_raw_data_cache_size): Likewise.
1853 (__x86_64_data_cache_size_half): Likewise.
1854 (__x86_64_raw_data_cache_size_half): Likewise.
1855 (__x86_64_shared_cache_size): Likewise.
1856 (__x86_64_raw_shared_cache_size): Likewise.
1857 (__x86_64_shared_cache_size_half): Likewise.
1858 (__x86_64_raw_shared_cache_size_half): Likewise.
1859 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
1860 to ...
1861 (__x86_data_cache_size): This.
1862 (__x86_64_raw_data_cache_size): Renamed to ...
1863 (__x86_raw_data_cache_size): This.
1864 (__x86_64_data_cache_size_half): Renamed to ...
1865 (__x86_data_cache_size_half): This.
1866 (__x86_64_raw_data_cache_size_half): Renamed to ...
1867 (__x86_raw_data_cache_size_half): This.
1868 (__x86_64_shared_cache_size): Renamed to ...
1869 (__x86_shared_cache_size): This.
1870 (__x86_64_raw_shared_cache_size): Renamed to ...
1871 (__x86_raw_shared_cache_size): This.
1872 (__x86_64_shared_cache_size_half): Renamed to ...
1873 (__x86_shared_cache_size_half): This.
1874 (__x86_64_raw_shared_cache_size_half): Renamed to ...
1875 (__x86_raw_shared_cache_size_half): This.
1876 * sysdeps/x86_64/memcpy.S: Updated.
1877 * sysdeps/x86_64/memset.S: Likewise.
1878 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1879 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1880 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1881
0b3986d0
DM
18822013-01-04 David S. Miller <davem@davemloft.net>
1883
1884 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1885
e47686e9
AS
18862013-01-04 Andreas Schwab <schwab@linux-m68k.org>
1887
d643bac1
AS
1888 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
1889 1 to avoid redefinition warning.
1890 (__USE_GNU): Don't define.
1891 (init_signaling_nan): Protoize.
1892
e47686e9
AS
1893 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1894
b18decba
SP
18952013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1896
fffb407f
SP
1897 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
1898 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
1899 (__cpymn): Likewise.
1900 (norm): Remove commented code.
1901 (denorm): Likewise.
1902 (__mp_dbl): Likewise.
1903 (__inv): Likewise.
1904 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
1905 (__cpymn): Likewise.
1906 (norm): Remove commented code.
1907 (denorm): Likewise.
1908 (__mp_dbl): Likewise.
1909 (__inv): Likewise.
1910
b18decba
SP
1911 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
1912 mp_no value for 1.0 and 2.0.
1913 (norm): Use RADIXI instead of radixi.d.
1914 (denorm): Likewise.
1915 (__mul): Use 0.0 instead of zero.d.
1916 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
1917 mp_no value for 1.0 and 2.0.
1918 (norm): Use RADIXI instead of radixi.d.
1919 (denorm): Likewise.
1920 (__mul): Use 0.0 instead of zero.d.
1921
cdc1c96f
JM
19222013-01-04 Joseph Myers <joseph@codesourcery.com>
1923
1924 [BZ #14994]
1925 * math/s_casinh.c (__casinh): Reduce finite argument to first
1926 quadrant then set signs of results at the end.
1927 * math/s_casinhf.c (__casinhf): Likewise.
1928 * math/s_casinhl.c (__casinhl): Likewise.
1929 * math/libm-test.inc (casin_test): Add more tests.
1930 (casinh_test): Likewise.
1931 * sysdeps/i386/fpu/libm-test-ulps: Update.
1932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1933
302913e1
SP
19342013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1935
6420d207
SP
1936 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
1937
a9e48ab4
SP
1938 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
1939
b7837264
SP
1940 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
1941 declarations.
1942 (denorm): Likewise.
1943 (__mp_dbl): Likewise.
1944 (__inv): Likewise.
1945
f8af25d2
SP
1946 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
1947 and adjust the header comment.
1948
302913e1
SP
1949 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
1950 variable name from declaration.
1951
5d7dd1ca
L
19522013-01-03 H.J. Lu <hongjiu.lu@intel.com>
1953
1954 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1955 Initialize COMMON_CPUID_INDEX_7 element.
1956 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
1957 (CPUID_RTM): Likewise.
1958 (HAS_RTM): Likewise.
1959 (COMMON_CPUID_INDEX_7): New enum.
1960
2f5f40f4
AS
19612013-01-03 Andreas Schwab <schwab@linux-m68k.org>
1962
1963 [BZ #14981]
1964 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
1965 size is zero, record memory as freed.
1966
4056f4a0
AJ
19672013-01-03 Andreas Jaeger <aj@suse.de>
1968
1969 * po/ia.po: Add new Interlingua translation.
1970
ab15736f 19712012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
1972
1973 * locale/programs/localedef.c: Fix description of '--posix' flag.
1974
568035b7
JM
19752013-01-02 Joseph Myers <joseph@codesourcery.com>
1976
e6898b8d
JM
1977 * NEWS: Update dates in second copyright notice.
1978 * README: Update copyright dates in example.
1979 * manual/libc.texinfo: Update copyright dates.
1980 * scripts/test-installation.pl: Update copyright date in --version
1981 output.
1982
0e2f9562
JM
1983 * hurd/ctty-input.c: Fix copyright notice formatting.
1984 * hurd/ctty-output.c: Likewise.
1985 * hurd/dtable.c: Likewise.
1986 * hurd/hurd-raise.c: Likewise.
1987 * hurd/hurdprio.c: Likewise.
1988 * hurd/msgportdemux.c: Likewise.
1989 * misc/sys/file.h: Likewise.
1990 * misc/sys/ioctl.h: Likewise.
1991 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
1992 * sysdeps/mach/hurd/chdir.c: Likewise.
1993 * sysdeps/mach/hurd/fchdir.c: Likewise.
1994 * sysdeps/mach/hurd/rename.c: Likewise.
1995 * sysdeps/mach/hurd/rmdir.c: Likewise.
1996 * sysdeps/mach/hurd/seekdir.c: Likewise.
1997 * sysdeps/mach/hurd/setsid.c: Likewise.
1998 * sysdeps/posix/wait3.c: Likewise.
1999
568035b7
JM
2000 * All files with FSF copyright notices: Update copyright dates
2001 using scripts/update-copyrights.
2002 * intl/plural.c: Regenerated.
2003 * locale/programs/charmap-kw.h: Likewise.
2004 * locale/programs/locfile-kw.h: Likewise.
2005
da08f647
SP
20062013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2007
0f5477af
SP
2008 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
2009 four values.
2010
44e0d4c2
SP
2011 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
2012 calculation loop and add branch prediction.
2013
4d55b4e5
SP
2014 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
2015 check access beyond bounds of m1np.
2016
da08f647
SP
2017 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
2018 MPTWO.
2019 (__inv): Remove local variable MPTWO to use the global
2020 constant.
2021 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
2022 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
2023 variable MPTWO.
2024 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
2025 MP3HALFS static const.
2026
8e051029
DM
20272013-01-01 David S. Miller <davem@davemloft.net>
2028
2029 * po/ca.po: Update from translation team.
2030
f4cf5f2d
JM
20312013-01-01 Joseph Myers <joseph@codesourcery.com>
2032
2033 * scripts/update-copyrights: New file.
2034 * Makeconfig: Reformat copyright notice.
2035 * ctype/ctype.h: Likewise.
2036 * debug/swprintf_chk.c: Likewise.
2037 * elf/dl-cache.c: Likewise.
2038 * elf/dl-debug.c: Likewise.
2039 * elf/dl-object.c: Likewise.
2040 * grp/initgroups.c: Likewise.
2041 * hurd/Makefile: Likewise.
2042 * hurd/hurd/signal.h: Likewise.
2043 * hurd/hurdfault.c: Likewise.
2044 * hurd/hurdioctl.c: Likewise.
2045 * hurd/hurdlookup.c: Likewise.
2046 * hurd/intr-msg.c: Likewise.
2047 * iconv/gconv_open.c: Likewise.
2048 * libio/swprintf.c: Likewise.
2049 * locale/lc-ctype.c: Likewise.
2050 * locale/nl_langinfo.c: Likewise.
2051 * mach/Machrules: Likewise.
2052 * mach/Makefile: Likewise.
2053 * malloc/obstack.h: Likewise.
2054 * manual/Makefile: Likewise.
2055 * manual/tsort.awk: Likewise.
2056 * misc/bits/stab.def: Likewise.
2057 * nis/nis_print_group_entry.c: Likewise.
2058 * nis/nis_table.c: Likewise.
2059 * nis/nss_compat/compat-pwd.c: Likewise.
2060 * nis/nss_compat/compat-spwd.c: Likewise.
2061 * po/Makefile: Likewise.
2062 * posix/fnmatch.c: Likewise.
2063 * posix/regex.h: Likewise.
2064 * resolv/Makefile: Likewise.
2065 * resolv/nss_dns/dns-network.c: Likewise.
2066 * resolv/res_hconf.c: Likewise.
2067 * scripts/gen-sorted.awk: Likewise.
2068 * soft-fp/soft-fp.h: Likewise.
2069 * stdio-common/printf.h: Likewise.
2070 * stdlib/monetary.h: Likewise.
2071 * stdlib/random.c: Likewise.
2072 * stdlib/random_r.c: Likewise.
2073 * sysdeps/generic/Makefile: Likewise.
2074 * sysdeps/gnu/Makefile: Likewise.
2075 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2076 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2077 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2078 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2079 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2080 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2081 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2082 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2083 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2084 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2085 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2086 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2087 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
2088 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
2089 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
2090 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
2091 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2092 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2093 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2094 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2095 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2096 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2097 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2098 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2099 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
2100 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
2101 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
2102 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
2103 * sysdeps/mach/hurd/errnos.awk: Likewise.
2104 * sysdeps/mach/hurd/fork.c: Likewise.
2105 * sysdeps/mach/hurd/getcwd.c: Likewise.
2106 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
2107 * sysdeps/mach/hurd/mmap.c: Likewise.
2108 * sysdeps/mach/hurd/utimes.c: Likewise.
2109 * sysdeps/mach/hurd/xmknod.c: Likewise.
2110 * sysdeps/posix/profil.c: Likewise.
2111 * sysdeps/posix/readdir_r.c: Likewise.
2112 * sysdeps/powerpc/bits/mathdef.h: Likewise.
2113 * sysdeps/powerpc/bits/setjmp.h: Likewise.
2114 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
2115 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
2116 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2117 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2118 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2119 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2120 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2121 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2122 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2123 * sysdeps/pthread/lio_listio.c: Likewise.
2124 * sysdeps/sparc/dl-procinfo.h: Likewise.
2125 * sysdeps/unix/i386/sysdep.S: Likewise.
2126 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
2127 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
2128 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
2129 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
2130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2131 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
2132 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
2133 * sysdeps/unix/sysv/linux/speed.c: Likewise.
2134 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2135 * sysdeps/wordsize-32/divdi3.c: Likewise.
2136 * time/sys/time.h: Likewise.
2137 * wcsmbs/Makefile: Likewise.
2138
0549fbba
DM
21392013-01-01 David S. Miller <davem@davemloft.net>
2140
a141f1a7
DM
2141 * po/fr.po: Update from translation team.
2142
0549fbba
DM
2143 * catgets/gencat.c: Update copyright year.
2144 * csu/version.c: Likewise.
2145 * debug/catchsegv.sh: Likewise.
2146 * debug/pcprofiledump.c: Likewise.
2147 * debug/xtrace.sh: Likewise.
2148 * elf/ldconfig.c: Likewise.
2149 * elf/ldd.bash.in: Likewise.
2150 * elf/pldd.c: Likewise.
2151 * elf/sotruss.ksh: Likewise.
2152 * elf/sprof.c: Likewise.
2153 * iconv/iconv_prog.c: Likewise.
2154 * iconv/iconvconfig.c: Likewise.
2155 * locale/programs/locale.c: Likewise.
2156 * locale/programs/localedef.c: Likewise.
2157 * login/programs/pt_chown.c: Likewise.
2158 * malloc/memusage.sh: Likewise.
2159 * malloc/memusagestat.c: Likewise.
2160 * malloc/mtrace.pl: Likewise.
2161 * nscd/nscd.c: Likewise.
2162 * nss/getent.c: Likewise.
2163 * nss/makedb.c: Likewise.
2164 * posix/getconf.c: Likewise.
2165
18ea052c
SP
21662012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2167
2168 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
2169 numbers.
2170
9c89fca6
MF
21712012-12-30 Mike Frysinger <vapier@gentoo.org>
2172
2173 * math/bits/mathcalls.h (modf): Use __nonnull.
2174
085ec079
SP
21752012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2176
2177 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
2178 (split): Use macro CN instead of the bare value.
2179 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
2180 could be used.
2181 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
2182 instead of the bare value.
2183 (power1): Likewise.
2184
6d9f97e1
SP
21852012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2186
d63f73be
SP
2187 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
2188 __ATAN_TWOM.
2189 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2190
6d9f97e1
SP
2191 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
2192 their values.
2193 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
2194 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
2195 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
2196 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
2197
4c4febf5
AJ
21982012-12-28 Andreas Jaeger <aj@suse.de>
2199
af5843ef
AJ
2200 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
2201 values are from Linux 3.7.
2202
4c4febf5
AJ
2203 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
2204 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
2205
99136f82
SP
22062012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2207
2f216c3c 2208 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
2209 TRUE case.
2210
99136f82
SP
2211 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
2212 (norm): Likewise.
2213 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
2214 variables with preprocessor constants.
2215 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2216 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
2217 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
2218
7fffbdff
BH
22192012-12-27 Bruno Haible <bruno@clisp.org>
2220
2221 [BZ #14317]
2222 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
2223 only if needed.
2224
b76eb5f0
SP
22252012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2226
31a7fe5c
SP
2227 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
2228 and use variable directly.
2229 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
2230
b76eb5f0
SP
2231 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
2232 MPONE.
2233 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
2234 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
2235 variable MPONE.
2236 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
2237 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2238 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
2239 include directive. Remove local variable MPONE.
2240 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
2241 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
2242 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2243
2c8bfe7d
DM
22442012-12-25 David S. Miller <davem@davemloft.net>
2245
2246 * version.h (RELEASE): Set to "development".
2247 (VERSION): Set to "2.17.90".
2248 * NEWS: Add 2.18 section.
2249
147d03b0
DM
22502012-12-21 David S. Miller <davem@davemloft.net>
2251
2252 * po/hr.po: Update from translation team.
2253
a8ebb2b9
AK
22542012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2255
2256 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
2257
95b4f1b6
SE
22582012-12-19 Steve Ellcey <sellcey@mips.com>
2259
b2d94007 2260 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 2261
cedb2a90
MS
22622012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2263
2264 * manual/contrib.texi (Contributors): Spelling correction.
2265
bbf527d6
DM
22662012-12-15 David S. Miller <davem@davemloft.net>
2267
2268 * po/ru.po: Update from translation team.
2269
bc38c906
DM
22702012-12-13 David S. Miller <davem@davemloft.net>
2271
85429b1a
DM
2272 * NEWS: Mention IFUNC testsuite enhancements.
2273
d283e353
DM
2274 * po/pl.po: Update from translation team.
2275 * po/bg.po: Likewise.
2276
bc38c906
DM
2277 * manual/contrib.texi (Contributors): Update entries for Hongjiu
2278 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
2279
a181b0d7
DM
22802012-12-11 David S. Miller <davem@davemloft.net>
2281
4641d57e
DM
2282 * po/sv.po: Update from translation team.
2283
f7bc6495
DM
2284 * po/vi.po: Update from translation team.
2285
6fc9048f
DM
2286 * po/cs.po: Update from translation team.
2287
a181b0d7
DM
2288 * po/de.po: Update from translation team.
2289 * po/eo.po: Likewise.
2290 * po/nl.po: Likewise.
2291
f70bfe80
SP
22922012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2293
3c8b4190
SP
2294 [BZ #14246]
2295 * manual/argp.texi (Argp Helper Functions): Move node to follow
2296 Argp Parsing State.
2297
f70bfe80
SP
2298 [BZ #14872]
2299 * manual/conf.texi (Limits on File System Capacity): Mention if
2300 terminating null is included in the max size.
2301
188f0adf
AJ
23022012-12-10 Andreas Jaeger <aj@suse.de>
2303
2304 * po/cs.po: Update from translation team.
2305
56e7d3ad
SP
23062012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2307
2308 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
2309 void pointer and cast to uintptr_t.
2310 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
2311 path.
2312 * sysdeps/s390/s390-64/memcpy.S: Likewise.
2313 * sysdeps/s390/s390-64/memset.S: Likewise.
2314
76f2d2ea 23152012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
2316
2317 [BZ #14833]
2318 * menual/message.texi (Message Translation): Fix typos.
2319 (Helper programs for gettext): Likewise.
2320
67cbf9a2
AS
23212012-12-07 Andreas Schwab <schwab@linux-m68k.org>
2322
2323 [BZ #14898]
2324 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
2325 Change to -1.
2326
682d0e9a
DM
23272012-12-07 David S. Miller <davem@davemloft.net>
2328
2329 * po/libc.pot: Update.
2330
573cd484
RH
23312012-12-07 Richard Henderson <rth@redhat.com>
2332
7e9da188 2333 [BZ #10114]
573cd484
RH
2334 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
2335 normal/normal case to before the switch.
2336 (_FP_DIV): Likewise.
2337
e933a943
MF
23382012-12-06 Carlos O'Donell <carlos@systemhalted.org>
2339 Mike Frysinger <vapier@gentoo.org>
2340
2341 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
2342 check for __NR_fadvise64_64.
2343
82123268
CM
23442012-12-06 Chris Metcalf <cmetcalf@tilera.com>
2345
2346 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
2347 0, not just to plain "0" as a statement.
2348 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
2349 with cw.
2350
d9814526
JM
23512012-12-06 Joseph Myers <joseph@codesourcery.com>
2352
2353 * NEWS: Use sourceware.org in Bugzilla URL.
2354
7728c574
SP
23552012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2356
f16946dd
SP
2357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2358 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
2359
5704bbcb
SP
2360 * stdio-common/tst-put-error.c (do_test): Add newline to the
2361 padded test to ensure flush.
2362
17aa0516
JL
23632012-12-05 Jeff Law <law@redhat.com>
2364
2365 * sunrpc/etc.rpc (fedfs_admin): Add entry.
2366
363313b5
JM
23672012-12-05 Joseph Myers <joseph@codesourcery.com>
2368
effbd42a
JM
2369 * README: Don't refer to ports add-on as distributed separately.
2370 Mention AArch64 in list of systems supported in the ports add-on.
2371
87600365
JM
2372 * LICENSES: Add more non-FSF copyright and license notices.
2373
a0d7066a
JM
2374 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
2375 ((unused)).
2376
66ca5a5b
JM
2377 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
2378
363313b5
JM
2379 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
2380 10000 as width of padded output.
2381
b37984ad
JM
23822012-12-04 Joseph Myers <joseph@codesourcery.com>
2383
9003570a
JM
2384 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
2385
b37984ad
JM
2386 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
2387 variable LX with __attribute__ ((unused)).
2388 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
2389 Likewise.
2390 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
2391 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2392 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
2393 with __attribute__ ((unused)).
2394
c8df52ec
DM
23952012-12-04 David S. Miller <davem@abraco.davemloft.net>
2396
2397 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
2398
b3b099af
JM
23992012-12-04 Joseph Myers <joseph@codesourcery.com>
2400
c33aa6e3
JM
2401 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
2402 (CFLAGS-nldbl-acos.c): New variable.
2403 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
2404 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
2405 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
2406 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
2407 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
2408 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
2409 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
2410 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
2411 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
2412 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
2413 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
2414 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
2415 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
2416 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
2417 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
2418 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
2419 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
2420 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
2421 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
2422 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
2423 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
2424 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
2425 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
2426 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
2427 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
2428 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
2429 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
2430 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
2431 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
2432 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
2433 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
2434 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
2435 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
2436 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
2437 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
2438 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
2439 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
2440 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
2441 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
2442 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
2443 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
2444 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
2445 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
2446 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
2447 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
2448 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
2449 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
2450 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
2451 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
2452 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
2453 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
2454 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
2455 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
2456 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
2457 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
2458 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
2459 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
2460 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
2461 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
2462 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
2463 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
2464 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
2465 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
2466 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
2467 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
2468 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
2469 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
2470 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
2471 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
2472 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
2473 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
2474 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
2475 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
2476 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
2477 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
2478 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
2479 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
2480 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
2481 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
2482 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
2483 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
2484 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
2485 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
2486 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
2487 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
2488 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
2489 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
2490 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
2491 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
2492 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
2493 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
2494 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
2495 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
2496 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
2497 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
2498 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
2499 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
2500
20f0018d
JM
2501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2502 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
2503
b3b099af
JM
2504 [BZ #14914]
2505 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
2506 whole low double instead of just low 47 bits when splitting values
2507 into two parts.
2508
029264d1
AM
25092012-12-03 Allan McRae <allan@archlinux.org>
2510
2511 * manual/stdio.texi (Predefined Printf Handlers): Remove
2512 @hsep and @vsep usage.
2513
c9d6789e
MF
25142012-12-03 Mike Frysinger <vapier@gentoo.org>
2515
2516 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
2517 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
2518
4b7634a5
JL
25192012-12-03 Jeff Law <law@redhat.com>
2520
2521 * time/sys/time.h (settimeofday): Do not mark TV argument
2522 as __nonnull.
2523
eb6cbd24
MF
25242012-12-01 Mike Frysinger <vapier@gentoo.org>
2525
2526 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
2527 when currently writing and seek to current position when not.
2528 * libio/Makefile (tests): Remove bug-fclose1.
2529 * libio/bug-fclose1.c: Delete.
2530
f638872a
JM
25312012-12-01 Joseph Myers <joseph@codesourcery.com>
2532
2533 * manual/arith.texi (feenableexcept): Fix typo.
2534 (fedisableexcept): Likewise.
2535
48085d14
RM
25362012-11-30 Roland McGrath <roland@hack.frob.com>
2537
2538 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
2539 second, differently-typed declaration, rather than a cast.
2540
1a538b9f
SP
25412012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2542
2543 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
2544 * include/rpc/svc.h: ... here.
2545
d07f2ff1 25462012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
2547
2548 [BZ #13013]
2549 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
2550 depending n and resplen2 to catch cases where answer
2551 equals answerp2.
2552
c93ec1f0
CD
25532012-11-29 Carlos O'Donell <carlos@systemhalted.org>
2554
2555 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
2556 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
2557
37db69de
MF
25582012-11-29 Mike Frysinger <vapier@gentoo.org>
2559
2560 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
2561
e10c4e4f
RM
25622012-11-29 Roland McGrath <roland@hack.frob.com>
2563
2564 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
2565
2af1b328
JL
25662012-11-28 Jeff Law <law@redhat.com>
2567
2568 [BZ #13761]
2569 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
2570 dataset_temporary. Track alloca usage into alloca_used.
2571 If dataset is large allocate and release it via malloc/free.
2572
111db5b1
FW
25732012-06-04 Florian Weimer <fweimer@redhat.com>
2574
f06cc227 2575 [BZ #14197]
111db5b1
FW
2576 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
2577
dd694abd
DM
25782012-11-28 David S. Miller <davem@davemloft.net>
2579
2580 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2581
9984dd01
JM
25822012-11-28 Joseph Myers <joseph@codesourcery.com>
2583
2584 [BZ #14803]
2585 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
2586 of pi/2 rounded to nearest to 64 bits.
2587 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
2588 nearest to 64 bits.
2589 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
2590 bits.
2591
14bc93a9
JL
25922012-11-28 Jeff Law <law@redhat.com>
2593 Martin Osvald <mosvald@redhat.com>
2594
2595 [BZ #14889]
2596 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
2597 * sunrpc/svc.c: Include time.h.
2598 (__svc_accept_failed): New function.
2599 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
2600 any reason other than EINTR, call __svc_accept_failed.
2601 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
2602 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
2603
e3c6aa3a
AS
26042012-11-28 Andreas Schwab <schwab@suse.de>
2605
2606 * scripts/abilist.awk: Also handle indirect functions in .opd
2607 section.
2608
1bead169
JM
26092012-11-28 Joseph Myers <joseph@codesourcery.com>
2610
2611 [BZ #13881]
2612 * sysdeps/x86/fpu/powl_helper.c: New file.
2613 * sysdeps/x86/fpu/Makefile: Likewise.
2614 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
2615 (p3): New object.
2616 (__ieee754_powl): Use __powl_helper for finite arguments except
2617 integer exponents below 8.
2618 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
2619 (p3): New object.
2620 (__ieee754_powl): Use __powl_helper for finite arguments except
2621 integer exponents below 8.
2622 * math/libm-test.inc (pow_test): Add more tests and enable some
2623 previously disabled tests.
2624 * sysdeps/i386/fpu/libm-test-ulps: Update.
2625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2626
0817d63d
SP
26272012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2628 Carlos O'Donell <carlos_odonell@mentor.com>
2629
2630 * nss/makedb.c (is_prime): Assert that input is odd and greater
2631 than 4. Note that fact in a comment too.
2632 (next_prime): Add 4 to input.
2633
de2fd463
SP
26342012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2635
2636 [BZ #11741]
2637 * libio/Makefile (tests): Add test case tst-fwrite-error.
2638 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
2639 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
2640 * libio/tst-fwrite-error.c: New test case.
2641
c515fb51
L
26422012-11-26 H.J. Lu <hongjiu.lu@intel.com>
2643
2644 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
2645 before casting to void *.
2646 * include/libc-internal.h (__pointer_type): New macro.
2647 (__integer_if_pointer_type_sub): Likewise.
2648 (__integer_if_pointer_type): Likewise.
2649 (cast_to_integer): Likewise.
2650 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
2651 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
2652 before casting to atomic64_t.
2653 (atomic_exchange_acq): Likewise.
2654 (__arch_exchange_and_add_body): Likewise.
2655 (__arch_add_body): Likewise.
2656 (atomic_add_negative): Likewise.
2657 (atomic_add_zero): Likewise.
2658
4cf77aa9
JM
26592012-11-26 Joseph Myers <joseph@codesourcery.com>
2660
2661 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
2662 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
2663 (add_fdes): Likewise.
2664 (linear_search_fdes): Likewise.
2665 (binary_search_unencoded_fdes): Likewise.
2666
d260b3b4
AS
26672012-11-26 Andreas Schwab <schwab@linux-m68k.org>
2668
2669 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
2670
67060746
AC
26712012-11-24 Adam Conrad <adconrad@0c3.net>
2672
2673 * configure.in: Autodetect C++ header directories.
2674 * configure: Regenerated.
2675
800938a1
MF
26762012-11-23 Mike Frysinger <vapier@gentoo.org>
2677
2678 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
2679
4e6e34e6
AS
26802012-11-23 Andreas Schwab <schwab@linux-m68k.org>
2681
2682 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2683
7c7feb47
JM
26842012-11-22 Joseph Myers <joseph@codesourcery.com>
2685
7184dcdf
JM
2686 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
2687 LDBL_MANT_DIG == 106]: Disable some tests.
2688 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
2689 Likewise.
2690 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
2691 Likewise.
2692
0a42601f
JM
2693 [BZ #14871]
2694 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
2695 input for small inputs. Return +/- pi/2 for large inputs.
2696 * math/libm-test.inc (atan_test): Add more tests.
2697
79c9b9fe
JM
2698 * sysdeps/generic/unwind-dw2-fde-glibc.c
2699 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
2700 __attribute__ ((unused)).
2701
c60d3bf2
JM
2702 [BZ #14645]
2703 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
2704 x * y if x and y are nonzero and z is zero.
2705
ef1e0867
JM
2706 [BZ #14811]
2707 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
2708 nonzero exponents with absolute value below 0x1p-117 to +/-
2709 0x1p-117.
2710
1468ded3
JM
2711 [BZ #14869]
2712 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
2713 up arguments below 2**-450, not just those below 2**-500.
2714 * math/libm-test.inc (hypot_test): Add another test.
2715
8e27e3cc
JM
2716 [BZ #14868]
2717 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
2718 Return a+b for ratio over 2**120, not 2**60.
2719 * math/libm-test.inc (hypot_test): Add another test.
2720
c9c0279b
JM
2721 * math/libm-test.inc (clog_test): Use
2722 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
2723 (clog10_test): Likewise.
2724
7c7feb47
JM
2725 [BZ #6778]
2726 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
2727
fff1530e
AS
27282012-11-22 Andreas Schwab <schwab@suse.de>
2729
2730 * sysdeps/i386/fpu/libm-test-ulps: Update.
2731
94558d30
PT
27322012-11-22 Pino Toscano <toscano.pino@tiscali.it>
2733
2734 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
2735 printf output with newline.
2736
7e1be741
L
27372012-11-21 H.J. Lu <hongjiu.lu@intel.com>
2738
6bfea974
L
2739 [BZ #14865]
2740 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
2741 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
2742 -z nodlopen, -z initfirst and -z execstack support.
2743 * configure: Regenerated.
2744
7e1be741
L
2745 * elf/elf.h (DF_1_NODIRECT): New macro.
2746 (DF_1_IGNMULDEF): Likewise.
2747 (DF_1_NOKSYMS): Likewise.
2748 (DF_1_NOHDR): Likewise.
2749 (DF_1_EDITED): Likewise.
2750 (DF_1_NORELOC): Likewise.
2751 (DF_1_SYMINTPOSE): Likewise.
2752 (DF_1_GLOBAUDIT): Likewise.
2753 (DF_1_SINGLETON): Likewise.
2754 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
2755 DT_1_SUPPORTED_MASK bits.
2756 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
2757
105ce2ce
CD
27582012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
2759
2760 * sysdeps/unix/make-syscalls.sh: Document prefixes.
2761
123be9de
TS
27622012-11-20 Thomas Schwinge <thomas@codesourcery.com>
2763
d072f3f7
TS
2764 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
2765 macro.
2766
123be9de
TS
2767 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
2768 (sendmmsg): Move declarations...
2769 * socket/sys/socket.h: ... here.
2770 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
2771 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
2772 include it from...
2773 * socket/recvmmsg.c: ... this new file.
2774 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
2775 (sendmmsg): Rename to __sendmmsg, create weak alias and make
2776 definition of __sendmmsg hidden.
2777 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
2778 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
2779 Move ENOSYS stub into and include it from...
2780 * socket/sendmmsg.c: ... this new file.
2781 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
2782 (sysdep_routines): Move recvmmsg and sendmmsg...
2783 * socket/Makefile (routines): ... here.
2784 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
2785 (GLIBC_PRIVATE): Add __sendmmsg.
2786 * include/sys/socket.h (__sendmmsg): Add declarations.
2787 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
2788 sendmmsg.
2789
cf9a5d18
JM
27902012-11-20 Joseph Myers <joseph@codesourcery.com>
2791
2792 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
2793 variable I1 with __attribute__ ((unused)).
2794 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2795
ecd4caf9
JM
27962012-11-19 Joseph Myers <joseph@codesourcery.com>
2797
be14d48f
JM
2798 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
2799 DUMMY variables with __attribute__ ((unused)).
2800
ecd4caf9
JM
2801 * bits/byteswap.h: Include <bits/types.h>.
2802 (__bswap_64): Use __uint64_t instead of unsigned long long int.
2803
986cab95
PT
28042012-11-19 Pino Toscano <toscano.pino@tiscali.it>
2805
2806 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
2807 string_t. Do not manually set errno.
2808 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
2809 length with __strnlen. Make sure to both set errno and return it on
2810 failure.
2811
6d33cc9d
DM
28122012-11-19 David S. Miller <davem@davemloft.net>
2813
2814 With help from Joseph Myers.
2815 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
2816 very large arguments properly.
2817 * math/libm-test.inc (atan_test): New tests.
2818 (atan2_test): New tests.
2819 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2820 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2821
ee663277
JM
28222012-11-19 Joseph Myers <joseph@codesourcery.com>
2823
877f2d8e
JM
2824 [BZ #14856]
2825 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
2826 Define to 3.
2827
116fc08a
JM
2828 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
2829 [POSIX] (EADDRNOTAVAIL): Likewise.
2830 [POSIX] (EAFNOSUPPORT): Likewise.
2831 [POSIX] (EALREADY): Likewise.
2832 [POSIX] (ECONNABORTED): Likewise.
2833 [POSIX] (ECONNREFUSED): Likewise.
2834 [POSIX] (ECONNRESET): Likewise.
2835 [POSIX] (EDESTADDRREQ): Likewise.
2836 [POSIX] (EDQUOT): Likewise.
2837 [POSIX] (EHOSTUNREACH): Likewise.
2838 [POSIX] (EIDRM): Likewise.
2839 [POSIX] (EISCONN): Likewise.
2840 [POSIX] (ELOOP): Likewise.
2841 [POSIX] (EMULTIHOP): Likewise.
2842 [POSIX] (ENETDOWN): Likewise.
2843 [POSIX] (ENETUNREACH): Likewise.
2844 [POSIX] (ENOBUFS): Likewise.
2845 [POSIX] (ENODATA): Likewise.
2846 [POSIX] (ENOLINK): Likewise.
2847 [POSIX] (ENOMSG): Likewise.
2848 [POSIX] (ENOPROTOOPT): Likewise.
2849 [POSIX] (ENOSR): Likewise.
2850 [POSIX] (ENOSTR): Likewise.
2851 [POSIX] (ENOTCONN): Likewise.
2852 [POSIX] (ENOTSOCK): Likewise.
2853 [POSIX] (EOPNOTSUPP): Likewise.
2854 [POSIX] (EOVERFLOW): Likewise.
2855 [POSIX] (EPROTO): Likewise.
2856 [POSIX] (EPROTONOSUPPORT): Likewise.
2857 [POSIX] (EPROTOTYPE): Likewise.
2858 [POSIX] (ESTALE): Likewise.
2859 [POSIX] (ETIME): Likewise.
2860 [POSIX] (ETXTBSY): Likewise.
2861 [POSIX] (EWOULDBLOCK): Likewise.
2862 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
2863 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
2864 [POSIX] (SEEK_CUR): Likewise.
2865 [POSIX] (SEEK_END): Likewise.
2866 [POSIX || UNIX98] (mode_t): Do not require.
2867 [POSIX] (off_t): Likewise.
2868 [POSIX] (pid_t): Likewise.
2869 [POSIX] (sys/stat.h): Do not allow header.
2870 [POSIX] (unistd.h): Likewise.
2871 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
2872 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
2873 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
2874 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
2875 require.
2876 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
2877 sigevent): Specify elements.
2878 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
2879 entry.
2880 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
2881 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
2882
a483863f
JM
2883 * conform/data/cpio.h-data [POSIX]: Disable whole file.
2884 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
2885 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
2886 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
2887 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
2888 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
2889 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
2890 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
2891 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
2892 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
2893 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
2894 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
2895 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
2896 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
2897 Likewise.
2898 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
2899 Likewise.
2900 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
2901 Likewise.
2902 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
2903 Likewise.
2904 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
2905 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
2906 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
2907 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
2908 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
2909 Specify lower bound on value.
2910 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
2911 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
2912 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
2913 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
2914 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
2915 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
2916 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
2917 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
2918 value.
2919 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
2920 as optional.
2921 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
2922 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
2923 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
2924 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
2925 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
2926 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
2927 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
2928 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
2929 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
2930 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
2931 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
2932 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
2933 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
2934 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
2935 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
2936 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
2937 entry.
2938 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
2939 optional.
2940 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
2941 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
2942 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
2943 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
2944 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
2945 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
2946 Likewise.
2947 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
2948 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
2949 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
2950 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
2951 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
2952 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
2953 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
2954 as optional.
2955 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
2956 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
2957 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
2958 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
2959 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
2960 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
2961 specify as optional.
2962 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
2963 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
2964 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
2965 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
2966 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
2967 [XPG3] (NL_LANGMAX): Likewise.
2968 [POSIX || XPG3] (NL_MSGMAX): Likewise.
2969 [POSIX || XPG3] (NL_NMAX): Likewise.
2970 [POSIX || XPG3] (NL_SETMAX): Likewise.
2971 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
2972 [XPG3] (NZERO): Likewise.
2973 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
2974 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
2975 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
2976 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
2977 (REG_ERANGE): Expect.
2978 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
2979 optional-constant.
2980 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
2981 Use (void) in prototype.
2982 [POSIX] (*_t): Allow.
2983 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
2984 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
2985 (WRDE_BADVAL): Expect.
2986
5ba924e3
JM
2987 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
2988 expect.
2989 [XPG3 || XPG4] (O_RSYNC): Likewise.
2990 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
2991 Likewise.
2992 [XPG3 || XPG4] (pthread_sigmask): Likewise.
2993 [XPG3 || XPG4] (sigqueue): Likewise.
2994 [XPG3 || XPG4] (sigtimedwait): Likewise.
2995 [XPG3 || XPG4] (sigwaitinfo): Likewise.
2996 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
2997 [XPG3 || XPG4] (vsnprintf): Likewise.
2998 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
2999 Likewise.
3000 [XPG3 || XPG4] (blksize_t): Likewise.
3001 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
3002 Likewise.
3003 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
3004 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3005 [XPG3 || XPG4] (struct itimerspec): Likewise.
3006 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
3007 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
3008 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
3009 [XPG3 || XPG4] (clockid_t): Likewise.
3010 [XPG3 || XPG4] (timer_t): Likewise.
3011 [XPG3 || XPG4] (clock_getres): Likewise.
3012 [XPG3 || XPG4] (clock_gettime): Likewise.
3013 [XPG3 || XPG4] (clock_settime): Likewise.
3014 [XPG3 || XPG4] (nanosleep): Likewise.
3015 [XPG3 || XPG4] (timer_create): Likewise.
3016 [XPG3 || XPG4] (timer_delete): Likewise.
3017 [XPG3 || XPG4] (timer_gettime): Likewise.
3018 [XPG3 || XPG4] (timer_getoverrun): Likewise.
3019 [XPG3 || XPG4] (timer_settime): Likewise.
3020 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
3021 [XPG3 || XPG4] (getlogin_r): Likewise.
3022 [XPG3 || XPG4] (pread): Likewise.
3023 [XPG3 || XPG4] (pthread_atfork): Likewise.
3024 [XPG3 || XPG4] (pwrite): Likewise.
3025
ee663277
JM
3026 [BZ #14835]
3027 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
3028 <bits/siginfo.h>.
3029
942caa16
PT
30302012-11-19 Pino Toscano <toscano.pino@tiscali.it>
3031
e19af380
PT
3032 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
3033 finalizing MALLSTREAM.
3034
942caa16
PT
3035 * sysdeps/mach/hurd/syncfs.c: New file.
3036
cfde9b46
SP
30372012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3038
3039 [BZ #14719]
3040 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
3041 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
3042 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
3043 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
3044 (_nss_dns_gethostbyname4_r): Likewise.
3045 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
3046 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
3047
f6da27e5
PH
30482012-11-19 Peng Haitao <penght@cn.fujitsu.com>
3049
3050 [BZ #13763]
3051 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
3052
6665d4a2
SM
30532012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
3054
1f51ee92
SM
3055 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
3056 * elf/cache.c (print_entry): Print ",AArch64" for
3057 FLAG_AARCH64_LIB64
3058
6665d4a2
SM
3059 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
3060 * elf/cache.c (print_entry): Print ",hard-float" for
3061 FLAG_ARM_LIBHF.
3062
05b227bd
DM
30632012-11-18 David S. Miller <davem@davemloft.net>
3064
3065 With help from Joseph Myers.
3066 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
3067 cutoff to 2**-13.
3068 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
3069 cutoff to 2**-25.
3070 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
3071 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
3072 small.
3073 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
3074 * math/libm-test.inc (y0_test): New tests.
3075 (y1_test): New tests.
3076 * sysdeps/i386/fpu/libm-test-ulps: Update.
3077 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3078 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3079
786b0b67
AS
30802012-11-18 Andreas Schwab <schwab@linux-m68k.org>
3081
3082 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
3083 64-bit targets.
3084 * configure: Regenerated.
3085
8e18b86d
DM
30862012-11-17 David S. Miller <davem@davemloft.net>
3087
3088 [BZ #14811]
3089 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
3090 nonzero exponents with absolute value below 0x1p-128 to +/-
3091 0x1p-128.
3092
531f1ae0
JM
30932012-11-17 Joseph Myers <joseph@codesourcery.com>
3094
12df29e2
JM
3095 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
3096
150dc1a0
JM
3097 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
3098
531f1ae0
JM
3099 * posix/getconf-speclist.c: New file.
3100 * posix/posix-envs.def: Likewise.
3101 * posix/confstr.c (START_ENV_GROUP): New macro.
3102 (END_ENV_GROUP): Likewise.
3103 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
3104 (KNOWN_PRESENT_ENV_STRING): Likewise.
3105 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
3106 (UNKNOWN_ENVIRONMENT): Likewise.
3107 (confstr): Include posix-envs.def instead of handling
3108 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
3109 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
3110 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
3111 (END_ENV_GROUP): Likewise.
3112 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
3113 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
3114 (UNKNOWN_ENVIRONMENT): Likewise.
3115 (__sysconf): Include posix-envs.def instead of handling associated
3116 cases directly here.
3117 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
3118 preprocessing getconf-speclist.c rather than running getconf or
3119 generating empty file.
3120
a93f9cbc
PT
31212012-11-16 Pino Toscano <toscano.pino@tiscali.it>
3122
3123 * scripts/check-local-headers.sh: Ignore 'mach' headers.
3124
d64d9f87
AL
31252012-11-16 Andrej Lajovic <natrij@gmail.com>
3126
3127 [BZ #14672]
3128 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
3129
447885eb
DM
31302012-11-16 David S. Miller <davem@davemloft.net>
3131
3132 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
3133 smaller than LDBL_EPSILON/2.0L, just return xm1.
3134
bcbf9830
L
31352012-11-16 H.J. Lu <hongjiu.lu@intel.com>
3136
3137 * elf/tst-array1.c (init): Set constructor priority to 1000.
3138 (fini): Set destructor priority to 1000.
3139 * elf/tst-array2dep.c: Likewise.
3140
2b766585
SP
31412012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3142
3143 [BZ #11741]
3144 * libio/fileops.c (_IO_new_file_write): Correctly return error.
3145 (_IO_new_file_xsputn): Also return EOF if none of the input
3146 data was written when overflow failed.
3147 * libio/iopadn.c (_IO_padn): Likewise.
3148 * libio/iowpadn.c (_IO_wpadn): Likewise.
3149 * stdio-common/tst-put-error.c: Add copyright notice.
3150 (do_test): Add case for printing padded string.
3151 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
3152 _IO_padn returned error.
3153 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
3154 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
3155 return EOF.
3156
b1848fde
SP
31572012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3158
3159 * libio/libioP.h: Add comment note that the references to C++
3160 bits are now obsolete.
3161
2fd89785
MS
31622012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3163
3164 * math/libm-test.inc (check_complex): Use asprintf.
3165
e3ea5409
JM
31662012-11-14 Joseph Myers <joseph@codesourcery.com>
3167
3168 * debug/pcprofiledump.c (print_version): Update copyright year.
3169 * malloc/memusagestat.c (print_version): Likewise.
3170
2e64d265
L
31712012-11-14 H.J. Lu <hongjiu.lu@intel.com>
3172
3173 [BZ #14831]
3174 * elf/Makefile (tests): Add tst-audit8.
3175 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
3176 ($(objpfx)tst-audit8.out): New target.
3177 (tst-audit8-ENV): New variable.
3178 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
3179 audit if l_reloc_result is NULL.
3180 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
3181 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
3182 * elf/tst-audit8.c: New file.
3183
c485e4d2
MS
31842012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3185
3186 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
3187 * misc/Makefile (CFLAGS-select.c): Define.
3188 * posix/Makefile (CFLAGS-pause.c): Define.
3189
3a0d900a
DM
31902012-11-13 David S. Miller <davem@davemloft.net>
3191
3192 * crypt/Makefile: Move test targets after toplevel Rules
3193 inclusion. Grab any necessary sysdep routines when linking.
3194 * crypt/md5.c (md5_process_block): Remove define, we will always
3195 name it __md5_process_block.
3196 (md5_finish_ctx): Update md5_process_block call.
3197 (md5_stream): Likewise.
3198 (md5_process_bytes): Likewise.
3199 (md5_process_block): Rename to __md5_process_block and move to ...
3200 * crypt/md5-block.c: ... here.
3201 * crypt/sha256.c (sha256_process_block): Move to ...
3202 * crypt/sha256-block.c: ... here.
3203 * crypt/sha512.c (sha512_process_block): Move to ...
3204 * crypt/sha512-block.c: ... here.
3205 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
3206 path.
3207 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
3208 * sysdeps/sparc/sparc64/multiarch/Makefile
3209 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
3210 crypt subdir.
3211 (localedef-aux): Add md5 crypto assembler when in locale subdir.
3212 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
3213 multiarch changes.
3214 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
3215 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
3216 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
3217 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
3218 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
3219 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
3220 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
3221 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
3222 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
3223 file.
3224 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
3225 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
3226 file.
3227 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
3228
8ca89318
JM
32292012-11-13 Joseph Myers <joseph@codesourcery.com>
3230
e27d476a
JM
3231 * timezone/tzselect.ksh: Update from tzcode git revision
3232 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
3233 * timezone/zdump.c: Likewise.
3234 * timezone/zic.c: Likewise.
3235 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
3236 in TZVERSION setting, not $(PKGVERSION).
3237 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
3238 REPORT_BUGS_TO settings.
3239
8ca89318
JM
3240 [BZ #14838]
3241 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
3242 macro.
3243
47594329
MS
32442012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3245
3246 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
3247 detection to immediately after _FP_ROUND().
3248 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
3249 bits are 0.
3250
640ac3f1
DM
32512012-11-11 David S. Miller <davem@davemloft.net>
3252
3253 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
3254 inttypes.h
3255 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
3256 __close rather than their public counterparts.
3257
3d2577bb
JM
32582012-11-10 Joseph Myers <joseph@codesourcery.com>
3259
3260 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
3261 file.
3262 [UNIX98] (sem_timedwait): Do not expect.
3263 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
3264 [XPG4 || UNIX98] (sockatmark): Do not expect.
3265 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
3266 (clock_getcpuclockid): Do not expect.
3267 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
3268 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
3269 Do not expect.
3270 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
3271 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
3272 [UNIX98] (vwscanf): Likewise.
3273 [UNIX98] (vswscanf): Likewise.
3274
fb1ae1ee
JM
32752012-11-09 Joseph Myers <joseph@codesourcery.com>
3276
9ec6f8bd
JM
3277 * timezone/version.h: Remove file.
3278 * timezone/README: Do not refer to version.h.
3279 * timezone/Makefile ($(objpfx)zic.o): New dependency on
3280 $(objpfx)version.h.
3281 ($(objpfx)zdump.o): Likewise.
c3f81911 3282 ($(objpfx)version.h): New target.
9ec6f8bd 3283
0aa8f8a1
JM
3284 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
3285 2012i.
3286 * timezone/README: Don't mention modification to tzselect.ksh.
3287 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
3288 work on unmodified tzselect.ksh. Substitute version numbers in
3289 tzselect.ksh.
3290
4e87147f
JM
3291 * Makefile (format-me): Remove.
3292 (INSTALL): Adjust indentation. Use commands directly instead of
3293 using $(format-me).
3294
8b748aed
JM
3295 * aclocal.m4 (ACX_PKGVERSION): New macro.
3296 (ACX_BUGURL): Likewise.
3297 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
3298 (PKGVERSION): New AC_DEFINE_UNQUOTED.
3299 (REPORT_BUGS_TO): Likewise.
3300 * configure: Regenerated.
3301 * config.h.in (PKGVERSION): New macro.
3302 (REPORT_BUGS_TO): Likewise.
3303 * config.make.in (PKGVERSION): New variable.
3304 (PKGVERSION_TEXI): Likewise.
3305 (REPORT_BUGS_TO): Likewise.
3306 (REPORT_BUGS_TEXI): Likewise.
3307 * Makefile (format-me): Use -I$(common-objpfx)manual.
3308 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
3309 ($(common-objpfx)manual/%): New target.
3310 (manual/%): Remove target.
3311 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
3312 (print_version): Use PKGVERSION.
3313 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
3314 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
3315 and REPORT_BUGS_TO.
3316 ($(objpfx)xtrace): Likewise.
3317 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
3318 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
3319 (print_version): Use PKGVERSION.
3320 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
3321 (do_version): Use PKGVERSION.
3322 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
3323 REPORT_BUGS_TO.
3324 (common-ldd-rewrite): Likewise.
3325 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
3326 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
3327 (print_version): Use PKGVERSION.
3328 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
3329 * elf/pldd.c (argp_program_bug_address): Remove variable.
3330 (more_help): New function.
3331 (argp): Use more_help.
3332 (print_version): Use PKGVERSION.
3333 * elf/sln.c (main): Use PKGVERSION.
3334 (usage): Use REPORT_BUGS_TO.
3335 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
3336 (top level): Use PKGVERSION.
3337 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
3338 (print_version): Use PKGVERSION.
3339 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
3340 (print_version): Use PKGVERSION.
3341 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
3342 (print_version): Use PKGVERSION.
3343 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
3344 (print_version): Use PKGVERSION.
3345 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
3346 (print_version): Use PKGVERSION.
3347 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
3348 (print_version): Use PKGVERSION.
3349 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
3350 and BUGURL.
3351 ($(objpfx)memusage): Likewise.
3352 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
3353 (do_version): Use PKGVERSION.
3354 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
3355 (print_version): Use PKGVERSION.
3356 * malloc/mtrace.pl ($PACKAGE): Remove variable.
3357 ($PKGVERSION): New variable.
3358 ($REPORT_BUGS_TO): Likewise.
3359 (usage): Use $REPORT_BUGS_TO.
3360 (top level): Use $PKGVERSION.
3361 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
3362 ($(objpfx)pkgvers.texi): New rule.
3363 ($(objpfx)stamp-pkgvers): Likewise.
3364 * manual/install.texi: Include pkgvers.texi.
3365 (--with-pkgversion): Document new configure option.
3366 (--with-bugurl): Likewise.
3367 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
3368 than necessarily for this particular distribution. Use
3369 REPORT_BUGS_TO for where to report bugs.
3370 * INSTALL: Regenerated.
3371 * manual/libc.texinfo: Include pkgvers.texi.
3372 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
3373 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
3374 (print_version): Use PKGVERSION.
3375 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
3376 (print_version): Use PKGVERSION.
3377 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
3378 (print_version): Use PKGVERSION.
3379 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
3380 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
3381 macro.
3382 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
3383 (print_version): Use PKGVERSION.
3384 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
3385 (print_version): Use PKGVERSION.
3386 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
3387 and PKGVERSION.
3388
92e4b6a9
JM
3389 * timezone/checktab.awk: Update from tzcode 2012i.
3390 * timezone/ialloc.c: Likewise.
3391 * timezone/private.h: Likewise.
3392 * timezone/scheck.c: Likewise.
3393 * timezone/tzfile.h: Likewise.
3394 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
3395 (TZVERSION): Hardcode tzcode version number.
3396 * timezone/zdump.c: Update from tzcode 2012i.
3397 * timezone/zic.c: Likewise.
3398 * timezone/version.h: New file.
3399 * timezone/README: Describe version.h. Update upstream location.
3400
9bde902c
JM
3401 [BZ #14824]
3402 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
3403 (mktemp): Enable declaration.
3404 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
3405 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
3406 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
3407 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
3408 Likewise.
3409 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
3410 Likewise.
3411 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
3412 Likewise.
3413 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
3414 Likewise.
3415 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
3416 Likewise.
3417 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
3418 Likewise.
3419
fb1ae1ee
JM
3420 [BZ #14821]
3421 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
3422 offset in buffer as u_int32_t not u_long. Consistently use memcpy
3423 for copies of such integer values.
3424 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
3425 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
3426
2c1adbcb
AJ
34272012-11-09 Andreas Jaeger <aj@suse.de>
3428
3429 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
3430 definitions and declarations that are provided by
3431 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
3432
d0f8457e
AK
34332012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3434
3a235abb 3435 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
3436 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
3437 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
3438 definition.
3439
57241e26
MS
34402012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3441
3442 * elf/elf.h: Update comment before AArch64 relocations.
3443
60e8270d
DM
34442012-11-07 David S. Miller <davem@davemloft.net>
3445
3446 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
3447 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
3448 (__start_context): Declare.
3449 (__makecontext_ret): Delete.
3450 (__makecontext): Hook up __start_context instead of
3451 __makecontext_ret.
3452 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
3453 (sysdep_routines): Add __start_context when in stdlib.
3454
0fbb0fbc
JM
34552012-11-07 Joseph Myers <joseph@codesourcery.com>
3456
3457 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
3458 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
3459 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
3460 hardcoded "nm".
3461 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
3462 (READELF): New variable. Use it instead of hardcoded "readelf".
3463
eb48db7e
L
34642012-11-07 H.J. Lu <hongjiu.lu@intel.com>
3465
3466 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
3467 * sysdeps/x86/Makefile: Here.
3468 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
3469 * sysdeps/x86/tst-xmmymm.sh: This.
3470
05bcf62a
JM
34712012-11-07 Joseph Myers <joseph@codesourcery.com>
3472
c4b6cf53
JM
3473 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
3474 expectations.
3475 [UNIX98] (pthread_barrier_t): Do not expect.
3476 [UNIX98] (pthread_barrierattr_t): Likewise.
3477 [UNIX98] (pthread_spinlock_t): Likewise.
3478 [UNIX98] (pthread_barrier_destroy): Likewise.
3479 [UNIX98] (pthread_barrier_init): Likewise.
3480 [UNIX98] (pthread_barrier_wait): Likewise.
3481 [UNIX98] (pthread_barrierattr_destroy): Likewise.
3482 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
3483 [UNIX98] (pthread_barrierattr_init): Likewise.
3484 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
3485 [UNIX98] (pthread_getcpuclockid): Likewise.
3486 [UNIX98] (pthread_mutex_timedlock): Likewise.
3487 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
3488 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
3489 [UNIX98] (pthread_sigmask): Likewise.
3490 [UNIX98] (pthread_spin_destroy): Likewise.
3491 [UNIX98] (pthread_spin_init): Likewise.
3492 [UNIX98] (pthread_spin_lock): Likewise.
3493 [UNIX98] (pthread_spin_trylock): Likewise.
3494 [UNIX98] (pthread_spin_unlock): Likewise.
3495 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
3496 Do not expect.
3497 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
3498 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
3499 [XPG3 || XPG4] (pthread_cond_t): Likewise.
3500 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
3501 [XPG3 || XPG4] (pthread_key_t): Likewise.
3502 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
3503 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
3504 [XPG3 || XPG4] (pthread_once_t): Likewise.
3505 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
3506 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
3507 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
3508 [XPG3 || XPG4] (pthread_t): Likewise.
3509
cbe6e120
JM
3510 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
3511 not expect.
3512 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
3513
1b126443
JM
3514 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
3515 Change function return type to int.
3516
b961a573
JM
3517 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
3518 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
3519 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
3520 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
3521 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
3522 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
3523 [!POSIX] (posix_madvise): Likewise.
3524 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
3525 && !UNIX98].
3526 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
3527 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
3528 (mode_t): Likewise.
3529 (posix_mem_offset): Likewise.
3530 (posix_typed_mem_get_info): Likewise.
3531 (posix_typed_mem_open): Likewise.
3532
9e188909
JM
3533 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
3534 Change condition to [XOPEN2K8].
3535
05bcf62a
JM
3536 * conform/conformtest.pl: Preprocess allow-header data with -x c
3537 instead of from stdin.
3538 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
3539 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
3540 [C99-based standards] (cerfc): Likewise.
3541 [C99-based standards] (cexp2): Likewise.
3542 [C99-based standards] (cexpm1): Likewise.
3543 [C99-based standards] (clog10): Likewise.
3544 [C99-based standards] (clog1p): Likewise.
3545 [C99-based standards] (clog2): Likewise.
3546 [C99-based standards] (clgamma): Likewise.
3547 [C99-based standards] (ctgamma): Likewise.
3548 [C99-based standards] (cerff): Likewise.
3549 [C99-based standards] (cerfcf): Likewise.
3550 [C99-based standards] (cexp2f): Likewise.
3551 [C99-based standards] (cexpm1f): Likewise.
3552 [C99-based standards] (clog10f): Likewise.
3553 [C99-based standards] (clog1pf): Likewise.
3554 [C99-based standards] (clog2f): Likewise.
3555 [C99-based standards] (clgammaf): Likewise.
3556 [C99-based standards] (ctgammaf): Likewise.
3557 [C99-based standards] (cerfl): Likewise.
3558 [C99-based standards] (cerfcl): Likewise.
3559 [C99-based standards] (cexp2l): Likewise.
3560 [C99-based standards] (cexpm1l): Likewise.
3561 [C99-based standards] (clog10l): Likewise.
3562 [C99-based standards] (clog1pl): Likewise.
3563 [C99-based standards] (clog2l): Likewise.
3564 [C99-based standards] (clgammal): Likewise.
3565 [C99-based standards] (ctgammal): Likewise.
3566 * conform/data/inttypes.h-data [C99-based standards]: Include
3567 stdint.h-data. Remove all expectations for stdint.h contents.
3568 [C99-based standards] (PRI*): Do not allow.
3569 [C99-based standards] (SCN*): Likewise.
3570 [C99-based standards] (*_t): Likewise.
3571 [C99-based-standards] (PRId8): Expect macro.
3572 [C99-based-standards] (PRIi8): Likewise.
3573 [C99-based-standards] (PRIo8): Likewise.
3574 [C99-based-standards] (PRIu8): Likewise.
3575 [C99-based-standards] (PRIx8): Likewise.
3576 [C99-based-standards] (PRIX8): Likewise.
3577 [C99-based-standards] (SCNd8): Likewise.
3578 [C99-based-standards] (SCNi8): Likewise.
3579 [C99-based-standards] (SCNo8): Likewise.
3580 [C99-based-standards] (SCNu8): Likewise.
3581 [C99-based-standards] (SCNx8): Likewise.
3582 [C99-based-standards] (PRIdLEAST8): Likewise.
3583 [C99-based-standards] (PRIiLEAST8): Likewise.
3584 [C99-based-standards] (PRIoLEAST8): Likewise.
3585 [C99-based-standards] (PRIuLEAST8): Likewise.
3586 [C99-based-standards] (PRIxLEAST8): Likewise.
3587 [C99-based-standards] (PRIXLEAST8): Likewise.
3588 [C99-based-standards] (SCNdLEAST8): Likewise.
3589 [C99-based-standards] (SCNiLEAST8): Likewise.
3590 [C99-based-standards] (SCNoLEAST8): Likewise.
3591 [C99-based-standards] (SCNuLEAST8): Likewise.
3592 [C99-based-standards] (SCNxLEAST8): Likewise.
3593 [C99-based-standards] (PRIdFAST8): Likewise.
3594 [C99-based-standards] (PRIiFAST8): Likewise.
3595 [C99-based-standards] (PRIoFAST8): Likewise.
3596 [C99-based-standards] (PRIuFAST8): Likewise.
3597 [C99-based-standards] (PRIxFAST8): Likewise.
3598 [C99-based-standards] (PRIXFAST8): Likewise.
3599 [C99-based-standards] (SCNdFAST8): Likewise.
3600 [C99-based-standards] (SCNiFAST8): Likewise.
3601 [C99-based-standards] (SCNoFAST8): Likewise.
3602 [C99-based-standards] (SCNuFAST8): Likewise.
3603 [C99-based-standards] (SCNxFAST8): Likewise.
3604 [C99-based-standards] (PRId16): Likewise.
3605 [C99-based-standards] (PRIi16): Likewise.
3606 [C99-based-standards] (PRIo16): Likewise.
3607 [C99-based-standards] (PRIu16): Likewise.
3608 [C99-based-standards] (PRIx16): Likewise.
3609 [C99-based-standards] (PRIX16): Likewise.
3610 [C99-based-standards] (SCNd16): Likewise.
3611 [C99-based-standards] (SCNi16): Likewise.
3612 [C99-based-standards] (SCNo16): Likewise.
3613 [C99-based-standards] (SCNu16): Likewise.
3614 [C99-based-standards] (SCNx16): Likewise.
3615 [C99-based-standards] (PRIdLEAST16): Likewise.
3616 [C99-based-standards] (PRIiLEAST16): Likewise.
3617 [C99-based-standards] (PRIoLEAST16): Likewise.
3618 [C99-based-standards] (PRIuLEAST16): Likewise.
3619 [C99-based-standards] (PRIxLEAST16): Likewise.
3620 [C99-based-standards] (PRIXLEAST16): Likewise.
3621 [C99-based-standards] (SCNdLEAST16): Likewise.
3622 [C99-based-standards] (SCNiLEAST16): Likewise.
3623 [C99-based-standards] (SCNoLEAST16): Likewise.
3624 [C99-based-standards] (SCNuLEAST16): Likewise.
3625 [C99-based-standards] (SCNxLEAST16): Likewise.
3626 [C99-based-standards] (PRIdFAST16): Likewise.
3627 [C99-based-standards] (PRIiFAST16): Likewise.
3628 [C99-based-standards] (PRIoFAST16): Likewise.
3629 [C99-based-standards] (PRIuFAST16): Likewise.
3630 [C99-based-standards] (PRIxFAST16): Likewise.
3631 [C99-based-standards] (PRIXFAST16): Likewise.
3632 [C99-based-standards] (SCNdFAST16): Likewise.
3633 [C99-based-standards] (SCNiFAST16): Likewise.
3634 [C99-based-standards] (SCNoFAST16): Likewise.
3635 [C99-based-standards] (SCNuFAST16): Likewise.
3636 [C99-based-standards] (SCNxFAST16): Likewise.
3637 [C99-based-standards] (PRId32): Likewise.
3638 [C99-based-standards] (PRIi32): Likewise.
3639 [C99-based-standards] (PRIo32): Likewise.
3640 [C99-based-standards] (PRIu32): Likewise.
3641 [C99-based-standards] (PRIx32): Likewise.
3642 [C99-based-standards] (PRIX32): Likewise.
3643 [C99-based-standards] (SCNd32): Likewise.
3644 [C99-based-standards] (SCNi32): Likewise.
3645 [C99-based-standards] (SCNo32): Likewise.
3646 [C99-based-standards] (SCNu32): Likewise.
3647 [C99-based-standards] (SCNx32): Likewise.
3648 [C99-based-standards] (PRIdLEAST32): Likewise.
3649 [C99-based-standards] (PRIiLEAST32): Likewise.
3650 [C99-based-standards] (PRIoLEAST32): Likewise.
3651 [C99-based-standards] (PRIuLEAST32): Likewise.
3652 [C99-based-standards] (PRIxLEAST32): Likewise.
3653 [C99-based-standards] (PRIXLEAST32): Likewise.
3654 [C99-based-standards] (SCNdLEAST32): Likewise.
3655 [C99-based-standards] (SCNiLEAST32): Likewise.
3656 [C99-based-standards] (SCNoLEAST32): Likewise.
3657 [C99-based-standards] (SCNuLEAST32): Likewise.
3658 [C99-based-standards] (SCNxLEAST32): Likewise.
3659 [C99-based-standards] (PRIdFAST32): Likewise.
3660 [C99-based-standards] (PRIiFAST32): Likewise.
3661 [C99-based-standards] (PRIoFAST32): Likewise.
3662 [C99-based-standards] (PRIuFAST32): Likewise.
3663 [C99-based-standards] (PRIxFAST32): Likewise.
3664 [C99-based-standards] (PRIXFAST32): Likewise.
3665 [C99-based-standards] (SCNdFAST32): Likewise.
3666 [C99-based-standards] (SCNiFAST32): Likewise.
3667 [C99-based-standards] (SCNoFAST32): Likewise.
3668 [C99-based-standards] (SCNuFAST32): Likewise.
3669 [C99-based-standards] (SCNxFAST32): Likewise.
3670 [C99-based-standards] (PRId64): Likewise.
3671 [C99-based-standards] (PRIi64): Likewise.
3672 [C99-based-standards] (PRIo64): Likewise.
3673 [C99-based-standards] (PRIu64): Likewise.
3674 [C99-based-standards] (PRIx64): Likewise.
3675 [C99-based-standards] (PRIX64): Likewise.
3676 [C99-based-standards] (SCNd64): Likewise.
3677 [C99-based-standards] (SCNi64): Likewise.
3678 [C99-based-standards] (SCNo64): Likewise.
3679 [C99-based-standards] (SCNu64): Likewise.
3680 [C99-based-standards] (SCNx64): Likewise.
3681 [C99-based-standards] (PRIdLEAST64): Likewise.
3682 [C99-based-standards] (PRIiLEAST64): Likewise.
3683 [C99-based-standards] (PRIoLEAST64): Likewise.
3684 [C99-based-standards] (PRIuLEAST64): Likewise.
3685 [C99-based-standards] (PRIxLEAST64): Likewise.
3686 [C99-based-standards] (PRIXLEAST64): Likewise.
3687 [C99-based-standards] (SCNdLEAST64): Likewise.
3688 [C99-based-standards] (SCNiLEAST64): Likewise.
3689 [C99-based-standards] (SCNoLEAST64): Likewise.
3690 [C99-based-standards] (SCNuLEAST64): Likewise.
3691 [C99-based-standards] (SCNxLEAST64): Likewise.
3692 [C99-based-standards] (PRIdFAST64): Likewise.
3693 [C99-based-standards] (PRIiFAST64): Likewise.
3694 [C99-based-standards] (PRIoFAST64): Likewise.
3695 [C99-based-standards] (PRIuFAST64): Likewise.
3696 [C99-based-standards] (PRIxFAST64): Likewise.
3697 [C99-based-standards] (PRIXFAST64): Likewise.
3698 [C99-based-standards] (SCNdFAST64): Likewise.
3699 [C99-based-standards] (SCNiFAST64): Likewise.
3700 [C99-based-standards] (SCNoFAST64): Likewise.
3701 [C99-based-standards] (SCNuFAST64): Likewise.
3702 [C99-based-standards] (SCNxFAST64): Likewise.
3703 [C99-based-standards] (PRIdMAX): Likewise.
3704 [C99-based-standards] (PRIiMAX): Likewise.
3705 [C99-based-standards] (PRIoMAX): Likewise.
3706 [C99-based-standards] (PRIuMAX): Likewise.
3707 [C99-based-standards] (PRIxMAX): Likewise.
3708 [C99-based-standards] (PRIXMAX): Likewise.
3709 [C99-based-standards] (SCNdMAX): Likewise.
3710 [C99-based-standards] (SCNiMAX): Likewise.
3711 [C99-based-standards] (SCNoMAX): Likewise.
3712 [C99-based-standards] (SCNuMAX): Likewise.
3713 [C99-based-standards] (SCNxMAX): Likewise.
3714 [C99-based-standards] (PRIdPTR): Likewise.
3715 [C99-based-standards] (PRIiPTR): Likewise.
3716 [C99-based-standards] (PRIoPTR): Likewise.
3717 [C99-based-standards] (PRIuPTR): Likewise.
3718 [C99-based-standards] (PRIxPTR): Likewise.
3719 [C99-based-standards] (PRIXPTR): Likewise.
3720 [C99-based-standards] (SCNdPTR): Likewise.
3721 [C99-based-standards] (SCNiPTR): Likewise.
3722 [C99-based-standards] (SCNoPTR): Likewise.
3723 [C99-based-standards] (SCNuPTR): Likewise.
3724 [C99-based-standards] (SCNxPTR): Likewise.
3725 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
3726 allow.
3727 * conform/data/stdint.h-data: Update comments to clarify
3728 requirements.
3729 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
3730 type.
3731 [C99-based standards] (INT8_MAX): Likewise.
3732 [C99-based standards] (INT16_MIN): Likewise.
3733 [C99-based standards] (INT16_MAX): Likewise.
3734 [C99-based standards] (INT32_MIN): Likewise.
3735 [C99-based standards] (INT32_MAX): Likewise.
3736 [C99-based standards] (INT64_MIN): Likewise.
3737 [C99-based standards] (INT64_MAX): Likewise.
3738 [C99-based standards] (UINT8_MAX): Likewise.
3739 [C99-based standards] (UINT16_MAX): Likewise.
3740 [C99-based standards] (UINT32_MAX): Likewise.
3741 [C99-based standards] (UINT64_MAX): Likewise.
3742 [C99-based standards] (INT_LEAST8_MIN): Likewise.
3743 [C99-based standards] (INT_LEAST8_MAX): Likewise.
3744 [C99-based standards] (INT_LEAST16_MIN): Likewise.
3745 [C99-based standards] (INT_LEAST16_MAX): Likewise.
3746 [C99-based standards] (INT_LEAST32_MIN): Likewise.
3747 [C99-based standards] (INT_LEAST32_MAX): Likewise.
3748 [C99-based standards] (INT_LEAST64_MIN): Likewise.
3749 [C99-based standards] (INT_LEAST64_MAX): Likewise.
3750 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
3751 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
3752 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
3753 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
3754 [C99-based standards] (INT_FAST8_MIN): Likewise.
3755 [C99-based standards] (INT_FAST8_MAX): Likewise.
3756 [C99-based standards] (INT_FAST16_MIN): Likewise.
3757 [C99-based standards] (INT_FAST16_MAX): Likewise.
3758 [C99-based standards] (INT_FAST32_MIN): Likewise.
3759 [C99-based standards] (INT_FAST32_MAX): Likewise.
3760 [C99-based standards] (INT_FAST64_MIN): Likewise.
3761 [C99-based standards] (INT_FAST64_MAX): Likewise.
3762 [C99-based standards] (UINT_FAST8_MAX): Likewise.
3763 [C99-based standards] (UINT_FAST16_MAX): Likewise.
3764 [C99-based standards] (UINT_FAST32_MAX): Likewise.
3765 [C99-based standards] (UINT_FAST64_MAX): Likewise.
3766 [C99-based standards] (INTPTR_MIN): Likewise.
3767 [C99-based standards] (INTPTR_MAX): Likewise.
3768 [C99-based standards] (UINTPTR_MAX): Likewise.
3769 [C99-based standards] (INTMAX_MIN): Likewise.
3770 [C99-based standards] (INTMAX_MAX): Likewise.
3771 [C99-based standards] (UINTMAX_MAX): Likewise.
3772 [C99-based standards] (PTRDIFF_MIN): Likewise.
3773 [C99-based standards] (PTRDIFF_MAX): Likewise.
3774 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
3775 [C99-based standards] (SIZE_MAX): Likewise.
3776 [C99-based standards] (WCHAR_MAX): Likewise.
3777 [C99-based standards] (WINT_MAX): Likewise.
3778 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
3779 constraint on value.
3780 [C99-based standards] (WCHAR_MIN): Likewise.
3781 [C99-based standards] (WINT_MIN): Likewise.
3782 [C99-based standards] (*_t): Allow.
3783 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
3784 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
3785 Include math.h-data and complex.h-data. Remove all expectations
3786 of math.h and complex.h contents.
3787 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
3788 at end of line.
3789 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
3790 (struct tm): Expect tag.
3791 [C99-based-standards] (wcstof): Expect function.
3792 [C99-based-standards] (wcstold): Likewise.
3793 [C99-based-standards] (wcstoll): Likewise.
3794 [C99-based-standards] (wcstoull): Likewise.
3795 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
3796 macro-int-constant. Specify type.
3797 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
3798 constraint on value.
3799 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
3800 Specify type.
3801 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
3802 Specify value.
3803 [ISO C standards]: Do not allow headers.
3804 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
3805 wcs[abcdefghijklmnopqrstuvwxyz]*.
3806 [ISO C standards] (*_t): Do not allow.
3807 * conform/data/wctype.h-data [C99-based standards] (iswblank):
3808 Expect function.
3809 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
3810 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
3811 Specify type.
3812 [ISO C standards]: Do not allow headers.
3813 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
3814 is[abcdefghijklmnopqrstuvwxyz]*.
3815 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
3816 to[abcdefghijklmnopqrstuvwxyz]*.
3817 [ISO C standards] (*_t): Do not allow.
3818 * conform/data/stdalign.h-data: New file.
3819 * conform/data/stdbool.h-data: Likewise.
3820 * conform/data/stdnoreturn.h-data: Likewise.
3821
7514feb8
RM
38222012-11-07 Roland McGrath <roland@hack.frob.com>
3823
3824 [BZ #14815]
3825 * manual/filesys.texi (Directory Entries): Typo fix.
3826 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
3827
19b2ecfc
MS
38282012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3829
3830 * elf/elf.h (EM_AARCH64): New macro.
3831 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
3832 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
3833 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
3834 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
3835 (R_AARCH64_TLSDESC): Likewise.
3836 (NT_ARM_TLS): Likewise.
3837 (NT_ARM_HW_BREAK): Likewise.
3838 (NT_ARM_HW_WATCH): Likewise.
3839
60e235ee
JM
38402012-11-07 Joseph Myers <joseph@codesourcery.com>
3841
3842 [BZ #14811]
3843 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
3844 (__ieee754_powl): Saturate nonzero exponents with absolute value
3845 below 0x1p-79 to +/- 0x1p-79.
3846 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
3847 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
3848 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
3849 nonzero exponents with absolute value below 0x1p-32 to +/-
3850 0x1p-32.
3851 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
3852 (__ieee754_powl): Saturate nonzero exponents with absolute value
3853 below 0x1p-79 to +/- 0x1p-79.
3854 * math/libm-test.inc (pow_test): Add more tests.
3855
0ab234b7
AK
38562012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3857
3858 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
3859 _dl_s390_cap_flags with kernel. Increase string length.
3860 (_dl_s390_platforms): Add z196 and zEC12.
3861
45832f74
JM
38622012-11-07 Joseph Myers <joseph@codesourcery.com>
3863
3864 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
3865 Change XOPEN21K to XOPEN2K.
3866
19218757
MK
38672012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
3868
3869 * string/memmove.c: Use memcpy when possible.
3870
c5f45721
AJ
38712012-11-06 Andreas Jaeger <aj@suse.de>
3872
3873 * po/eo.po: Update from translation team.
3874
82477c28
JM
38752012-11-06 Joseph Myers <joseph@codesourcery.com>
3876
3877 [BZ #14793]
3878 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
3879 exponent and small x and y exponents, scale x or y up. Increase
3880 by 2 the exponent used in scaling up.
3881 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3882 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3883 * math/libm-test.inc (fma_test): Add more tests.
3884 (fma_test_towardzero): Likewise.
3885 (fma_test_downward): Likewise.
3886 (fma_test_upward): Likewise.
3887
99252c8c
JM
38882012-11-05 Joseph Myers <joseph@codesourcery.com>
3889
acfa885f
JM
3890 [BZ #14805]
3891 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
3892 fenv_t *.
3893
99252c8c
JM
3894 [BZ #14801]
3895 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
3896 namespace for names of struct fields.
3897 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
3898 fenv_t fields.
3899 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
3900 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
3901
d6d98dea
ST
39022012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
3903
3904 [BZ #3665]
3905 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
3906
e10bb107
TS
39072012-11-04 Thomas Schwinge <thomas@codesourcery.com>
3908
3909 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
3910 PTR_DEMANGLE.
3911
3912 [BZ #5246]
3913 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
3914 PTR_DEMANGLE.
3915
a0c2940d
JM
39162012-11-04 Joseph Myers <joseph@codesourcery.com>
3917
3918 [BZ #14797]
3919 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
3920 definitely overflow as x * y not x * y + z.
3921 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3922 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3923 * math/libm-test.inc (fma_test): Add more tests.
3924 (fma_test_towardzero): Likewise.
3925 (fma_test_downward): Likewise.
3926 (fma_test_upward): Likewise.
3927
b830319d
TS
39282012-11-04 Thomas Schwinge <thomas@codesourcery.com>
3929
3930 [BZ #157]
3931
3932 * include/stub-tag.h: Remove file.
3933 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
3934 '#include' of it.
3935 * manual/maint.texi (Porting): Don't reference it.
3936 * Makerules ($(objpfx)stubs): Likewise.
3937 * dirent/closedir.c: Don't include <stub-tag.h>.
3938 * dirent/dirfd.c: Likewise.
3939 * dirent/fdopendir.c: Likewise.
3940 * dirent/getdents.c: Likewise.
3941 * dirent/getdents64.c: Likewise.
3942 * dirent/opendir.c: Likewise.
3943 * dirent/readdir.c: Likewise.
3944 * dirent/readdir64.c: Likewise.
3945 * dirent/readdir64_r.c: Likewise.
3946 * dirent/readdir_r.c: Likewise.
3947 * dirent/rewinddir.c: Likewise.
3948 * dirent/seekdir.c: Likewise.
3949 * dirent/telldir.c: Likewise.
3950 * gmon/profil.c: Likewise.
3951 * grp/setgroups.c: Likewise.
3952 * inet/if_index.c: Likewise.
3953 * io/access.c: Likewise.
3954 * io/chdir.c: Likewise.
3955 * io/chmod.c: Likewise.
3956 * io/chown.c: Likewise.
3957 * io/close.c: Likewise.
3958 * io/dup.c: Likewise.
3959 * io/dup2.c: Likewise.
3960 * io/dup3.c: Likewise.
3961 * io/euidaccess.c: Likewise.
3962 * io/faccessat.c: Likewise.
3963 * io/fchdir.c: Likewise.
3964 * io/fchmod.c: Likewise.
3965 * io/fchmodat.c: Likewise.
3966 * io/fchown.c: Likewise.
3967 * io/fchownat.c: Likewise.
3968 * io/fcntl.c: Likewise.
3969 * io/flock.c: Likewise.
3970 * io/fstatfs.c: Likewise.
3971 * io/fstatfs64.c: Likewise.
3972 * io/fstatvfs.c: Likewise.
3973 * io/fstatvfs64.c: Likewise.
3974 * io/futimens.c: Likewise.
3975 * io/fxstat.c: Likewise.
3976 * io/fxstat64.c: Likewise.
3977 * io/fxstatat.c: Likewise.
3978 * io/fxstatat64.c: Likewise.
3979 * io/getcwd.c: Likewise.
3980 * io/isatty.c: Likewise.
3981 * io/lchmod.c: Likewise.
3982 * io/lchown.c: Likewise.
3983 * io/link.c: Likewise.
3984 * io/linkat.c: Likewise.
3985 * io/lseek.c: Likewise.
3986 * io/lseek64.c: Likewise.
3987 * io/lxstat64.c: Likewise.
3988 * io/mkdir.c: Likewise.
3989 * io/mkdirat.c: Likewise.
3990 * io/mkfifo.c: Likewise.
3991 * io/mkfifoat.c: Likewise.
3992 * io/open.c: Likewise.
3993 * io/open64.c: Likewise.
3994 * io/openat.c: Likewise.
3995 * io/openat64.c: Likewise.
3996 * io/pipe.c: Likewise.
3997 * io/pipe2.c: Likewise.
3998 * io/poll.c: Likewise.
3999 * io/posix_fadvise.c: Likewise.
4000 * io/posix_fadvise64.c: Likewise.
4001 * io/posix_fallocate.c: Likewise.
4002 * io/posix_fallocate64.c: Likewise.
4003 * io/read.c: Likewise.
4004 * io/readlink.c: Likewise.
4005 * io/readlinkat.c: Likewise.
4006 * io/rmdir.c: Likewise.
4007 * io/sendfile.c: Likewise.
4008 * io/sendfile64.c: Likewise.
4009 * io/statfs.c: Likewise.
4010 * io/statfs64.c: Likewise.
4011 * io/statvfs.c: Likewise.
4012 * io/statvfs64.c: Likewise.
4013 * io/symlink.c: Likewise.
4014 * io/symlinkat.c: Likewise.
4015 * io/ttyname.c: Likewise.
4016 * io/ttyname_r.c: Likewise.
4017 * io/umask.c: Likewise.
4018 * io/unlink.c: Likewise.
4019 * io/unlinkat.c: Likewise.
4020 * io/utime.c: Likewise.
4021 * io/utimensat.c: Likewise.
4022 * io/write.c: Likewise.
4023 * io/xmknod.c: Likewise.
4024 * io/xmknodat.c: Likewise.
4025 * io/xstat.c: Likewise.
4026 * io/xstat64.c: Likewise.
4027 * login/getpt.c: Likewise.
4028 * login/grantpt.c: Likewise.
4029 * login/unlockpt.c: Likewise.
4030 * math/e_acoshl.c: Likewise.
4031 * math/e_acosl.c: Likewise.
4032 * math/e_asinl.c: Likewise.
4033 * math/e_atan2l.c: Likewise.
4034 * math/e_atanhl.c: Likewise.
4035 * math/e_coshl.c: Likewise.
4036 * math/e_expl.c: Likewise.
4037 * math/e_fmodl.c: Likewise.
4038 * math/e_gammal_r.c: Likewise.
4039 * math/e_hypotl.c: Likewise.
4040 * math/e_j0l.c: Likewise.
4041 * math/e_j1l.c: Likewise.
4042 * math/e_jnl.c: Likewise.
4043 * math/e_lgammal_r.c: Likewise.
4044 * math/e_log10l.c: Likewise.
4045 * math/e_log2l.c: Likewise.
4046 * math/e_logl.c: Likewise.
4047 * math/e_powl.c: Likewise.
4048 * math/e_rem_pio2l.c: Likewise.
4049 * math/e_sinhl.c: Likewise.
4050 * math/e_sqrtl.c: Likewise.
4051 * math/fclrexcpt.c: Likewise.
4052 * math/fedisblxcpt.c: Likewise.
4053 * math/feenablxcpt.c: Likewise.
4054 * math/fegetenv.c: Likewise.
4055 * math/fegetexcept.c: Likewise.
4056 * math/fegetround.c: Likewise.
4057 * math/feholdexcpt.c: Likewise.
4058 * math/fesetenv.c: Likewise.
4059 * math/fesetround.c: Likewise.
4060 * math/feupdateenv.c: Likewise.
4061 * math/fgetexcptflg.c: Likewise.
4062 * math/fraiseexcpt.c: Likewise.
4063 * math/fsetexcptflg.c: Likewise.
4064 * math/ftestexcept.c: Likewise.
4065 * math/k_cosl.c: Likewise.
4066 * math/k_rem_pio2l.c: Likewise.
4067 * math/k_sinl.c: Likewise.
4068 * math/k_tanl.c: Likewise.
4069 * math/s_asinhl.c: Likewise.
4070 * math/s_atanl.c: Likewise.
4071 * math/s_cbrtl.c: Likewise.
4072 * math/s_erfl.c: Likewise.
4073 * math/s_expm1l.c: Likewise.
4074 * math/s_log1pl.c: Likewise.
4075 * math/s_tanhl.c: Likewise.
4076 * misc/acct.c: Likewise.
4077 * misc/brk.c: Likewise.
4078 * misc/chflags.c: Likewise.
4079 * misc/chroot.c: Likewise.
4080 * misc/fchflags.c: Likewise.
4081 * misc/fgetxattr.c: Likewise.
4082 * misc/flistxattr.c: Likewise.
4083 * misc/fremovexattr.c: Likewise.
4084 * misc/fsetxattr.c: Likewise.
4085 * misc/fsync.c: Likewise.
4086 * misc/ftruncate.c: Likewise.
4087 * misc/futimes.c: Likewise.
4088 * misc/futimesat.c: Likewise.
4089 * misc/getdomain.c: Likewise.
4090 * misc/getdtsz.c: Likewise.
4091 * misc/gethostid.c: Likewise.
4092 * misc/gethostname.c: Likewise.
4093 * misc/getloadavg.c: Likewise.
4094 * misc/getpagesize.c: Likewise.
4095 * misc/getsysstats.c: Likewise.
4096 * misc/getxattr.c: Likewise.
4097 * misc/gtty.c: Likewise.
4098 * misc/ioctl.c: Likewise.
4099 * misc/lgetxattr.c: Likewise.
4100 * misc/listxattr.c: Likewise.
4101 * misc/llistxattr.c: Likewise.
4102 * misc/lremovexattr.c: Likewise.
4103 * misc/lsetxattr.c: Likewise.
4104 * misc/lutimes.c: Likewise.
4105 * misc/madvise.c: Likewise.
4106 * misc/mincore.c: Likewise.
4107 * misc/mlock.c: Likewise.
4108 * misc/mlockall.c: Likewise.
4109 * misc/mmap.c: Likewise.
4110 * misc/mprotect.c: Likewise.
4111 * misc/msync.c: Likewise.
4112 * misc/munlock.c: Likewise.
4113 * misc/munlockall.c: Likewise.
4114 * misc/munmap.c: Likewise.
4115 * misc/preadv.c: Likewise.
4116 * misc/preadv64.c: Likewise.
4117 * misc/ptrace.c: Likewise.
4118 * misc/pwritev.c: Likewise.
4119 * misc/pwritev64.c: Likewise.
4120 * misc/readv.c: Likewise.
4121 * misc/reboot.c: Likewise.
4122 * misc/remap_file_pages.c: Likewise.
4123 * misc/removexattr.c: Likewise.
4124 * misc/revoke.c: Likewise.
4125 * misc/select.c: Likewise.
4126 * misc/setdomain.c: Likewise.
4127 * misc/setegid.c: Likewise.
4128 * misc/seteuid.c: Likewise.
4129 * misc/sethostid.c: Likewise.
4130 * misc/sethostname.c: Likewise.
4131 * misc/setregid.c: Likewise.
4132 * misc/setreuid.c: Likewise.
4133 * misc/setxattr.c: Likewise.
4134 * misc/sstk.c: Likewise.
4135 * misc/stty.c: Likewise.
4136 * misc/swapoff.c: Likewise.
4137 * misc/swapon.c: Likewise.
4138 * misc/sync.c: Likewise.
4139 * misc/syncfs.c: Likewise.
4140 * misc/syscall.c: Likewise.
4141 * misc/truncate.c: Likewise.
4142 * misc/ualarm.c: Likewise.
4143 * misc/usleep.c: Likewise.
4144 * misc/ustat.c: Likewise.
4145 * misc/utimes.c: Likewise.
4146 * misc/vhangup.c: Likewise.
4147 * misc/writev.c: Likewise.
4148 * posix/_exit.c: Likewise.
4149 * posix/alarm.c: Likewise.
4150 * posix/execve.c: Likewise.
4151 * posix/fexecve.c: Likewise.
4152 * posix/fork.c: Likewise.
4153 * posix/fpathconf.c: Likewise.
4154 * posix/getaddrinfo.c: Likewise.
4155 * posix/getegid.c: Likewise.
4156 * posix/geteuid.c: Likewise.
4157 * posix/getgid.c: Likewise.
4158 * posix/getgroups.c: Likewise.
4159 * posix/getlogin.c: Likewise.
4160 * posix/getlogin_r.c: Likewise.
4161 * posix/getpgid.c: Likewise.
4162 * posix/getpid.c: Likewise.
4163 * posix/getppid.c: Likewise.
4164 * posix/getresgid.c: Likewise.
4165 * posix/getresuid.c: Likewise.
4166 * posix/getsid.c: Likewise.
4167 * posix/getuid.c: Likewise.
4168 * posix/glob64.c: Likewise.
4169 * posix/nanosleep.c: Likewise.
4170 * posix/pathconf.c: Likewise.
4171 * posix/pause.c: Likewise.
4172 * posix/posix_madvise.c: Likewise.
4173 * posix/pread.c: Likewise.
4174 * posix/pread64.c: Likewise.
4175 * posix/pwrite.c: Likewise.
4176 * posix/pwrite64.c: Likewise.
4177 * posix/sched_getaffinity.c: Likewise.
4178 * posix/sched_getp.c: Likewise.
4179 * posix/sched_gets.c: Likewise.
4180 * posix/sched_primax.c: Likewise.
4181 * posix/sched_primin.c: Likewise.
4182 * posix/sched_rr_gi.c: Likewise.
4183 * posix/sched_setaffinity.c: Likewise.
4184 * posix/sched_setp.c: Likewise.
4185 * posix/sched_sets.c: Likewise.
4186 * posix/sched_yield.c: Likewise.
4187 * posix/setgid.c: Likewise.
4188 * posix/setlogin.c: Likewise.
4189 * posix/setpgid.c: Likewise.
4190 * posix/setresgid.c: Likewise.
4191 * posix/setresuid.c: Likewise.
4192 * posix/setsid.c: Likewise.
4193 * posix/setuid.c: Likewise.
4194 * posix/sleep.c: Likewise.
4195 * posix/spawni.c: Likewise.
4196 * posix/sysconf.c: Likewise.
4197 * posix/times.c: Likewise.
4198 * posix/wait.c: Likewise.
4199 * posix/wait3.c: Likewise.
4200 * posix/wait4.c: Likewise.
4201 * posix/waitpid.c: Likewise.
4202 * resolv/gai_sigqueue.c: Likewise.
4203 * resource/getpriority.c: Likewise.
4204 * resource/getrlimit.c: Likewise.
4205 * resource/getrusage.c: Likewise.
4206 * resource/nice.c: Likewise.
4207 * resource/setpriority.c: Likewise.
4208 * resource/setrlimit.c: Likewise.
4209 * resource/ulimit.c: Likewise.
4210 * rt/aio_cancel.c: Likewise.
4211 * rt/aio_fsync.c: Likewise.
4212 * rt/aio_read.c: Likewise.
4213 * rt/aio_sigqueue.c: Likewise.
4214 * rt/aio_suspend.c: Likewise.
4215 * rt/aio_write.c: Likewise.
4216 * rt/clock_getres.c: Likewise.
4217 * rt/clock_gettime.c: Likewise.
4218 * rt/clock_nanosleep.c: Likewise.
4219 * rt/clock_settime.c: Likewise.
4220 * rt/lio_listio.c: Likewise.
4221 * rt/mq_close.c: Likewise.
4222 * rt/mq_getattr.c: Likewise.
4223 * rt/mq_notify.c: Likewise.
4224 * rt/mq_open.c: Likewise.
4225 * rt/mq_receive.c: Likewise.
4226 * rt/mq_send.c: Likewise.
4227 * rt/mq_setattr.c: Likewise.
4228 * rt/mq_timedreceive.c: Likewise.
4229 * rt/mq_timedsend.c: Likewise.
4230 * rt/mq_unlink.c: Likewise.
4231 * rt/shm_open.c: Likewise.
4232 * rt/shm_unlink.c: Likewise.
4233 * rt/timer_create.c: Likewise.
4234 * rt/timer_delete.c: Likewise.
4235 * rt/timer_getoverr.c: Likewise.
4236 * rt/timer_gettime.c: Likewise.
4237 * rt/timer_settime.c: Likewise.
4238 * setjmp/__longjmp.c: Likewise.
4239 * setjmp/setjmp.c: Likewise.
4240 * signal/kill.c: Likewise.
4241 * signal/killpg.c: Likewise.
4242 * signal/raise.c: Likewise.
4243 * signal/sigaction.c: Likewise.
4244 * signal/sigaltstack.c: Likewise.
4245 * signal/sigblock.c: Likewise.
4246 * signal/sigignore.c: Likewise.
4247 * signal/sigintr.c: Likewise.
4248 * signal/signal.c: Likewise.
4249 * signal/sigpause.c: Likewise.
4250 * signal/sigpending.c: Likewise.
4251 * signal/sigqueue.c: Likewise.
4252 * signal/sigreturn.c: Likewise.
4253 * signal/sigset.c: Likewise.
4254 * signal/sigsetmask.c: Likewise.
4255 * signal/sigstack.c: Likewise.
4256 * signal/sigsuspend.c: Likewise.
4257 * signal/sigtimedwait.c: Likewise.
4258 * signal/sigvec.c: Likewise.
4259 * signal/sigwait.c: Likewise.
4260 * signal/sigwaitinfo.c: Likewise.
4261 * signal/sysv_signal.c: Likewise.
4262 * socket/accept.c: Likewise.
4263 * socket/accept4.c: Likewise.
4264 * socket/bind.c: Likewise.
4265 * socket/connect.c: Likewise.
4266 * socket/getpeername.c: Likewise.
4267 * socket/getsockname.c: Likewise.
4268 * socket/getsockopt.c: Likewise.
4269 * socket/isfdtype.c: Likewise.
4270 * socket/listen.c: Likewise.
4271 * socket/recv.c: Likewise.
4272 * socket/recvfrom.c: Likewise.
4273 * socket/recvmsg.c: Likewise.
4274 * socket/send.c: Likewise.
4275 * socket/sendmsg.c: Likewise.
4276 * socket/sendto.c: Likewise.
4277 * socket/setsockopt.c: Likewise.
4278 * socket/shutdown.c: Likewise.
4279 * socket/sockatmark.c: Likewise.
4280 * socket/socket.c: Likewise.
4281 * socket/socketpair.c: Likewise.
4282 * stdio-common/ctermid.c: Likewise.
4283 * stdio-common/cuserid.c: Likewise.
4284 * stdio-common/remove.c: Likewise.
4285 * stdio-common/rename.c: Likewise.
4286 * stdio-common/renameat.c: Likewise.
4287 * stdio-common/tempname.c: Likewise.
4288 * stdlib/getcontext.c: Likewise.
4289 * stdlib/makecontext.c: Likewise.
4290 * stdlib/setcontext.c: Likewise.
4291 * stdlib/swapcontext.c: Likewise.
4292 * stdlib/system.c: Likewise.
4293 * streams/fattach.c: Likewise.
4294 * streams/fdetach.c: Likewise.
4295 * streams/getmsg.c: Likewise.
4296 * streams/getpmsg.c: Likewise.
4297 * streams/putmsg.c: Likewise.
4298 * streams/putpmsg.c: Likewise.
4299 * sysdeps/unix/bsd/getpt.c: Likewise.
4300 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
4301 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
4302 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
4304 Likewise.
4305 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
4306 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
4307 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
4308 * sysvipc/msgctl.c: Likewise.
4309 * sysvipc/msgget.c: Likewise.
4310 * sysvipc/msgrcv.c: Likewise.
4311 * sysvipc/msgsnd.c: Likewise.
4312 * sysvipc/semctl.c: Likewise.
4313 * sysvipc/semget.c: Likewise.
4314 * sysvipc/semop.c: Likewise.
4315 * sysvipc/semtimedop.c: Likewise.
4316 * sysvipc/shmat.c: Likewise.
4317 * sysvipc/shmctl.c: Likewise.
4318 * sysvipc/shmdt.c: Likewise.
4319 * sysvipc/shmget.c: Likewise.
4320 * termios/tcdrain.c: Likewise.
4321 * termios/tcflow.c: Likewise.
4322 * termios/tcflush.c: Likewise.
4323 * termios/tcgetattr.c: Likewise.
4324 * termios/tcgetpgrp.c: Likewise.
4325 * termios/tcsendbrk.c: Likewise.
4326 * termios/tcsetattr.c: Likewise.
4327 * termios/tcsetpgrp.c: Likewise.
4328 * time/adjtime.c: Likewise.
4329 * time/clock.c: Likewise.
4330 * time/getitimer.c: Likewise.
4331 * time/gettimeofday.c: Likewise.
4332 * time/setitimer.c: Likewise.
4333 * time/settimeofday.c: Likewise.
4334 * time/stime.c: Likewise.
4335 * time/time.c: Likewise.
4336
43372012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 4338
a20492cf
PT
4339 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
4340 /usr/old/bin.
4341
72e182e3
PT
4342 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
4343 instead of spaces.
4344 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
4345
fbeafede
JM
43462012-11-03 Joseph Myers <joseph@codesourcery.com>
4347
5b5b04d6
JM
4348 [BZ #14796]
4349 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
4350 FE_TONEAREST before applying Dekker multiplication and Knuth
4351 addition. Clear inexact exceptions and check for exact zero
4352 results afterwards.
4353 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4354 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4355 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4356 * math/libm-test.inc (fma_test): Add more tests.
4357 (fma_test_towardzero): Likewise.
4358 (fma_test_downward): Likewise.
4359 (fma_test_upward): Likewise.
4360 * sysdeps/generic/math_private.h (default_libc_fesetround): New
4361 function.
4362 (libc_fesetround): New macro.
4363 (libc_fesetroundf): Likewise.
4364 (libc_fesetroundl): Likewise.
4365 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
4366 function.
4367 (libc_fesetround_387): Likewise.
4368 (libc_fesetroundf): New macro.
4369 (libc_fesetround): Likewise.
4370 (libc_fesetroundl): Likewise.
4371 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
4372 function.
4373 (libc_fesetroundf): New macro.
4374 (libc_fesetround): Likewise.
4375 (libc_fesetroundl): Likewise.
4376 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
4377 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
4378 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
4379 libm_hidden_ver.
4380 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
4381 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
4382 libm_hidden_def.
4383 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
4384 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
4385 libm_hidden_ver.
4386 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
4387 libm_hidden_def.
4388
fbeafede
JM
4389 [BZ #3439]
4390 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
4391 integer constant usable in #if and use that to give value to enum
4392 constant.
4393 (FE_DIVBYZERO): Likewise.
4394 (FE_UNDERFLOW): Likewise.
4395 (FE_OVERFLOW): Likewise.
4396 (FE_INVALID): Likewise.
4397 (FE_INVALID_SNAN): Likewise.
4398 (FE_INVALID_ISI): Likewise.
4399 (FE_INVALID_IDI): Likewise.
4400 (FE_INVALID_ZDZ): Likewise.
4401 (FE_INVALID_IMZ): Likewise.
4402 (FE_INVALID_COMPARE): Likewise.
4403 (FE_INVALID_SOFTWARE): Likewise.
4404 (FE_INVALID_SQRT): Likewise.
4405 (FE_INVALID_INTEGER_CONVERSION): Likewise.
4406 (FE_TONEAREST): Likewise.
4407 (FE_TOWARDZERO): Likewise.
4408 (FE_UPWARD): Likewise.
4409 (FE_DOWNWARD): Likewise.
4410 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
4411 (FE_DIVBYZERO): Likewise.
4412 (FE_OVERFLOW): Likewise.
4413 (FE_UNDERFLOW): Likewise.
4414 (FE_INEXACT): Likewise.
4415 (FE_TONEAREST): Likewise.
4416 (FE_DOWNWARD): Likewise.
4417 (FE_UPWARD): Likewise.
4418 (FE_TOWARDZERO): Likewise.
4419 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
4420 (FE_UNDERFLOW): Likewise.
4421 (FE_OVERFLOW): Likewise.
4422 (FE_DIVBYZERO): Likewise.
4423 (FE_INVALID): Likewise.
4424 (FE_TONEAREST): Likewise.
4425 (FE_TOWARDZERO): Likewise.
4426 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
4427 (FE_OVERFLOW): Likewise.
4428 (FE_UNDERFLOW): Likewise.
4429 (FE_DIVBYZERO): Likewise.
4430 (FE_INEXACT): Likewise.
4431 (FE_TONEAREST): Likewise.
4432 (FE_TOWARDZERO): Likewise.
4433 (FE_UPWARD): Likewise.
4434 (FE_DOWNWARD): Likewise.
4435 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
4436 (FE_DIVBYZERO): Likewise.
4437 (FE_OVERFLOW): Likewise.
4438 (FE_UNDERFLOW): Likewise.
4439 (FE_INEXACT): Likewise.
4440 (FE_TONEAREST): Likewise.
4441 (FE_DOWNWARD): Likewise.
4442 (FE_UPWARD): Likewise.
4443 (FE_TOWARDZERO): Likewise.
4444
105ca950
CM
44452012-11-02 Chris Metcalf <cmetcalf@tilera.com>
4446
4447 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
4448
a542b389
AS
44492012-11-03 Andreas Schwab <schwab@linux-m68k.org>
4450
4451 * scripts/cross-test-ssh.sh (command): Use newlines to separate
4452 commands. Quote $PWD.
4453 (blacklist_exports): Don't use remove_newlines. Replace "declare
4454 -x" by "export".
4455 (remove_newlines): Remove.
4456
f62c8abc
L
44572012-11-02 H.J. Lu <hongjiu.lu@intel.com>
4458
4459 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
4460 * stdlib/stdlib.h (atof): Moved to ...
4461 * include/bits/stdlib-float.h: Here. New file.
4462 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
4463 * stdlib/bits/stdlib-float.h: New file.
4464 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
4465 -mno-sse -mno-mmx.
4466 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
4467 <xmmintrin.h>.
4468
0155d5b2
JM
44692012-11-02 Joseph Myers <joseph@codesourcery.com>
4470
a68d0680
JM
4471 * conform/conformtest.pl (@headers): Add fenv.h.
4472 * conform/data/fenv.h-data: New file.
4473 * include/fenv.h [_ISOMAC]: Disable all contents of file except
4474 include of <math/fenv.h>.
4475
caf7f573
JM
4476 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
4477 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
4478 && !UNIX98]. Enables tests for XOPEN2K8.
4479 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
4480 POSIX2008]: Likewise.
4481
6c073ad6
JM
4482 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
4483 (struct rusage): Do not expect type or its members.
4484
0155d5b2
JM
4485 [BZ #3439]
4486 * math/math.h (FP_NAN): Define macro to integer constant usable in
4487 #if and use that to give value to enum constant.
4488 (FP_INFINITE): Likewise.
4489 (FP_ZERO): Likewise.
4490 (FP_SUBNORMAL): Likewise.
4491 (FP_NORMAL): Likewise.
4492
b5dcacb4
AS
44932012-11-02 Andreas Schwab <schwab@linux-m68k.org>
4494
4495 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
4496 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
4497 arguments.
4498
f7934be8
RM
44992012-11-02 Roland McGrath <roland@hack.frob.com>
4500
4501 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
4502 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
4503 autoconf-time if not.
4504 * configure.in: Remove AC_PREREQ.
4505
d7d08bde
TMQMF
45062012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4507
4508 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
4509 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
4510 of the internal implementation.
4511
dcdae19a
JM
45122012-11-02 Joseph Myers <joseph@codesourcery.com>
4513
4514 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
4515 except include of <misc/sys/syslog.h>.
4516
d6cffd3e
AS
45172012-11-01 Andreas Schwab <schwab@linux-m68k.org>
4518
4519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
4520 function returns with a NULL context exit with zero.
4521
b3563932
TMQMF
45222012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4523
4524 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
4525
b288a93d
L
45262012-11-01 H.J. Lu <hongjiu.lu@intel.com>
4527
4528 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
4529 (run_program_cmd): This.
4530 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
4531 (tst_langinfo): New variable. Use it.
4532
a2421a68
SAS
45332012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
4534
4535 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
4536 floating point opcodes.
4537
6f796e1b
TS
45382012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4539
7402596b
TS
4540 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
4541 variable.
4542
d0d4f868
TS
4543 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
4544
6f796e1b
TS
4545 * sysdeps/mach/hurd/powerpc: Remove directory.
4546 * sysdeps/mach/powerpc: Likewise.
4547
4da224a2
AS
45482012-11-01 Andreas Schwab <schwab@linux-m68k.org>
4549
4550 * scripts/check-local-headers.sh: Ignore c++ headers.
4551
341dd673
TS
45522012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4553
4554 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
4555 __libc_cleanup_region_start argument.
4556
473611b2
JM
45572012-11-01 Joseph Myers <joseph@codesourcery.com>
4558
4559 [BZ #14784]
4560 [BZ #14785]
4561 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
4562 x * y using scaling, not as x * y + z.
4563 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4564 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4565 * math/libm-test.inc (fma_test): Add more tests.
4566 (fma_test_towardzero): Likewise.
4567 (fma_test_downward): Likewise.
4568 (fma_test_upward): Likewise.
4569
4078da3d
TS
45702012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4571
4572 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
4573
903252aa
JM
45742012-10-31 Joseph Myers <joseph@codesourcery.com>
4575
4576 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
4577 New variable.
4578
cbc818d0
TS
45792012-10-31 Thomas Schwinge <thomas@codesourcery.com>
4580
4581 * rt/tst-shm.c (worker): Correct checking for mmap failure.
4582
5a03cb1e
AS
45832012-10-31 Andreas Schwab <schwab@linux-m68k.org>
4584
4585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4586 Fix sort order.
4587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4588 Likewise.
4589
90aff2ff
TMQMF
45902012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4591
4592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4593 Fix the order of the list for glibc 2.17.
4594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4595 Likewise.
4596
1818fcb7
AS
45972012-10-31 Andreas Schwab <schwab@linux-m68k.org>
4598
4599 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4600
ef82f4da
JM
46012012-10-31 Joseph Myers <joseph@codesourcery.com>
4602
16a0e2ec
JM
4603 [BZ #14610]
4604 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
4605 for low part of x being zero before using __atanl (y).
4606 * math/libm-test.inc (atan2_test): Add another test.
4607
0eb69512
JM
4608 * manual/install.texi (Configuring and compiling): Document
4609 general use of test-wrapper and test-wrapper-env.
4610 * INSTALL: Regenerated.
4611
ef82f4da
JM
4612 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
4613 (__fma): Do not extract and scale down low bits on after-rounding
4614 systems when result rounded to normal precision would have normal
4615 exponent.
4616 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
4617 (__fmal): Do not extract and scale down low bits on after-rounding
4618 systems when result rounded to normal precision would have normal
4619 exponent.
4620 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
4621 (__fmal): Do not extract and scale down low bits on after-rounding
4622 systems when result rounded to normal precision would have normal
4623 exponent.
4624 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
4625 macro.
4626 (fma_test): Add more tests.
4627 (fma_test_towardzero): Likewise.
4628 (fma_test_downward): Likewise.
4629 (fma_test_upward): Likewise.
4630
954ef0d9
L
46312012-10-30 H.J. Lu <hongjiu.lu@intel.com>
4632
4633 * sysdeps/i386/tininess.h: Renamed to ...
4634 * sysdeps/x86/tininess.h: This.
4635 * sysdeps/x86_64/tininess.h: Removed.
4636
df61ffb2
JM
46372012-10-30 Joseph Myers <joseph@codesourcery.com>
4638
4639 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
4640 input. Use $(build-program-cmd).
4641 ($(objpfx)tst-array1-static.out): Likewise.
4642 ($(objpfx)tst-array2.out): Likewise.
4643 ($(objpfx)tst-array3.out): Likewise.
4644 ($(objpfx)tst-array4.out): Likewise.
4645 ($(objpfx)tst-array5.out): Likewise.
4646 ($(objpfx)tst-array5-static.out): Likewise.
4647
01767843
CM
46482012-10-30 Chris Metcalf <cmetcalf@tilera.com>
4649
47cc1490
CM
4650 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
4651 if defined.
4652
01767843
CM
4653 * nss/nsswitch.h (nss_interface_function): Provide new
4654 macro for use with NSS functions.
4655 * grp/initgroups.c: Use new macro.
4656 * nss/getXXbyYY.c: Likewise.
4657 * nss/getXXbyYY_r.c: Likewise.
4658 * nss/getXXent.c: Likewise.
4659 * nss/getXXent_r.c: Likewise.
4660 * sysdeps/posix/getaddrinfo.c: Likewise.
4661
8321aa97
AJ
46622012-10-30 Andreas Jaeger <aj@suse.de>
4663
4664 * po/ru.po: Update Russion translation from translation project.
4665
2a27fd6d
JM
46662012-10-30 Joseph Myers <joseph@codesourcery.com>
4667
8627a232
JM
4668 [BZ #14152]
4669 [BZ #14783]
4670 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
4671 result and shift together with sticky bit instead of replicating
4672 round-to-nearest rounding.
4673 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4674 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4675 * math/libm-test.inc (fma_test): Add more tests. Do not permit
4676 missing underflow exceptions.
4677 (fma_test_towardzero): Add more tests.
4678 (fma_test_downward): Likewise.
4679 (fma_test_upward): Likewise.
4680
2a27fd6d
JM
4681 [BZ #14047]
4682 * sysdeps/generic/tininess.h: New file.
4683 * sysdeps/i386/tininess.h: Likewise.
4684 * sysdeps/sh/tininess.h: Likewise.
4685 * sysdeps/x86_64/tininess.h: Likewise.
4686 * stdlib/tst-strtod-underflow.c: Likewise.
4687 * stdlib/tst-tininess.c: Likewise.
4688 * stdlib/strtod_l.c: Include <tininess.h>.
4689 (round_and_return): Do not set errno for exact underflow cases.
4690 Force an underflow exception when setting errno for underflow.
4691 Determine underflow based on rounding to normal precision if
4692 TININESS_AFTER_ROUNDING.
4693 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
4694 ERANGE for exact underflow cases.
4695 * stdlib/Makefile (tests): Add tst-tininess and
4696 tst-strtod-underflow.
4697 ($(objpfx)tst-tininess): Use $(link-libm).
4698 ($(objpfx)tst-strtod-underflow): Likewise.
4699
e7170363
AJ
47002012-10-30 Andreas Jaeger <aj@suse.de>
4701
e5088dc6
AJ
4702 [BZ#14767]
4703 * elf/Makefile (tests): Remove conditional for have-initfini-array
4704 since this is now always required and the variable does not exist
4705 anymore.
4706 (tests-static): Likewise.
4707 (modules-names): Likewise.
4708
e7170363 4709 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
4710
4711 * elf/tst-array1.c (fini_array): Make writeable so that it can be
4712 merged with constructor/destructor.
4713 (init_array): Likewise.
4714 * elf/tst-array2dep.c (fini_array): Likewise.
4715 (init_array): Likewise.
4716
60457d8a
MF
47172012-10-29 Mike Frysinger <vapier@gentoo.org>
4718
4719 * manual/message.texi: Delete @cartouche tags.
4720
8bece752
PT
47212012-10-29 Pino Toscano <toscano.pino@tiscali.it>
4722
94ce799f
PT
4723 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
4724 EOPNOTSUPP.
4725 * sysdeps/mach/hurd/fsync.c: Likewise.
4726
8bece752
PT
4727 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
4728 [_POSIX_REALTIME_SIGNALS]: Change condition to
4729 [_POSIX_REALTIME_SIGNALS > 0].
4730
86ebe6b1
AJ
47312012-10-27 Andreas Jaeger <aj@suse.de>
4732
4733 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
4734 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
4735 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
4736 [__WORDSIZE != 64]: Likewise.
4737
54399c08
L
47382012-10-26 H.J. Lu <hongjiu.lu@intel.com>
4739
4740 * iconvdata/tst-table.sh: Remove ${SHELL}.
4741 * iconvdata/tst-tables.sh: Likewise.
4742
e2211bed
DM
47432012-10-25 David S. Miller <davem@davemloft.net>
4744
4745 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4746 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
4747 of strtoull.
4748
f303f97c
DM
4749 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
4750 ifunc-impl-list.c
4751 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4752 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
4753 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
4754 file.
4755
1e9d84cd
RM
47562012-10-25 Roland McGrath <roland@hack.frob.com>
4757
4758 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4759 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
4760 __getdirentries.
4761
df381762
JM
47622012-10-25 Joseph Myers <joseph@codesourcery.com>
4763 Jim Blandy <jimb@codesourcery.com>
4764
4765 * scripts/cross-test-ssh.sh: New file.
4766 * manual/install.texi (Configuring and compiling): Document use of
4767 cross-test-ssh.sh.
4768 * INSTALL: Regenerated.
4769
bff64913
PT
47702012-10-25 Pino Toscano <toscano.pino@tiscali.it>
4771
4772 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
4773 EOPNOTSUPP.
4774
25fe8932
JM
47752012-10-25 Joseph Myers <joseph@codesourcery.com>
4776
4777 * Makeconfig (run-program-prefix): Fix comment.
4778
cc1290d0
JM
47792012-10-24 Joseph Myers <joseph@codesourcery.com>
4780 Jim Blandy <jimb@codesourcery.com>
4781
4782 * Makeconfig (test-wrapper): New variable,
4783 (test-wrapper-env): Likewise.
4784 [$(cross-compiling) = yes && $(test-wrapper) != ""]
4785 (run-built-tests): Define to yes.
4786 (run-program-prefix): Use $(test-wrapper).
4787 (built-program-cmd): Likewise.
4788 * Rules (make-test-out): Use $(test-wrapper-env) and
4789 $(host-built-program-cmd).
4790 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
4791 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
4792 tst-pathopt.sh.
4793 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
4794 $(test-wrapper-env) to tst-rtld-load-self.sh.
4795 ($(objpfx)order2.out): Use $(test-wrapper).
4796 ($(objpfx)tst-initorder.out): Likewise.
4797 ($(objpfx)tst-initorder2.out): Likewise.
4798 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
4799 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
4800 (test_wrapper_env): New variable. Use it to run ld.so.
4801 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
4802 Use it to run ld.so.
4803 (test_wrapper_env): Likewise.
4804 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
4805 $(test-wrapper) to run-iconv-test.sh.
4806 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
4807 (ICONV): Use $test_wrapper.
4808 * posix/Makefile ($(objpfx)globtest.out): Pass
4809 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
4810 globtest.sh, not $(run-program-prefix).
4811 * posix/globtest.sh (run_via_rtld_prefix): New variable.
4812 (test_wrapper): Likewise.
4813 (test_wrapper_env): Likewise. Use it to run globtest with HOME
4814 set together with run_via_rtld_prefix.
4815 (run_program_prefix): Define in terms of test_wrapper and
4816 run_via_rtld_prefix.
4817
6e6249d0
RM
48182012-10-24 Roland McGrath <roland@hack.frob.com>
4819
4820 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
4821 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
4822 Targets removed.
4823
4824 [BZ #14743]
4825 * include/time.h: Remove librt_hidden_proto (clock_gettime).
4826 Declare __clock_getres, __clock_gettime, __clock_settime,
4827 __clock_nanosleep, and __clock_getcpuclockid.
4828 * rt/clock_gettime.c: Define __clock_gettime as an alias.
4829 Remove librt_hidden_def (clock_gettime).
4830 * sysdeps/unix/clock_gettime.c: Likewise.
4831 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
4832 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
4833 * rt/clock_getres.c: Define __clock_getres as an alias.
4834 * sysdeps/posix/clock_getres.c: Likewise.
4835 * rt/clock_settime.c: Define __clock_settime as an alias.
4836 * sysdeps/unix/clock_settime.c: Likewise.
4837 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
4838 * sysdeps/unix/clock_nanosleep.c: Likewise.
4839 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
4840 * rt/clock-compat.c: New file.
4841 * rt/Makefile (librt-routines): Add clock-compat and move
4842 $(clock-routines) to ...
4843 (routines): ... here, new variable.
4844 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
4845 Don't add get_clockfreq here.
4846 * rt/Versions (libc: GLIBC_2.17): New version set.
4847 Add clock_* symbols here.
4848 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
4849 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
4850 (GLIBC_2.17): Add clock_* symbols.
4851 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
4852 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
4853 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
4854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4855 Likewise.
4856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4857 Likewise.
4858 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
4859 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
4860 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
4861 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
4862 * NEWS: Mention the move.
4863
4864 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4865 Use __open, __read, __close rather than their public counterparts.
4866 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4867 (__get_clockfreq_via_cpuinfo): Likewise.
4868 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
4869 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
4870
4871 * config.h.in (HAVE_IFUNC): New #undef.
4872 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
4873 was successful.
4874 * configure: Regenerated.
4875
0cae3f4b
MF
48762012-10-24 Mike Frysinger <vapier@gentoo.org>
4877
4878 * configure.in: Move READELF check to start of file.
4879 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
4880 libc_cv_asm_gnu_indirect_function in the process.
4881 * configure: Regenerated.
4882
8175a253
MF
48832012-10-24 Mike Frysinger <vapier@gentoo.org>
4884
4885 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
4886 send the output to /dev/null.
4887 (libc_cv_cc_with_libunwind): Likewise.
4888 (libc_cv_as_noexecstack): Likewise.
4889 * configure: Regenerate.
4890
0708a7d1
JM
48912012-10-24 Joseph Myers <joseph@codesourcery.com>
4892
10b40d85
JM
4893 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
4894
0708a7d1
JM
4895 * posix/globtest.sh (TMPDIR): Do not set.
4896 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
4897 (testout): Likewise.
4898
9fddec1a
AJ
48992012-10-24 Andreas Jaeger <aj@suse.de>
4900
3a8db22f
AJ
4901 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
4902 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
4903 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
4904 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
4905 posix_fadvise64, posix_fallocate64.
4906
9fddec1a
AJ
4907 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
4908 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
4909 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
4910 Likewise.
4911 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
4912 Likewise.
4913 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
4914
4915 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
4916 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
4917 <bits/fcntl-linux.h>.
4918 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
4919
4920 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
4921 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
4922 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
4923 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
4924 [__WORDSIZE != 64]: Likewise.
4925
ebfd1bbd
JM
49262012-10-23 Joseph Myers <joseph@codesourcery.com>
4927
03ac099f
JM
4928 * Makeconfig (run-built-tests): New variable.
4929 * Rules [$(cross-compiling) = yes]: Change condition to
4930 [$(run-built-tests) = no].
4931 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
4932 to [$(run-built-tests) = yes].
4933 * elf/Makefile [$(cross-compiling) = no]: Likewise
4934 * grp/Makefile [$(cross-compiling) = no]: Likewise.
4935 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
4936 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
4937 * intl/Makefile [$(cross-compiling) = no]: Likewise.
4938 * io/Makefile [$(cross-compiling) = no]: Likewise.
4939 * libio/Makefile [$(cross-compiling) = no]: Likewise.
4940 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
4941 * misc/Makefile [$(cross-compiling) = no]: Likewise.
4942 * posix/Makefile [$(cross-compiling) = no]: Likewise.
4943 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
4944 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
4945 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
4946 * string/Makefile [$(cross-compiling) = no]: Likewise.
4947
ebfd1bbd
JM
4948 * posix/Makefile ($(objpfx)globtest.out): Pass
4949 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
4950 $(rtld-installed-name).
4951 * posix/globtest.sh (elf_objpfx): Remove variable.
4952 (rtld_installed_name): Likewise.
4953 (library_path): Likewise.
4954 (run_program_prefix): New variable. Use for running globtest
4955 binary.
4956
166bca24
JB
49572012-10-23 Jim Blandy <jimb@codesourcery.com>
4958 Joseph Myers <joseph@codesourcery.com>
4959
4960 * Makeconfig (host-built-program-cmd): New variable.
4961 * elf/Makefile (tst-stackguard1-ARGS): Use
4962 $(host-built-program-cmd).
4963 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
4964 (tst-spawn-ARGS): Likewise.
4965 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
4966
88866099
JM
49672012-10-23 Joseph Myers <joseph@codesourcery.com>
4968 Jim Blandy <jimb@codesourcery.com>
4969
4970 * Makeconfig (run-via-rtld-prefix): New variable.
4971 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
4972 (built-program-cmd): Likewise.
4973
b4b4c296
AJ
49742012-10-22 Andreas Jaeger <aj@suse.de>
4975
4976 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
4977 __O_RSYNC if it exists, otherwise to O_SYNC.
4978
6fb54a22
JB
49792012-10-22 Jim Blandy <jimb@codesourcery.com>
4980 Joseph Myers <joseph@codesourcery.com>
4981
4982 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
4983 /dev/null.
4984 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
4985 from /dev/null
4986 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
4987 /dev/null.
4988
481b90b9
AJ
49892012-10-22 Andreas Jaeger <aj@suse.de>
4990
2a0e2669
AJ
4991 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
4992 Define always.
4993 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
4994
76e38f9a
AJ
4995 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4996 bits/fcntl-linux.h.
4997
7cd37b43
AJ
4998 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
4999 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
5000
481b90b9
AJ
5001 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
5002 to __O_LARGEFILE.
5003 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
5004 to __O_LARGEFILE.
5005
aba75984
JB
50062012-10-21 Jim Blandy <jimb@codesourcery.com>
5007 Joseph Myers <joseph@codesourcery.com>
5008
5009 * config.make.in (NM): New variable.
5010
88d4247f
AJ
50112012-10-21 Andreas Jaeger <aj@suse.de>
5012
5013 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
5014 definitions and declarations that are provided by
5015 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5016
f2eed205
L
50172012-10-20 H.J. Lu <hongjiu.lu@intel.com>
5018
5019 [BZ #14683]
5020 * elf/Makefile (tests-static): Add tst-leaks1-static.
5021 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
5022 ($(objpfx)tst-leaks1-static): New rule.
5023 ($(objpfx)tst-leaks1-static-mem): Likewise.
5024 (tst-leaks1-static-ENV): New macro.
5025 * elf/dl-open.c (dl_open_worker): Check the main application
5026 only if SHARED is defined.
5027 * elf/tst-leaks1-static.c: New file.
5028
335e6931
AJ
50292012-10-20 Andreas Jaeger <aj@suse.de>
5030
5031 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
5032 generic values for Linux.
5033 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
5034 and declarations that are provided by <bits/fcntl-linux.h> and
5035 include <bits/fcntl-linux.h>.
5036 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5037 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
5038
ac5c94d3
RM
50392012-10-20 Roland McGrath <roland@hack.frob.com>
5040
5041 * io/fcntl.h: Move include of <bits/types.h> to the top and
5042 include it unconditionally.
5043
de54b33a
L
50442012-10-20 H.J. Lu <hongjiu.lu@intel.com>
5045
228cfb01
L
5046 * wcsmbs/Makefile (tests-ifunc): New variable.
5047 (tests): Add $(tests-ifunc).
5048 * wcsmbs/test-wcschr-ifunc.c: New file.
5049 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
5050 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
5051 * wcsmbs/test-wcslen-ifunc.c: Likewise.
5052 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
5053 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
5054
69f07e5f
L
5055 * string/Makefile (tests-ifunc): New variable.
5056 (tests): Add $(tests-ifunc).
5057 * string/test-memccpy.c (TEST_NAME): New macro.
5058 * string/test-memchr.c (TEST_NAME): Likewise.
5059 * string/test-memcmp.c (TEST_NAME): Likewise.
5060 * string/test-memcpy.c (TEST_NAME): Likewise.
5061 * string/test-memmem.c (TEST_NAME): Likewise.
5062 * string/test-memmove.c (TEST_NAME): Likewise.
5063 * string/test-memset.c (TEST_NAME): Likewise.
5064 * string/test-rawmemchr.c (TEST_NAME): Likewise.
5065 * string/test-stpcpy.c (TEST_NAME): Likewise.
5066 * string/test-stpncpy.c (TEST_NAME): Likewise.
5067 * string/test-strcasecmp.c (TEST_NAME): Likewise.
5068 * string/test-strcasestr.c (TEST_NAME): Likewise.
5069 * string/test-strcat.c (TEST_NAME): Likewise.
5070 * string/test-strchr.c (TEST_NAME): Likewise.
5071 * string/test-strcmp.c(TEST_NAME): Likewise.
5072 * string/test-strcpy.c (TEST_NAME): Likewise.
5073 * string/test-strcspn.c (TEST_NAME): Likewise.
5074 * string/test-strlen.c (TEST_NAME): Likewise.
5075 * string/test-strncasecmp.c (TEST_NAME): Likewise.
5076 * string/test-strncmp.c (TEST_NAME): Likewise.
5077 * string/test-strncpy.c (TEST_NAME): Likewise.
5078 * string/test-strnlen.c (TEST_NAME): Likewise.
5079 * string/test-strpbrk.c (TEST_NAME): Likewise.
5080 * string/test-strrchr.c (TEST_NAME): Likewise.
5081 * string/test-strspn.c (TEST_NAME): Likewise.
5082 * string/test-strstr.c (TEST_NAME): Likewise.
5083 * string/test-bcopy-ifunc.c: New file.
5084 * string/test-bzero-ifunc.c: Likewise.
5085 * string/test-memccpy-ifunc.c: Likewise.
5086 * string/test-memchr-ifunc.c: Likewise.
5087 * string/test-memcmp-ifunc.c: Likewise.
5088 * string/test-memcpy-ifunc.c: Likewise.
5089 * string/test-memmem-ifunc.c: Likewise.
5090 * string/test-memmove-ifunc.c: Likewise.
5091 * string/test-mempcpy-ifunc.c: Likewise.
5092 * string/test-memset-ifunc.c: Likewise.
5093 * string/test-rawmemchr-ifunc.c: Likewise.
5094 * string/test-stpcpy-ifunc.c: Likewise.
5095 * string/test-stpncpy-ifunc.c: Likewise.
5096 * string/test-strcasecmp-ifunc.c: Likewise.
5097 * string/test-strcasestr-ifunc.c: Likewise.
5098 * string/test-strcat-ifunc.c: Likewise.
5099 * string/test-strchr-ifunc.c: Likewise.
5100 * string/test-strchrnul-ifunc.c: Likewise.
5101 * string/test-strcmp-ifunc.c: Likewise.
5102 * string/test-strcpy-ifunc.c: Likewise.
5103 * string/test-strcspn-ifunc.c: Likewise.
5104 * string/test-strlen-ifunc.c: Likewise.
5105 * string/test-strncasecmp-ifunc.c: Likewise.
5106 * string/test-strncat-ifunc.c: Likewise.
5107 * string/test-strncmp-ifunc.c: Likewise.
5108 * string/test-strncpy-ifunc.c: Likewise.
5109 * string/test-strnlen-ifunc.c: Likewise.
5110 * string/test-strpbrk-ifunc.c: Likewise.
5111 * string/test-strrchr-ifunc.c: Likewise.
5112 * string/test-strspn-ifunc.c: Likewise.
5113 * string/test-strstr-ifunc.c: Likewise.
5114
de54b33a
L
5115 * debug/Makefile (tests-ifunc): New variable.
5116 (tests): Add $(tests-ifunc).
5117 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
5118 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
5119 * debug/test-stpcpy_chk-ifunc.c: New file.
5120 * debug/test-strcpy_chk-ifunc.c: Likewise.
5121
88481c16
SP
51222012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5123
5124 [BZ #13601]
5125 * elf/dl-load.c (open_verify): Retry read if the entire ELF
5126 header is not read in.
5127
135948bd
JM
51282012-10-19 Joseph Myers <joseph@codesourcery.com>
5129
89f1c388
JM
5130 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
5131 script to $(SHELL) as $<. Pass $(common-objpfx) to script
5132 directly. Pass built executable to script as
5133 $(built-program-cmd).
5134 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
5135 $testprogram without using LD_LIBRARY_PATH and $ldso.
5136
e40a0d21
JM
5137 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
5138 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
5139 $(rtld-installed-name).
5140 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
5141 (rtld_installed_name): Likewise.
5142 (library_path): Likewise.
5143 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
5144 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
5145 $(run-program-prefix) to tst-tables.sh.
5146 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
5147 it to run tst-table-from and tst-table-to.
5148 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
5149 Pass it to tst-table.sh.
5150 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
5151 $(run-program-prefix) to tst-gettext.sh.
5152 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
5153 tst-translit.sh.
5154 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
5155 tst-gettext2.sh.
5156 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
5157 to run tst-gettext.
5158 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
5159 to run tst-gettext2.
5160 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
5161 to run tst-translit.
5162 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
5163 $(run-program-prefix) to tst-mtrace.sh.
5164 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
5165 to run tst-mtrace.
5166 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
5167 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
5168 $(rtld-installed-name).
5169 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
5170 (rtld_installed_name): Likewise.
5171 (run_program_prefix): New variable. Use it to run wordexp-test.
5172
728e272a
JM
5173 * Makeconfig (ARCH): Remove all definitions.
5174 (machine): Likewise.
5175 [ARCH]: Remove conditional code.
5176 [!objdir]: Give error.
5177 [!objdir] (objpfx): Remove.
5178 [!objdir] (common-objpfx): Likewise.
5179 [!objdir] (common-objdir): Likewise.
5180 * configure.in (config_makefile): Remove. Hardcode Makefile in
5181 AC_CONFIG_FILES call.
5182 * configure: Regenerated.
5183
d528cdcf
JM
5184 [BZ #13888]
5185 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
5186 or TMPDIR.
5187 (testout): Likewise.
5188
135948bd
JM
5189 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
5190 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
5191 $(rtld-installed-name).
5192 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
5193 (rtld_installed_name): Likwise.
5194 (runit): Remove function.
5195 (run_getconf): New variable, Use it for running getconf binary.
5196
38c78296
L
51972012-10-18 H.J. Lu <hongjiu.lu@intel.com>
5198
5199 [BZ #14716]
5200 * string/test-memmem.c (check_result): New function.
5201 (do_one_test): Use it.
5202 (check1): New function.
5203 (test_main): Use it.
5204
d077f65f
MT
52052012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
5206
5207 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
5208
ced52c71
JM
52092012-10-18 Joseph Myers <joseph@codesourcery.com>
5210
5211 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
5212 (_G_LSEEK64): Likewise.
5213 (_G_MMAP64): Likewise.
5214 (_G_FSTAT64): Likewise.
5215 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
5216 (_G_LSEEK64): Likewise.
5217 (_G_MMAP64): Likewise.
5218 (_G_FSTAT64): Likewise.
5219 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
5220 unconditional. Call __mmap64 directly.
5221 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
5222 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
5223 __lseek64 directly.
5224 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
5225 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
5226 __mmap64 directly.
5227 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
5228 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
5229 __lseek64 directly.
5230 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
5231 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
5232 __lseek64 directly.
5233 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
5234 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
5235 __lseek64 directly.
5236 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
5237 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
5238 __fxstat64 directly.
5239 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
5240 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
5241 unconditional.
5242 (freopen64) [!_G_OPEN64]: Remove conditional code.
5243 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
5244 unconditional.
5245 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
5246 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
5247 unconditional.
5248 (ftello64) [!_G_LSEEK64]: Remove conditional code.
5249 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
5250 unconditional.
5251 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
5252 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
5253 unconditional.
5254 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
5255 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
5256 unconditional.
5257 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
5258 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
5259 unconditional.
5260 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
5261 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
5262 unconditional.
5263 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
5264
b741de23
SP
52652012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5266
5267 [BZ #12140]
5268 * manual/memory.texi (Malloc Tunable Parameters): Add note
5269 about free list pointers overwriting some perturb bytes.
5270 Wording suggested by Roland McGrath.
5271
f9b9d9c9
JM
52722012-10-17 Joseph Myers <joseph@codesourcery.com>
5273
5274 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
5275 (lgamma_test): Likewise.
5276 (tgamma_test): Likewise.
5277
172a631a
FW
52782012-10-16 Florian Weimer <fweimer@redhat.com>
5279
5280 [BZ #14700]
5281 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
5282 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
5283
e9f37252
MK
52842012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
5285
5286 * NEWS: Mention BZ #14716.
5287 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
5288 when removing AVAILABLE1_USES_J macro.
5289
d394eb74
L
52902012-10-12 H.J. Lu <hongjiu.lu@intel.com>
5291
5292 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
5293 (__bswap_64): __uint64_t for unsigned 64-bit int.
5294
ca38dc17
AS
52952012-10-12 Andreas Schwab <schwab@linux-m68k.org>
5296
5297 * include/string.h (memmem): Declare libc hidden alias.
5298 * string/memmem.c (memmem): Define libc hidden alias.
5299 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
5300 __read, __close instead of open, read, close.
5301
9a387d1f
L
53022012-10-11 H.J. Lu <hongjiu.lu@intel.com>
5303
ac49ecaf
L
5304 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
5305 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
5306 global and hidden.
5307 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
5308 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
5309 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
5310 Likewise.
5311 (__rawmemchr_sse2): Likewise.
5312 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
5313 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
5314 (__strchr_sse2): Likewise.
5315 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
5316 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
5317 (__strcasecmp_sse2): Likewise.
5318 (__strncasecmp_sse2): Likewise.
5319 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
5320 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
5321 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
5322 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
5323 (__strrchr_sse2): Likewise.
5324 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
5325 ifunc-impl-list.c.
5326 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5327 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5328 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5329 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
5330 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5331 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5332 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5333 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5334 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
5335 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
5336 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
5337 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
5338 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
5339 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
5340 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
5341 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5342 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
5343 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
5344 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
5345 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
5346 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
5347 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
5348 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
5349 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
5350 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
5351 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5352 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5353 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
5354 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
5355 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
5356
b090e8ea
L
5357 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
5358 global and hidden.
5359 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
5360 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
5361 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
5362 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
5363 Likewise.
5364 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
5365 Likewise.
5366 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
5367 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
5368 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
5369 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
5370 ifunc-impl-list.c.
5371 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5372 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5373 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5374 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5375 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5376 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5377 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5378 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5379 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5380 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5381 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5382 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5383 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5384 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
5385 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
5386 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5387 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
5388 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
5389 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5390 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5391 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5392 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5393 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5394 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5395 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5396 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
5397 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
5398 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
5399 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
5400 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5401 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
5402 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5403 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5404 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
5405 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5406 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5407 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5408 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5409 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5410 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5411 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
5412
11dd4af6
L
5413 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
5414 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
5415 * include/ifunc-impl-list.h: New file.
5416 * misc/ifunc-impl-list.c: Likewise.
5417 * misc/Makefile (routines): Add ifunc-impl-list.
5418 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
5419 * string/test-string.h: Include <ifunc-impl-list.h>.
5420 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
5421 impl_array): New variables.
5422 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
5423 are defined.
5424 (test_init): Call __libc_ifunc_impl_list to initialize
5425 func_list if TEST_IFUNC and TEST_NAME are defined.
5426
9a387d1f
L
5427 * string/Makefile (strop-tests): Add bcopy and bzero.
5428 * string/test-bcopy.c: New file.
5429 * string/test-bzero.c: Likewise.
5430 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
5431 defined.
5432 * string/test-memset.c: Support bzero test if TEST_BZERO is
5433 defined.
5434 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
5435 __libc_memmove.
5436 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
5437 __libc_memset.
5438 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
5439 of memset.
5440
472371b9
JM
54412012-10-10 Joseph Myers <joseph@codesourcery.com>
5442
1e4a9536
JM
5443 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
5444 * configure: Regenerated.
5445
d173d12e
JM
5446 * Makeconfig (+link-static-before-libc): Don't include
5447 $(link-static-libc).
5448
472371b9
JM
5449 * libio/libio.h (_IO_pos_t): Remove.
5450
89a3ad0b
AO
54512012-10-10 Alexandre Oliva <aoliva@redhat.com>
5452
5453 * NEWS: Add note about FIPS mode. Wording suggested by Roland
5454 McGrath.
5455
e7451425
AO
54562012-10-10 Alexandre Oliva <aoliva@redhat.com>
5457
5458 * crypt/crypt-entry.c: Include fips-private.h.
5459 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
5460 * crypt/md5c-test.c (main): Tolerate disabled MD5.
5461 * sysdeps/unix/sysv/linux/fips-private.h: New file.
5462 * sysdeps/generic/fips-private.h: New file, dummy fallback.
5463
4ba74a35
AO
54642012-10-10 Alexandre Oliva <aoliva@redhat.com>
5465
5466 * crypt/crypt-private.h: Include stdbool.h.
5467 (_ufc_setup_salt_r): Return bool.
5468 * crypt/crypt-entry.c: Include errno.h.
5469 (__crypt_r): Return NULL with EINVAL for bad salt.
5470 * crypt/crypt_util.c (bad_for_salt): New.
5471 (_ufc_setup_salt_r): Check that salt is long enough and within
5472 the specified alphabet.
5473 * crypt/badsalttest.c: New file.
5474 * crypt/Makefile (tests): Add it.
5475 ($(objpfx)badsalttest): New.
5476
f96f1242
MK
54772012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
5478
5479 * NEWS: Add entry for BZ #14602.
5480
0e8e0c1c
JM
54812012-10-09 Joseph Myers <joseph@codesourcery.com>
5482
5483 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
5484 type-generic.
5485 * math/libm-test.inc: Update comment listing what functions and
5486 macros are tested.
5487 (isgreater_test): New function.
5488 (isgreaterequal_test): Likewise.
5489 (isless_test): Likewise.
5490 (islessequal_test): Likewise.
5491 (islessgreater_test): Likewise.
5492 (isunordered_test): Likewise.
5493 (main): Call the new functions.
5494
273edc5e
RM
54952012-10-09 Roland McGrath <roland@hack.frob.com>
5496
b8493de0
RM
5497 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
5498 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
5499 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
5500 * sysdeps/i386/configure: Regenerated.
5501 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
5502 * sysdeps/mach/configure: Regenerated.
5503 * sysdeps/mach/hurd/configure: Regenerated.
5504 * sysdeps/powerpc/configure: Regenerated.
5505 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5506 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5507 * sysdeps/s390/s390-32/configure: Regenerated.
5508 * sysdeps/s390/s390-64/configure: Regenerated.
5509 * sysdeps/sh/configure: Regenerated.
5510 * sysdeps/sparc/configure: Regenerated.
5511 * sysdeps/unix/sysv/linux/configure: Regenerated.
5512 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
5513 * sysdeps/x86_64/configure: Regenerated.
5514
273edc5e
RM
5515 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
5516 defined. Don't check if MAP is NULL.
5517
c8450f70
JM
55182012-10-09 Joseph Myers <joseph@codesourcery.com>
5519
5520 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
5521 (_G_stat64): Likewise.
5522 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
5523 (_G_stat64): Likewise.
5524 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
5525 instead of struct _G_stat64.
5526 * libio/fileops.c (mmap_remap_check): Likewise.
5527 (decide_maybe_mmap): Likewise.
5528 (_IO_new_file_seekoff): Likewise.
5529 (_IO_file_stat): Likewise.
5530 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
5531 _G_off64_t.
5532 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
5533 instead of struct _G_stat64.
5534 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
5535
57e605ba
MK
55362012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
5537
5538 [BZ #14602]
5539 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5540 Replace with ...
5541 (CHECK_EOL): New macro.
5542 (two_way_short_needle): Check beginning of haystack for EOL. Use
5543 CHECK_EOL.
5544 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5545 Replace with CHECK_EOL.
5546 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5547 Replace with CHECK_EOL.
5548
ef1bb361
JM
55492012-10-08 Joseph Myers <joseph@codesourcery.com>
5550
5551 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
5552 type-generic.
5553 * math/libm-test.inc: Update comment listing what functions and
5554 macros are tested.
5555 (finite_test): New function.
5556 (isinf_test): Likewise.
5557 (isnan_test): Likewise.
5558 (fpclassify_test): Test subnormal input.
5559 (isfinite_test): Likewise.
5560 (isnormal_test): Likewise.
5561 (main): Call the new functions.
5562
55f11534
JN
55632012-10-08 Jonathan Nieder <jrnieder@gmail.com>
5564
5565 [BZ #14660]
5566 * Makerules (%.dynsym): Force C locale when running
5567 $(OBJDUMP) --dynamic-syms.
5568
1ab29350
AS
55692012-10-08 Andreas Schwab <schwab@linux-m68k.org>
5570
5571 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
5572 <stdint.h>.
5573
f1ecb7ef
DM
55742012-10-06 David S. Miller <davem@davemloft.net>
5575
5576 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
5577 upper 32-bits of the length value in %o2 since we use branch-on-register
5578 tests which consider the entire 64-bit register.
5579
5d41d91a
L
55802012-10-06 H.J. Lu <hongjiu.lu@intel.com>
5581
5582 * string/test-strstr.c (check2): Add a test for page boundary.
5583
3baddb72
DM
55842012-10-05 David S. Miller <davem@davemloft.net>
5585
5586 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
5587 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
5588 file.
5589 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
5590 sysdep_routines.
5591 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
5592 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
5593 and bzero when HWCAP_SPARC_CRYPTO is present.
5594
9cee5585
L
55952012-10-05 H.J. Lu <hongjiu.lu@intel.com>
5596
d7e0dab9
L
5597 [BZ #14602]
5598 * string/test-strstr.c (check2): New function.
5599 (test_main): Call check2.
5600
03759f47
L
5601 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
5602 and bug-strchr1.
5603 * string/bug-strcasestr1.c (do_test): Moved to ...
5604 * string/test-strcasestr.c (check1): Here. New function.
5605 (do_one_test): Break out result checking code into ...
5606 (check_result): This. New function.
5607 (do_one_test): Call check_result.
5608 (test_main): Call check1.
5609 * string/bug-strchr1.c (do_test): Moved to ...
5610 * string/test-strchr.c (check1): Here. New function.
5611 (do_one_test): Break out result checking code into ...
5612 (check_result): This. New function.
5613 (do_one_test): Call check_result.
5614 (test_main): Call check1.
5615 * string/bug-strstr1.c (main): Moved to ...
046f153e 5616 * string/test-strstr.c (check1): Here. New function.
03759f47
L
5617 (do_one_test): Break out result checking code into ...
5618 (check_result): This. New function.
5619 (do_one_test): Call check_result.
5620 (test_main): Call check1.
5621 * string/bug-strcasestr1.c: Removed.
5622 * string/bug-strchr1.c: Likewise.
5623 * string/bug-strstr1.c: Likewise.
5624
53cea63e
L
5625 * elf/Makefile (dl-routines): Add hwcaps.
5626 * elf/dl-support.c (_dl_important_hwcaps): Removed.
5627 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
5628 (_dl_important_hwcaps): Moved to ...
5629 * elf/dl-hwcaps.c: Here. New file.
5630 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
5631
9cee5585 5632 [BZ #14557]
bb859b06
L
5633 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
5634 if IS_IN_rtld isn't defined.
5635
9cee5585
L
5636 * elf/dl-support.c (_dl_sysinfo_map): New.
5637 Include "get-dynamic-info.h" and "setup-vdso.h".
5638 (_dl_non_dynamic_init): Call setup_vdso.
5639 * elf/dynamic-link.h: Don't include <assert.h>.
5640 (elf_get_dynamic_info): Moved to ...
5641 * elf/get-dynamic-info.h: Here. New file.
5642 * elf/dynamic-link.h: Include "get-dynamic-info.h".
5643 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
5644 * elf/setup-vdso.h: Here. New file.
5645 * elf/rtld.c: Include "setup-vdso.h".
5646 (dl_main): Call setup_vdso.
5647
23c31b76
JM
56482012-10-05 Joseph Myers <joseph@codesourcery.com>
5649
28234b07
JM
5650 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
5651 creal in comment listing functions tested. List finite, isinf,
5652 isnan, isless, islessequal, isgreater, isgreaterequal,
5653 islessgreater, isunordered, lgamma_r and pow10 as functions and
5654 macros not tested. Mention which functions not tested are aliases
5655 for other functions. Fix typo. Note that signs of NaNs are not
5656 tested.
5657
23c31b76
JM
5658 * scripts/config.guess: Update from config.git.
5659 * scripts/config.sub: Likewise.
5660
9043e228
RM
56612012-10-04 Roland McGrath <roland@hack.frob.com>
5662
5663 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
5664 * misc/madvise.c (madvise): Renamed to __madvise.
5665 Make madvise a weak alias.
5666 * include/sys/mman.h: Declare __madvise.
5667 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
5668 * sysdeps/unix/syscalls.list
5669 (madvise): Make __madvise the strong name, and madvise a weak alias.
5670 * sysdeps/unix/sysv/linux/syscalls.list
5671 (madvise, mmap): Remove redundant entries.
5672 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
5673 * malloc/malloc.c (mtrim): Likewise.
5674 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
5675
f57f8055
RM
56762012-10-03 Roland McGrath <roland@hack.frob.com>
5677
5678 * sysdeps/mach/hurd/dl-cache.c: File removed.
5679 * config.h.in (USE_LDCONFIG): New #undef.
5680 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
5681 * configure: Regenerated.
5682 * elf/Makefile (dl-routines): Add dl-cache only under
5683 [$(use-ldconfig) = yes].
5684 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
5685 cache on [USE_LDCONFIG].
5686 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
5687 [USE_LDCONFIG].
5688 * elf/rtld.c (dl_main): Likewise.
5689
5bb0c10a
PT
56902012-10-03 Pino Toscano <toscano.pino@tiscali.it>
5691
5692 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
5693 _SC_LEVEL4_CACHE_LINESIZE.
5694
010188c6
RM
56952012-10-03 Roland McGrath <roland@hack.frob.com>
5696
5697 * sysdeps/unix/bsd/confstr.h: File removed.
5698
b6c5ec07
AO
56992012-10-02 Alexandre Oliva <aoliva@redhat.com>
5700
5701 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
5702 sys/sdt-config.h.
5703
408223d4
RM
57042012-10-02 Roland McGrath <roland@hack.frob.com>
5705
5706 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
5707 Make 'mapoff' field ElfW(Off) rather than off_t.
5708
bb9510dc
DL
57092012-10-02 Dmitry V. Levin <ldv@altlinux.org>
5710
fc997c6e
DL
5711 * nscd/Makefile: Remove nscd-cflags and all its users.
5712 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
5713 (CFLAGS-nonlib): Add compiler flags for nscd modules.
5714
bb9510dc
DL
5715 [BZ #10631]
5716 * malloc.c (malloc_printerr): Clarify error message.
5717
05699367
L
57182012-10-02 H.J. Lu <hongjiu.lu@intel.com>
5719
5720 [BZ #14648]
5721 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5722 Set bit_FMA_Usable if FMA is supported.
5723 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
5724 macro.
5725 (bit_FMA4_Usable): Updated.
5726 (index_FMA_Usable): New macro.
5727 (CPUID_FMA): Likewise
5728 (HAS_FMA): Defined with bit_FMA_Usable.
5729
51367701
RM
57302012-10-01 Roland McGrath <roland@hack.frob.com>
5731
5732 * bits/types.h (__swblk_t): Type removed.
5733 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
5734 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
5735 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5736 (__SWBLK_T_TYPE): Likewise.
5737 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5738 (__SWBLK_T_TYPE): Likewise.
5739 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5740 (__SWBLK_T_TYPE): Likewise.
5741 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5742 (__SWBLK_T_TYPE): Likewise.
5743
4d57bf63 57442012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 5745 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
5746
5747 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
5748 (xdr_mapname): Use YPMAXMAP as maxsize.
5749 (xdr_peername): Use YPMAXPEER as maxsize.
5750 (xdr_keydat): Use YPAXRECORD as maxsize.
5751 (xdr_valdat): Use YPMAXRECORD as maxsize.
5752
93c65d43
RM
57532012-10-01 Roland McGrath <roland@hack.frob.com>
5754
497a03d6
RM
5755 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
5756
93c65d43
RM
5757 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
5758 * csu/init-first.c: ... here.
5759 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
5760 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
5761 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
5762 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
5763 * sysdeps/i386/init-first.c: File removed.
5764 * sysdeps/sh/init-first.c: File removed.
5765
bec749fd
JM
57662012-10-01 Joseph Myers <joseph@codesourcery.com>
5767
5768 [BZ #14645]
5769 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
5770 if x * y might underflow to zero and z is zero.
5771 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5772 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5773 * math/libm-test.inc (min_subnorm_value): New variable.
5774 (fma_test): Add more tests.
5775 (fma_test_towardzero): Likewise.
5776 (fma_test_downward): Likewise
5777 (fma_test_upward): Likewise.
5778 (initialize): Set min_subnorm_value.
5779
8ec5b013
JM
57802012-09-29 Joseph Myers <joseph@codesourcery.com>
5781
5782 [BZ #14638]
5783 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
5784 0 + 0.
5785 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
5786 mode for addition resulting in exact zero.
5787 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
5788 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
5789 exact 0 + 0.
5790 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5791 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5792 * math/libm-test.inc (fma_test): Add more tests.
5793 (fma_test_towardzero): New function.
5794 (fma_test_downward): Likewise.
5795 (fma_test_upward): Likewise.
5796 (main): Call the new functions.
5797
b1fa802e
DM
57982012-09-28 David S. Miller <davem@davemloft.net>
5799
5800 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
5801
d3b9fd9e
RM
58022012-09-28 Roland McGrath <roland@hack.frob.com>
5803
ea4d37b3
RM
5804 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
5805 instead of SIGALRM.
5806
ac51c949
RM
5807 * sysdeps/gnu/_G_config.h: Moved to ...
5808 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
5809 * sysdeps/mach/hurd/_G_config.h: Moved to ...
5810 * sysdeps/generic/_G_config.h: ... here.
5811
28c195f7
RM
5812 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
5813
848917f9
RM
5814 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
5815
6bacf05b
RM
5816 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
5817 Conditionalize target on [libnss_test1.so-version].
5818
91363dbb
RM
5819 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
5820
cc87f7d8
RM
5821 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
5822 (elfobjdir): Move out of conditionals.
5823
b1c608fe
RM
5824 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
5825 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
5826 (__nss_lookup_function): Conditionalize label remove_from_tree on
5827 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 5828
1d9a6d96
DM
58292012-09-28 David S. Miller <davem@davemloft.net>
5830
5831 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
5832 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
5833 file.
5834 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
5835 sysdep_routines.
5836 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
5837 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
5838 when HWCAP_SPARC_CRYPTO is present.
5839
72581615
PT
58402012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5841
5842 * io/tst-mknodat.c: Create a FIFO instead of a socket.
5843
715a900c
JL
58442012-09-28 Andreas Schwab <schwab@linux-m68k.org>
5845
5846 [BZ #6530]
5847 * stdio-common/vfprintf.c (process_string_arg): Revert
5848 2000-07-22 change.
5849
58502011-09-28 Jonathan Nieder <jrnieder@gmail.com>
5851
5852 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
5853 for testcase.
5854 * stdio-common/tst-sprintf.c: Include <locale.h>
5855 (main): Test sprintf's handling of incomplete multibyte
5856 characters.
5857
9bac1d86
L
58582012-09-28 H.J. Lu <hongjiu.lu@intel.com>
5859
5860 * elf/dl-runtime.c (VERSYMIDX): Removed.
5861 * elf/dl-version.c (VERSYMIDX): Likewise.
5862 * elf/do-rel.h (VERSYMIDX): Likewise.
5863 (VALIDX): Likewise.
5864 * elf/dynamic-link.h (VERSYMIDX): Likewise.
5865 * elf/rtld.c (VALIDX): Likewise.
5866 (ADDRIDX): Likewise.
9bac1d86
L
5867 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
5868 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
5869 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
5870 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
5871 (VALIDX): Likewise.
5872 (ADDRIDX): Likewise.
9bac1d86 5873
b31606c0
PT
58742012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5875
5876 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
5877
11541177
JL
58782012-09-28 Dmitry V. Levin <ldv@altlinux.org>
5879
5880 [BZ #11438]
5881 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
5882 to global scope.
5883 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
5884 addresses are in the same scope as 192.0.2/24.
5885 * posix/gai.conf: Document new scope table defaults.
5886
adb26fae
SP
58872012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5888
5889 [BZ #5298]
5890 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
5891 for ftell. Compute offsets from write pointers instead.
5892 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
5893
4573c6b0
SP
58942012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5895
5896 [BZ #14543]
5897 * libio/Makefile (tests): New test case tst-fseek.
5898 * libio/tst-fseek.c: New test case to verify that fseek/ftell
5899 combination works in wide mode.
5900 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
5901 state when the external buffer state changes.
5902
aa9bbfe6
DM
59032012-09-27 David S. Miller <davem@davemloft.net>
5904
5905 [BZ #14376]
5906 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
5907 pass reloc->r_addend in as the 'high' argument to
5908 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
5909
784421e7
DM
5910 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5911
c39bc8b8
PT
59122012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5913
5914 * rt/tst-aio2.c: Include <pthread.h>.
5915 * rt/tst-aio3.c: Likewise.
5916
1ccc2399
SE
59172012-09-27 Steve Ellcey <sellcey@mips.com>
5918
5919 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
5920
31ed4153
L
59212012-09-27 H.J. Lu <hongjiu.lu@intel.com>
5922
25f5f885
L
5923 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
5924 contents on [SHARED].
31ed4153 5925
b7bfe116
MP
59262012-09-26 Marek Polacek <polacek@redhat.com>
5927
5928 [BZ #14530]
5929 [BZ #13741]
5930 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
5931 for C++ and GCC <4.3 as well as for non GCC compilers.
5932
43c4edba
MT
59332012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
5934
5935 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5936
6a1bf82f
RM
59372012-09-25 Roland McGrath <roland@hack.frob.com>
5938
5939 * Makefile.in (all, install): Declare with .PHONY.
5940 Reported by Michael Hope <michael.hope@linaro.org>.
5941
8ad11b9a
TMQMF
59422012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5943
5944 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
5945 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
5946 system header.
5947 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
5948 Likewise.
5949 (sydep_routines): Add the new and the internal functions.
5950 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
5951 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
5952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
5953 (GLIBC_2.17): Add the new function.
5954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
5955 (GLIBC_2.17): Likewise.
5956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
5957 (GLIBC_2.17): Likewise.
5958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
5959 (GLIBC_2.17): Likewise.
5960 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
5961
7e2fca8d
AM
59622012-09-25 Alan Modra <amodra@gmail.com>
5963
5964 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
5965 Add release barrier before setting once_control to say
5966 initialisation is done. Add hints on lwarx. Use macro in
5967 place of isync.
5968 (clear_once_control): Add release barrier.
5969
b87c4b24
JM
59702012-09-25 Joseph Myers <joseph@codesourcery.com>
5971
d032e0d2
JM
5972 [BZ #13629]
5973 * math/s_clog.c (__clog): Handle more values close to |z| = 1
5974 specially.
5975 * math/s_clog10.c (__clog10): Likewise.
5976 * math/s_clog10f.c (__clog10f): Likewise.
5977 * math/s_clog10l.c (__clog10l): Likewise.
5978 * math/s_clogf.c (__clogf): Likewise.
5979 * math/s_clogl.c (__clogl): Likewise.
5980 * math/Makefile (libm-calls): Add x2y2m1.
5981 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
5982 (__x2y2m1): Likewise.
5983 (__x2y2m1l): Likewise.
5984 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
5985 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
5986 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
5987 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5988 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
5989 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
5990 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
5991 * sysdeps/i386/fpu/libm-test-ulps: Update.
5992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5993
b87c4b24
JM
5994 [BZ #14621]
5995 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
5996 int as type of variable DEPTH.
5997 (glob): Use size_t instead of int as type of variables NEWCOUNT
5998 and OLD_PATHC.
5999
6d3bf199
LD
60002012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6001
22bf5c17
LD
6002 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
6003 Add s_sincosf-sse2.
6004 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
6005 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
6006 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
6007 macros for using routine as __sincosf_ia32.
6008 Use macro for function declaration and weak_alias.
6009 * sysdeps/i386/fpu/libm-test-ulps: Update.
6010
6011 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
6012 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6013
6014 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
6015 subnormal argument.
6016 * math/s_cexpf.c (__cexpf): Likewise.
6017 * math/s_csinf.c (__csinf): Likewise.
6018 * math/s_csinhf.c (__csinhf): Likewise.
6019 * math/s_ctanf.c (__ctanf): Likewise.
6020 * math/s_ctanhf.c (__ctanhf): Likewise.
6021 * math/s_ccosh.c (__ccoshf): Likewise.
6022 * math/s_cexp.c (__cexpl): Likewise.
6023 * math/s_csin.c (__csin): Likewise.
6024 * math/s_csinh.c (__csinh): Likewise.
6025 * math/s_ctan.c (__ctan): Likewise.
6026 * math/s_ctanh.c (ctanh): Likewise.
6027 * math/s_ccoshl.c (__ccoshl): Likewise.
6028 * math/s_cexpl.c (__cexpl): Likewise.
6029 * math/s_csinl.c (__csinl): Likewise.
6030 * math/s_csinhl.c (__csinhl): Likewise.
6031 * math/s_ctanl.c (__ctanl): Likewise.
6032 * math/s_ctanhl.c (__ctanhl): Likewise.
6033
203e5603
JM
60342012-09-25 Joseph Myers <joseph@codesourcery.com>
6035
6036 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
6037 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
6038 (_IO_off_t): Define to __off_t, not _G_off_t.
6039 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
6040 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
6041 (_IO_wint_t): Define to wint_t, not _G_wint_t.
6042 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
6043 type of __dummy and __dummy2 fields.
6044 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
6045 (_G_ssize_t): Likewise.
6046 (_G_off_t): Likewise.
6047 (_G_pid_t): Likewise.
6048 (_G_uid_t): Likewise.
6049 (_G_wchar_t): Likewise.
6050 (_G_wint_t): Likewise.
6051 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
6052 (_G_ssize_t): Likewise.
6053 (_G_off_t): Likewise.
6054 (_G_pid_t): Likewise.
6055 (_G_uid_t): Likewise.
6056 (_G_wchar_t): Likewise.
6057 (_G_wint_t): Likewise.
6058 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
6059 (_G_ssize_t): Likewise.
6060 (_G_off_t): Likewise.
6061 (_G_pid_t): Likewise.
6062 (_G_uid_t): Likewise.
6063 (_G_wchar_t): Likewise.
6064 (_G_wint_t): Likewise.
6065
9fab36eb
SP
60662012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6067
6068 * malloc/arena.c: Include malloc-sysdep.h.
6069 (shrink_heap): Use check_may_shrink_heap to decide if madvise
6070 is sufficient to shrink the heap or an unmap is needed.
6071 * sysdeps/generic/malloc-sysdep.h: New file. Define
6072 new function check_may_shrink_heap.
6073 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
6074 new function check_may_shrink_heap.
6075
2b4f00d1
SP
60762012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6077
6078 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
6079 comments.
6080
9a9028b1
DL
60812012-09-24 Dmitry V. Levin <ldv@altlinux.org>
6082
57c69bef
DL
6083 * catgets/test-gencat.sh: Add "set -e".
6084 * elf/tst-pathopt.sh: Likewise.
6085 * grp/tst_fgetgrent.sh: Likewise.
6086 * iconvdata/run-iconv-test.sh: Likewise.
6087 * intl/tst-gettext.sh: Likewise.
6088 * intl/tst-gettext2.sh: Likewise.
6089 * intl/tst-gettext4.sh: Likewise.
6090 * intl/tst-gettext6.sh: Likewise.
6091 * intl/tst-translit.sh: Likewise.
6092 * io/ftwtest-sh: Likewise.
6093 * libio/test-freopen.sh: Likewise.
6094 * malloc/tst-mtrace.sh: Likewise.
6095 * posix/globtest.sh: Likewise.
6096 * posix/tst-getconf.sh: Likewise.
6097 * posix/wordexp-tst.sh: Likewise.
6098 * stdio-common/tst-printf.sh: Likewise.
6099 * stdio-common/tst-unbputc.sh: Likewise.
6100 * stdlib/tst-fmtmsg.sh: Likewise.
6101 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
6102 * catgets/Makefile: Do not specify -e option when running
6103 testsuite shell scripts.
6104 * elf/Makefile: Likewise.
6105 * grp/Makefile: Likewise.
6106 * iconvdata/Makefile: Likewise.
6107 * intl/Makefile: Likewise.
6108 * io/Makefile: Likewise.
6109 * libio/Makefile: Likewise.
6110 * malloc/Makefile: Likewise.
6111 * posix/Makefile: Likewise.
6112 * stdio-common/Makefile: Likewise.
6113 * stdlib/Makefile: Likewise.
6114 * sysdeps/x86_64/Makefile: Likewise.
6115
9a9028b1
DL
6116 * io/ftwtest-sh: Add copyright header.
6117 * posix/globtest.sh: Likewise.
6118 * posix/tst-getconf.sh: Likewise.
6119 * posix/wordexp-tst.sh: Likewise.
6120 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
6121
ced6f16e
L
61222012-09-24 H.J. Lu <hongjiu.lu@intel.com>
6123
94b32c39
L
6124 [BZ #13679]
6125 * Makeconfig (+link): Defined as $(+link-static) if
6126 $(build-shared) isn't yes.
6127 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
6128 isn't yes.
6129 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
6130
189e935b
L
6131 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
6132
ced6f16e
L
6133 [BZ #14562]
6134 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
6135 new chunk size with MALLOC_ALIGN_MASK.
6136
a9f8e53a
JM
61372012-09-24 Joseph Myers <joseph@codesourcery.com>
6138
6139 [BZ #5044]
6140 * stdio-common/printf_fphex.c: Include <stdbool.h> and
6141 <rounding-mode.h>.
6142 (__printf_fphex): Determine rounding using get_rounding_mode and
6143 round_away.
6144 * stdio-common/tst-printf-round.c (struct hex_test): New
6145 structure.
6146 (hex_tests): New variable.
6147 (test_hex_in_one_mode): New function.
6148 (do_test): Also run tests for hex float output.
6149
43153109
JM
61502012-09-21 Joseph Myers <joseph@codesourcery.com>
6151
6152 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
6153 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
6154 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
6155 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
6156 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
6157 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
6158 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
6159 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
6160
8a26625d
JM
61612012-09-20 Joseph Myers <joseph@codesourcery.com>
6162
6163 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
6164 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
6165 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
6166 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
6167
f3fd569c
DL
61682012-09-19 Dmitry V. Levin <ldv@altlinux.org>
6169
6170 [BZ #14579]
6171 * elf/rtld.c (dl_main): Limit the check for self loading to normal
6172 mode only.
6173 * elf/tst-rtld-load-self.sh: New test.
6174 * elf/Makefile: Run it.
6175
63bbedd4
JM
61762012-09-18 Joseph Myers <joseph@codesourcery.com>
6177
6178 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
6179 (tst-writev-ENV): Remove.
6180 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
6181
626f8b6a
CM
61822012-09-17 Chris Metcalf <cmetcalf@tilera.com>
6183
6184 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
6185
b7aaa4d6
JM
61862012-09-17 Joseph Myers <joseph@codesourcery.com>
6187
6188 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
6189 unconditional.
6190 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
6191 Likewise.
6192 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
6193 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
6194 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
6195 Likewise.
6196
65513990
L
61972012-09-14 H.J. Lu <hongjiu.lu@intel.com>
6198
6199 [BZ #14587]
6200 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
6201 * config.make.in (have-cpp-asm-debuginfo): Removed.
6202 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
6203 * configure: Regenerated.
6204
784761be
JM
62052012-09-14 Joseph Myers <joseph@codesourcery.com>
6206
6207 [BZ #5044]
6208 * stdio-common/printf_fp.c: Include <stdbool.h> and
6209 <rounding-mode.h>.
6210 (___printf_fp): Determine rounding using get_rounding_mode and
6211 round_away.
6212 * stdio-common/tst-printf-round.c: New file.
6213 * stdio-common/Makefile (tests): Add tst-printf-round.
6214 (link-libm): New variable.
6215 ($(objpfx)tst-printf-round): Depend in $(link-libm).
6216
9503345f
L
62172012-09-13 H.J. Lu <hongjiu.lu@intel.com>
6218
6219 [BZ #14576]
6220 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
6221 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
6222 Likewise.
6223 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
6224 Likewise.
6225
ad35fc00
JM
62262012-09-13 Joseph Myers <joseph@codesourcery.com>
6227
6228 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
6229 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6230 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6231 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6232
6c9b0f68
JM
62332012-09-12 Joseph Myers <joseph@codesourcery.com>
6234
6235 [BZ #14518]
6236 * include/rounding-mode.h: New file.
6237 * sysdeps/generic/get-rounding-mode.h: Likewise.
6238 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
6239 * stdlib/strtod_l.c: Include <rounding-mode.h>.
6240 (MAX_VALUE): New macro.
6241 (MIN_VALUE): Likewise.
6242 (overflow_value): New function.
6243 (underflow_value): Likewise.
6244 (round_and_return): Use overflow_value and underflow_value to
6245 determine return values in overflow and underflow cases. Use
6246 round_away to determine rounding depending on rounding mode.
6247 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
6248 determine return values in overflow and underflow cases.
6249 * stdlib/tst-strtod-round.c: Include <fenv.h>.
6250 (struct test_results): New structure.
6251 (struct test): Use struct test_results to store expected results
6252 for all rounding modes.
6253 (TEST): Include expected results for all rounding modes.
6254 (test_in_one_mode): New function.
6255 (do_test): Use test_in_one_mode to compute and check results.
6256 Check results for all rounding modes.
6257 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
6258 $(link-libm).
6259
19fcedd5
AM
62602012-12-09 Allan McRae <allan@archlinux.org>
6261
1e9d84cd 6262 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 6263
8bbfd2f1
JM
62642012-09-11 Joseph Myers <joseph@codesourcery.com>
6265
6266 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
6267 (_G_int32_t): Likewise.
6268 (_G_uint16_t): Likewise.
6269 (_G_uint32_t): Likewise.
6270 (_G_HAVE_BOOL): Likewise.
6271 (_G_HAVE_ATEXIT): Likewise.
6272 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6273 (_G_HAVE_IO_FILE_OPEN): Likewise.
6274 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
6275 (_G_int32_t): Likewise.
6276 (_G_uint16_t): Likewise.
6277 (_G_uint32_t): Likewise.
6278 (_G_HAVE_BOOL): Likewise.
6279 (_G_HAVE_ATEXIT): Likewise.
6280 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6281 (_G_HAVE_IO_FILE_OPEN): Likewise.
6282 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
6283 (_G_int32_t): Likewise.
6284 (_G_uint16_t): Likewise.
6285 (_G_uint32_t): Likewise.
6286 (_G_HAVE_BOOL): Likewise.
6287 (_G_HAVE_ATEXIT): Likewise.
6288 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6289 (_G_HAVE_IO_FILE_OPEN): Likewise.
6290
b1dc5912
L
62912012-09-11 H.J. Lu <hongjiu.lu@intel.com>
6292
6293 * csu/libc-tls.c: Update copyright years.
6294
0e886ef9
JM
62952012-09-10 Joseph Myers <joseph@codesourcery.com>
6296
28361c5e
JM
6297 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
6298 [!_G_USING_THUNKS]: Remove conditional code.
6299 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
6300 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
6301
0e886ef9
JM
6302 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
6303 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
6304 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
6305 (_G_VTABLE_LABEL_PREFIX): Likewise.
6306 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
6307 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
6308 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
6309 (_G_VTABLE_LABEL_PREFIX): Likewise.
6310 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
6311 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
6312 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
6313 (_G_VTABLE_LABEL_PREFIX): Likewise.
6314 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
6315
bcba7aa2
L
63162012-09-10 H.J. Lu <hongjiu.lu@intel.com>
6317
6318 * libio/Makefile: Include ../Makeconfig before tests.
6319 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
6320 only if $(build-shared) is yes.
6321
06585ee8
L
6322 * iconv/gconv_db.c: Update copyright years.
6323
80ccd52c
LD
63242012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6325
6326 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
6327 unwind info if defined PIC. Fix special cases description.
6328 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
6329
6330 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
6331 DP_HI_MASK entry.
6332 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
6333
691bc9c1
L
63342012-09-07 H.J. Lu <hongjiu.lu@intel.com>
6335
3d9b46b3
L
6336 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
6337
de2139a9
L
6338 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
6339 is NULL.
6340
5ca78dd0
L
6341 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
6342 (LDLIBS-tst-chk4): This.
6343 (LDFLAGS-tst-chk5): Renamed to ...
6344 (LDLIBS-tst-chk5): This.
6345 (LDFLAGS-tst-chk6): Renamed to ...
6346 (LDLIBS-tst-chk6): This.
6347 (LDFLAGS-tst-lfschk4): Renamed to ...
6348 (LDLIBS-tst-lfschk4): This.
6349 (LDFLAGS-tst-lfschk5): Renamed to ...
6350 (LDLIBS-tst-lfschk5): This.
6351 (LDFLAGS-tst-lfschk6): Renamed to ...
6352 (LDLIBS-tst-lfschk6): This.
6353
691bc9c1
L
6354 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
6355 on $(common-objpfx)soversions.mk.
6356
65cafb1c
JM
63572012-09-07 Joseph Myers <joseph@codesourcery.com>
6358
6359 [BZ #10014]
6360 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
6361 example host name.
6362
c78ab094
SP
63632012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6364
6365 * malloc/arena.c (arena_get_retry): New function that gets
6366 another arena for the caller to try its request on.
6367 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
6368 current arena cannot fulfill the request.
6369 (__libc_memalign): Likewise.
6370 (__libc_memalign): Likewise.
6371 (__libc_pvalloc): Likewise.
6372 (__libc_calloc): Likewise.
6373
01f49f59
JT
63742012-09-05 John Tobey <john.tobey@gmail.com>
6375
6376 [BZ #13542]
6377 * manual/arith.texi (Operations on Complex): Fix description
6378 of carg branch cut.
6379
4c23fed5
JM
63802012-09-06 Joseph Myers <joseph@codesourcery.com>
6381
1d3c8572
JM
6382 [BZ #10014]
6383 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
6384 host name.
6385
4c23fed5
JM
6386 [BZ #10038]
6387 * manual/memory.texi (Memory): Make order of menu items match
6388 order of sections.
6389
04570aaa
L
63902012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6391
6392 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
6393 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
6394 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
6395
b80af2f4
L
63962012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6397
6398 * csu/libc-tls.c (static_dtv): Renamed to ...
6399 (_dl_static_dtv): This. Make it global.
6400 (_dl_initial_dtv): Removed.
6401 (__libc_setup_tls): Updated.
6402 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
6403 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
6404 DL_INITIAL_DTV.
6405
2abe9f15
PM
64062012-09-06 Petr Machata <pmachata@redhat.com>
6407
6408 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
6409 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
6410 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
6411 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
6412
0948c3af
L
64132012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6414
6415 [BZ #14545]
6416 * csu/libc-tls.c (_dl_initial_dtv): New variable.
6417 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
6418 freeing dtv[-1].
6419
a5055ad1
L
64202012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6421
6422 [BZ #14544]
6423 * Makeconfig (link-static-before-libc): Replace $(+prector)
6424 with $(+prectorT).
6425 (link-static-after-libc): Replace $(+postctor) with
6426 $(+postctorT).
6427 (link-bounded): Replace $(+prector)/$(+postctor) with
6428 $(+prectorT)/$(+postctorT).
6429 (+prectorT): New macro.
6430 (+postctorT): Likewise.
6431
ed8c2ecd
JM
64322012-09-06 Joseph Myers <joseph@codesourcery.com>
6433
6434 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
6435 (round_str): Handle values above the maximum for IBM long double
6436 as inexact.
6437 * stdlib/tst-strtod-round.c (tests): Regenerated.
6438
14c996c8
AK
64392012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6440
6441 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
6442 assembler flag.
6443 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
6444 zarch_nohighgprs around the zarch optimized routines.
6445 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
6446 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
6447 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
6448 for zarch.
6449
430d6ce6
DM
64502012-09-05 David S. Miller <davem@davemloft.net>
6451
6452 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6453
ff04dda4
DM
6454 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
6455 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
6456 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
6457 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
6458 entries.
6459
24d4e01b
AO
64602012-09-05 Alexandre Oliva <aoliva@redhat.com>
6461
6462 * malloc/arena.c: Fold copyright years.
6463 * malloc/mcheck.c, malloc/memusage.c: Likewise.
6464
61d58174
AO
64652012-09-05 Alexandre Oliva <aoliva@redhat.com>
6466
6467 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
6468
20196a5e
AO
64692012-09-05 Alexandre Oliva <aoliva@redhat.com>
6470
6471 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
6472
5c447383
AO
64732012-09-05 Alexandre Oliva <aoliva@redhat.com>
6474
6475 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
6476 change internal state upon failure.
6477
fad64255
AO
64782012-09-05 Alexandre Oliva <aoliva@redhat.com>
6479
6480 * malloc/mcheck.c (mcheck_check_all): Fix typo.
6481 * malloc/memusage.c (mmap): Likewise.
6482 (mmap64, mremap): Likewise. Adjust name in comment.
6483
1ffb8c90
SP
64842012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6485
6486 * libio/fileops.c: Fix typos in comments.
6487 * libio/oldfileops.c: Likewise.
6488 * libio/wfileops.c: Likewise.
6489
6ef9cc37
SP
64902012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6491
6492 [BZ #1349]
6493 * malloc/Makefile (tests): Add tst-malloc-usable test case.
6494 (tst-malloc-usable-ENV): Set environment for test case.
6495 * malloc/hooks.c (malloc_check_get_size): New function to get
6496 requested size.
6497 * malloc/malloc.c (musable): Use malloc_check_get_size.
6498 * malloc/tst-malloc-usable.c: New test case.
6499
4d038ae3
AS
65002012-09-05 Andreas Schwab <schwab@linux-m68k.org>
6501
6502 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
6503
c4e85184
AM
65042012-09-05 Allan McRae <allan@archlinux.org>
6505
b9dafc56 6506 [BZ #13966]
c4e85184
AM
6507 * configure.in (CXX_SYSINCLUDES): Use compiler output to
6508 determine header location.
6509 * configure: Regenerated.
6510
e1343020
AS
65112012-09-05 Andreas Schwab <schwab@linux-m68k.org>
6512
6513 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
6514 float format.
6515 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
6516 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
6517 format.
e1343020
AS
6518 (test): Regenerate.
6519
0a9f1987
DM
65202012-09-04 David S. Miller <davem@davemloft.net>
6521
6522 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
6523 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
6524 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
6525
29237804
FW
65262012-09-04 Florian Weimer <fweimer@redhat.com>
6527
6528 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
6529 failures.
6530
edb3cb88
FW
6531 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
6532
60160d83
JM
65332012-09-04 Joseph Myers <joseph@codesourcery.com>
6534
6535 [BZ #9914]
6536 * libio/iogetdelim.c: Include <limits.h>.
6537 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
6538 + len + 1 would overflow.
6539
bcd6c8dc
AJ
65402012-09-03 Andreas Jaeger <aj@suse.de>
6541
6542 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6543 * sysdeps/i386/fpu/libm-test-ulps: Update.
6544
4ffffbd2
LD
65452012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6546
6547 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
6548 Add s_sinf-sse2, s_conf-sse2.
6549
6550 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
6551 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
6552 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
6553 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
6554
6555 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
6556 for using routine as __sinf_ia32.
6557 Use macro for function declaration and weak_alias.
6558 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
6559 for using routine as __cosf_ia32.
6560 Use macro for function declaration and weak_alias.
6561
6562 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
6563 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
6564
6565 * sysdeps/x86_64/fpu/s_sinf.S: New file.
6566 * sysdeps/x86_64/fpu/s_cosf.S: New file.
6567 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6568
6569 * math/libm-test.inc (cos_test): Add more test cases.
6570 (sin_test): Likewise.
6571 (sincos_test): Likewise.
6572
511fa286
AK
65732012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6574
6575 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
6576 (IFUNC_RESOLVE): Make pointers to the specialized implementations
6577 hidden.
6578 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6579
5f30cfec
L
65802012-09-02 H.J. Lu <hongjiu.lu@intel.com>
6581
6582 [BZ #14538]
6583 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
6584 first element of the GOT.
6585 (elf_machine_load_address): Return the difference between
6586 the runtime address of _DYNAMIC and elf_machine_dynamic ().
6587
0786794f
AM
65882012-09-01 Allan McRae <allan@archlinux.org>
6589
5f30cfec
L
6590 [BZ #13412]
6591 * configure.in (AWK): Require gawk version 3.0 or later.
6592 * configure: Regenerated.
0786794f 6593
26889eac
JM
65942012-09-01 Joseph Myers <joseph@codesourcery.com>
6595
6596 * sysdeps/unix/sysv/linux/kernel-features.h
6597 (__ASSUME_POSIX_CPU_TIMERS): Remove.
6598 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6599 [__NR_clock_getres]: Make code unconditional.
6600 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
6601 (clock_getcpuclockid): Remove code left unreachable by removal of
6602 conditionals.
6603 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
6604 code unconditional.
6605 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
6606 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6607 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
6608 Make code unconditional.
6609 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
6610 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6611 * sysdeps/unix/sysv/linux/clock_settime.c
6612 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
6613 conditional code.
6614 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
6615 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6616
d22e28b0
L
66172012-08-29 H.J. Lu <hongjiu.lu@intel.com>
6618
6619 [BZ #14476]
6620 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
6621 scripts/test-installation.pl.
6622
6623 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
6624 and $ld_so_version if it is set.
6625
050af9c4
SP
66262012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6627
6628 [BZ #14516]
6629 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
6630 failure if reading from procfs failed.
6631 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
6632
ad845c0b
JM
66332012-08-27 Joseph Myers <joseph@codesourcery.com>
6634
6635 * sysdeps/unix/sysv/linux/kernel-features.h
6636 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
6637 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
6638 Remove conditional code.
6639 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6640 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
6641 Remove conditional code.
6642 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6643 * sysdeps/unix/sysv/linux/i386/fxstat.c
6644 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6645 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6646 * sysdeps/unix/sysv/linux/i386/fxstatat.c
6647 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6648 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6649 * sysdeps/unix/sysv/linux/i386/lxstat.c
6650 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6651 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6652 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
6653 Remove conditional code.
6654 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6655 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
6656 Remove conditional code.
6657 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6658 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
6659 <kernel-features.h>.
6660 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
6661 Remove.
6662 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
6663 Remove conditional code.
6664 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6665 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
6666 Remove conditional.
6667
5dbf56af
MF
66682012-08-27 Mike Frysinger <vapier@gentoo.org>
6669
6670 [BZ #5400]
6671 * NEWS: Add fixed bug number.
6672
d6e70f43
JM
66732012-08-27 Joseph Myers <joseph@codesourcery.com>
6674
7efb4737
JM
6675 [BZ #14519]
6676 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
6677 underflowing exponent in case of negative sign.
6678 * stdlib/tst-strtod-round-data: Add more tests.
6679 * stdlib/tst-strtod-round.c (tests): Regenerated.
6680
af92131a
JM
6681 [BZ #3479]
6682 * stdlib/strtod_l.c (NDIG): Remove.
6683 (HEXNDIG): Likewise.
6684 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
6685 smallest representable value.
6686 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
6687 lie within an exact representation of 1/2 ulp of the result.
6688 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
6689 unconditionally.
6690 (TENS_P9_IDX): Define unconditionally.
6691 (TENS_P9_SIZE): Likewise.
6692 (TENS_P10_IDX): Likewise.
6693 (TENS_P10_SIZE): Likewise.
6694 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
6695 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
6696 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
6697 entries for 10^2^13 and 10^2^14.
6698 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
6699 (TENS_P13_IDX): Define.
6700 (TENS_P13_SIZE): Likewise.
6701 (TENS_P14_IDX): Likewise.
6702 (TENS_P14_SIZE): Likewise.
6703 (_fpioconst_pow10): Change array size to
6704 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
6705 unconditional.
6706 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
6707 1024]: Add entries for 10^2^13 and 10^2^14.
6708 [LAST_POW10 > _LAST_POW10]: Remove #error.
6709 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
6710 (_fpioconst_pow10): Change array size to
6711 FPIOCONST_POW10_ARRAY_SIZE.
6712 * stdlib/gen-fpioconst.c: New file.
6713 * stdlib/gen-tst-strtod-round.c: Likewise.
6714 * stdlib/tst-strtod-round-data: Likewise.
6715 * stdlib/tst-strtod-round.c: Likewise.
6716 * stdlib/Makefile (tests): Add tst-strtod-round.
6717
d6e70f43
JM
6718 [BZ #14459]
6719 * stdlib/strtod_l.c: Include <stdint.h>.
6720 (NDEBUG): Do not define.
6721 (round_and_return): Change EXPONENT parameter to type intmax_t.
6722 Rearrange calculations to avoid internal overflow possibilities.
6723 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
6724 Rearrange calculations to avoid internal overflow possibilities.
6725 Assert that number fits inside MPNSIZE limbs.
6726 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
6727 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
6728 calculations and add assertions to avoid internal overflow
6729 possibilities. Add casts to avoid signed/unsigned operations.
6730 * stdlib/tst-strtod-overflow.c: New file.
6731 * stdlib/Makefile (tests): Add tst-strtod-overflow.
6732
1f529f7d
MP
67332012-08-25 Marek Polacek <polacek@redhat.com>
6734
6735 * time/time.h: Fix some typos in comments.
6736
59a629f1
RM
67372012-08-23 Roland McGrath <roland@hack.frob.com>
6738
6739 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
6740 * posix/tst-rfc3484-2.c: Likewise.
6741 * posix/tst-rfc3484-3.c: Likewise.
6742
d3bafbc9
SM
67432012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
6744
6745 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
6746 (EF_ARM_ABI_FLOAT_HARD): Likewise.
6747
4efcc022
JM
67482012-08-23 Joseph Myers <joseph@codesourcery.com>
6749
6750 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
6751 #include of fxstatat64.c.
6752
3cc3ef96
RM
67532012-08-22 Roland McGrath <roland@hack.frob.com>
6754
f04e2132
RM
6755 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
6756 * shadow/getspent_r.c: Likewise.
6757 * shadow/getspnam.c: Likewise.
6758 * shadow/getspnam_r.c: Likewise.
6759 * gshadow/getsgent.c: Likewise.
6760 * gshadow/getsgent_r.c: Likewise.
6761 * gshadow/getsgnam.c: Likewise.
6762 * gshadow/getsgnam_r.c: Likewise.
6763 * inet/getnetbyad.c: Likewise.
6764 * inet/getnetbyad_r.c: Likewise.
6765 * inet/getnetbynm.c: Likewise.
6766 * inet/getnetbynm_r.c: Likewise.
6767 * inet/getnetent.c: Likewise.
6768 * inet/getnetent_r.c: Likewise.
6769 * inet/getproto.c: Likewise.
6770 * inet/getproto_r.c: Likewise.
6771 * inet/getprtent.c: Likewise.
6772 * inet/getprtent_r.c: Likewise.
6773 * inet/getprtname.c: Likewise.
6774 * inet/getprtname_r.c: Likewise.
6775 * inet/getrpcbyname.c: Likewise.
6776 * inet/getrpcbyname_r.c: Likewise.
6777 * inet/getrpcbynumber.c: Likewise.
6778 * inet/getrpcbynumber_r.c: Likewise.
6779 * inet/getrpcent.c: Likewise.
6780 * inet/getrpcent_r.c: Likewise.
6781 * inet/getaliasent.c: Likewise.
6782 * inet/getaliasent_r.c: Likewise.
6783 * inet/getaliasname.c: Likewise.
6784 * inet/getaliasname_r.c: Likewise.
6785 * nscd/getgrgid_r.c: Likewise.
6786 * nscd/getgrnam_r.c: Likewise.
6787 * nscd/gethstbyad_r.c: Likewise.
6788 * nscd/gethstbynm3_r.c: Likewise.
6789 * nscd/getpwnam_r.c: Likewise.
6790 * nscd/getpwuid_r.c: Likewise.
6791 * nscd/getsrvbynm_r.c: Likewise.
6792 * nscd/getsrvbypt_r.c: Likewise.
6793 * nscd/gai.c: Likewise.
6794
c53d909c
RM
6795 * configure.in (build_nscd): New substituted variable, set
6796 by --disable-build-nscd and defaults to $use_nscd.
6797 * configure: Regenerated.
6798 * config.make.in (build-nscd): New substituted variable.
6799 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
6800 Change conditional to require [$(build-nscd) = yes] as well.
6801 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
6802
3cc3ef96
RM
6803 [BZ# 13696]
6804 * configure.in (use_nscd): New substituted variable, set by
6805 --disable-nscd. If enabled, define USE_NSCD.
6806 * configure: Regenerated.
6807 * config.h.in: Add USE_NSCD.
6808 * config.make.in (use-nscd): New substituted variable.
6809 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
6810 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
6811 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
6812 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
6813 (CFLAGS-getgrnam_r.c): Likewise.
6814 (CFLAGS-initgroups.c): Likewise.
6815 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
6816 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
6817 Variables removed.
6818 * inet/getnetgrent_r.c
6819 (nscd_setnetgrent): New function, broken out of ...
6820 (setnetgrent): ... here. Call it.
6821 (innetgr): Conditionalize nscd bits on [USE_NSCD].
6822 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
6823 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
6824 * nscd/Makefile (routines, aux): Move definitions after include of
6825 Makeconfig. Conditionalize on [$(use-nscd) != no].
6826 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
6827 Conditionalize on [USE_NSCD].
6828 (is_nscd, nscd_init_cb): Likewise.
6829 (nss_load_library): Conditionalize init callback on [USE_NSCD].
6830 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
6831 * nss/nss_db/db-init.c: Likewise.
6832 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
6833 [USE_NSCD].
6834 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
6835 (make_request): Use it.
6836 (cache_valid_p): New function.
6837 (__check_pf): Use it.
6838 * NEWS: Add item for --disable-nscd.
6839
07e51550
DL
68402012-08-22 Dmitry V. Levin <ldv@altlinux.org>
6841
6842 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
6843 to support sed >= 4.2.1-20-ga9bf076.
6844 * configure: Regenerated.
6845
35a5b08b
RM
68462012-08-22 Roland McGrath <roland@hack.frob.com>
6847
6848 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
6849 Conditionalize whole body on [IREL].
6850
8479f23a
JL
68512012-08-22 Jeff Law <law@redhat.com>
6852
6853 [BZ #14505]
6854 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
6855 if the family is PF_UNSPEC.
6856
48da0b21
MF
68572012-08-22 Mike Frysinger <vapier@gentoo.org>
6858
6859 * Makerules (lib-version): Rename from V.
6860 (install-lib-nosubdir): Change V to lib-version.
6861
15d0da8c
WS
68622012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
6863
6864 [BZ #14252]
6865 * powerpc32/power6/wcschr.c: New file.
6866 * powerpc32/power6/wcscpy.c: New file.
6867 * powerpc32/power6/wcsrchr.c: New file.
6868 * powerpc64/power6/wcschr.c: New file.
6869 * powerpc64/power6/wcscpy.c: New file.
6870 * powerpc64/power6/wcsrchr.c: New file.
6871
bcca0895
MK
68722012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
6873
6874 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
6875 (two_way_short_needle): Use it.
5a4aaa33
RM
6876 * string/strstr.c (AVAILABLE1_USES_J): Define.
6877 * string/strcasestr.c: Likewise.
99677e57
MK
6878
6879 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
6880 array references.
6881 * string/strcasestr.c (TOLOWER): Make side-effect safe.
6882
400726de
MK
6883 [BZ #11607]
6884 * NEWS: Add an entry.
6885 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
6886 define their defaults.
6887 (two_way_short_needle): Detect end-of-string on-the-fly.
6888 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
6889 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
6890 * string/bug-strcasestr1.c: New test.
6891 * string/Makefile: Run it.
6892
20a71f2c
MK
68932012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
6894
6895 [BZ #11607]
6896 * string/str-two-way.h (two_way_short_needle): Optimize matching of
6897 the first character.
6898
21ad0558
RM
68992012-08-21 Roland McGrath <roland@hack.frob.com>
6900
6901 * csu/elf-init.c (__libc_csu_irel): Function removed.
6902 * csu/libc-start.c (apply_irel): New function.
6903 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
6904
0e1d9911
JM
69052012-08-21 Joseph Myers <joseph@codesourcery.com>
6906
6907 * sysdeps/unix/sysv/linux/kernel-features.h
6908 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
6909 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6910 <kernel-features.h>.
6911 [__NR_fadvise64_64]: Make code unconditional.
6912 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
6913 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
6914 !__NR_fadvise64_64)]: Likewise.
6915 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
6916 !__NR_fadvise64_64))]: Likewise.
6917 [__NR_fadvise64]: Make code unconditional.
6918 [!__NR_fadvise64]: Remove conditional code.
6919 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
6920 <kernel-features.h>.
6921 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6922 unconditional.
6923 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6924 conditional code.
6925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
6926 not include <kernel-features.h>.
6927 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6928 unconditional.
6929 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6930 conditional code.
6931 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
6932 include <kernel-features.h>.
6933 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6934 unconditional.
6935 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6936 conditional code.
6937
14a50c9d
WS
69382012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
6939
6940 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
6941 slight instruction rearrangements per scrollpipe analysis.
6942 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
6943
c0f4faf0
RM
69442012-08-20 Roland McGrath <roland@hack.frob.com>
6945
696da859
RM
6946 * manual/syslog.texi (syslog; vsyslog, closelog):
6947 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
6948 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
6949
c0f4faf0
RM
6950 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
6951 DSOCAPS to match condition on defining it.
6952
348363b2
JM
69532012-08-20 Joseph Myers <joseph@codesourcery.com>
6954
a35cbf28
JM
6955 * sysdeps/unix/sysv/linux/kernel-features.h
6956 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
6957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
6958 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6959 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
6961 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6962 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
6964 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6965 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6966
445f7ecd
JM
6967 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
6968 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
6969
348363b2
JM
6970 * sysdeps/unix/sysv/linux/kernel-features.h
6971 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
6972 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
6973 unconditional.
6974 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6975 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
6976 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
6977 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6978 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
6979 Make code unconditional.
6980 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6981 (__mmap64) [!__NR_mmap2]: Likewise.
6982 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
6983 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
6984 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6985 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
6986 [__NR_mmap2]: Make code unconditional.
6987 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6988 (__mmap64) [!__NR_mmap2]: Likewise.
6989
bc5bc0e5
AK
69902012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6991
6992 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
6993
88d506de
AJ
69942012-08-18 Andreas Jaeger <aj@suse.de>
6995
6996 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
6997
493387d2
MF
69982012-08-18 Mike Frysinger <vapier@gentoo.org>
6999
7000 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
7001 * include/unistd.h (__have_sock_cloexec): Likewise.
7002 (__have_pipe2): Likewise.
7003 (__have_dup3): Likewise.
7004
a277af22
MF
70052012-08-18 Mike Frysinger <vapier@gentoo.org>
7006
7007 [BZ #9685]
7008 * include/unistd.h (__have_pipe2): Change define into an extern int.
7009 (__have_dup3): Likewise.
7010 * socket/have_sock_cloexec.c: Include fcntl.h.
7011 (__have_pipe2): New variable.
7012 (__have_dup3): Likewise.
7013
fdab8fd3
MF
70142012-08-17 Mike Frysinger <vapier@gentoo.org>
7015
7016 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
7017
31035e80
MP
70182012-08-17 Marek Polacek <polacek@redhat.com>
7019
7020 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
7021 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
7022
3bd9e993
RM
70232012-08-17 Roland McGrath <roland@hack.frob.com>
7024
c91c505f
RM
7025 * configure.in: Add AC_SUBST for sysheaders.
7026 * configure: Regenerated.
7027 * config.make.in (sysheaders): New substituted variable.
7028
7c6f9d53
RM
7029 * sysdeps/unix/mkfifo.c: Moved ...
7030 * sysdeps/posix/mkfifo.c: ... here.
7031 * sysdeps/unix/mkfifoat.c: Moved ...
7032 * sysdeps/posix/mkfifoat.c: ... here.
7033
7034 * sysdeps/unix/utime.c: Moved ...
7035 * sysdeps/posix/utime.c: ... here.
7036
7037 * sysdeps/unix/time.c: Moved ...
7038 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
7039 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
7040 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
7041
7042 * sysdeps/unix/nice.c: Moved ...
7043 * sysdeps/posix/nice.c: ... here.
7044
7045 * sysdeps/unix/alarm.c: Moved ...
7046 * sysdeps/posix/alarm.c: ... here.
7047
3bd9e993
RM
7048 * intl/Makefile ($(codeset_mo)): Depend on the input file.
7049
d1f09384
JL
70502012-08-17 Jeff Law <law@redhat.com>
7051
7052 * intl/Makefile (codeset_mo): New variable.
7053 ($(codeset_mo)): New target.
7054 (tst-codeset.out): Depend on that. Remove explicit rule.
7055 (tst-gettext3.out, tst-gettext5.out): Likewise.
7056 (LOCPATH-ENV, tst-codeset-ENV): New variables.
7057 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
7058 * intl/tst-codeset.sh: Remove.
7059 * intl/tst-gettext3.sh: Likewise.
7060 * intl/tst-gettext5.sh: Likewise.
7061
2ae1ae5c
RM
70622012-08-17 Roland McGrath <roland@hack.frob.com>
7063
c31fdb83
RM
7064 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
7065 * sysdeps/unix/syscalls.list: ... here.
7066
a0844057
RM
7067 * sysdeps/posix/getaddrinfo.c
7068 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
7069 (gaiconf_init, gaiconf_reload): Use them.
7070 [!_STATBUF_ST_NSEC]
7071 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
7072 Define using time_t rather than struct timespec.
7073
750c1f2a
RM
7074 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
7075 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
7076 Macros removed.
7077 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
7078 [!NO_THREADS].
7079 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
7080 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
7081 Likewise.
7082
2ae1ae5c
RM
7083 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
7084 __libc_cleanup_push argument.
7085
e66a42f5
RM
7086 * bits/param.h: New file.
7087 * misc/sys/param.h: New file.
7088 * include/sys/param.h: New file.
7089 * misc/Makefile (headers): Add bits/param.h.
7090 * sysdeps/generic/sys/param.h: File removed.
7091 * sysdeps/unix/sysv/linux/bits/param.h: New file.
7092 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
7093 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 7094 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 7095
b7c08a66
RM
7096 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
7097 last change.
7098
b2e1c562
RM
7099 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
7100 [_IO_MTSAFE_IO].
7101 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
7102 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
7103 New macros.
7104
c75ccd4c
RM
7105 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
7106 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
7107 rather than -D_IO_MTSAFE_IO conditionally.
7108 * stdio-common/Makefile (CPPFLAGS): Likewise.
7109 * wcsmbs/Makefile (CPPFLAGS): Likewise.
7110 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
7111 Use $(libio-mtsafe).
7112 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
7113 of -D_IO_MTSAFE_IO.
7114 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
7115 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
7116 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
7117 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
7118 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
7119 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
7120 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
7121 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
7122 (CFLAGS-fread_u_chk.c): Likewise.
7123 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
7124 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
7125 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
7126 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
7127 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
7128 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
7129 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
7130 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
7131 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
7132
7133 * libio/Makefile: Test [$(libc-reentrant) = yes]
7134 instead of [$(filter %REENTRANT, $(defines)) nonempty].
7135
7136 * Makeconfig
7137 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
7138 * sysdeps/pthread/configure: File removed.
7139 * sysdeps/pthread/Makeconfig: New file.
7140 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
7141 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
7142
d9195db8
GB
71432012-08-16 Gary Benson <gbenson@redhat.com>
7144
7145 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
7146 unmapping the first object in a namespace.
7147
86466cd9
RM
71482012-08-16 Roland McGrath <roland@hack.frob.com>
7149
7150 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
7151 (__internal_setnetgrent): ... this. Add internal_function to
7152 definition. Add libc_hidden_def.
7153 (setnetgrent): Update caller.
7154 (internal_endnetgrent): Renamed to ...
7155 (__internal_endnetgrent): ... this. Add internal_function to
7156 definition. Add libc_hidden_def.
7157 (endnetgrent): Update caller.
7158 (internal_getnetgrent_r): Renamed to ...
7159 (__internal_getnetgrent_r): ... this. Add internal_function to
7160 definition. Add libc_hidden_def.
7161 (__getnetgrent_r): Update caller.
7162 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
7163
c3c8283c
JM
71642012-08-16 Joseph Myers <joseph@codesourcery.com>
7165
7166 * stdlib/longlong.h: Update from GCC.
7167
db1ee0a8
RM
71682012-08-16 Roland McGrath <roland@hack.frob.com>
7169
7170 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
7171 on _QL, which is set by umul_ppmm but never used.
7172 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
7173 variables, which are set by GMP macros but never used.
7174 * stdio-common/_itowa.c (_itowa): Likewise.
7175 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
7176 * stdlib/mod_1.c (mpn_mod_1): Likewise.
7177
30f69637
CD
71782012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
7179
7180 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
7181 struct La_sh_regs is not constant.
7182 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
7183 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
7184 and struct La_sparc64_regs are not constant.
7185
93a78ac4
JM
71862012-08-16 Joseph Myers <joseph@codesourcery.com>
7187
7188 * sysdeps/unix/sysv/linux/kernel-features.h
7189 (__ASSUME_POSIX_TIMERS): Remove.
7190 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7191 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7192 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
7193 Make code unconditional.
7194 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7195 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
7196 Make code unconditional.
7197 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7198 * sysdeps/unix/sysv/linux/clock_nanosleep.c
7199 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
7200 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7201 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
7202 Make code unconditional.
7203 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7204 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
7205 (__libc_missing_posix_timers): Remove.
7206
dd924cd7
RM
72072012-08-15 Roland McGrath <roland@hack.frob.com>
7208
4b4f2771
RM
7209 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
7210 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
7211
601c888b
RM
7212 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
7213
176790a7
RM
7214 * elf/dl-sym.c: Include <stdlib.h>.
7215
329bc018
RM
7216 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
7217 constants, which avoids warnings in 32-bit builds.
7218
e04e272d
RM
7219 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
7220 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
7221
952bf94a
RM
7222 * misc/lseek.c: File moved to ...
7223 * io/lseek.c: ... here.
7224
7c99b50a
RM
7225 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
7226
dd924cd7
RM
7227 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
7228 shifting LEN more than 31 bits at once.
7229
b3f479a8
LD
72302012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7231
7232 [BZ #14195]
8c4ae0d4
RM
7233 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
7234 segmentation fault for a case of two empty input strings.
b3f479a8
LD
7235 * string/test-strncasecmp.c (check1): Renamed to...
7236 (bz12205): ...this.
7237 (bz14195): Add new testcase for two empty input strings and N > 0.
7238 (test_main): Call new testcase, adapt for renamed function.
7239
9c55864e
AJ
72402012-08-15 Andreas Jaeger <aj@suse.de>
7241
7242 [BZ #14090]
7243 * crypt/md5test2.c: New test, based on test supplied by Serge
7244 Belyshev <belyshev@depni.sinp.msu.ru>.
7245 * crypt/Makefile (xtests): Add md5test-giant..
7246 * crypt/Makefile ($(objpfx)md5test-giant): Add.
7247
02dcb6c5
PE
72482012-08-15 Paul Eggert <eggert@cs.ucla.edu>
7249
7250 [BZ #14090]
7251 * crypt/md5.c (md5_process_block): Don't assume the buffer
7252 length is less than 2**32.
7253 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
7254 length is less than 2**64.
7255
a3f95dcc
RM
72562012-08-15 Roland McGrath <roland@hack.frob.com>
7257
be75d758
RM
7258 * string/str-two-way.h: Include <sys/param.h>.
7259 (MAX): Macro removed.
7260
7312ca90
RM
7261 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
7262 Move #define and #undef of memmove to just before and after
7263 including <string.h>.
7264
9a0a5486
RM
7265 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
7266 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
7267 and after including <string.h>. Move declarations of
7268 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
7269 to before #include "string/memmove.c".
7270
67cc348d
RM
7271 * include/dirent.h: Declare __getdirentries.
7272
a3f95dcc
RM
7273 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
7274 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
7275
ca98e171
MF
72762012-08-14 Mike Frysinger <vapier@gentoo.org>
7277
7278 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
7279 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
7280 * sysdeps/i386/configure: Regenerated.
7281 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
7282 STABS_CURRENT_FILE, and STABS_FUN.
7283 (END): Remove call to STABS_FUN_END.
7284 (STABS_CURRENT_FILE1): Delete.
7285 (STABS_CURRENT_FILE): Likewise.
7286 (STABS_FUN): Likewise.
7287 (STABS_FUN_END): Likewise.
7288 (STABS_FUN2): Likewise.
7289 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
7290 * sysdeps/x86_64/configure: Regenerated.
7291
5908bf46
RM
72922012-08-14 Roland McGrath <roland@hack.frob.com>
7293
7294 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 7295 * elf/dl-lookup.c: Likewise.
5908bf46 7296
f2c05b9e
JM
72972012-08-14 Joseph Myers <joseph@codesourcery.com>
7298
7299 * sysdeps/unix/sysv/linux/kernel-features.h
7300 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
7301 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
7302 unconditionally.
7303 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
7304 unconditionally.
7305 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
7306 condition on __ASSUME_CLONE_THREAD_FLAGS.
7307
e11f5155
AJ
73082012-08-14 Andreas Jaeger <aj@suse.de>
7309
7310 * sysdeps/i386/fpu/libm-test-ulps: Update.
7311
51a9ba86
MK
73122012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
7313
2fdd4f78
AJ
7314 * include/atomic.h (atomic_exchange_and_add): Split into ...
7315 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
7316 New atomic macros.
51a9ba86 7317
ba6cba9e
MT
73182012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
7319
7320 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7321
42443a47
JL
73222012-08-13 Jeff Law <law@redhat.com>
7323
7324 * manual/stdio.texi (snprintf): Clarify handling of the trailing
7325 null byte in the output string.
7326
121dce05
JM
73272012-08-10 Joseph Myers <joseph@codesourcery.com>
7328
7329 * sysdeps/unix/sysv/linux/kernel-features.h
7330 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
7331 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
7332 (__ASSUME_ARG_MAX_STACK_BASED): Define.
7333 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
7334 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
7335 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
7336 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
7337
bf51f568
JL
73382012-08-09 Jeff Law <law@redhat.com>
7339
7340 [BZ #13939]
7341 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
7342 When avoid_arena is set, don't retry in the that arena. Pick the
7343 next one, whatever it might be.
7344 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
7345 (arena_lock): Pass in new parameter to arena_get2.
7346 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
7347 arena_get2.
7348 (__libc_malloc): Unify retrying after main arena failure with
7349 __libc_memalign version.
7350 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
7351
f85fa270
L
73522012-08-09 H.J. Lu <hongjiu.lu@intel.com>
7353
7354 [BZ #14166]
7355 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
7356 to __redirect_strstr.
7357 (__strstr_sse42): Use typeof __redirect_strstr.
7358 (__strstr_ia32): Likewise.
7359 (__libc_strstr): New prototype.
7360 (strstr): Renamed to ...
7361 (__libc_strstr): This.
7362 (strstr): New strong alias of __libc_strstr.
7363 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
7364 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
7365 __redirect_time.
7366 Include <time.h>.
7367 (__libc_time): New prototype.
7368 (time_ifunc): Replace time with __libc_time.
7369 (time): New strong alias and hidden definition of __libc_time.
7370 (__GI_time): Remove strong alias.
7371 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
7372 Include <stddef.h>.
7373 (memmove): Redefined to __redirect_memmove.
7374 (__memmove_sse2): Use typeof __redirect_memmove.
7375 (__memmove_ssse3): Likewise.
7376 (__memmove_ssse3_back): Likewise.
7377 (__libc_memmove): New prototype.
7378 (memmove): Renamed to ...
7379 (__libc_memmove): This.
7380 (memmove): New strong alias of __libc_memmove.
7381
33b4a91e
MS
73822012-08-08 Mark Salter <msalter@redhat.com>
7383
7384 * elf/elf.h
7385 (R_MN10300_TLS_GD): Define.
7386 (R_MN10300_TLS_LD): Likewise.
7387 (R_MN10300_TLS_LDO): Likewise.
7388 (R_MN10300_TLS_GOTIE): Likewise.
7389 (R_MN10300_TLS_IE): Likewise.
7390 (R_MN10300_TLS_LE): Likewise.
7391 (R_MN10300_TLS_DTPMOD): Likewise.
7392 (R_MN10300_TLS_DTPOFF): Likewise.
7393 (R_MN10300_TLS_TPOFF): Likewise.
7394 (R_MN10300_SYM_DIFF): Likewise.
7395 (R_MN10300_ALIGN): Likewise.
7396 (R_MN10300_NUM): Update.
7397
b36137f1
JM
73982012-08-08 Joseph Myers <joseph@codesourcery.com>
7399
7400 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
7401 Remove.
7402
cdd915fd
RM
74032012-08-08 Roland McGrath <roland@hack.frob.com>
7404
a2433aac
RM
7405 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
7406
cdd915fd
RM
7407 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
7408 sysdeps/unix -> sysdeps/posix move.
7409 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
7410
bf9b740a
AM
74112012-08-07 Allan McRae <allan@archlinux.org>
7412
7413 [BZ #14303]
7414 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
7415 (SUNOS_CPP): Likewise.
7416 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
7417 not found.
7418 (open_input): Call CPP using execvp.
7419
93df14ee
JM
74202012-08-07 Joseph Myers <joseph@codesourcery.com>
7421
7422 * sysdeps/unix/sysv/linux/kernel-features.h
7423 (__ASSUME_PROT_GROWSUPDOWN): Remove.
7424 (__ASSUME_NO_CLONE_DETACHED): Likewise.
7425 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
7426 (__ASSUME_WAITID_SYSCALL): Likewise.
7427 * sysdeps/unix/sysv/linux/dl-execstack.c
7428 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
7429 code unconditional.
7430 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
7431 conditional code.
7432 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
7433 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
7434 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
7435 code.
7436 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
7437 unconditional.
7438 [__ASSUME_WAITID_SYSCALL]: Likewise.
7439 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
7440
d34689de
RM
74412012-08-07 Roland McGrath <roland@hack.frob.com>
7442
a281decc
RM
7443 * sysdeps/unix/closedir.c: Renamed to ...
7444 * sysdeps/posix/closedir.c: ... here.
7445 * sysdeps/unix/dirfd.c: Renamed to ...
7446 * sysdeps/posix/dirfd.c: ... here.
7447 * sysdeps/unix/dirstream.h: Renamed to ...
7448 * sysdeps/posix/dirstream.h: ... here.
7449 * sysdeps/unix/fdopendir.c: Renamed to ...
7450 * sysdeps/posix/fdopendir.c: ... here.
7451 * sysdeps/unix/opendir.c: Renamed to ...
7452 * sysdeps/posix/opendir.c: ... here.
7453 * sysdeps/unix/readdir.c: Renamed to ...
7454 * sysdeps/posix/readdir.c: ... here.
7455 * sysdeps/unix/readdir_r.c: Renamed to ...
7456 * sysdeps/posix/readdir_r.c: ... here.
7457 * sysdeps/unix/rewinddir.c: Renamed to ...
7458 * sysdeps/posix/rewinddir.c: ... here.
7459 * sysdeps/unix/seekdir.c: Renamed to ...
7460 * sysdeps/posix/seekdir.c: ... here.
7461 * sysdeps/unix/telldir.c: Renamed to ...
7462 * sysdeps/posix/telldir.c: ... here.
7463 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
7464 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
7465 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
7466 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
7467
22895b47
RM
7468 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
7469 * bits/fcntl.h: ... here.
7470
707a53b6
RM
7471 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
7472 not 0.
7473 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
7474 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
7475 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
7476 (struct flock): Move l_start, l_len to the beginning.
7477 Use __pid_t for l_pid.
7478 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
7479 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
7480 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
7481 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
7482 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
7483 [__USE_LARGEFILE64] (struct flock64): New type.
7484 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
7485
f0bd3e25
RM
7486 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
7487 * bits/dirent.h: ... here.
7488
d34689de
RM
7489 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
7490 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
7491
6dad2c06
JM
74922012-08-07 Joseph Myers <joseph@codesourcery.com>
7493
7494 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7495 Change from 2.6.0 to 2.6.16.
7496 * sysdeps/unix/sysv/linux/configure: Regenerated.
7497 * sysdeps/unix/sysv/linux/kernel-features.h
7498 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
7499 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
7500 version.
7501 (__ASSUME_UTIMES): Likewise.
7502 (__ASSUME_CLONE_STOPPED): Remove.
7503 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
7504 architectures, not kernel version.
7505 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
7506 (__ASSUME_NO_CLONE_DETACHED): Likewise.
7507 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
7508 (__ASSUME_WAITID_SYSCALL): Likewise.
7509 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
7510 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
7511 * README: State 2.6.16 as minimum Linux kernel version. Do not
7512 refer to older versions.
7513
03af9520
RM
75142012-08-06 Roland McGrath <roland@hack.frob.com>
7515
8e49df1d
RM
7516 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
7517 Define alphasort64 as an alias.
7518 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
7519 Define versionsort64 as an alias.
7520 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
7521 Define scandir64 as an alias.
7522 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
7523 Define scandirat64 as an alias.
7524 * dirent/alphasort64.c (alphasort64):
7525 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
7526 * dirent/versionsort64.c: Likewise.
7527 * dirent/scandir64.c: Likewise.
7528 * dirent/scandirat64.c: Likewise.
7529 * sysdeps/wordsize-64/alphasort.c: File removed.
7530 * sysdeps/wordsize-64/alphasort64.c: File removed.
7531 * sysdeps/wordsize-64/scandir.c: File removed.
7532 * sysdeps/wordsize-64/scandir64.c: File removed.
7533 * sysdeps/wordsize-64/scandirat.c: File removed.
7534 * sysdeps/wordsize-64/scandirat64.c: File removed.
7535 * sysdeps/wordsize-64/versionsort.c: File removed.
7536 * sysdeps/wordsize-64/versionsort64.c: File removed.
7537 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
7538 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
7539 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
7540 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
7541 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
7542 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
7543 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
7544 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
7545
7546 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
7547 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
7548 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
7549 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7550 [defined __arch64__ || defined __sparcv9]
7551 (__INO_T_MATCHES_INO64_T): New macro.
7552 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7553 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
7554 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
7555 * sysdeps/unix/sysv/linux/bits/dirent.h
7556 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
7557 (_DIRENT_MATCHES_DIRENT64): New macro.
7558
03af9520
RM
7559 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
7560 Define lockf64 as an alias.
7561 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
7562 Define fseeko64 as an alias.
7563 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
7564 Define ftello64 as an alias.
7565 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
7566 Define _IO_fgetpos64 and fgetpos64 as aliases.
7567 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
7568 Define _IO_fsetpos64 and fsetpos64 as aliases.
7569 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
7570 Conditionalize body on this.
7571 * libio/fseeko64.c: Likewise.
7572 * libio/ftello64.c: Likewise.
7573 * libio/iofgetpos64.c: Likewise.
7574 * libio/iofsetpos64.c: Likewise.
7575 * sysdeps/wordsize-64/lockf.c: File removed.
7576 * sysdeps/wordsize-64/lockf64.c: File removed.
7577 * sysdeps/wordsize-64/fseeko.c: File removed.
7578 * sysdeps/wordsize-64/fseeko64.c: File removed.
7579 * sysdeps/wordsize-64/ftello.c: File removed.
7580 * sysdeps/wordsize-64/ftello64.c: File removed.
7581 * sysdeps/wordsize-64/iofgetpos.c: File removed.
7582 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
7583 * sysdeps/wordsize-64/iofsetpos.c: File removed.
7584 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
7585 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
7586 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
7587 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
7588 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
7589 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
7590 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
7591 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
7592 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
7593 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
7594 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
7595
7596 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
7597 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
7598 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
7599 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7600 [defined __arch64__ || defined __sparcv9]
7601 (__OFF_T_MATCHES_OFF64_T): New macro.
7602 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7603 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
7604 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7605 (__OFF_T_MATCHES_OFF64_T): New macro.
7606
c5757acd
L
76072012-08-06 H.J. Lu <hongjiu.lu@intel.com>
7608
7609 * stdlib/secure-getenv.c (__secure_getenv): Replace
7610 GLIBC_2_16 with GLIBC_2_17.
7611
3a31811e
L
76122012-08-06 H.J. Lu <hongjiu.lu@intel.com>
7613
7614 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
7615 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
7616
faa2bccb
DM
76172012-08-03 David S. Miller <davem@davemloft.net>
7618
7619 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7620
85fe1997
JM
76212012-08-03 Joseph Myers <joseph@codesourcery.com>
7622
7623 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
7624 Remove.
7625 (__ASSUME_CORRECT_SI_PID): Likewise.
7626 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
7627 (__ASSUME_TMPFS_NAME): Likewise.
7628 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
7629 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
7630 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
7631 (HAVE_AUX_SECURE): Make definition unconditional.
7632 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
7633 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
7634
4f75b7a0
RM
76352012-08-03 Roland McGrath <roland@hack.frob.com>
7636
7637 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
7638 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
7639 * sysdeps/mach/hurd/eloop-threshold.h: New file.
7640 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
7641 __eloop_threshold instead of SYMLOOP_MAX.
7642
7643 * sysdeps/generic/eloop-threshold.h: New file.
7644 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
7645 of MAXSYMLINKS.
7646 * elf/chroot_canon.c (chroot_canon): Likewise.
7647
7aab07e4
JM
76482012-08-03 Joseph Myers <joseph@codesourcery.com>
7649
7650 [BZ #13717]
7651 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7652 Change to 2.6.0 everywhere.
7653 * sysdeps/unix/sysv/linux/configure: Regenerated.
7654 * sysdeps/unix/sysv/linux/kernel-features.h
7655 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
7656 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
7657 kernel versions.
7658 (__ASSUME_POSIX_TIMERS): Define unconditionally.
7659 (__ASSUME_FUTEX_REQUEUE): Remove.
7660 (__ASSUME_STATFS64): Define unconditionally.
7661 (__ASSUME_AT_SECURE): Likewise.
7662 (__ASSUME_CORRECT_SI_PID): Likewise.
7663 (__ASSUME_TGKILL): Define without depending on kernel version for
7664 i386.
7665 (__ASSUME_UTIMES): Likewise.
7666 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
7667 kernel version.
7668 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
7669 (__ASSUME_TMPFS_NAME): Likewise.
7670 * README: Update reference to Linux kernel versions.
7671
b67e9372
MP
76722012-08-02 Marek Polacek <polacek@redhat.com>
7673
1f529f7d 7674 [BZ# 14150]
b67e9372
MP
7675 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
7676 libc_cv_asm_type_prefix with %.
7677 * configure: Regenerated.
d2441631
RM
7678 * include/libc-symbols.h: Remove comment about
7679 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
7680 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
7681 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
7682 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
7683 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
7684 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
7685 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
7686 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
7687 * elf/tst-unique2mod1.c: Likewise.
7688 * elf/tst-unique1mod2.c: Likewise.
7689 * elf/tst-unique1mod1.c: Likewise.
7690 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
7691 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
7692 Replace ASM_TYPE_DIRECTIVE with .type.
7693 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7694 * sysdeps/i386/sysdep.h: Likewise.
7695 * sysdeps/x86_64/sysdep.h: Likewise.
7696 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
7697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
7698 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 7699 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
7700 * sysdeps/powerpc/powerpc32/sysdep.h:
7701 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
7702 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
7703 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7704 * sysdeps/i386/fpu/e_powf.S: Likewise.
7705 * sysdeps/i386/fpu/e_expl.S: Likewise.
7706 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7707 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7708 * sysdeps/i386/fpu/e_pow.S: Likewise.
7709 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
7710 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7711 * sysdeps/i386/fpu/s_expm1.S: Likewise.
7712 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7713 * sysdeps/i386/fpu/e_log2.S: Likewise.
7714 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7715 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7716 * sysdeps/i386/fpu/e_powl.S: Likewise.
7717 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7718 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
7719 * sysdeps/i386/fpu/e_logl.S: Likewise.
7720 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
7721 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7722 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
7723 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7724 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7725 * sysdeps/i386/fpu/e_log.S: Likewise.
7726 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7727 * sysdeps/i386/fpu/e_logf.S: Likewise.
7728 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7729 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7730 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
7731 * sysdeps/i386/fpu/e_log10.S: Likewise.
7732 * sysdeps/i386/fpu/s_frexp.S: Likewise.
7733 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7734 * sysdeps/i386/fpu/s_asinh.S: Likewise.
7735 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
7736 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7737 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
7738 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
7739 * sysdeps/i386/i686/strtok.S: Likewise.
7740 * sysdeps/i386/i386-mcount.S: Likewise.
7741 * sysdeps/i386/strtok.S: Likewise.
7742 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
7743 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7744 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7745 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7746 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
7747 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7748 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
7749 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
7750 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7751 * sysdeps/x86_64/_mcount.S: Likewise.
7752 * sysdeps/x86_64/strtok.S: Likewise.
7753 * sysdeps/sh/_mcount.S: Likewise.
7754
2747bf9a
RM
77552012-08-01 Roland McGrath <roland@hack.frob.com>
7756
7757 * libio/iofopen.c: Include <fcntl.h>.
7758 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
7759 (_IO_fopen64, fopen64): Define as aliases.
7760 * libio/iofopen64.c: Include <fcntl.h>.
7761 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
7762 Conditionalize body on this.
7763 * sysdeps/wordsize-64/iofopen.c: File removed.
7764 * sysdeps/wordsize-64/iofopen64.c: File removed.
7765
3fb791b8
MP
77662012-08-01 Marek Polacek <polacek@redhat.com>
7767
7768 * libc/Makeconfig: Use elf in place of binfmt-subdir.
7769 Use dlfcn directly instead of a variable.
7770 (binfmt-subdir): Do not define.
7771 (dlfcn): Likewise.
7772
a9f1039f
JM
77732012-08-01 Joseph Myers <joseph@codesourcery.com>
7774
23bddc06
JM
7775 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
7776 Remove all definitions.
7777 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
7778 <kernel-features.h>.
7779 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
7780 (miss_F_GETOWN_EX): Remove all definitions.
7781 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
7782 macro definition.
7783 [!__ASSUME_FCNTL64]: Remove conditional code.
7784 [__ASSUME_FCNTL64]: Make code unconditional.
7785 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
7786 <kernel-features.h>.
7787 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
7788 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
7789 (lockf64) [__NR_fcntl64]: Make code unconditional.
7790 (lockf64) [__ASSUME_FCNTL64]: Likewise.
7791
a9f1039f
JM
7792 * sysdeps/unix/sysv/linux/kernel-features.h
7793 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
7794 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
7795 Make code unconditional.
7796 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7797 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
7799 [__NR_vfork]: Make code unconditional.
7800 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7801 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
7803 [__NR_vfork]: Make code unconditional.
7804 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7805 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7806
09c0ee5f
RM
78072012-08-01 Roland McGrath <roland@hack.frob.com>
7808
48aec5b9
RM
7809 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
7810 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
7811
cd97c966
RM
7812 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7813 Define mkstemp64 as an alias.
3f55550c
RM
7814 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7815 Define mkstemps64 as an alias.
cd97c966
RM
7816 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7817 Define mkostemp64 as an alias.
b8625cfc
RM
7818 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7819 Define mkostemps64 as an alias.
cd97c966
RM
7820 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
7821 Conditionalize body on this.
7822 * misc/mkostemp64.c: Likewise.
b8625cfc 7823 * misc/mkostemps64.c: Likewise.
3f55550c 7824 * misc/mkstemps64.c: Likewise.
cd97c966
RM
7825 * sysdeps/wordsize-64/mkstemp64.c: File removed.
7826 * sysdeps/wordsize-64/mkostemp64.c: File removed.
7827 * sysdeps/wordsize-64/mkostemp.c: File removed.
7828 * sysdeps/wordsize-64/mkstemp.c: File removed.
7829 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
7830 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
7831 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
7832 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
7833
09c0ee5f
RM
7834 [BZ #14138]
7835 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
7836 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
7837 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
7838 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
7839
7840 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
7841 compat_symbol macros from <shlib-compat.h> rather than the underlying
7842 default_symbol_version and symbol_version macros, so that DEFAULT
7843 lines in shlib-versions are respected.
7844 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
7845
7e66ee51
FW
78462012-08-01 Florian Weimer <fweimer@redhat.com>
7847
7848 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
7849 Declare with warn_unused_result.
7850 (setgid, setregid, setegid, setresgid): Likewise.
7851 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
7852 Likewise.
7853 * WUR-REPORT: Remove set*id functions.
7854
d2a54255
PT
78552012-07-31 Pino Toscano <toscano.pino@tiscali.it>
7856
7857 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
7858
7ecdb005
RM
78592012-07-31 Roland McGrath <roland@hack.frob.com>
7860
789bd351
RM
7861 * include/sys/socket.h (__libc_accept, __libc_accept4):
7862 Add attribute_hidden.
7863 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
7864
40ce302d
RM
7865 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
7866 use of PTR_MANGLE.
7867 * inet/getnetgrent_r.c (setup): Likewise.
7868
7ecdb005
RM
7869 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
7870
e2eabb2c
DM
78712012-07-31 David S. Miller <davem@davemloft.net>
7872
7873 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7874
d0419dbf
JM
78752012-07-31 Joseph Myers <joseph@codesourcery.com>
7876
7877 [BZ #13629]
7878 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
7879 value between 1.0 and 2.0 and smaller part has absolute value less
7880 than 1.0.
7881 * math/s_clog10.c (__clog10): Likewise.
7882 * math/s_clog10f.c (__clog10f): Likewise.
7883 * math/s_clog10l.c (__clog10l): Likewise.
7884 * math/s_clogf.c (__clogf): Likewise.
7885 * math/s_clogl.c (__clogl): Likewise.
7886 * math/libm-test.inc (clog_test): Add more tests.
7887 (clog10_test): Likewise.
7888 * sysdeps/i386/fpu/libm-test-ulps: Update.
7889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7890
2bc13872
FW
78912012-07-31 Florian Weimer <fweimer@redhat.com>
7892
7893 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
7894 Exit with zero in case no suitable GID is found, and write a
7895 message to standard error.
7896
bea9b193
RM
78972012-07-30 Roland McGrath <roland@hack.frob.com>
7898
7899 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
7900 rather than to 1.
7901 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
7902 (MAXPATHLEN): Removed.
7903 (NOGROUP, NODEV): New macros.
7904 (setbit, clrbit, isset, isclr): New macros.
7905 (howmany, roundup, powerof2): New macros.
7906 (DEV_BSIZE): New macro.
7907
7908 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
7909 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
7910
7911 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
7912 definition on [!__NO_LONG_DOUBLE_MATH].
7913
7914 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
7915 PTR_MANGLE and PTR_DEMANGLE.
7916
7917 * socket/accept4.c (accept4): Rename to __libc_accept4.
7918 Define accept4 as a weak alias.
7919
7920 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
7921 on [_DIRENT_HAVE_D_TYPE].
7922 * io/ftw.c (ftw_dir): Likewise.
7923
7924 * io/xmknod.c (__xmknod): Don't check PATH for being null.
7925
7926 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
7927
7928 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
7929 Use the BSD numbers rather than the arbitrary ones we had.
7930 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
7931 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
7932 (SIGXCPU, SIGXFSZ): New macros.
7933 (_NSIG): Now 32.
7934
7935 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
7936 initializer on [_LIBC_REENTRANT].
7937
7938 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
7939 definitions inside [_POSIX_MAPPED_FILES].
7940
7941 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
7942
7943 * dirent/opendir.c: Include <fcntl.h>.
7944
7945 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
7946 (__libc_getspecific): Likewise.
7947 (__libc_key_create): Likewise.
7948
7949 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
7950 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
7951 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
7952 (tmpfile64): Define as alias.
7953 * sysdeps/wordsize-64/tmpfile.c: File removed.
7954 * sysdeps/wordsize-64/tmpfile64.c: File removed.
7955 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
7956 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
7957
7958 * stdio-common/vfscanf.c: Include <stdbool.h>.
7959 * nss/makedb.c: Likewise.
7960 * stdio-common/_i18n_number.h: Likewise.
7961 * argp/argp-help.c: Likewise.
7962 * posix/wordexp.c: Likewise.
7963 * sysdeps/posix/spawni.c: Likewise.
7964 * nss/nss_files/files-initgroups.c: Likewise.
7965 * stdio-common/reg-modifier.c: Include <stdlib.h>.
7966 * nss/nss_files/files-initgroups.c: Likewise.
7967 * nss/nss_db/db-netgrp.c: Likewise.
7968 * nss/nss_db/db-initgroups.c: Likewise.
7969 * io/fchmodat.c: Include <sys/stat.h>.
7970
7971 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
7972 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
7973
7974 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
7975 [HAVE_MMAP].
7976
7977 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
7978 Add multiple inclusion protection.
7979
e5abc686
DM
79802012-07-27 David S. Miller <davem@davemloft.net>
7981
7982 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7983
815e6fa3
GB
79842012-07-27 Gary Benson <gbenson@redhat.com>
7985
7986 [BZ #14298]
7987 * elf/rtld.c: Include <stap-probe.h>.
7988 (dl_main): Added static probes "init_start" and "init_complete".
7989 * elf/dl-load.c: Include <stap-probe.h>.
7990 (lose): Take new parameter "nsid".
7991 Added static probe "map_failed".
7992 (_dl_map_object_from_fd): Pass namespace id to lose.
7993 Added static probe "map_start".
7994 (open_verify): Pass namespace id to lose.
7995 * elf/dl-open.c: Include <stap-probe.h>.
7996 (dl_open_worker) Added static probes "map_complete", "reloc_start"
7997 and "reloc_complete".
7998 * elf/dl-close.c: Include <stap-probe.h>.
7999 (_dl_close_worker): Added static probes "unmap_start" and
8000 "unmap_complete".
8001 * elf/rtld-debugger-interface.txt: New file documenting the above.
8002
9f98c16c
RM
80032012-07-26 Roland McGrath <roland@hack.frob.com>
8004
8005 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
8006 rather than a string variable.
8007 * sunrpc/rpc_main.c (h_output): Likewise.
8008 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
8009
f3c22df3
PT
80102012-07-26 Pino Toscano <toscano.pino@tiscali.it>
8011
8012 * inet/check_native.c: New file.
8013
3129cfc6
JM
80142012-07-26 Joseph Myers <joseph@codesourcery.com>
8015
da865e95
JM
8016 [BZ #13629]
8017 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
8018 if larger part has absolute value 1.0.
8019 * math/s_clog10.c (__clog10): Likewise.
8020 * math/s_clog10f.c (__clog10f): Likewise.
8021 * math/s_clog10l.c (__clog10l): Likewise.
8022 * math/s_clogf.c (__clogf): Likewise.
8023 * math/s_clogl.c (__clogl): Likewise.
8024 * math/libm-test.inc (clog_test): Add more tests.
8025 (clog10_test): Likewise.
8026 * sysdeps/i386/fpu/libm-test-ulps: Update.
8027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8028
3129cfc6
JM
8029 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
8030 (pltexit): Likewise.
8031 (La_regs): Likewise.
8032 (La_retval): Likewise.
8033 (int_retval): Likewise.
8034 Update #error for removed macros to refer only to definitions in
8035 tst-audit.h.
8036 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
8037 macro.
8038 (pltexit): Likewise.
8039 (La_regs): Likewise.
8040 (La_retval): Likewise.
8041 (int_retval): Likewise.
8042 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
8043 macro.
8044 (pltexit): Likewise.
8045 (La_regs): Likewise.
8046 (La_retval): Likewise.
8047 (int_retval): Likewise.
8048 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
8049 macro.
8050 (pltexit): Likewise.
8051 (La_regs): Likewise.
8052 (La_retval): Likewise.
8053 (int_retval): Likewise.
8054 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
8055 macro.
8056 (pltexit): Likewise.
8057 (La_regs): Likewise.
8058 (La_retval): Likewise.
8059 (int_retval): Likewise.
8060 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
8061 macro.
8062 (pltexit): Likewise.
8063 (La_regs): Likewise.
8064 (La_retval): Likewise.
8065 (int_retval): Likewise.
8066 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
8067 macro.
8068 (pltexit): Likewise.
8069 (La_regs): Likewise.
8070 (La_retval): Likewise.
8071 (int_retval): Likewise.
8072 * sysdeps/generic/tst-audit.h: Update comment to refer only to
8073 macro definitions in tst-audit.h.
8074 * sysdeps/i386/tst-audit.h: New file.
8075 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
8076 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
8077 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
8078 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
8079 * sysdeps/sh/tst-audit.h: Likewise.
8080 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
8081 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
8082 * sysdeps/x86_64/tst-audit.h: Likewise.
8083
bfc07087
AJ
80842012-07-26 Andreas Jaeger <aj@suse.de>
8085
b1b2aaf8
AJ
8086 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
8087 ptrace.
8088
8089 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
8090 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
8091 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
8092 PTRACE_O_MASK.
8093 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
8094 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
8095 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
8096
bfc07087
AJ
8097 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
8098 value.
8099
8100 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
8101 _sigsys.
8102 (si_call_addr, si_syscall, si_arch): Define new macro.
8103 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
8104 _sigsys.
8105 (si_call_addr, si_syscall, si_arch): Define new marcro.
8106 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
8107 _sigsys.
8108 (si_call_addr, si_syscall, si_arch): Define new macro.
8109 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
8110 _sigsys.
8111 (si_call_addr, si_syscall, si_arch): Define new macro.
8112
89b4b02f
JM
81132012-07-25 Joseph Myers <joseph@codesourcery.com>
8114
8115 [BZ #13717]
8116 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8117 Change to 2.4.21 where previously 2.4.1.
8118 * sysdeps/unix/sysv/linux/configure: Regenerated.
8119 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
8120 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
8121 Linux kernel version.
8122 (__ASSUME_STD_AUXV): Remove.
8123 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
8124 kernel version.
8125 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
8126 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
8127 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
8128 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
8129 (__ASSUME_NETLINK_SUPPORT): Likewise.
8130 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
8131 (__no_netlink_support): Remove conditional definition.
8132 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
8133 Remove.
8134 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
8135 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
8136 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
8137 (if_nameindex_ioctl): Remove.
8138 (if_nameindex_netlink): Do not handle __no_netlink_support.
8139 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
8140 code.
8141 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
8142 Remove conditional code.
8143 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
8144 code.
8145 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
8146 unconditional.
8147 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
8148 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
8149 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
8150 Remove.
8151 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
8152 [!__ASSUME_STD_AUXV]: Remove conditional code.
8153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
8154 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
8155 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
8156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
8157 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
8158 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
8159 code.
8160 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
8161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8162 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
8163 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
8164 conditional code.
8165 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
8166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8167 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
8168 code.
8169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8170 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
8171 conditional code.
8172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
8173 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8174 code unconditional.
8175 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8176 conditional code.
8177 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8178 unconditional.
8179 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8180 conditional code.
8181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8182 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8183 unconditional.
8184 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8185 conditional code.
8186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
8187 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8188 code unconditional.
8189 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8190 conditional code.
8191 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8192 unconditional.
8193 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8194 conditional code.
8195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
8196 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8197 code unconditional.
8198 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8199 conditional code.
8200 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8201 unconditional.
8202 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8203 conditional code.
8204
842a39cd
AS
82052012-07-25 Andreas Schwab <schwab@linux-m68k.org>
8206
8207 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
8208 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
8209 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8210 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
8211 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
8212 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
8213 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8214 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
8215 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
8216 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
8217 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
8218 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
8219 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
8220 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8221 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
8222 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
8223 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
8224 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
8225 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
8226 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
8227 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
8228 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
8229 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8230
84b3fd84
FW
82312012-07-25 Florian Weimer <fweimer@redhat.com>
8232
8233 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
8234 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
8235 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
8236 Introduce __libc_secure_getenv.
0c7936d5
FW
8237 * stdlib/Versions (2.17): Add secure_getenv
8238 (GLIBC_PRIVATE): Add __libc_secure_getenv.
8239 * stdlib/secure-getenv.c: Rename __secure_getenv to
8240 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
8241 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
8242 * stdlib/tst-secure-getenv.c: New.
8243 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
8244 * manual/startup.texi (Environment Access): Document
8245 secure_getenv.
84b3fd84
FW
8246 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
8247 __libc_secure_getenv.
8248 * inet/ruserpass.c (ruserpass): Likewise.
8249 * malloc/mtrace.c (mtrace): Likewise.
8250 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 8251 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
8252 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
8253 * sysdeps/posix/tempname.c: Likewise. Evaluate
8254 HAVE_SECURE_GETENV.
8255 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 8256 __secure_getenv to __libc_secure_getenv.
84b3fd84 8257 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
8258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8259 Likewise.
8260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8261 Likewise.
8262 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
8263 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
8264 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8265 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
8266 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
8267 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8268 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 8269
56e49b71
JM
82702012-07-25 Joseph Myers <joseph@codesourcery.com>
8271
8272 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
8273 (struct La_i86_retval): Likewise.
8274 (struct La_x86_64_regs): Likewise.
8275 (struct La_x86_64_retval): Likewise.
8276 (struct La_x32_regs): Likewise.
8277 (struct La_x32_retval): Likewise.
8278 (struct La_ppc32_regs): Likewise.
8279 (struct La_ppc32_retval): Likewise.
8280 (struct La_ppc64_regs): Likewise.
8281 (struct La_ppc64_retval): Likewise.
8282 (struct La_sh_regs): Likewise.
8283 (struct La_sh_retval): Likewise.
8284 (struct La_s390_32_regs): Likewise.
8285 (struct La_s390_32_retval): Likewise.
8286 (struct La_s390_64_regs): Likewise.
8287 (struct La_s390_64_retval): Likewise.
8288 (struct La_sparc32_regs): Likewise.
8289 (struct La_sparc32_retval): Likewise.
8290 (struct La_sparc64_regs): Likewise.
8291 (struct La_sparc64_retval): Likewise.
8292 (struct audit_ifaces): Remove architecture-specific pltenter and
8293 pltexit members.
8294 * sysdeps/i386/ldsodefs.h: New file.
8295 * sysdeps/powerpc/ldsodefs.h: Likewise.
8296 * sysdeps/s390/ldsodefs.h: Likewise.
8297 * sysdeps/sh/ldsodefs.h: Likewise.
8298 * sysdeps/sparc/ldsodefs.h: Likewise.
8299 * sysdeps/x86_64/ldsodefs.h: Likewise.
8300
354691b7
MP
83012012-07-25 Marek Polacek <polacek@redhat.com>
8302
8303 [BZ #6808]
8304 * math/libm-test.inc (yn_test): Add another test.
8305 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
8306 to ERANGE when the result is +-Inf.
8307 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
8308 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
8309 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
8310 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
8311
bf9e2071
JM
83122012-07-24 Joseph Myers <joseph@codesourcery.com>
8313
8314 * conform/data/time.h-data (NULL): Use macro-constant. Require
8315 equal to 0.
8316 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
8317 clock_t.
8318 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
8319
57633811
TS
83202012-07-23 Thomas Schwinge <thomas@codesourcery.com>
8321
8322 * configure.in <sysdeps resolving>: Correct printing
8323 Implies_before.
8324 * configure: Regenerate.
8325
c23c33b0
TS
83262012-07-22 Thomas Schwinge <thomas@codesourcery.com>
8327
8328 * math/w_ilogb.c: Include <limits.h>.
8329 * math/w_ilogbl.c: Likewise.
8330
b5982523
JM
83312012-07-20 Joseph Myers <joseph@codesourcery.com>
8332
8333 * manual/lang.texi (__va_copy): Document primarily as ISO C99
8334 va_copy. Document allowing for unavailable va_copy only as
8335 pre-C99 compatibility.
8336 * manual/string.texi (Copying and Concatenation): Use va_copy
8337 instead of __va_copy in concat example.
8338
ac4ea442
PT
83392012-07-20 Pino Toscano <toscano.pino@tiscali.it>
8340
8341 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
8342 (__sendto): Use create_address_port. Initialize APORT and deallocate
8343 it if not null.
8344
f98eafbd
PT
8345 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
8346 with O_NOLINK passed to __file_name_lookup.
8347
898c7aab
PT
8348 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
8349 with O_NOLINK passed to __file_name_lookup.
8350
0ced335a
PT
8351 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
8352 negative N or less than NGIDS.
8353
b3404dbd
PT
8354 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
8355 type to string_t. Set ERANGE as errno and return it if NAME is not big
8356 enough. Use memcpy instead of strncpy.
8357
0f48659e
JM
83582012-07-20 Joseph Myers <joseph@codesourcery.com>
8359
8360 * elf/Makefile (check-data): Remove.
8361 (localplt.data): New vpath directive.
8362 ($(objpfx)check-localplt.out): Use localplt.data from vpath
8363 instead of $(check-data).
8364 * scripts/data/localplt-generic.data: Move to ...
8365 * sysdeps/generic/localplt.data: ... here.
8366 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
8367 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
8368 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
8369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
8370 ... here.
8371 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
8372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
8373 ... here.
8374 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
8375 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
8376 ... here.
8377 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
8378 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
8379 ... here.
8380 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
8381 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
8382 ... here.
8383 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
8384 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
8385 ... here.
8386
d37cbdaa
AZ
83872012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8388
8389 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
8390 PPC32 and PPC64 files.
8391 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
8392 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
8393
46f85fc2
AK
83942012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8395
8396 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
8397 __makecontext_ret to ...
8398 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
8399 ... here and call exit if uc_link is NULL. New file.
8400 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
8401 __makecontext_ret.S.
8402 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
8403 __makecontext_ret to ...
8404 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
8405 ... here and call exit if uc_link is NULL. New file.
8406 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
8407 __makecontext_ret.S.
8408
08f43f9b
AK
84092012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8410
8411 * elf/elf.h (R_390_IRELATIVE): New definition.
8412 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
8413 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
8414 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
8415 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
8416 (elf_machine_lazy_rel): Likewise.
8417 * sysdeps/s390/dl-irel.h: New file.
8418 * sysdeps/s390/s390-64/memcpy.S: New asm code.
8419 * sysdeps/s390/s390-64/memset.S: New asm code.
8420 * sysdeps/s390/s390-64/memcmp.S: New asm code.
8421 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
8422 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
8423 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
8424 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
8425 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
8426 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
8427 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
8428 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
8429 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
8430 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
8431 * sysdeps/s390/s390-32/memcpy.S: New asm code.
8432 * sysdeps/s390/s390-32/memset.S: New asm code.
8433 * sysdeps/s390/s390-32/memcmp.S: New asm code.
8434
3b05db33
MP
84352012-07-17 Marek Polacek <polacek@redhat.com>
8436
8437 [BZ #14349]
8438 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
8439 * sysdeps/s390/s390-64/configure.in: Likewise.
8440 * sysdeps/sparc/configure.in: Likewise.
8441 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
8442 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
8443 * sysdeps/i386/configure.in: Likewise.
8444 * sysdeps/x86_64/configure.in: Likewise.
8445 * sysdeps/sh/configure.in: Likewise.
8446 * sysdeps/s390/s390-32/configure: Regenerated.
8447 * sysdeps/s390/s390-64/configure: Likewise.
8448 * sysdeps/x86_64/configure: Likewise.
8449 * sysdeps/sh/configure: Likewise.
8450 * sysdeps/powerpc/powerpc64/configure: Likewise.
8451 * sysdeps/powerpc/powerpc32/configure: Likewise.
8452 * sysdeps/sparc/configure: Likwise.
8453 * sysdeps/i386/configure: Likewise.
8454
a66877c6
MP
8455 * elf/dl-open.c: Comment fixes.
8456
cfc82fd8
JM
84572012-07-17 Joseph Myers <joseph@codesourcery.com>
8458
bd29910a
JM
8459 * Makefile [CXX] (check-data): Remove.
8460 [CXX] (c++-types.data): New vpath directive.
8461 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
8462 vpath. Do not allow for C++ type data being missing.
8463 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
8464 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
8465 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
8466 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
8467 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
8468 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
8469 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
8470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
8471 ... here.
8472 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
8473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
8474 ... here.
8475 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
8476 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
8477 ... here.
8478 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
8479 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
8480 ... here.
8481 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
8482 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
8483 ... here.
8484 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
8485 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
8486 ... here.
8487 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
8488 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
8489 ... here.
8490 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
8491 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
8492
cfc82fd8
JM
8493 * elf/tls-macros.h (TLS_LE): Move architecture-specific
8494 definitions to architecture-specific files.
8495 (TLS_IE): Likewise.
8496 (TLS_LD): Likewise.
8497 (TLS_GD): Likewise.
8498 * sysdeps/i386/tls-macros.h: New file.
8499 * sysdeps/powerpc/tls-macros.h: Likewise.
8500 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
8501 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
8502 * sysdeps/sh/tls-macros.h: Likewise.
8503 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
8504 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
8505 * sysdeps/x86_64/tls-macros.h: Likewise.
8506
f7db3170
TS
85072012-07-17 Thomas Schwinge <thomas@codesourcery.com>
8508
07cbfc23
TS
8509 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
8510 zero value for regular exit case.
8511
f7db3170
TS
8512 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
8513 (__start_context): Preserve zero value for regular exit case.
8514
dc97c227
TS
85152012-07-17 Thomas Schwinge <thomas@codesourcery.com>
8516 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8517
8518 * manual/setjmp.texi (setcontext): Clarify normal process
8519 termination when uc_link is the null pointer.
8520 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
8521 exit call.
8522
d0cd7d02
AS
85232012-07-16 Andreas Schwab <schwab@linux-m68k.org>
8524
8525 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
8526 preprocessor. Test for each exception mask separately.
8527
dd318934
AJ
85282012-07-16 Andreas Jaeger <aj@suse.de>
8529
8530 * po/ru.po: Update from translation team.
8531
8048311a
JM
85322012-07-15 Joseph Myers <joseph@codesourcery.com>
8533
8534 * conform/data/string.h-data (NULL): Use macro-constant. Require
8535 equal to 0.
8536 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
8537 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
8538 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
8539 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
8540 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8541
b637d46e
AJ
85422012-07-13 Andreas Jaeger <aj@suse.de>
8543
8544 * po/fr.po: Update from translation team.
8545
541428fe
MP
85462012-07-12 Marek Polacek <polacek@redhat.com>
8547
8548 [BZ #14173]
8549 * math/libm-test.inc (yn_test): Add test for BZ #14173.
8550 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
8551 loop condition.
8552
ec332e94
JM
85532012-07-12 Joseph Myers <joseph@codesourcery.com>
8554
8555 [BZ #13717]
8556 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8557 Change to 2.4.1 where previously 2.4.0.
8558 * sysdeps/unix/sysv/linux/configure: Regenerated.
8559 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
8560 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
8561 version.
8562 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
8563 (__ASSUME_AT_CLKTCK): Remove.
8564 (__ASSUME_AT_PAGESIZE): Likewise.
8565 (__ASSUME_AT_XID): Likewise.
8566 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
8567 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
8568 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
8569 unconditionally.
8570 (HAVE_AUX_PAGESIZE): Likewise.
8571 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
8572 [__ASSUME_AT_CLKTCK]: Make code unconditional.
8573 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
8574
7b6e99be
JB
85752012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
8576
8577 [BZ #14307]
8578 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
8579 the temporary buffer used to invoke __gethostbyname2_r,
8580 __gethostbyaddr_r and gethostbyname4_r to make room for struct
8581 host_data / struct gaih_addrtuple.
8582 * resolv/nss_dns/dns-host.c (global scope): Move definition of
8583 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
8584 header file nss/nsswitch.h.
8585 * nss/nsswitch.h (global scope): Add definition of implementation
8586 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
8587 resolv/nss_dns/dns-host.c).
8588
608404eb
AJ
85892012-07-11 Andreas Jaeger <aj@suse.de>
8590
8591 * po/fr.po: Update from translation team.
8592
71220aca
AJ
8593 * po/sv.po: Update from translation team
8594 * po/fr.po: Another update from translation team.
8595
28cfe843
AZ
85962012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8597
8598 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
8599 for subnormals or multiply small sinh result by itself.
8600 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8601 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8602
6b90f981
DM
86032012-07-11 David S. Miller <davem@davemloft.net>
8604
8605 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8606
c6825772
AS
86072012-07-10 Andreas Schwab <schwab@linux-m68k.org>
8608
8609 [BZ #14347]
8610 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
8611 (INTERNAL_MARK): Shift it here.
8612
7b8e0d49
MP
86132012-07-10 Marek Polacek <polacek@redhat.com>
8614
8615 [BZ #14151]
8616 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
8617 libc_cv_asm_global_directive with .globl.
8618 * configure: Regenerated.
8619 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
8620 with .globl.
8621 * sysdeps/i386/configure: Regenerated.
8622 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
8623 with .globl.
8624 * sysdeps/x86_64/configure: Regenerated.
8625 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
8626 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
8627 * elf/tst-unique2mod2.c: Likewise.
8628 * elf/tst-unique2mod1.c: Likewise.
8629 * elf/tst-unique1mod2.c: Likewise.
8630 * elf/tst-unique1mod1.c: Likewise.
8631 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8632 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
8633 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8634 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8635 * sysdeps/mach/sysdep.h: Likewise.
8636 * sysdeps/i386/sysdep.h: Likewise.
8637 * sysdeps/i386/i386-mcount.S: Likewise.
8638 * sysdeps/x86_64/_mcount.S: Likewise.
8639 * sysdeps/x86_64/sysdep.h: Likewise.
8640 * sysdeps/sh/_mcount.S: Likewise.
8641 * sysdeps/sh/sysdep.h: Likewise.
8642 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
8643 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
8644 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
8645 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8646 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
8647 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
8648 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
8649 * locale/localeinfo.h: Likewise.
8650 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
8651 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
8652
6c55cda3
RM
86532012-07-09 Roland McGrath <roland@hack.frob.com>
8654
8655 [BZ #14336]
8656 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
8657 system".
8658 * manual/message.texi (The Uniforum approach): Likewise.
8659 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
8660 (glibc iconv Implementation): Likewise.
8661
638a572e
JM
86622012-07-09 Joseph Myers <joseph@codesourcery.com>
8663
8664 [BZ #14337]
8665 * math/s_clog.c (__clog): Avoid scaling a value down where that
8666 could result in underflow.
8667 * math/s_clog10.c (__clog10): Likewise.
8668 * math/s_clog10f.c (__clog10f): Likewise.
8669 * math/s_clog10l.c (__clog10l): Likewise.
8670 * math/s_clogf.c (__clogf): Likewise.
8671 * math/s_clogl.c (__clogl): Likewise.
8672 * math/libm-test.inc (clog_test): Add more tests.
8673 (clog10_test): Likewise.
8674 * sysdeps/i386/fpu/libm-test-ulps: Update.
8675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8676
261f4859
AS
86772012-07-06 Andreas Schwab <schwab@linux-m68k.org>
8678
0abaf3e4
AS
8679 [BZ #14283]
8680 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
8681 by 7 not 8 to examine high bit of fractional part.
8682
261f4859
AS
8683 [BZ #14042]
8684 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
8685 for call to __mcount_internal.
8686 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
8687 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
8688 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
8689
f17ac40d
JM
86902012-07-06 Joseph Myers <joseph@codesourcery.com>
8691
9ad63c23
JM
8692 [BZ #14154]
8693 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
8694 approximation for values within 0x1p-13f of an odd multiple of
8695 pi/4.
8696 * math/libm-test.inc (tan_test): Do not allow spurious underflow
8697 exception. Add more tests.
8698 * sysdeps/i386/fpu/libm-test-ulps: Update.
8699
f17ac40d
JM
8700 [BZ #6778]
8701 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
8702 inputs and return -1 for them. Do not check for +Inf in case not
8703 reachable for +Inf.
8704 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
8705 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
8706 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
8707 and return -1 for them. Do not check for +Inf in case not
8708 reachable for +Inf.
8709 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
8710 define.
8711 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
8712 and return -1 for them. Do not check for +Inf in case not
8713 reachable for +Inf.
8714 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
8715 spurious underflow.
8716 * sysdeps/i386/fpu/libm-test-ulps: Update.
8717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8718
fb21f89b
MF
87192012-07-06 Mike Frysinger <vapier@gentoo.org>
8720
8721 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
8722
cdfe2c5e
JM
87232012-07-05 Joseph Myers <joseph@codesourcery.com>
8724
8725 [BZ #14157]
8726 [BZ #14331]
8727 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
8728 could result in spurious underflow. Scale down values above
8729 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
8730 * math/s_csqrtf.c (__csqrtf): Likewise.
8731 * math/s_csqrtl.c (__csqrtl): Likewise.
8732 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
8733 spurious underflow.
8734 * sysdeps/i386/fpu/libm-test-ulps: Update.
8735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8736
70d35b67
AS
87372012-07-04 Andreas Schwab <schwab@linux-m68k.org>
8738
704bc459
AS
8739 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
8740 xopen-msg.sed.
8741 * catgets/xopen-msg.awk: New file.
8742 * catgets/xopen-msg.sed: Removed.
8743
70d35b67
AS
8744 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
8745 po2text.sed.
8746 * intl/po2test.awk: New file.
8747 * intl/po2test.sed: Removed.
8748
ca61cf32
JM
87492012-07-04 Joseph Myers <joseph@codesourcery.com>
8750
8751 [BZ #14328]
8752 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
8753 or multiply small sinh result by itself.
8754 * math/s_ctanf.c (__ctanf): Likewise.
8755 * math/s_ctanh.c (__ctanh): Likewise.
8756 * math/s_ctanhf.c (__ctanhf): Likewise.
8757 * math/s_ctanhl.c (__ctanhl): Likewise.
8758 * math/s_ctanl.c (__ctanl): Likewise.
8759 * math/libm-test.inc (ctan_test_tonearest): New function.
8760 (ctan_test_towardzero): Likewise.
8761 (ctan_test_downward): Likewise.
8762 (ctan_test_upward): Likewise.
8763 (ctanh_test_tonearest): Likewise.
8764 (ctanh_test_towardzero): Likewise.
8765 (ctanh_test_downward): Likewise.
8766 (ctanh_test_upward): Likewise.
8767 (main): Call these new functions.
8768 * sysdeps/i386/fpu/libm-test-ulps: Update.
8769 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8770
ca48a46a
MF
87712012-07-03 Mike Frysinger <vapier@gentoo.org>
8772
8773 * .gitignore: Delete /ports entry.
8774
9d63d37d
AJ
87752012-07-03 Andreas Jaeger <aj@suse.de>
8776
8777 * po/bg.po: Update from translation team.
8778 * po/cs.po: Likewise.
8779 * po/de.po: Likewise.
8780 * po/hr.po: Likewise.
8781 * po/nl.pl: Likewise.
8782 * po/pl.po: Likewise.
8783 * po/vi.po: Likewise.
8784
370ca3d2
JM
87852012-07-03 Joseph Myers <joseph@codesourcery.com>
8786
95f5a9a8
JM
8787 * Makeconfig [!+link] (+link-before-libc): New variable.
8788 [!+link] (+link-after-libc): Likewise.
8789 [!+link] (+link-tests): Likewise.
8790 [!+link] (+link): Define in terms of $(+link-before-libc) and
8791 $(+link-after-libc).
8792 [!+link-static] (+link-static-before-libc): New variable.
8793 [!+link-static] (+link-static-after-libc): Likewise.
8794 [!+link-static] (+link-static-tests): Likewise.
8795 [!+link-static] (+link-static): Define in terms of
8796 $(+link-static-before-libc) and $(+link-static-after-libc).
8797 [build-shared] (link-libc-before-gnulib): New variable.
8798 [build-shared] (link-libc-tests): Likewise.
8799 [build-shared] (link-libc): Define in terms of
8800 $(link-libc-before-gnulib).
8801 [!build-shared] (link-libc-tests): New variable.
8802 (link-libc-static-tests): New variable.
8803 [!gnulib] (gnulib-arch): New variable.
8804 [!gnulib] (gnulib-tests): Likewise.
8805 [!gnulib] (static-gnulib-arch): Likewise.
8806 [!gnulib] (static-gnulib-tests): Likewise.
8807 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
8808 Define with "=" instead of ":=".
8809 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
8810 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
8811 * Rules (binaries-all-notests): New variable.
8812 (binaries-all-tests): Likewise.
8813 (binaries-static-notests): Likewise.
8814 (binaries-static-tests): Likewise.
8815 (binaries-all): Define using $(binaries-all-notests) and
8816 $(binaries-all-tests).
8817 (binaries-static): Define using $(binaries-static-notests) and
8818 $(binaries-static-tests).
8819 (binaries-shared-tests): New variable.
8820 (binaries-shared-notests): Likewise.
8821 (binaries-shared): Remove variable.
8822 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
8823 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
8824 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
8825 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
8826 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
8827 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
8828 * elf/Makefile (sln-modules): New variable.
8829 (extra-objs): Add $(sln-modules:=.o).
8830 (ldconfig-modules): Add static-stubs.
8831 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
8832 * elf/static-stubs.c: New file.
8833
7a845b2c
JM
8834 [BZ #14283]
8835 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
8836 by 7 not 8 to examine high bit of fractional part. Use volatile
8837 variables when splitting into final array of floats if
8838 __FLT_EVAL_METHOD__ != 0.
8839 * math/libm-test.inc (cos_test): Add another test.
8840 (sin_test): Likewise.
8841 * sysdeps/i386/fpu/libm-test-ulps: Update.
8842
e2283f38
JM
8843 [BZ #14273]
8844 * math/libm-test.inc (cosh_test): Add more tests.
8845
370ca3d2
JM
8846 * version.h (RELEASE): Set to "development".
8847 (VERSION): Set to "2.16.90".
8848
ee9247c3
CD
88492012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
8850
8851 * NEWS: Update copyright. Remove last-updated date.
8852 Mention math library bug fixes and timezone data changes.
8853 * README: Mention GNU/Hurd, x32, and HPPA support status.
8854
4648c381
TS
88552012-06-28 Thomas Schwinge <thomas@codesourcery.com>
8856
8857 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
8858
aac78a43
AJ
88592012-06-27 Andreas Jaeger <aj@suse.de>
8860
8861 * manual/contrib.texi (Contributors): Add Samuel Thibault.
8862
ed3dbfad
AJ
88632012-06-25 Andreas Jaeger <aj@suse.de>
8864
8865 * sysdeps/s390/fpu/libm-test-ulps: Update.
8866
4d0ee855
AS
88672012-06-23 Andreas Schwab <schwab@linux-m68k.org>
8868 Thomas Schwinge <thomas@codesourcery.com>
8869
8870 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
8871 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
8872 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
8873 fanotify_mark.
8874
af1bce34
TS
88752012-06-23 Thomas Schwinge <thomas@codesourcery.com>
8876
a9fa33ba
TS
8877 * sysdeps/mach/start.c: Remove file.
8878 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
8879 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
8880 * sysdeps/sh/init-first.c: Likewise.
8881
58f902b8
TS
8882 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
8883 registers for frame unwinding purposes, add CFI directives.
8884 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
8885 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
8886 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
8887 Likewise.
8888
1518f58b
TS
8889 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
8890 __fortify_fail returning.
8891 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
8892
db9b5059
TS
8893 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
8894 sysdeps/sh/____longjmp_chk.S.
8895 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
8896 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
8897 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
8898 (gen-as-const-headers): Append sigaltstack-offsets.sym.
8899
967705fe
TS
8900 * sysdeps/sh/abort-instr.h: New file.
8901 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
8902 process in case exit returns.
8903
a9def8c4
TS
8904 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
8905 initialize the GOT register before use.
8906
2a649725
TS
8907 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
8908 calculation of ARGC > 4.
8909
af1bce34
TS
8910 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
8911 meaningful names to some local labels.
8912
d230f50a
KK
89132012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8914 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8915
8916 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
8917 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
8918 (__arch_compare_and_exchange_val_16_acq): Likewise.
8919 (__arch_compare_and_exchange_val_32_acq): Likewise.
8920 (atomic_exchange_and_add): Fix gUSA sequence.
8921 (atomic_add): Likewise.
8922 (atomic_add_negative): Likewise.
8923 (atomic_add_zero): Likewise.
8924 (atomic_bit_test_set): Likewise.
8925
0479b305
AS
89262012-06-22 Andreas Schwab <schwab@redhat.com>
8927
8928 [BZ #13579]
8929 * include/link.h (struct link_map): Add l_free_initfini.
8930 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
8931 l_initfini.
8932 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
8933 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
8934 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
8935 set.
8936
0e3933b9
CD
89372012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
8938
8939 * configure.in: Use AC_LANG_SOURCE.
8940 * configure: Regenerate.
8941
4248b1b1
RM
89422012-06-22 Roland McGrath <roland@hack.frob.com>
8943
8944 * configure.in (libc_cv_localstatedir): New substituted variable.
8945 * configure: Regenerated.
8946 * config.make.in (localstatedir): New variable, substituted from
8947 libc_cv_localstatedir.
8948 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
8949 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
8950 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
8951 * sysdeps/gnu/configure: Regenerated.
8952
006dd861
JL
89532012-06-21 Jeff Law <law@redhat.com>
8954
8955 [BZ #14277]
8956 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
8957 free. Simplify list management for _LIBC case.
8958
79662d42
JM
89592012-06-21 Joseph Myers <joseph@codesourcery.com>
8960
b7abb4bf
JM
8961 [BZ #14273]
8962 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
8963 Clear sign bit of 64-bit integer value before comparing against
8964 overflow value.
8965
79662d42
JM
8966 * sysdeps/mach/configure: Regenerated.
8967
1f150908
L
89682012-06-21 H.J. Lu <hongjiu.lu@intel.com>
8969
8970 [BZ #14278]
8971 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
8972
28363bbf
JL
89732012-06-21 Jeff Law <law@redhat.com>
8974
8975 [BZ #13882]
8976 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
8977 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 8978 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
8979 * elf/dl-open.c (dl_open_worker): Likewise.
8980
09615db4
CD
89812012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
8982
8983 * scripts/list-sources.sh: Scan PORTS for translations.
8984 * po/libc.pot: Regenerated.
8985
2174c6dd
AJ
89862012-06-21 Andreas Jaeger <aj@suse.de>
8987
8988 [BZ #12194]
8989 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
8990 warning.
8991 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
8992 * bits/byteswap-16.h (__bswap_16): Likewise.
8993 * bits/byteswap.h (__bswap_constant_16): Likewise.
8994
3ee947b1
L
89952012-06-18 H.J. Lu <hongjiu.lu@intel.com>
8996
8997 [BZ #14117]
a2f34833
L
8998 * sysdeps/i386/fpu_control.h: Removed.
8999 * sysdeps/x86_64/fpu_control.h: Moved to ...
9000 * sysdeps/x86/fpu_control.h: Here.
9001
3ee947b1
L
9002 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
9003 (_FPU_SETCW): Likewise.
9004
ed1825f8
L
90052012-06-15 H.J. Lu <hongjiu.lu@intel.com>
9006
25f1282a
L
9007 [BZ #14117]
9008 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
9009 * sysdeps/x86/fpu/bits/mathinline.h: This.
9010 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
9011
ed1825f8
L
9012 [BZ #14050]
9013 [BZ #14117]
9014 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
9015 functions if __x86_64__ is defined.
9016
36d54b74
CLT
90172012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
9018
9019 * string/endian.h: Add !__ASSEMBLER__ condition for including
9020 conversion interfaces.
9021
10285c21
JM
90222012-06-15 Joseph Myers <joseph@codesourcery.com>
9023
9024 [BZ #14241]
9025 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
9026 of ABS(x) in calculating zero to negative powers other than odd
9027 integers.
9028 * math/libm-test.inc (pow_test): Add more tests.
9029
06c5abbd
AJ
90302012-06-15 Andreas Jaeger <aj@suse.de>
9031
9032 * manual/contrib.texi (Contributors): Update entry of Liubov
9033 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
9034 Machado Filho.
9035
a3aeac40
CH
90362012-06-15 Cyril Hrubis <metan@ucw.cz>
9037
9038 * string/string.h: Add __wur to GNU version of strerror_r.
9039
49bdf4c1
L
90402012-06-14 H.J. Lu <hongjiu.lu@intel.com>
9041
9042 [BZ #14229]
9043 * string/Makefile (tests): Add tst-strtok_r.
9044 * string/tst-strtok_r.c: New file.
9045 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
9046 RAX_LP/RDX_LP on SAVE_PTR.
9047
834f9b8d
RM
90482012-06-14 Roland McGrath <roland@hack.frob.com>
9049
9050 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
9051
75fa1921
JM
90522012-06-14 Joseph Myers <joseph@codesourcery.com>
9053
9054 * libm_test.inc (csqrt_test): Allow more spurious underflow
9055 exceptions.
9056 (j0_test): Likewise.
9057 (j1_test): Likewise.
9058 (y0_test): Likewise.
9059 (y1_test): Likewise.
9060
771766df
CD
90612012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
9062
9063 * po/Makefile (libc.pot): Use UTF-8 charset.
9064
ceb9e56b
PP
90652012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
9066
9067 [BZ #14210]
9068 Suppress sign-conversion warning from FD_SET.
9069 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
9070 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
9071 not unsigned long int.
9072 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
9073
ddb28975
L
90742012-06-12 H.J. Lu <hongjiu.lu@intel.com>
9075
9076 [BZ #14050]
9077 [BZ #14117]
9078 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
9079 __extern_always_inline instead of __extern_inline.
9080 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
9081 (__signbit): Likewise.
9082 (__signbitl): Support C++ namespace.
9083 (lrintf): New inline function.
9084 (lrint): Likewise.
9085 (llrintf): Likewise.
9086 (llrint): Likewise.
9087 (fmaxf): Likewise.
9088 (fmax): Likewise.
9089 (fminf): Likewise.
9090 (fmin): Likewise.
9091 (rint): Likewise.
9092 (rintf): Likewise.
9093 (ceil): Likewise.
9094 (ceilf): Likewise.
9095 (floor): Likewise.
9096 (floorf): Likewise.
9097 (nearbyint): Likewise.
9098 (nearbyintf): Likewise.
9099
d7b4fb26
TS
91002012-06-12 Thomas Schwinge <thomas@codesourcery.com>
9101
9102 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
9103 non-default versions.
9104
eb55f5c2
RM
91052012-06-11 Roland McGrath <roland@hack.frob.com>
9106
9107 [BZ #14218]
9108 * manual/argp.texi (Argp): Reword argp_parse description slightly.
9109
366af02c
TS
91102012-06-09 Thomas Schwinge <thomas@codesourcery.com>
9111
99ff6e5c
TS
9112 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
9113 (FE_UPWARD, FE_DOWNWARD): Don't define.
9114 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
9115 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9116
366af02c
TS
9117 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
9118 reading it.
9119 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
9120 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9121
793ea851
KK
91222012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9123
9124 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
9125 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
9126 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
9127 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
9128
a728a38f
L
91292012-06-06 H.J. Lu <hongjiu.lu@intel.com>
9130
9131 [BZ #14117]
c08010c7
L
9132 * sysdeps/i386/fpu/bits/fenv.h: Removed.
9133 * sysdeps/i386/fpu/Implies: New file.
9134 * sysdeps/x86_64/fpu/Implies: Likewise.
9135 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
9136 * sysdeps/x86/fpu/bits/fenv.h: This.
9137
a728a38f
L
9138 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
9139 __SSE_MATH__.
9140
6e230d11
SP
91412012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9142
9143 [BZ #14134]
9144 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
9145 character 0xffff that matches the last element of the
9146 conversion table.
9147
1b671feb
AZ
91482012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9149
9150 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
9151 fmodl commit.
9152
6043738b
AZ
91532012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9154
9155 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
9156 values higher than 25.6283.
9157
34ae0b32
AZ
91582012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9159
9160 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
9161 subnormal exponent extraction and add some __builtin_expect.
9162 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
9163 Fix for subnormal mantissa calculation.
9164
1214ec8f
MF
91652012-06-04 Mike Frysinger <vapier@gentoo.org>
9166
9167 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
9168 cpu2 is -1 and errno is not ENOSYS.
9169
f3d1f93c
L
91702012-06-04 H.J. Lu <hongjiu.lu@intel.com>
9171
9172 [BZ #14117]
0e4a3cd7
L
9173 * sysdeps/i386/i486/bits/string.h: Renamed to ...
9174 * sysdeps/x86/bits/string.h: This.
9175 * sysdeps/x86_64/bits/string.h: Removed.
9176
6704c645
L
9177 * sysdeps/i386/i486/bits/string.h: Define inline functions only
9178 if not compiling for x86-64, but compiling for >= i486.
9179
48495318
L
9180 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
9181 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
9182
14adcbfc
L
9183 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
9184 New macro from Linux kernel 3.4.0.
9185 (FP_XSTATE_MAGIC2): Likewise.
9186 (FP_XSTATE_MAGIC2_SIZE): Likewise.
9187 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
9188 (struct _fpx_sw_bytes): New struct.
9189 (struct _xsave_hdr): Likewise.
9190 (struct _ymmh_state): Likewise.
9191 (struct _xstate): Likewise.
9192
68e408ab
L
9193 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
9194 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
9195 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
9196 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
9197 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
9198 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
9199
f3d1f93c
L
9200 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
9201 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
9202 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
9203 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
9204 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
9205 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
9206
d9dc34cd
TMQMF
92072012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9208
9209 [BZ #13743]
9210 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
9211 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
9212 (sysdep_headers): Include sys/platform/ppc.h.
9213 * sysdeps/powerpc/test-gettimebase.c: Test for
9214 __ppc_get_timebase() to catch future ISA opcode/insn changes.
9215 * manual/Makefile (appendices): Include platform.texi.
9216 * manual/contrib.texi (Contributors): Update @node pointers.
9217 * manual/maint.texi (Maintenance): Likewise.
9218 (Platform): New node.
9219 * manual/platform.texi: New file. Document the new features.
9220
4af3879c
SP
92212012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9222 Jakub Jelinek <jakub@redhat.com>
9223
9224 [BZ #14188]
9225 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
9226 where __builtin_expect is unavailable.
9227
2fd6ff13
DM
92282012-06-03 David S. Miller <davem@davemloft.net>
9229
9230 * stdlib/longlong.h: Updated from GCC.
9231
173f7220
AS
92322012-06-02 Andreas Schwab <schwab@linux-m68k.org>
9233
9234 [BZ #14042]
9235 * sysdeps/powerpc/powerpc32/mcount.c: New file.
9236 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
9237 __mcount_internal.
9238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
9239 (GLIBC_2.16): Likewise.
9240
f34a1c6f
L
92412012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9242
9243 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
9244
88a4576f
JM
92452012-06-01 Joseph Myers <joseph@codesourcery.com>
9246
ea32bcdd
JM
9247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
9248 (default-abi): New variable.
9249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
9250 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
9251 variable.
9252 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
9253 Likewise.
9254 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
9255 Likewise.
9256 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
9257 Likewise.
9258
88a4576f
JM
9259 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
9260 definition. Document in comment.
9261
402fe938
DM
92622012-06-01 David S. Miller <davem@davemloft.net>
9263
9264 * stdlib/longlong.h: Updated from GCC.
9265
3553723f
L
92662012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9267
9268 [BZ #14117]
3bd872c4
L
9269 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
9270 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
9271 sys/debugreg.h sys/io.h here.
9272 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
9273 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
9274 sys/io.h.
9275 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
9276 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
9277 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
9278 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
9279 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
9280 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
9281
3553723f
L
9282 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
9283 Define only if __x86_64__ is defined.
9284
4842e4fe
JM
92852012-06-01 Joseph Myers <joseph@codesourcery.com>
9286
c5bfe3d5
JM
9287 [BZ #14048]
9288 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
9289 Use int64_t for variable i.
9290 * math/libm-test.inc (fmod_test): Add more tests.
9291
4842e4fe
JM
9292 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
9293 z computation is not scheduled after fetestexcept.
9294 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
9295 Use math_force_eval instead of asm to ensure calculation scheduled
9296 before exception test.
9297 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
9298 Ensure a1 + u.d computation is not scheduled after fetestexcept.
9299
efb73488
AJ
93002012-06-01 Aurelien Jarno <aurelien@aurel32.net>
9301
9302 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
9303 computation is not scheduled after fetestexcept.
9304
29bcce7c
L
93052012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9306
9307 [BZ #14117]
9308 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
9309 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
9310
73a68f94
AZ
93112012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9312
9313 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
9314 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9315
67b6df78
L
93162012-05-31 H.J. Lu <hongjiu.lu@intel.com>
9317
edf2933a 9318 [BZ #14117]
ebc64a18
L
9319 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
9320 <bits/wordsize.h>.
9321 (__WCHAR_MIN): Support __WORDSIZE == 64.
9322 (__WCHAR_MAX): Likewise.
9323
edf2933a
L
9324 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
9325 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
9326
57c6cf40
L
9327 [BZ #14183]
9328 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
9329 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
9330
67b6df78 9331 [BZ #14117]
8eb6281e
L
9332 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
9333 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
9334
aac639f4
L
9335 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
9336 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
9337
67b6df78
L
9338 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
9339 Defined to 1 if __x86_64__ isn't defined.
9340 (_STAT_VER_LINUX_OLD): New.
9341 (st_atime): Remove duplicate.
9342 (st_mtime): Likewise.
9343 (st_ctime): Likewise.
9344
1c2cfe81
DM
93452012-05-31 David S. Miller <davem@davemloft.net>
9346
9347 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
9348 entries.
9349
5be8418c
AS
93502012-06-01 Andreas Schwab <schwab@linux-m68k.org>
9351
e7725326
AS
9352 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
9353 gen-libm-test.pl.
9354
5be8418c
AS
9355 [BZ #14132]
9356 * elf/dl-reloc.c: Include <_itoa.h>.
9357 (_dl_reloc_bad_type): Remove use of INTUSE.
9358 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
9359 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
9360 * stdio-common/psiginfo.c (psiginfo): Likewise.
9361 * stdio-common/psignal.c (psignal): Likewise.
9362 * string/strsignal.c (strsignal): Likewise.
9363 * include/signal.h (_sys_siglist): Declare hidden proto.
9364 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
9365 INTVARDEF with libc_hidden_data_def.
9366 * stdio-common/itoa-udigits.c: Likewise.
9367 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
9368 (_itoa_lower_digits_internal): Remove declaration.
9369 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
9370 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
9371 (_sys_sigabbrev_internal): Remove aliases.
9372 (_sys_siglist): Define hidden alias.
9373
507352f1
MT
93742012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
9375
9376 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9377 bits/sysctl.h.
9378
42bbb1c3
L
93792012-05-31 H.J. Lu <hongjiu.lu@intel.com>
9380
9381 [BZ #14117]
6bd784b6
L
9382 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
9383 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
9384
8bca20f0
L
9385 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
9386 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
9387 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
9388 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
9389 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
9390 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
9391
f9e890a9
L
9392 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
9393 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
9394 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
9395
471101a1
L
9396 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
9397 with __addr.
9398 (insw): Likewise.
9399 (insl): Likewise.
9400 (outsb): Likewise.
9401 (outsw): Likewise.
9402 (outsl): Likewise.
9403
6451c862
L
9404 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
9405 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
9406 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
9407
a254b8c9
L
9408 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
9409 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
9410 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
9411 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
9412 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
9413 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
9414
b8dfdd92
L
9415 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
9416 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
9417
578cd270
L
9418 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
9419 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
9420
de662f5f
L
9421 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
9422 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
9423 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
9424
25653439
L
9425 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
9426 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
9427 to ...
9428 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
9429
6bad24a0
L
9430 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
9431 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
9432 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
9433
42bbb1c3
L
9434 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
9435 for x86-64.
9436 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
9437
2d10d547
JM
94382012-05-31 Joseph Myers <joseph@codesourcery.com>
9439
9440 * math/math.h (M_El): Use two more decimal places.
9441 (M_LOG2El): Likewise.
9442 (M_LOG10El): Likewise.
9443 (M_LN2l): Likewise.
9444 (M_LN10l): Likewise.
9445 (M_PIl): Likewise.
9446 (M_PI_2l): Likewise.
9447 (M_PI_4l): Likewise.
9448 (M_1_PIl): Likewise.
9449 (M_2_PIl): Likewise.
9450 (M_2_SQRTPIl): Likewise.
9451 (M_SQRT2l): Likewise.
9452 (M_SQRT1_2l): Likewise.
9453
f230c29b
DM
94542012-05-31 David S. Miller <davem@davemloft.net>
9455
9456 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
9457 values between float registers.
9458 * sysdeps/sparc/sparc64/memset.S: Likewise.
9459 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9460
fed806c3
MF
94612012-05-31 Mike Frysinger <vapier@gentoo.org>
9462
9463 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
9464 -D_FORTIFY_SOURCE=1.
9465 (CPPFLAGS-tst-longjmp_chk.c): Define.
9466 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
9467 (CPPFLAGS-tst-longjmp_chk2.c): Define.
9468 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
9469 CFLAGS-tst-wchar-h.c.
9470
30917259
MP
94712012-05-31 Marek Polacek <polacek@redhat.com>
9472
9473 [BZ #14132]
9474 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
9475 __endmntent_internal): Remove declaration.
9476 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
9477 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
9478 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
9479
1c58d5dc
DM
94802012-05-30 David S. Miller <davem@davemloft.net>
9481
9482 * sysdeps/sparc/sparc32/soft-fp/q_util.c
9483 (___Q_simulate_exceptions): Use real FP ops rather than writing
9484 into the %fsr.
9485 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
9486 Likewise.
9487
7dc00e0d
L
94882012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9489
9490 [BZ #14117]
0bd53985
L
9491 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
9492 * sysdeps/x86/bits/xtitypes.h: This.
9493
3a257e66
L
9494 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
9495 * sysdeps/x86/bits/wordsize.h: This.
9496
62f62904
L
9497 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
9498 * sysdeps/x86/bits/huge_vall.h: This.
9499
404fe9d9
L
9500 * sysdeps/i386/bits/select.h: Removed.
9501 * sysdeps/x86_64/bits/select.h: Renamed to ...
9502 * sysdeps/x86/bits/select.h: This.
9503
d48d0446
L
9504 * sysdeps/i386/bits/setjmp.h: Removed.
9505 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
9506 * sysdeps/x86/bits/setjmp.h: This.
9507
7dc00e0d
L
9508 * sysdeps/i386/bits/mathdef.h: Removed.
9509 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
9510 * sysdeps/x86/bits/mathdef.h: This.
9511
03277f8f
AS
95122012-05-30 Andreas Schwab <schwab@linux-m68k.org>
9513
9514 [BZ #14132]
9515 * include/sys/socket.h (__connect_internal)
9516 (__libc_sa_len_internal): Remove declaration.
9517 (__connect, __libc_sa_len): Declare hidden_proto.
9518 (SA_LEN): Remove use of INTUSE.
9519 * socket/connect.c: Add libc_hidden_def.
9520 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
9521 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
9522 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
9523 alias.
9524 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
9525 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
9526 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
9527 of adding _internal alias.
9528
13764867
L
95292012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9530
9531 [BZ #14117]
6bd97696
L
9532 * sysdeps/i386/bits/link.h: Removed.
9533 * sysdeps/i386/bits/linkmap.h: Likewise.
9534 * sysdeps/x86_64/bits/link.h: Renamed to ...
9535 * sysdeps/x86/bits/link.h: This.
9536 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
9537 * sysdeps/x86/bits/linkmap.h: This.
9538
f726f0bb
L
9539 * sysdeps/i386/bits/endian.h: Removed.
9540 * sysdeps/x86_64/bits/endian.h: Renamed to ...
9541 * sysdeps/x86/bits/endian.h: This.
9542
13764867
L
9543 * sysdeps/i386/bits/byteswap.h: Removed.
9544 * sysdeps/i386/bits/byteswap-16.h: Likewise.
9545 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
9546 * sysdeps/x86/bits/byteswap.h: This.
9547 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
9548 * sysdeps/x86/bits/byteswap-16.h: This.
9549 * sysdeps/i386/Implies: Add x86.
9550 * sysdeps/x86_64/Implies: Likewise.
9551
ae251b0b
DM
95522012-05-30 David S. Miller <davem@davemloft.net>
9553
9554 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
9555 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
9556 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9557 (FP_TRAPPING_EXCEPTIONS): Define.
9558 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9559 (FP_TRAPPING_EXCEPTIONS): Define.
9560 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
9561 subnormals only when inexact has been signalled or underflow
9562 exceptions are enabled.
9563 (_FP_PACK_CANONICAL): Likewise.
9564
d5c90867
L
95652012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9566
9567 [BZ #14183]
9568 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
9569 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
9570
63f1549e
RH
95712012-05-30 Richard Henderson <rth@twiddle.net>
9572
8d8f2279
RH
9573 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
9574 with #ifndef NOT_IN_libc.
9575
63f1549e
RH
9576 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
9577 marked to avoid plt entry.
9578
0ab0291b
L
95792012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9580
9581 [BZ #14112]
9582 * Makeconfig (default-abi): New macro.
9583 (abi-includes): Likewise.
9584 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
9585 $(abi-$(default-abi)-lib-soname) for soname if defined.
9586 ($(common-objpfx)gnu/lib-names.stmp): Generate from
9587 abi-variants.
9588 * Makefile (installed-stubs): Likewise.
9589 * include/stubs-biarch.h: Removed.
9590 * scripts/lib-names.awk: Only handle one library at a time.
9591 * scripts/soversions.awk: Remove WORDSIZE support.
9592 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
9593 entries.
9594 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
9595 Removed.
9596 (syscall-list-default-condition): Likewise.
9597 (syscall-list-default-condition): Likewise.
9598 (syscall-list-includes): Likewise.
9599 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
9600 syscall-list-* with abi-*. Handle undefined abi-variants.
9601 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
9602 * sysdeps/unix/sysv/linux/i386/Implies: New file.
9603 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
9604 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
9605 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
9606 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
9607 Removed.
9608 (syscall-list-32-options): Likewise.
9609 (syscall-list-32-condition): Likewise.
9610 (syscall-list-64-options): Likewise.
9611 (syscall-list-64-condition): Likewise.
9612 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
9613 macro.
9614 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
9615 Renamed to ...
9616 (abi-*): This.
9617 (abi-64-ld-soname): New macro.
9618 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
9619 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
9620 Renamed to ...
9621 (abi-*): This.
9622 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
9623 * sysdeps/x86_64/x32/shlib-versions: Likewise.
9624
4da0431d
JM
96252012-05-30 Joseph Myers <joseph@codesourcery.com>
9626
3a85279c
JM
9627 * sysdeps/unix/sysv/linux/kernel-features.h
9628 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
9629 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
9630 include <kernel-features.h>.
9631 [!__NR_ftruncate64]: Remove conditional code.
9632 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9633 [__NR_ftruncate64]: Make code unconditional.
9634 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9635 * sysdeps/unix/sysv/linux/truncate64.c: Do not
9636 include <kernel-features.h>.
9637 [!__NR_ftruncate64]: Remove conditional code.
9638 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9639 [__NR_ftruncate64]: Make code unconditional.
9640 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
9642 include <kernel-features.h>.
9643 [!__NR_ftruncate64]: Remove conditional code.
9644 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9645 [__NR_ftruncate64]: Make code unconditional.
9646 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
9648 include <kernel-features.h>.
9649 [!__NR_ftruncate64]: Remove conditional code.
9650 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9651 [__NR_ftruncate64]: Make code unconditional.
9652 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9653
4da0431d
JM
9654 * configure.in (libc_cv_fpie): Weaken to a compile test using
9655 LIBC_TRY_CC_OPTION.
9656 * configure: Regenerated.
9657
11ef492c
AK
96582012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9659
9660 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
9661 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
9662 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
9663 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9664 Refreshed.
9665 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
9666 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
9667 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
9668 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
9669 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
9670 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9671 Refreshed.
9672
d66ef399
DM
96732012-05-27 David S. Miller <davem@davemloft.net>
9674
9675 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
9676 (___Q_zero): New.
9677 (__Q_simulate_exceptions): Return void. Change to simulate
9678 exceptions by writing into the %fsr.
9679 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
9680 (__Qp_handle_exceptions): Likewise.
9681 (numbers): Delete.
9682 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
9683 __Qp_handle_exceptions.
9684 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
9685 __Qp_handle_exceptions.
9686 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
9687 as unused and give dummy FP_RND_NEAREST initializer.
9688 (FP_INHIBIT_RESULTS): Define.
9689 (___Q_simulate_exceptions): Update declaration.
9690 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
9691 formatting.
9692 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
9693 as unused and give dummy FP_RND_NEAREST initializer.
9694 (__Qp_handle_exceptions): Update declaration.
9695 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
9696 formatting.
9697
04fb54b5
TS
96982012-05-27 Thomas Schwinge <thomas@codesourcery.com>
9699
9700 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
9701 the temporary FPU control word.
9702 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
9703 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
9704 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
9705 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
9706 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9707 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
9708 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
9709 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9710 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9711 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
9712 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9713
3f99608f
KK
97142012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9715
9716 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
9717 fields.
9718
65a4de4e
CLT
97192012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
9720
9721 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
9722 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
9723 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
9724 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
9725 Likewise.
9726 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
9727 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
9728 Likewise.
9729
15749d40
UD
97302012-05-27 Ulrich Drepper <drepper@gmail.com>
9731
9732 * po/h.po: Update from translation team.
9733
25dbcb27
AS
97342012-05-26 Andreas Schwab <schwab@linux-m68k.org>
9735
3d3f8e55
AS
9736 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
9737
25dbcb27
AS
9738 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
9739 handling of denormals.
9740 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9741 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9742 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9743 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9744 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9745 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
9746 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
9747 Likewise.
9748
7ad47a80 97492012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
9750
9751 [BZ #14152]
9752 * math/libm-test.inc (fma_test): Don't always expect underflow
9753 exception.
9754
9c6ea9fa
SP
97552012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9756
9757 [BZ #12416]
9758 * elf/tst-execstack.c: Include stackinfo.h.
9759 (do_test): Adjust test case to ensure that pthread_getattr_np
9760 behaviour remains the same after marking stack executable.
9761
a8239222
JM
97622012-05-25 Joseph Myers <joseph@codesourcery.com>
9763
9764 * sysdeps/unix/sysv/linux/kernel-features.h
9765 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
9766 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
9767 kernel-features.h.
9768 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
9769 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
9770 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
9771 kernel-features.h.
9772 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
9773 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
9774
918b5606
L
97752012-05-25 H.J. Lu <hongjiu.lu@intel.com>
9776
9777 * configure.in: Define the default includes to being none.
9778 * configure: Regenerated.
9779
3a097cc7
RM
97802012-05-25 Roland McGrath <roland@hack.frob.com>
9781
8422c9a5
RM
9782 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
9783 * sysdeps/x86_64/setjmp.S: Likewise.
9784 * sysdeps/i386/bsd-setjmp.S: Likewise.
9785 * sysdeps/i386/bsd-_setjmp.S: Likewise.
9786 * sysdeps/i386/setjmp.S: Likewise.
9787 * sysdeps/i386/__longjmp.S: Likewise.
9788 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
9789 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
9790
3a097cc7
RM
9791 * include/stap-probe.h: New file.
9792 * configure.in: Handle --enable-systemtap.
9793 * configure: Regenerated.
9794 * config.h.in (USE_STAP_PROBE): New #undef.
9795 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
9796 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
9797 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9798
21708942
JM
97992012-05-25 Joseph Myers <joseph@codesourcery.com>
9800
9801 [BZ #13717]
9802 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9803 to 2.4.0 where earlier.
9804 * sysdeps/unix/sysv/linux/configure: Regenerated.
9805 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
9806 <kernel-features.h>.
9807 [__ASSUME_32BITUIDS]: Make code unconditional.
9808 [!__ASSUME_32BITUIDS]: Remove conditional code.
9809 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
9810 <kernel-features.h>.
9811 [__ASSUME_32BITUIDS]: Make code unconditional.
9812 [!__ASSUME_32BITUIDS]: Remove conditional code.
9813 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
9814 [__ASSUME_32BITUIDS]: Make code unconditional.
9815 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
9816 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
9817 <kernel-features.h>.
9818 [__ASSUME_32BITUIDS]: Make code unconditional.
9819 [!__ASSUME_32BITUIDS]: Remove conditional code.
9820 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
9821 <kernel-features.h>.
9822 [__ASSUME_32BITUIDS]: Make code unconditional.
9823 [!__ASSUME_32BITUIDS]: Remove conditional code.
9824 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
9825 <kernel-features.h>.
9826 [__ASSUME_32BITUIDS]: Make code unconditional.
9827 [!__ASSUME_32BITUIDS]: Remove conditional code.
9828 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
9829 <kernel-features.h>.
9830 [__ASSUME_32BITUIDS]: Make code unconditional.
9831 [!__ASSUME_32BITUIDS]: Remove conditional code.
9832 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
9833 <kernel-features.h>.
9834 [__ASSUME_32BITUIDS]: Make code unconditional.
9835 [!__ASSUME_32BITUIDS]: Remove conditional code.
9836 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
9837 <kernel-features.h>.
9838 [__ASSUME_32BITUIDS]: Make code unconditional.
9839 [!__ASSUME_32BITUIDS]: Remove conditional code.
9840 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
9841 <kernel-features.h>.
9842 [__ASSUME_32BITUIDS]: Make code unconditional.
9843 [!__ASSUME_32BITUIDS]: Remove conditional code.
9844 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
9845 <kernel-features.h>.
9846 [__ASSUME_32BITUIDS]: Make code unconditional.
9847 [!__ASSUME_32BITUIDS]: Remove conditional code.
9848 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
9849 <kernel-features.h>.
9850 [__ASSUME_32BITUIDS]: Make code unconditional.
9851 [!__ASSUME_32BITUIDS]: Remove conditional code.
9852 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
9853 <kernel-features.h>.
9854 [__ASSUME_32BITUIDS]: Make code unconditional.
9855 [!__ASSUME_32BITUIDS]: Remove conditional code.
9856 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
9857 <kernel-features.h>.
9858 [__NR_setresgid] (__setresgid): Do not declare.
9859 [__ASSUME_32BITUIDS]: Make code unconditional.
9860 [!__ASSUME_32BITUIDS]: Remove conditional code.
9861 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
9862 <kernel-features.h>.
9863 [__NR_setresuid] (__setresuid): Do not declare.
9864 [__ASSUME_32BITUIDS]: Make code unconditional.
9865 [!__ASSUME_32BITUIDS]: Remove conditional code.
9866 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
9867 <kernel-features.h>.
9868 [__ASSUME_32BITUIDS]: Make code unconditional.
9869 [!__ASSUME_32BITUIDS]: Remove conditional code.
9870 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
9871 <kernel-features.h>.
9872 [__ASSUME_32BITUIDS]: Make code unconditional.
9873 [!__ASSUME_32BITUIDS]: Remove conditional code.
9874 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
9875 <kernel-features.h>.
9876 [__ASSUME_32BITUIDS]: Make code unconditional.
9877 [!__ASSUME_32BITUIDS]: Remove conditional code.
9878 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
9879 <kernel-features.h>.
9880 [__ASSUME_32BITUIDS]: Make code unconditional.
9881 [!__ASSUME_32BITUIDS]: Remove conditional code.
9882 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
9883 <kernel-features.h>.
9884 [__ASSUME_32BITUIDS]: Make code unconditional.
9885 [!__ASSUME_32BITUIDS]: Remove conditional code.
9886 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
9887 <kernel-features.h>.
9888 [__ASSUME_32BITUIDS]: Make code unconditional.
9889 [!__ASSUME_32BITUIDS]: Remove conditional code.
9890 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
9891 <kernel-features.h>.
9892 [__ASSUME_32BITUIDS]: Make code unconditional.
9893 [!__ASSUME_32BITUIDS]: Remove conditional code.
9894 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
9895 <kernel-features.h>.
9896 [__ASSUME_32BITUIDS]: Make code unconditional.
9897 [!__ASSUME_32BITUIDS]: Remove conditional code.
9898 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
9899 <kernel-features.h>.
9900 [__ASSUME_32BITUIDS]: Make code unconditional.
9901 [!__ASSUME_32BITUIDS]: Remove conditional code.
9902 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
9903 <kernel-features.h>.
9904 [__ASSUME_32BITUIDS]: Make code unconditional.
9905 [!__ASSUME_32BITUIDS]: Remove conditional code.
9906 * sysdeps/unix/sysv/linux/kernel-features.h
9907 (__ASSUME_SETRESUID_SYSCALL): Remove.
9908 (__ASSUME_SETRESGID_SYSCALL): Likewise.
9909 (__ASSUME_32BITUIDS): Likewise.
9910 (__ASSUME_LDT_WORKS): Likewise.
9911 (__ASSUME_O_DIRECTORY): Likewise.
9912 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
9913 architecture but not kernel version.
9914 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
9915 (__ASSUME_MMAP2_SYSCALL): Likewise.
9916 (__ASSUME_STAT64_SYSCALL): Likewise.
9917 (__ASSUME_IPC64): Likewise.
9918 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
9919 <kernel-features.h>.
9920 [__ASSUME_32BITUIDS]: Make code unconditional.
9921 [!__ASSUME_32BITUIDS]: Remove conditional code.
9922 * sysdeps/unix/sysv/linux/opendir.c: Do not include
9923 <kernel-features.h>.
9924 [__ASSUME_O_DIRECTORY]: Make code unconditional.
9925 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
9926 132096]: Remove conditional code.
9927 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
9928 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
9929 <kernel-features.h>.
9930 [__ASSUME_32BITUIDS]: Make code unconditional.
9931 [!__ASSUME_32BITUIDS]: Remove conditional code.
9932 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
9933 <kernel-features.h>.
9934 [__ASSUME_32BITUIDS]: Make code unconditional.
9935 [!__ASSUME_32BITUIDS]: Remove conditional code.
9936 * sysdeps/unix/sysv/linux/setegid.c: Do not include
9937 <kernel-features.h>.
9938 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
9939 unconditional.
9940 (__setresgid): Do not declare.
9941 [__ASSUME_32BITUIDS]: Make code unconditional.
9942 [!__ASSUME_32BITUIDS]: Remove conditional code.
9943 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
9944 <kernel-features.h>.
9945 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
9946 unconditional.
9947 (__setresuid): Do not declare.
9948 [__ASSUME_32BITUIDS]: Make code unconditional.
9949 [!__ASSUME_32BITUIDS]: Remove conditional code.
9950 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
9951 <kernel-features.h>.
9952 [__ASSUME_32BITUIDS]: Make code unconditional.
9953 [!__ASSUME_32BITUIDS]: Remove conditional code.
9954 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
9955 <kernel-features.h>.
9956 [__ASSUME_32BITUIDS]: Make code unconditional.
9957 [!__ASSUME_32BITUIDS]: Remove conditional code.
9958
a386f1cc
RH
99592012-05-25 Richard Henderson <rth@twiddle.net>
9960
9961 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
9962 dl_hwcap to ifunc resolver.
9963 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
9964 elf_ifunc_invoke.
9965 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
9966 dl_hwcap to ifunc resolver.
9967 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
9968
b6550497
JM
99692012-05-24 Joseph Myers <joseph@codesourcery.com>
9970
9971 [BZ #14153]
9972 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
9973 for |x| <= 2**-26, not 2**-57.
9974 * math/libm-test.inc (acos_test): Do not allow spurious underflow
9975 exception.
9976
b0bc23a1
JL
99772012-05-24 Jeff Law <law@redhat.com>
9978
9979 * stdio-common/Makefile (tests): Add bug25.
9980 * stdio-common/bug25.c: New test.
9981
347c92e9
L
99822012-05-24 H.J. Lu <hongjiu.lu@intel.com>
9983
9984 [BZ #13576]
9985 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
9986 multiple of MALLOC_ALIGNMENT in size.
9987 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
9988
6bcc8b3f
JM
99892012-05-24 Joseph Myers <joseph@codesourcery.com>
9990
9991 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
9992 Require >= 256.
9993 (FILENAME_MAX): Use macro-int-constant.
9994 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
9995 (_IOFBF): Use macro-int-constant.
9996 (_IOLBF): Likewise.
9997 (_IONBF): Likewise.
9998 (SEEK_CUR): Likewise.
9999 (SEEK_END): Likewise.
10000 (SEEK_SET): Likewise.
10001 (TMP_MAX): Likewise.
10002 (EOF): Use macro-int-constant. Require < 0.
10003 (NULL): Use macro-constant. Require == 0.
10004 (stdin): Require type to be FILE *.
10005 (stdout): Likewise.
10006 (stderr): Likewise.
10007 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
10008 macro-int-constant.
10009 (EXIT_SUCCESS): Likewise.
10010 (NULL): Use macro-constant. Require == 0.
10011 (RAND_MAX): Use macro-int-constant.
10012 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
10013 [C99-based standards] (strtof): Require function.
10014 [C99-based standards] (strtold): Likewise.
10015 [C99-based standards] (strtoll): Likewise.
10016 [C99-based standards] (strtoull): Likewise.
10017 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10018 [ISO || ISO99 || ISO11] (limits.h): Likewise.
10019 [ISO || ISO99 || ISO11] (math.h): Likewise.
10020 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
10021 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10022 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10023
d18ea0c5
AS
100242012-05-24 Andreas Schwab <schwab@linux-m68k.org>
10025
10026 [BZ #14132]
56d25bb8
AS
10027 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
10028 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
10029 * intl/dgettext.c (DCGETTEXT): Likewise.
10030 * intl/gettext.c (DCGETTEXT): Likewise.
10031 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
10032 * posix/regex_internal.h (gettext): Likewise.
10033 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
10034 Remove declaration.
10035 * include/argz.h (__argz_count_internal)
10036 (__argz_stringify_internal): Remove declaration.
10037 (__argz_count, __argz_stringify): Declare hidden proto.
10038 * intl/dcgettext.c: Remove use of INTDEF.
10039 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
10040 * string/argz-stringify.c: Likewise.
10041 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
10042 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
10043 Declare hidden proto.
d18ea0c5
AS
10044 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
10045 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
10046 Declare hidden proto.
10047 * include/stdio.h (__asprintf_internal): Don't declare.
10048 (__asprintf): Don't define as macro. Declare hidden proto.
10049 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
10050 (__fsetlocking): Declare hidden proto.
10051 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
10052 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
10053 hidden proto.
10054 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
10055 (_IO_setlinebuf): Remove use of INTUSE.
10056 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
10057 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
10058 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
10059 Remove declaration.
10060 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
10061 (_IO_do_flush): Remove use of INTUSE.
10062 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
10063 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
10064 (_IO_adjust_column, _IO_least_wmarker)
10065 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
10066 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
10067 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
10068 (_IO_default_doallocate, _IO_wdefault_doallocate)
10069 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
10070 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
10071 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
10072 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
10073 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
10074 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
10075 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
10076 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
10077 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
10078 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
10079 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
10080 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
10081 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
10082 proto.
10083 (_IO_flush_all_internal, _IO_adjust_column_internal)
10084 (_IO_default_uflow_internal, _IO_default_finish_internal)
10085 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
10086 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
10087 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
10088 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
10089 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
10090 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
10091 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
10092 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
10093 (_IO_file_close_internal, _IO_file_close_it_internal)
10094 (_IO_file_underflow_internal, _IO_file_overflow_internal)
10095 (_IO_file_init_internal, _IO_file_attach_internal)
10096 (_IO_file_fopen_internal, _IO_file_read_internal)
10097 (_IO_file_sync_internal, _IO_file_seek_internal)
10098 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
10099 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
10100 (_IO_str_underflow_internal, _IO_str_overflow_internal)
10101 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
10102 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
10103 (_IO_list_all_internal, _IO_link_in_internal)
10104 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
10105 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
10106 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
10107 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
10108 (_IO_do_write_internal, _IO_padn_internal)
10109 (_IO_getline_info_internal, _IO_getline_internal)
10110 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
10111 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
10112 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
10113 (_IO_vfscanf_internal, _IO_vfprintf_internal)
10114 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
10115 (_IO_init_internal, _IO_un_link_internal): Don't declare.
10116 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
10117 with libc_hidden_ver, remove use of INTUSE.
10118 * libio/genops.c: Likewise.
10119 * libio/freopen.c: Likewise.
10120 * libio/freopen64.c: Likewise.
10121 * libio/iofclose.c: Likewise.
10122 * libio/iofdopen.c: Likewise.
10123 * libio/iofflush.c: Likewise.
10124 * libio/iofflush_u.c: Likewise.
10125 * libio/iofgets.c: Likewise.
10126 * libio/iofgets_u.c: Likewise.
10127 * libio/iofopen.c: Likewise.
10128 * libio/iofopncook.c: Likewise.
10129 * libio/iofread.c: Likewise.
10130 * libio/iofread_u.c: Likewise.
10131 * libio/ioftell.c: Likewise.
10132 * libio/iofwrite.c: Likewise.
10133 * libio/iogetline.c: Likewise.
10134 * libio/iogets.c: Likewise.
10135 * libio/iogetwline.c: Likewise.
10136 * libio/iopadn.c: Likewise.
10137 * libio/iopopen.c: Likewise.
10138 * libio/ioseekoff.c: Likewise.
10139 * libio/ioseekpos.c: Likewise.
10140 * libio/iosetbuffer.c: Likewise.
10141 * libio/iosetvbuf.c: Likewise.
10142 * libio/ioungetc.c: Likewise.
10143 * libio/ioungetwc.c: Likewise.
10144 * libio/iovdprintf.c: Likewise.
10145 * libio/iovsprintf.c: Likewise.
10146 * libio/iovsscanf.c: Likewise.
10147 * libio/memstream.c: Likewise.
10148 * libio/obprintf.c: Likewise.
10149 * libio/oldfileops.c: Likewise.
10150 * libio/oldiofclose.c: Likewise.
10151 * libio/oldiofdopen.c: Likewise.
10152 * libio/oldiofopen.c: Likewise.
10153 * libio/oldiopopen.c: Likewise.
10154 * libio/oldstdfiles.c: Likewise.
10155 * libio/putc.c: Likewise.
10156 * libio/setbuf.c: Likewise.
10157 * libio/setlinebuf.c: Likewise.
10158 * libio/stdfiles.c: Likewise.
10159 * libio/strops.c: Likewise.
10160 * libio/vasprintf.c: Likewise.
10161 * libio/vscanf.c: Likewise.
10162 * libio/vsnprintf.c: Likewise.
10163 * libio/vswprintf.c: Likewise.
10164 * libio/wfiledoalloc.c: Likewise.
10165 * libio/wfileops.c: Likewise.
10166 * libio/wgenops.c: Likewise.
10167 * libio/wmemstream.c: Likewise.
10168 * libio/wstrops.c: Likewise.
10169 * libio/__fpurge.c: Likewise.
10170 * libio/__fsetlocking.c: Likewise.
10171 * assert/assert.c: Likewise.
10172 * debug/fgets_chk.c: Likewise.
10173 * debug/fgets_u_chk.c: Likewise.
10174 * debug/fread_chk.c: Likewise.
10175 * debug/fread_u_chk.c: Likewise.
10176 * debug/gets_chk.c: Likewise.
10177 * debug/obprintf_chk.c: Likewise.
10178 * debug/vasprintf_chk.c: Likewise.
10179 * debug/vdprintf_chk.c: Likewise.
10180 * debug/vsnprintf_chk.c: Likewise.
10181 * debug/vsprintf_chk.c: Likewise.
10182 * malloc/mtrace.c: Likewise.
10183 * misc/error.c: Likewise.
10184 * misc/syslog.c: Likewise.
10185 * stdio-common/asprintf.c: Likewise.
10186 * stdio-common/fxprintf.c: Likewise.
10187 * stdio-common/getw.c: Likewise.
10188 * stdio-common/isoc99_fscanf.c: Likewise.
10189 * stdio-common/isoc99_scanf.c: Likewise.
10190 * stdio-common/isoc99_vfscanf.c: Likewise.
10191 * stdio-common/isoc99_vscanf.c: Likewise.
10192 * stdio-common/isoc99_vsscanf.c: Likewise.
10193 * stdio-common/printf-prs.c: Likewise.
10194 * stdio-common/printf_fp.c: Likewise.
10195 * stdio-common/printf_fphex.c: Likewise.
10196 * stdio-common/printf_size.c: Likewise.
10197 * stdio-common/putw.c: Likewise.
10198 * stdio-common/scanf.c: Likewise.
10199 * stdio-common/sprintf.c: Likewise.
10200 * stdio-common/tmpfile.c: Likewise.
10201 * stdio-common/vfprintf.c: Likewise.
10202 * stdio-common/vfscanf.c: Likewise.
10203 * stdlib/strfmon_l.c: Likewise.
10204 * sunrpc/openchild.c: Likewise.
10205 * sunrpc/xdr_stdio.c: Likewise.
10206 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
10207 * sysdeps/mach/hurd/tmpfile.c: Likewise.
10208
d6c33fda
RM
102092012-05-24 Roland McGrath <roland@hack.frob.com>
10210
c1487492
RM
10211 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
10212
10213 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
10214 in the third column, to generate for the shared library an IFUNC
10215 that uses _dl_vdso_vsym.
10216 * Makerules (COMPILE.c, compile-stdin.c): New variables.
10217 * Makeconfig (object-suffixes-noshared): New variable.
10218
10219 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
10220 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
10221 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
10222 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
10223
d6c33fda
RM
10224 [BZ #14132]
10225 * include/sys/time.h (__gettimeofday): Remove macro.
10226 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
10227 * time/gettimeofday.c (__gettimeofday): Remove #undef.
10228 Remove INTDEF.
10229 (__gettimeofday): Add libc_hidden_def.
10230 (gettimeofday): Add libc_hidden_weak.
10231 * sysdeps/mach/gettimeofday.c: Likewise.
10232 * sysdeps/posix/gettimeofday.c: Likewise.
10233 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
10234 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
10235 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
10236 (__gettimeofday_internal): Remove strong_alias.
10237 (__gettimeofday): Add libc_hidden_def.
10238 (gettimeofday): Add libc_hidden_weak.
10239 * sysdeps/unix/syscalls.list (gettimeofday):
10240 Remove __gettimeofday_internal alias.
10241
b5a2bbe6
L
102422012-05-24 Daniel Jacobowitz <drow@false.org>
10243 H.J. Lu <hongjiu.lu@intel.com>
10244
10245 [BZ #12495]
10246 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
10247 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
10248 (largebin_index_32_big): New.
10249 (largebin_index): Use it for 16-byte alignment.
10250 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
10251 correction with front_misalign.
10252
cfba4fda
L
102532012-05-24 H.J. Lu <hongjiu.lu@intel.com>
10254
7f907421
L
10255 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
10256 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
10257 Likewise.
10258 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
10259 Likewise.
10260 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
10261 Likewise.
10262 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
10263 Likewise.
10264 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
10265 Likewise.
10266 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
10267 Likewise.
10268 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
10269 Likewise.
10270 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
10271 Likewise.
10272 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
10273 Likewise.
10274 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
10275 Likewise.
10276 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
10277 Likewise.
10278 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
10279 Likewise.
10280
cfba4fda
L
10281 * scripts/data/c++-types-x32-linux-gnu.data: New file.
10282 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
10283
80bad0cc
JM
102842012-05-24 Joseph Myers <joseph@codesourcery.com>
10285
7a25eb06
JM
10286 [BZ #10846]
10287 [BZ #14036]
10288 * math/libm-test.inc (exp_test): Add test from bug 14036.
10289 (pow_test): Add test from bug 10846.
10290
795405f9
JM
10291 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
10292 and other flags.
10293 (special_function): Do not include flags in test name.
10294 (parse_args): Likewise.
10295 * sysdeps/i386/fpu/libm-test-ulps: Update.
10296 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10297 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10298 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10300
80bad0cc
JM
10301 * math/gen-libm-test.pl (%beautify): Add entries for underflow
10302 exceptions.
10303 * math/libm-test.inc ("Philosophy"): Update comment about
10304 exception testing.
10305 (UNDERFLOW_EXCEPTION): New macro.
10306 (UNDERFLOW_EXCEPTION_OK): Likewise.
10307 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
10308 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
10309 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
10310 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
10311 (INVALID_EXCEPTION_OK): Update value.
10312 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10313 (OVERFLOW_EXCEPTION_OK): Likewise.
10314 (IGNORE_ZERO_INF_SIGN): Likewise.
10315 (test_exceptions): Handle underflow exceptions.
10316 (acos_test): Update for underflow exception expectations.
10317 (cexp_test): Likewise.
10318 (clog_test): Likewise.
10319 (clog10_test): Likewise.
10320 (csqrt_test): Likewise.
10321 (ctan_test): Likewise.
10322 (ctanh_test): Likewise.
10323 (exp_test): Likewise.
10324 (exp10_test): Likewise.
10325 (exp2_test): Likewise.
10326 (expm1_test): Likewise.
10327 (fma_test): Likewise.
10328 (j0_test): Likewise.
10329 (jn_test): Likewise.
10330 (nexttoward_test): Likewise.
10331 (pow_test): Likewise.
10332 (scalbn_test): Likewise.
10333 (scalbln_test): Likewise.
10334 (tan_test): Likewise.
10335 (y1_test): Likewise.
10336 * sysdeps/i386/fpu/libm-test-ulps: Update.
10337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10338
9e0e3d0b
DM
103392012-05-23 David S. Miller <davem@davemloft.net>
10340
10341 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
10342 (__libc_sigaction): Remove unused local variables.
10343
ccd0a08f
L
103442012-05-23 H.J. Lu <hongjiu.lu@intel.com>
10345
10346 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
10347
62bdf9a6
PE
103482012-05-23 Paul Eggert <eggert@cs.ucla.edu>
10349
f8591f80
PE
10350 mktime: avoid signed integer overflow
10351 * time/mktime.c (__mktime_internal): Do not mishandle the case
10352 where diff == INT_MIN.
10353
94c7d826
PE
10354 mktime: simplify computation of average
10355 * time/mktime.c (ranged_convert): Use new time_t_avg function
10356 instead of rolling our own (probably-slower) code.
10357
ce73d683
PE
10358 mktime: do not assume signed right shift propagates sign bit
10359 * time/mktime.c (isdst_differ): New static function.
10360 (__mktime_internal): No need to normalize tm_isdst now.
10361 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
10362 tm_isdst values.
10363
72a22e59
PE
10364 mktime: merge another wrapv change from gnulib
10365 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
10366 from some compilers.
10367
68605433
PE
10368 mktime: remove incorrect attempt at unusual arithmetics
10369 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
10370 The code didn't really work on such machines anyway.
10371 (TYPE_MINIMUM): Assume two's complement.
10372 (twos_complement_arithmetic): Verify that long_int and time_t
10373 are two's complement (or unsigned, in the latter case).
10374
03cf7fe3
PE
10375 mktime: check signed shifts on long_int and time_t, too
10376 * time/mktime.c (SHR): Check that shifts work as desired
10377 on the types long_int and time_t too, as SHR is used on
10378 such types.
10379
f04dfbc2
PE
10380 mktime: do not assume 'long' is wide enough
10381 * time/mktime.c (verify): Move decl up.
10382 (long_int): New type.
10383 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
10384 to remove assumption in the code that 'long' is wide enough to
10385 store year values. This assumption is not true on x32 and on
10386 some non-glibc platforms.
10387
62bdf9a6
PE
10388 mktime: merge wrapv change from gnulib
10389 * time/mktime.c (WRAPV): New macro.
10390 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
10391 (guess_time_tm, __mktime_internal): Do not assume that signed
10392 integer overflow wraps around; modern compilers generate code
10393 where this assumption is no longer valid.
10394
5e292e4f
L
103952012-05-23 H.J. Lu <hongjiu.lu@intel.com>
10396
10397 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
10398 Replace "jmp L(pseudo_end)" with "ret".
10399 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
10400 Likewise.
10401
8caf8c87
AJ
104022012-05-23 Andreas Jaeger <aj@suse.de>
10403
10404 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
10405 * sysdeps/unix/sysv/linux/poll.c: Remove file.
10406
1a09dc56
AJ
104072012-05-23 Andreas Jaeger <aj@suse.de>
10408 Maximilian Attems <max@stro.at>
10409
10410 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
10411 New macros.
10412
1c87aba0
L
104132012-05-23 H.J. Lu <hongjiu.lu@intel.com>
10414
10415 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
10416 code so that pseudo_end is just ret and the stack pointer is
10417 correct also for static library in error case.
10418
40e45bd5
JM
104192012-05-23 Joseph Myers <joseph@codesourcery.com>
10420
c2670533
JM
10421 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
10422 move to syscalls.list.
10423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
10424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10427
40e45bd5
JM
10428 * manual/install.texi (Running make install): Do not mention Linux
10429 kernel version for which pt_chown is not needed.
10430 (Linux): Do not mention problems with nscd with 2.0 kernels.
10431 * INSTALL: Regenerated.
10432
be08eda5
AJ
104332012-05-23 Andreas Jaeger <aj@suse.de>
10434
10435 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
10436 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
10437 macro.
10438 * sysdeps/unix/sysv/linux/s390/bits/mman.h
10439 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10440 * sysdeps/unix/sysv/linux/sh/bits/mman.h
10441 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10442 * sysdeps/unix/sysv/linux/i386/bits/mman.h
10443 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10444 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
10445 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10446 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
10447 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10448 * sysdeps/unix/sysv/linux/bits/in.h
10449 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
10450
a6a056bb
RM
104512012-05-22 Roland McGrath <roland@hack.frob.com>
10452
10453 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
10454 (PREPARE_VERSION): Just use assert instead, it will be elided
10455 under [NDEBUG] anyway.
10456
c9009328
L
104572012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10458
10459 * sysdeps/unix/sysv/linux/Makefile: Include
10460 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 10461 (sysdep_routines): Remove sysctl.
c9009328
L
10462 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
10463 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
10464 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
10465 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
10466 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
10467
73338355
AJ
104682012-05-22 Andreas Jaeger <aj@suse.de>
10469
10470 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
10471 that pseudo_end is just ret and the stack pointer is correct also
10472 for static library in error case.
10473
d44638b0
PP
104742012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
10475
10476 [BZ #14122]
10477 * nss/nsswitch.c (defconfig_entries): New variable.
10478 (__nss_database_lookup): Don't leak defconfig entries.
10479 (nss_parse_service_list): Don't leak on error paths.
10480 (free_database_entries): New function.
10481 (free_defconfig): New function.
10482 (free_mem): Move common code to free_database_entries.
10483
31a39bd8
L
104842012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10485
da0331a8
L
10486 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
10487 Add arch_prctl.
10488 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
10489
31a39bd8
L
10490 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10491 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
10492 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
10493 New macro.
10494 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
10495 (INTERNAL_SYSCALL_TYPES): Likewise.
10496 (LOAD_ARGS_TYPES_[1-6]): Likewise.
10497 (LOAD_REGS_TYPES_[1-6]): Likewise.
10498 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
10499 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
10500
45470df3
AZ
105012012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10502
10503 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
10504 copysignl for GLIBC_2_0.
10505 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
10506 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
10507 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
10508 logbl for GLIBC_2_0.
10509 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
10510 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
10511
98a61bcb
L
105122012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10513
a4f6e481
L
10514 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
10515 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
10516
f63d5db6
L
10517 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
10518 Use "neg %eax".
10519
98a61bcb
L
10520 * time/mktime.c: Update copyright years.
10521
95770f14
PE
105222012-05-22 Paul Eggert <eggert@cs.ucla.edu>
10523
6226efbd
PE
10524 mktime: merge comment-quoting-style change from gnulib
10525 * time/mktime.c: Quote 'like this' in comments.
10526 The GNU coding standards suggest that we no longer quote `like this',
10527 as "`" and "'" are typically rendered asymmetrically nowadays.
10528 The typical gnulib style is to quote 'like this' when quoting
10529 code, and "like this" when quoting English.
10530
b99e4f78
PE
10531 * time/mktime.c (compile-command): Add "-I.".
10532
643e01e6
PE
10533 mktime: merge mktime-internal.h change from gnulib
10534 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
10535
2554247d
PE
10536 mktime: merge time_r change from gnulib
10537 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
10538
826dd0ab
PE
10539 mktime: merge DEBUG change from gnulib
10540 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
10541 case system <time.h> has a #define.
10542
bd83aabe
PE
10543 mktime: merge <sys/types.h> change from gnulib
10544 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
10545 since <time.t> is now guaranteed to define time_t.
10546
95770f14
PE
10547 mktime: merge HAVE_CONFIG_H change from gnulib
10548 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
10549
5e1a27a9
L
105502012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10551
0e44a77e
L
10552 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
10553 Use "neg %eax".
10554
5e1a27a9
L
10555 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
10556 __rlim_t cast.
10557 (struct rusage): Use anonymous union to pad each field to
10558 __syscall_slong_t.
10559
46259bec
DM
105602012-05-21 David S. Miller <davem@davemloft.net>
10561
10562 * Makefules (o-iterator): Remove .s cases.
10563 (compile-command.s): Delete.
10564 (COMPILE.s): Delete.
10565 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
10566
59f0c22e
JM
105672012-05-21 Joseph Myers <joseph@codesourcery.com>
10568
10569 * configure.in (libc_cv_predef_stack_protector): Only consider
10570 "foobar" and "__stack_chk_fail" lines in libc_undefs.
10571 * configure: Regenerated.
10572
20c07380
L
105732012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10574
bbb3154b
L
10575 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
10576 New macro. Use R*LP on int and pointer.
10577 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
10578 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
10579 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
10580 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
10581
20c07380
L
10582 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
10583 [__WORDSIZE_TIME64_COMPAT32] instead of
10584 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
10585 (struct utmp): Likewise.
10586 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
10587 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
10588 Renamed to ...
10589 (__WORDSIZE_TIME64_COMPAT32): This.
10590 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
10591 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
10592 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
10593 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
10594 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
10595 (__WORDSIZE_TIME64_COMPAT32): New macro.
10596
d8d1017e
AJ
105972012-05-21 Andreas Jaeger <aj@suse.de>
10598
10599 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
10600 only if [SHARED]. Add prototype for __wcschr_ia32.
10601
6c7fb145
RM
106022012-05-21 Roland McGrath <roland@hack.frob.com>
10603
10604 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
10605 of %rbp unmolested in the jmp_buf while mangling the low bits.
10606 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
10607 unmolested high bits of %rbp while demangling the low bits.
10608 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
10609
66274218
AJ
106102012-05-21 Andreas Jaeger <aj@suse.de>
10611
07c58f8f
AJ
10612 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
10613 * sunrpc/svc_simple.c: Use it for registerrpc.
10614 * sunrpc/xcrypt.c: Use it for passwd2des.
10615
66274218
AJ
10616 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
10617
61f65140
L
106182012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10619
10620 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
10621 Don't define if [__SYSCALL_WORDSIZE != 32].
10622 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
10623 New macro.
10624
5fefb436
AJ
106252012-05-21 Bruno Haible <bruno@clisp.org>
10626 Andreas Jaeger <aj@suse.de>
10627
10628 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
10629 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
10630 inptr and inend for must_buffer_ch.
10631 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
10632 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
10633 * stdio-common/Makefile (tests): Remove bug15.
10634 (bug15-ENV): Remove macro.
10635 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
10636 anymore.
10637
d8e272ab
AJ
106382012-05-19 Andreas Jaeger <aj@suse.de>
10639 Roland McGrath <roland@hack.frob.com>
10640
10641 * manual/contrib.texi: Completely rewritten. It contains now an
10642 alphabetical list of contributors and their contributions.
10643
4a56a162
RH
106442012-05-21 Richard Henderson <rth@twiddle.net>
10645
10646 * misc/getauxval.c (__getauxval): Use unsigned long int.
10647 * misc/sys/auxv.h: Include <sys/cdefs.h>.
10648 (getauxval): Use unsigned long int.
10649
d024d23c
L
106502012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10651
10652 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
10653
cbc00a03
RM
106542012-05-21 Roland McGrath <roland@hack.frob.com>
10655
10656 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
10657 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
10658 __alignof__ (long double).
10659
478143fa
AZ
106602012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10661
10662 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10663
c7683a6d
RH
106642012-05-20 Richard Henderson <rth@twiddle.net>
10665
10666 * misc/getauxval.c: New file.
10667 * misc/sys/auxv.h: New file.
10668 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
10669 (routines): Add getauxval.
10670 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
10671 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
10672 * elf/dl-sysdep.c (_dl_auxv): Remove.
10673 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
10674 * elf/dl-support.c (_dl_auxv): New variable.
10675 (_dl_aux_init): Initialize it.
10676 * manual/startup.texi (Auxiliary Vector): New node.
10677 * sysdeps/generic/bits/hwcap.h: New file.
10678 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
10679 * sysdeps/powerpc/sysdep.h: ... here. Include it.
10680 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
10681 * sysdeps/sparc/sysdep.h: ... here. Include it.
10682 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
10683 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
10684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10685 Update.
c7683a6d
RH
10686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
10687 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
10688 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
10689 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
10690 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
10691 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
10692 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
10693 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
10694
a6f1845d
AZ
106952012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10696
10697 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10698
cbcbe830
DM
106992012-05-19 David S. Miller <davem@davemloft.net>
10700
10701 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10702
e0b16cc2
JM
107032012-05-19 Joseph Myers <joseph@codesourcery.com>
10704
10705 [BZ #14123]
10706 * math/s_ccosh.c: Include <float.h>
10707 (__ccosh): Avoid internal overflow calculating sinh and cosh
10708 values before multiplying by sin and cos values.
10709 * math/s_ccoshf.c: Likewise.
10710 * math/s_ccoshl.c: Likewise.
10711 * math/s_csin.c: Likewise.
10712 * math/s_csinf.c: Likewise.
10713 * math/s_csinl.c: Likewise.
10714 * math/s_csinh.c: Likewise.
10715 * math/s_csinhf.c: Likewise.
10716 * math/s_csinhl.c: Likewise.
10717 * math/libm-test.inc (ccos_test): Add more tests.
10718 (ccosh_test): Likewise.
10719 (csin_test): Likewise.
10720 (csinh_test): Likewise.
10721 * sysdeps/i386/fpu/libm-test-ulps: Update.
10722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10723
6ad13e08
L
107242012-05-19 H.J. Lu <hongjiu.lu@intel.com>
10725
f66f0ce8
L
10726 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
10727 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
10728
6ad13e08
L
10729 * sysdeps/x86_64/x32/_itoa.h: Add comment.
10730
b1d072a7
JM
107312012-05-19 Joseph Myers <joseph@codesourcery.com>
10732
10733 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
10734 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
10735 * sysdeps/powerpc/soft-fp/Versions: Likewise.
10736 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
10737 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
10738 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
10739 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
10740 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
10741 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
10742 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
10743 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
10744 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
10745 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
10746 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
10747 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
10748 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
10749 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
10750 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
10751 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
10752 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
10753 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
10754 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
10755 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
10756 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
10757 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
10758 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
10759 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
10760 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
10761 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
10762 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
10763 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
10764
9eae47cb
AJ
107652012-05-18 Andreas Jaeger <aj@suse.de>
10766
10767 * csu/.gitignore: Delete.
10768
bb07f69f
L
107692012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10770
10771 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
10772 (timex): Use __syscall_slong_t.
10773
e6bdb741
AJ
107742012-05-18 Andreas Jaeger <aj@suse.de>
10775 Carlos O'Donell <carlos_odonell@mentor.com>
10776
10777 * manual/install.texi (Configuring and compiling): Update
10778 description about files modified in the source directory.
d6c33fda 10779 * INSTALL: Regenerated.
e6bdb741 10780
1b74487e
L
107812012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10782
10783 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
10784 value. Use "or" to set return value to -1.
10785 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
10786 negate return value.
10787
a88b64b9
TMQMF
107882012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10789
10790 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
10791 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
10792 failure if the compiler has Graphite support disabled.
10793 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
10794 Likewise.
10795 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
10796 CFLAGS-memmove.c): Likewise.
10797 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
10798 Likewise.
10799
3707636e
L
108002012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10801
610b8622
L
10802 * sysdeps/x86_64/x32/_itoa.h: New file.
10803
7cd195df
L
10804 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
10805 getdents system call only if kernel and user dirents have the
10806 same d_ino and d_off.
10807
94b07d20
L
10808 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
10809 LLONG_MAX != LONG_MAX.
10810 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10811 (_fitoa_word): Likewise.
10812
18298070
L
10813 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
10814 years.
10815 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
10816 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
10817 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
10818
553c7ea4
L
10819 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
10820 include <bits/wordsize.h>. Check __x86_64__ instead of
10821 __WORDSIZE.
10822 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
10823 if __x86_64__ is defined. Use anonymous union on fpstate.
10824
3707636e
L
10825 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
10826 anonymous union.
10827
b53ef01a
AS
108282012-05-18 Andreas Schwab <schwab@linux-m68k.org>
10829
37fb1dc0
AS
10830 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
10831 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
10832 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
10833 Refer to _rtld_local_ro instead of _rtld_global_ro.
10834 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
10835 Likewise.
10836 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
10837 Likewise.
10838 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
10839 Likewise.
10840 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
10841 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
10842 of _rtld_global, and rtld_progname instead of _dl_argv[0].
10843
b53ef01a
AS
10844 * sysdeps/powerpc/powerpc32/dl-machine.c
10845 (__elf_machine_runtime_setup) [PROF]: Don't reference
10846 _dl_prof_resolve.
10847
7a185db2
AJ
108482012-05-18 Andreas Jaeger <aj@suse.de>
10849
10850 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
10851 function only available for GCCs before 3.4 since GCC 3.4
10852 introduced a builtin.
10853 (lrint): Likewise.
10854 (llrintf): Likewise.
10855 (llrint): Likewise.
10856 (fmaxf): Likewise.
10857 (fmax): Likewise.
10858 (fminf): Likewise.
10859 (fmin): Likewise.
10860 (rint): Likewise.
10861 (rintf): Likewise.
10862 (nearbyint): Likewise.
10863 (nearbyintf): Likewise.
10864 (ceil): Likewise.
10865 (ceilf): Likewise.
10866 (floor): Likewise.
10867 (floorf): Likewise.
10868
3e5aef87
L
108692012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10870
428bd707
L
10871 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
10872 on both fields and cast pointer to __syscall_ulong_t.
10873
3e5aef87
L
10874 * bits/types.h (__fsword_t): New type.
10875 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
10876 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
10877 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10878 (__FSWORD_T_TYPE): Likewise.
10879 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10880 (__FSWORD_T_TYPE): Likewise.
10881 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10882 (__FSWORD_T_TYPE): Likewise.
10883 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
10884 (__FSWORD_T_TYPE): Likewise.
10885 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
10886 __SWORD_TYPE with __fsword_t.
10887 (statfs64): Likewise.
10888
1ba7c3dc
DM
108892012-05-17 David S. Miller <davem@davemloft.net>
10890
10891 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
10892
59910343
AJ
108932012-05-17 Andreas Jaeger <aj@suse.de>
10894
10895 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
10896 warning.
10897
2e4c1e9e
L
108982012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10899
10900 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
10901
de7f5ce7
AJ
109022012-05-17 Andreas Jaeger <aj@suse.de>
10903
10904 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
10905 when it is used.
10906
286abc3d
CM
109072012-05-17 Chris Metcalf <cmetcalf@tilera.com>
10908
10909 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
10910
477cc68e
L
109112012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10912
10913 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
10914 * sysdeps/x86_64/tst-mallocalign1.c: New file.
10915
1a0994f5
CD
109162012-05-17 Andreas Jaeger <aj@suse.de>
10917 Carlos O'Donell <carlos_odonell@mentor.com>
10918
10919 [BZ #14059]
10920 * sysdeps/x86_64/multiarch/init-arch.h
10921 (bit_YMM_Usable): Rename to...
10922 (bit_AVX_Usable): ... this.
10923 (bit_FMA4_Usable): New macro.
10924 (bit_XMM_state): New macro.
10925 (bit_YMM_state): New macro.
10926 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
10927 [__ASSEMBLER__] (index_AVX_Usable): ... this.
10928 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
10929 (CPUID_OSXSAVE): New macro.
10930 (CPUID_AVX): New macro.
10931 (CPUID_FMA4): New macro.
10932 (index_YMM_Usable): Rename to...
10933 (index_AVX_Usable): ... this.
10934 (HAS_AVX): Use HAS_ARCH_FEATURE.
10935 (HAS_FMA4): Likewise.
10936 (HAS_YMM_USABLE): Remove.
10937 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10938 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
10939 are present.
10940 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
10941 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
10942 * sysdeps/x86_64/multiarch/Makefile: Likewise.
10943 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
10944 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
10945
0af797de
CM
109462012-05-17 Chris Metcalf <cmetcalf@tilera.com>
10947
10948 * math/libm-test.c: Support platforms without multiple rounding modes.
10949 * math/bug-nextafter.c: Support platforms without FP exceptions.
10950 * math/bug-nexttoward.c: Likewise.
10951 * math/test-fenv.c: Likewise.
10952 * math/test-misc.c: Likewise.
10953 * stdlib/bug-getcontext.c: Likewise.
10954
e39745ff
AJ
109552012-05-17 Andreas Jaeger <aj@suse.de>
10956
10957 * manual/examples/search.c (critter_cmp): Change signature to
10958 avoid warnings.
10959 * manual/string.texi (Collation Functions): Likewise.
10960
48970aba
L
109612012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10962
10963 * bits/types.h: Fold copyright years.
10964 * bits/typesizes.h: Likewise.
10965 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
10966 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
10967 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
10968 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
10969 * time/time.h: Likewise.
10970
bedee953
PP
109712012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
10972
10973 [BZ #208]
10974 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
10975 in instead of returning them. Return void.
10976 (__libc_mallinfo): Accumulate over all arenas.
10977 (__malloc_stats): Adjust for change in int_mallinfo interface.
10978
61653dfb
RM
109792012-05-16 Roland McGrath <roland@hack.frob.com>
10980
30b99d79
RM
10981 [BZ #10375]
10982 * configure.in (NM): Add AC_CHECK_TOOL for it.
10983 (libc_extra_cflags): New substituted variable.
10984 Check for -fstack-protector being used implicitly.
10985 * configure: Regenerated.
10986 * config.make.in (config-extra-cflags): New variable,
10987 gets @libc_extra_cflags@.
10988 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
10989
61653dfb
RM
10990 [BZ #10375]
10991 * configure.in: Check for _FORTIFY_SOURCE being predefined.
10992 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
10993 * configure: Regenerated.
10994 * config.make.in (CPPUNDEFS): New substituted variable.
10995 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
10996 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
10997 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
10998
661768bb
L
109992012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11000
11001 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
11002 (mq_attr): Use __syscall_slong_t.
11003
d4261567
L
110042012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11005
11006 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
11007 Check __x86_64__ instead of __WORDSIZE.
11008 (_STAT_VER_LINUX): Likewise.
11009 (stat): Check __x86_64__ instead of __WORDSIZE. Use
11010 __syscall_ulong_t and __syscall_slong_t.
11011 (stat64): Likewise.
11012
cf3ff365
L
110132012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11014
11015 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
11016
76cf3e4d
L
110172012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11018
11019 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
11020
a637753a
L
110212012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11022
11023 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
11024 __syscall_ulong_t.
11025
d5e05119
L
11026 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
11027 include <bits/wordsize.h>. Check __x86_64__ instead of
11028 __WORDSIZE.
11029 (greg_t): Use "__extension__ long long int" if __x86_64__ is
11030 defined.
11031 (mcontext_t): Replace "unsigned long" with "unsigned long long".
11032
f62ee380
L
11033 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
11034 include <bits/wordsize.h>. Check __x86_64__ instead of
11035 __WORDSIZE.
11036 (user_regs_struct): Use "__extension__ unsigned long long"
11037 instead of "unsigned long" if __x86_64__ is defined.
11038 (user): Likewise. Pad after pointer field if __ILP32__ is
11039 defined.
11040
4e124ced
JM
110412012-05-16 Joseph Myers <joseph@codesourcery.com>
11042
6a3951a0
JM
11043 * configure.in (makeinfo): Require version 4.5 or later. Allow
11044 versions 5 to 9.
11045 * configure: Regenerated.
11046 * manual/install.texi (texinfo): Increase version requirement to
11047 4.5 or later.
11048 * INSTALL: Regenerated.
11049
4e124ced
JM
11050 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
11051
953ca31a
L
110522012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11053
11054 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
11055
617aca05
L
11056 * sysdeps/x86_64/x32/ffs.c: New file.
11057
5762f7ae
L
11058 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
11059 __syscall_ulong_t.
11060 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
11061 defined. Use __syscall_ulong_t.
11062 (shminfo): Use __syscall_ulong_t.
11063 (shm_info): Likewise.
11064
a26b6856
L
11065 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
11066 __syscall_ulong_t.
11067
cb2b9ef7
L
11068 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
11069 <bits/wordsize.h>.
11070 (msgqnum_t): Use __syscall_ulong_t.
11071 (msglen_t): Likewise.
11072 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
11073 __syscall_ulong_t.
11074
34683bb0
L
11075 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
11076 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11077
84a68786
L
11078 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
11079
48baa5f1
L
11080 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
11081 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
11082
180be88b
L
11083 * sysvipc/sys/msg.h (msgbuf): Replace long int with
11084 __syscall_slong_t.
11085
5e90c8ad
L
11086 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
11087 include <bits/wordsize.h>. Check __x86_64__ instead of
11088 __WORDSIZE.
11089
23dfb58b
L
11090 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
11091 "unsigned long long int" if __x86_64__ is defined.
11092 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
11093
ce5d54b0
L
11094 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
11095 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11096 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
11097
13dc9eac
L
11098 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
11099 <stdint.h>.
11100 (GET_PC): Cast to uintptr_t first.
11101 (GET_FRAME): Likewise.
11102 (GET_STACK): Likewise.
11103
a7895d15
L
11104 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
11105 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
11106 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
11107 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
11108 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
11109 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
11110 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
11111 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
11112 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
11113 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
11114 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
11115 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
11116 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
11117 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
11118 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
11119 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
11120 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
11121 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
11122 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
11123 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
11124 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
11125 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
11126 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
11127 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
11128 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
11129 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
11130 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
11131 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
11132 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
11133
656416c9
AS
111342012-05-16 Andreas Schwab <schwab@linux-m68k.org>
11135
5bd66283
AS
11136 * Makerules (+depfiles): Also collect depfiles from .oS in
11137 $(extra-objs).
11138 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
11139 .oS, $(libnldbl-routines)).
11140
656416c9
AS
11141 * Makerules (native-compile-mkdep-flags): Define.
11142 * sunrpc/Makefile (extra-objs): Add $(addprefix
11143 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
11144 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
11145 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
11146 calling $(make-target-directory).
11147
a46f2169
L
111482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11149
11150 * bits/types.h (__snseconds_t): Removed.
11151 * time/time.h (struct timespec): Replace __snseconds_t with
11152 __syscall_slong_t.
11153 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
11154 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
11155 Likewise.
11156 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11157 (__SNSECONDS_T_TYPE): Likewise.
11158 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11159 (__SNSECONDS_T_TYPE): Likewise.
11160 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11161 (__SNSECONDS_T_TYPE): Likewise.
11162
6af6528b
L
111632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11164
11165 * sysdeps/mach/hurd/bits/typesizes.h
11166 (__SYSCALL_SLONG_TYPE): New macro.
11167 (__SYSCALL_ULONG_TYPE): Likewise.
11168
de986b56
L
111692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11170
11171 * bits/types.h (__syscall_slong_t): New type.
11172 (__syscall_ulong_t): Likewise.
11173
11174 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
11175 (__SYSCALL_ULONG_TYPE): Likewise.
11176 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11177 (__SYSCALL_SLONG_TYPE): Likewise.
11178 (__SYSCALL_ULONG_TYPE): Likewise.
11179 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11180 (__SYSCALL_SLONG_TYPE): Likewise.
11181 (__SYSCALL_ULONG_TYPE): Likewise.
11182 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11183 (__SYSCALL_SLONG_TYPE): Likewise.
11184 (__SYSCALL_ULONG_TYPE): Likewise.
11185
85736dc7
L
111862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11187
11188 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
11189 Add sigaltstack-offsets.sym.
11190 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
11191 <sigaltstack-offsets.h>.
11192 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
11193 longjmp_msg pointer.
11194 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
11195 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
11196 signal stack.
11197 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
11198
cc03b296
JM
111992012-05-15 Joseph Myers <joseph@codesourcery.com>
11200
a9538892
JM
11201 * elf/stackguard-macros.h: Remove file.
11202 * sysdeps/generic/stackguard-macros.h: New file.
11203 * sysdeps/i386/stackguard-macros.h: Likewise.
11204 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
11205 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
11206 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11207 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11208 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
11209 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
11210 * sysdeps/x86_64/stackguard-macros.h: Likewise.
11211 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
11212 <elf/stackguard-macros.h>.
11213
cc03b296
JM
11214 [BZ #14109]
11215 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
11216 __aligned__ in attribute.
11217 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
11218 (gregset_t): Likewise.
11219
93171016
L
112202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11221
11222 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
11223 * sysdeps/x86_64/64/Implies-after: Here. New file.
11224 * sysdeps/x86_64/x32/Implies-after: New file.
11225
d86813a0
L
112262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11227
11228 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
11229 and access return value for _dl_profile_fixup. Use R10_LP to
11230 load frame size.
11231
2953ec75
L
112322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11233
11234 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
11235
3b550e9e
L
112362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11237
11238 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
11239 * sysdeps/x86_64/x32/sysdep.h: New file.
11240
eda41706
L
112412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11242
11243 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
11244 * sysdeps/x86_64/setjmp.S: Likewise.
11245
9ea01d93
AZ
112462012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11247
11248 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
11249 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
11250 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
11251 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
11252 remove unused global constant.
11253
02a91938
CM
112542012-05-15 Chris Metcalf <cmetcalf@tilera.com>
11255
11256 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
11257 include of <not-cancel.h>.
11258
6540185f
RM
112592012-05-15 Roland McGrath <roland@hack.frob.com>
11260
11261 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
11262
509072a0
AJ
112632012-05-15 Jeff Law <law@redhat.com>
11264 Andreas Jaeger <aj@suse.de>
11265
11266 [BZ #13594]
11267 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
11268 out from...
11269 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
11270 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
11271 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
11272 code changing __hst_map_handle.map.
11273
ba75122d
RM
112742012-05-15 Roland McGrath <roland@hack.frob.com>
11275
11276 * configure.in (sysnames): Look for Implies-before and Implies-after
11277 files.
11278 * configure: Regenerated.
11279
890d8bd8
L
112802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11281
11282 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
11283 8-byte data alignment with LP_SIZE alignment.
11284
f6ee6623
L
112852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11286
11287 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
11288 into R10_LP.
11289
ea2626f6
L
112902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11291
11292 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
11293
085f715e
L
112942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11295
11296 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
11297 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
11298 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
11299 Likewise.
11300 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11301
be8498fc
L
113022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11303
11304 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
11305 (stackinfo_sub_sp): Likewise.
11306
70bc83b9
L
113072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11308
11309 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
11310 RAX_LP.
11311
9bc0b730
L
113122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11313
11314 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
11315 into R*_LP.
11316
6d2850e7
L
113172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11318
11319 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
11320 sizes into R*_LP.
11321
3cb84561
L
113222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11323
11324 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
11325
54e2ed81
L
113262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11327
11328 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
11329 into R11_LP and load __x86_64_shared_cache_size_half into
11330 R8_LP.
11331
8a17f349
L
113322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11333
11334 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
11335 R8_LP.
11336
777b1eea
AZ
113372012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11338
11339 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
11340 logb for POWER7.
11341 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
11342 logbf for POWER7.
11343 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
11344 logbl for POWER7.
11345 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
11346 powerpc32/power7/fpu/s_logb.c via #include.
11347 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
11348 powerpc32/power7/fpu/s_logbf.c via #include.
11349 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
11350 powerpc32/power7/fpu/s_logbl.c via #include.
11351
d20d4ac2
JM
113522012-05-15 Joseph Myers <joseph@codesourcery.com>
11353
11354 * README.libm: Remove file.
11355
6cdef1ab
L
113562012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11357
11358 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
11359 count for x32. Use R*_LP and omit operand-size suffix.
11360
0b254d8f
L
113612012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11362
11363 * shlib-versions: Move x86_64-.*-linux.* entries to ...
11364 * sysdeps/x86_64/64/shlib-versions: Here. New file.
11365 * sysdeps/x86_64/x32/shlib-versions: New file.
11366
ceb809dc
RM
113672012-05-14 Roland McGrath <roland@hack.frob.com>
11368
11369 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
11370 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
11371 Use _dl_fatal_printf instead.
11372
37f1abd4
JM
113732012-05-14 Joseph Myers <joseph@codesourcery.com>
11374
11375 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
11376 set if not set by the user. Do not allow for being unset.
11377 * sysdeps/unix/sysv/linux/configure: Regenerated.
11378
11de3a33
L
113792012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11380
11381 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
11382 the `q' suffix from lea and replace .quad with ASM_ADDR.
11383
e02f153a
L
113842012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11385
11386 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
11387 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
11388 instead of $17.
11389 (PTR_DEMANGLE): Likewise.
11390
520ae0fd
L
113912012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11392
11393 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
11394 (LP_OP): Likewise.
11395 (ASM_ADDR): Likewise.
11396 (RAX_LP): Likewise.
11397 (RBP_LP): Likewise.
11398 (RBX_LP): Likewise.
11399 (RCX_LP): Likewise.
11400 (RDI_LP): Likewise.
11401 (RSI_LP): Likewise.
11402 (RSP_LP): Likewise.
11403 (R8_LP): Likewise.
11404 (R9_LP): Likewise.
11405 (R10_LP): Likewise.
11406 (R10_LP): Likewise.
11407 (R11_LP): Likewise.
11408 (R12_LP): Likewise.
11409 (R13_LP): Likewise.
11410 (R14_LP): Likewise.
11411 (R15_LP): Likewise.
11412
b985be81
L
114132012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11414
11415 * sysdeps/x86_64/x32/dl-machine.h: New file.
11416
6a4888ff
AJ
114172012-05-14 Andreas Jaeger <aj@suse.de>
11418
11419 * manual/Makefile (subdir): Remove export of subdir.
11420 (all): Remove target.
11421 (.PHONY): Remove all from list.
11422 (mkinstalldirs): Remove.
11423 (.PHONY): Remove installdirs from list.
11424 ($(inst_infodir)/libc.info): Use make-target-directory.
11425 (installdirs): Remove.
11426 (subdir_%): Remove.
11427 (glibc-targets): Remove.
11428 (lib): Remove.
11429 (stubs): Remove.
11430 ($(objpfx)stubs ../po/manual.pot): Remove.
11431 ($(objpfx)stamp%): Remove.
11432 (make-target-directory): Remove.
11433 (subdir_install): Remove.
11434 (routines): Remove.
11435 (aux): Remove.
11436 (sources): Remove.
11437 (objects): Remove.
11438 (headers): Remove.
11439
11440 [BZ #13750]
11441 * manual/.gitignore: Remove, it's not needed anymore.
11442 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
11443 all files in it.
11444 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
11445 directory.
11446 (texis): Renamed to $(objpfx)texis.
11447 (texis-path): New, contains path to generated files.
11448 (chapters.%): Use texis-path for complete path, add extra argument
11449 libc-texinfo.sh.
11450 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
11451 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
11452 (summary,texi, stamp-summary): Use complete path of
11453 files. Generate files in build dir.
11454 (dir-add.texi): Build in build dir.
11455 (libm-err.texi,stamp-libm-err): Likewise.
11456 (version.texi, stamp-version): Likewise.
11457 (.%c.texi): Likewise.
11458 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
11459 (mostlyclean): Remove target.
11460 (realclean): Remove target.
11461 (generated): Add new variable with contents from mostlyclean and
11462 realclean, remove entries duplicated in common-mostlyclean, add
11463 stamp-libm-err and stamp-version.
11464 (generated-dirs): Add libc directory.
11465 ($(inst_infodir)/libc.info): Install files from build dir.
11466
11467 * manual/install.texi (Configuring and compiling): Adjust since
11468 the info files are not part of the tar ball anymore.
11469
7ac77294
AJ
114702012-05-14 Andreas Jaeger <aj@suse.de>
11471
11472 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
11473 variable.
11474
ffb7875d
JM
114752012-05-14 Joseph Myers <joseph@codesourcery.com>
11476
11477 [BZ #13717]
11478 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11479 to 2.2.0 where earlier.
11480 * sysdeps/unix/sysv/linux/configure: Regenerated.
11481 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
11482 Remove conditional code.
11483 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
11484 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
11485 Remove conditional code.
11486 [!__NR_lchown]: Likewise.
11487 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
11488 [__NR_lchown]: Likewise.
11489 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
11490 comment referencing __ASSUME_LCHOWN_SYSCALL.
11491 * sysdeps/unix/sysv/linux/i386/sigaction.c
11492 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11493 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11494 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
11495 Remove conditional code.
11496 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
11497 (__protocol_available): Remove #if 0 code.
11498 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
11499 conditional code.
11500 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
11501 * sysdeps/unix/sysv/linux/kernel-features.h
11502 (__ASSUME_GETCWD_SYSCALL): Don't define.
11503 (__ASSUME_REALTIME_SIGNALS): Likewise.
11504 (__ASSUME_PREAD_SYSCALL): Likewise.
11505 (__ASSUME_PWRITE_SYSCALL): Likewise.
11506 (__ASSUME_POLL_SYSCALL): Likewise.
11507 (__ASSUME_LCHOWN_SYSCALL): Likewise.
11508 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
11509 non-SPARC.
11510 (__ASSUME_SIOCGIFNAME): Don't define.
11511 (__ASSUME_MSG_NOSIGNAL): Likewise.
11512 (__ASSUME_SENDFILE): Define unconditionally.
11513 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
11514 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
11515 conditional code.
11516 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
11517 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
11518 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
11519 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
11520 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
11521 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
11522 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
11523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
11524 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11525 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
11527 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11528 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
11530 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11531 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
11533 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11534 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
11536 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11537 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
11539 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11540 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
11542 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11543 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
11545 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11546 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11547 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
11548 Remove conditional code.
11549 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11550 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
11551 Remove conditional code.
11552 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11553 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
11554 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
11555 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
11556 Remove conditional code.
11557 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11558 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
11559 Remove conditional code.
11560 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11561 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
11562 Remove conditional code.
11563 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11564 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
11565 Remove conditional code.
11566 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11567 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
11568 Remove conditional code.
11569 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11570 * sysdeps/unix/sysv/linux/sh/pwrite64.c
11571 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11572 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11573 * sysdeps/unix/sysv/linux/sigaction.c
11574 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11575 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11576 * sysdeps/unix/sysv/linux/sigpending.c
11577 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11578 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11579 * sysdeps/unix/sysv/linux/sigprocmask.c
11580 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11581 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11582 * sysdeps/unix/sysv/linux/sigsuspend.c
11583 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11584 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11585 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11586 (__libc_missing_rt_sigs): Remove.
11587 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
11588 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
11589 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
11590 Remove conditional code.
11591 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
11592 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
11593 return 1.
11594 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
11595 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
11596 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
11597 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
11598
1bfb7291
AJ
115992012-05-14 Andreas Jaeger <aj@suse.de>
11600
caae5a81
AJ
11601 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
11602 it's not used in glibc.
11603 (__coshm1): Likewise.
11604 (__acosh1p): Likewise.
11605 (__sgn): Likewise.
11606
1bfb7291
AJ
11607 * manual/string.texi (Copying and Concatenation): Add missing
11608 variable in concat example.
11609 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
11610
c044d724
L
116112012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11612
144c5467 11613 [BZ #14103]
c044d724
L
11614 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
11615 __builtin_clzl with __builtin_clzll.
11616
2523c62b
L
116172012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11618
11619 [BZ #14104]
11620 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
11621 libc_freeres_ptr.
11622
d7bb4c42
LD
116232012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11624
11625 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
11626 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
11627 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
11628 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
11629
9dc4e1fb
MF
116302012-05-14 Mike Frysinger <vapier@gentoo.org>
11631
11632 * NEWS: Update ia64 info.
11633
c7df0112
AS
116342012-05-12 Andreas Schwab <schwab@linux-m68k.org>
11635
11636 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
11637 used as bcopy.
11638
dc70356c
TS
116392012-05-12 Thomas Schwinge <thomas@codesourcery.com>
11640
11641 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
11642 * sysdeps/unix/syscalls.list (dup3): Likewise.
11643 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
11644 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
11645
9fb1a21f
L
116462012-05-11 H.J. Lu <hongjiu.lu@intel.com>
11647
11648 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
11649 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
11650
4822a2a5
L
116512012-05-11 H.J. Lu <hongjiu.lu@intel.com>
11652
11653 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
11654 thread pointer.
11655 (TLS_IE): Use mov/add instead of movq/addq to load thread
11656 pointer.
11657 (TLS_GD_PREFIX): New.
11658 (TLS_GD): Use it.
11659
842b81d6
DM
116602012-05-11 David S. Miller <davem@davemloft.net>
11661
11662 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
11663 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
11664 (_FPU_SETCW): Likewise.
11665
1cf463cd
L
116662012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11667
11668 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
11669 is 32-byte aligned.
11670
60cc4a18
AS
116712012-05-11 Andreas Schwab <schwab@linux-m68k.org>
11672
11673 [BZ #11837]
11674 * iconvdata/gb18030.c: Update tables.
11675 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
11676 characters specially.
11677 (BODY for TO_LOOP): Add encoding of missing ranges.
11678
febb44a4
TS
116792012-05-11 Thomas Schwinge <thomas@codesourcery.com>
11680
11681 [BZ #13673]
11682 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
11683 * sysdeps/mach/hurd/dup3.c: Likewise.
11684 * sysdeps/mach/hurd/readlinkat.c: Likewise.
11685 * sysdeps/powerpc/memmove.c:: Likewise.
11686
0a10fb9e
L
116872012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11688
11689 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
11690 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
11691
df8a552f
L
116922012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11693
11694 * elf/elf.h (R_X86_64_RELATIVE64): New.
11695 (R_X86_64_NUM): Updated.
11696 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
11697 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
11698 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
11699 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
11700 tst-quad1pie tst-quad2pie
11701 (modules-names): Add tst-quadmod1 tst-quadmod2.
11702 ($(objpfx)tst-quad1): New dependency.
11703 ($(objpfx)tst-quad2): Likewise.
11704 ($(objpfx)tst-quad1pie): Likewise.
11705 ($(objpfx)tst-quad2pie): Likewise.
11706 * sysdeps/x86_64/tst-quad1.c: New file.
11707 * sysdeps/x86_64/tst-quad1pie.c: New file.
11708 * sysdeps/x86_64/tst-quad2.c: Likewise.
11709 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
11710 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
11711 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
11712 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
11713 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
11714
f34d6f84
ST
117152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11716
f42d41d1
ST
11717 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
11718 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
11719 * streams/stropts.h (t_scalar_t): Define type.
11720
3c3571fc
ST
11721 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
11722 (_PATH_PRESERVE): Set to "/var/lib".
11723 (_PATH_RWHODIR): Set to "/var/spool/rwho".
11724
61f06bd3
ST
11725 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
11726 instead of int.
11727
918d4d71
ST
11728 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
11729 if __dir_mkfile succeeded.
11730
f34d6f84
ST
11731 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
11732 checking for _hurd_dtablesize. Unlock it right after having
11733 finished _hurd_dtable allocation.
11734
10589b4a
TS
117352012-05-10 Thomas Schwinge <thomas@schwinge.name>
11736
674cdbc7
TS
11737 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
11738 * sysdeps/mach/hurd/configure: Regenerated.
11739 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
11740 special-casing to...
11741 * sysdeps/gnu/configure.in: ... this new file.
11742 * sysdeps/unix/sysv/linux/configure: Regenerated.
11743 * sysdeps/gnu/configure: New generated file.
11744
8e41b99f
TS
11745 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
11746 for Linux: use nsec instead of usec, as well as:
11747 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
11748 members of type struct timespec.
11749 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
11750 New macros.
11751 (struct stat64): Likewise.
11752 (_STATBUF_ST_NSEC): New macro.
11753 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
11754
10589b4a
TS
11755 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
11756 __strtoul_internal rather than strtoul.
11757
63643c85
PT
117582012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11759
11760 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
11761 and reject them.
11762
3faebe6a
ST
117632012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11764
11765 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
11766 which preserves existing values.
11767 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
11768
c6474b07
PT
117692012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11770
11771 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
11772 TIMEOUT values. Return EINVAL for NFDS values either negative or
11773 greater than FD_SETSIZE.
11774
1043890b
ST
117752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11776
11777 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
11778 allocated, call __vm_protect to finish enabling the existing space, and
11779 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
11780 allocate the remainder.
11781
37ed8b9b
PT
117822012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11783
11784 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
11785 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
11786
db653660
ST
117872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11788
37ed8b9b
PT
11789 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
11790 sysdeps/mach/hurd/readlink.c.
b29d4053 11791
db653660
ST
11792 * posix/tst-sysconf.c (posix_options): Only use
11793 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
11794 _POSIX_SYNCHRONIZED_IO when they are defined
11795 * sysdeps/mach/hurd/bits/posix_opt.h:
11796 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
11797 (_XOPEN_REALTIME): Undefine macro.
11798 (_XOPEN_REALTIME_THREADS): Undefine macro.
11799 (_XOPEN_SHM): Undefine macro.
11800 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
11801 macro to -1.
11802 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
11803 macro to -1.
11804 (_POSIX_ASYNC_IO): Undefine macro.
11805 (_POSIX_PRIORITIZED_IO): Undefine macro.
11806 (_POSIX_SPIN_LOCKS): Define macro to -1.
11807
ee16e894
ST
11808 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
11809 SA_NODEFER, SA_RESETHAND.
11810 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
11811 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
11812 F_DUPFD_CLOEXEC.
11813
6103ae3b
TS
118142012-05-10 Thomas Schwinge <thomas@schwinge.name>
11815
11816 * elf/Makefile (pldd-modules): Define unconditionally.
11817
80b4e5f3
TS
118182012-05-10 Thomas Schwinge <thomas@schwinge.name>
11819
11820 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
11821
edadcbd6
ST
118222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11823
11824 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
11825 Return ENOENT when name is empty.
11826 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
11827
80694780
TS
118282012-05-10 Thomas Schwinge <thomas@schwinge.name>
11829
1792c087
TS
11830 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
11831
80694780
TS
11832 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
11833
6b645f0d
ST
118342012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11835
80694780
TS
11836 Fix mlock in all cases except non-readable pages.
11837 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
11838 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 11839
6b645f0d
ST
11840 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
11841 (__mkdir): When path is `/', just fail with EEXIST.
11842 * sysdeps/mach/hurd/mkdirat.c: Likewise.
11843
e468f8a3
TS
118442012-05-10 Thomas Schwinge <thomas@schwinge.name>
11845
11846 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
11847 <sys/uio.h> (for writev).
11848 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
11849 and <sys/param.h> (for MIN).
11850
a4186cff
PT
118512012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11852
11853 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
11854 REQUESTED_TIME. Properly set the remaining time and return EINTR
11855 if interrupted.
11856
510bbf14
TS
118572012-05-10 Thomas Schwinge <thomas@schwinge.name>
11858
11859 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
11860 Depend on against $(link-rpcuserlibs).
11861
5d5722e8
ST
118622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11863
a4186cff
PT
11864 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
11865 (__libc_stack_end): Do not use attribute_relro.
11866 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
11867 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 11868 to libthread-provided value.
a4186cff
PT
11869 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
11870 attribute_relro.
5d5722e8 11871
37233df9
TS
118722012-05-10 Thomas Schwinge <thomas@schwinge.name>
11873
be971a2b
TS
11874 [BZ #3748]
11875 * bits/libc-lock.h (__libc_once_get): New macro.
11876 * sysdeps/mach/bits/libc-lock.h: Likewise.
11877 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
11878 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
11879 instead of using implementation details.
11880
37233df9
TS
11881 * libio/fileops.c: Unconditionally include <kernel-features.h>.
11882 * libio/freopen.c: Likewise.
11883 * libio/freopen64.c: Likewise.
11884 * misc/syslog.c: Likewise.
11885 * nscd/connections.c: Likewise.
11886 * nscd/netgroupcache.c: Likewise.
11887 * sysdeps/posix/getcwd.c: Likewise.
11888
38de94a5
RM
118892012-05-10 Roland McGrath <roland@hack.frob.com>
11890
11891 * math/w_ilogbf.c: Add #include <limits.h>.
11892
67530489
ST
118932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11894
a4186cff 11895 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
11896 path instead of returning without unlocking.
11897
67530489
ST
11898 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
11899 immediate-write ioctls.
11900 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
11901
5aa3a74a
TS
119022012-05-10 Thomas Schwinge <thomas@schwinge.name>
11903
18bad2ae
TS
11904 * sysdeps/mach/hurd/i386/init-first.c (init): Use
11905 __builtin_frame_address instead of making assumptions about the
11906 location of the return address relative to DATA. Force early load of
11907 the return address.
11908 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
11909 __builtin_frame_address.
11910
5aa3a74a
TS
11911 dup3 for GNU Hurd.
11912 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
11913 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
11914 implement dup3 and do some further code clean-ups.
11915 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
11916 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
11917
ecd0de9a
ST
119182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11919
cd9fa985
ST
11920 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
11921
a4186cff
PT
11922 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
11923 HURD_CRITICAL_END around holding _hurd_dtable_lock.
11924 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
11925 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
11926 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
11927 d->port.lock.
802ca5a5 11928
a4186cff
PT
11929 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
11930 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
11931 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 11932
bcf55240
TS
119332012-05-10 Thomas Schwinge <thomas@schwinge.name>
11934
6960eb42
TS
11935 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
11936 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
11937 definitions.
11938
eb43375f
TS
11939 accept4 for GNU Hurd.
11940 * include/sys/socket.h (__libc_accept4): New prototype.
11941 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
11942 to implement __libc_accept4.
11943 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
11944 __libc_accept4.
11945 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
11946
bcf55240
TS
11947 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
11948 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
11949 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
11950 signal-defines.sym.
11951
6178c55b
ST
119522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11953
a4186cff 11954 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 11955
6f080c2f
TS
119562012-05-10 Thomas Schwinge <thomas@schwinge.name>
11957
11958 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
11959 assertion on O_CLOEXEC flag.
11960 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
11961 * hurd/intern-fd.c: Likewise.
11962 * hurd/port2fd.c: Likewise.
11963
bcfe3a54
ST
119642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11965
11966 [BZ #3906]
11967 * bits/in.h (IPV6_PKTINFO): Define new macro.
11968 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
11969
89c9aa49
AZ
119702012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11971
11972 [BZ #13954]
11973 [BZ #13955]
11974 [BZ #13956]
11975 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
11976 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11977 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
11978 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11979 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11980 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11981 * math/libm-test.inc (logb_test) : Additional logb tests.
11982
021db4be
AJ
119832012-05-09 Andreas Schwab <schwab@linux-m68k.org>
11984 Andreas Jaeger <aj@suse.de>
11985
11986 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
11987 * configure: Regenerated.
11988 * config.h.in (LINK_OBSOLETE_RPC): New macro.
11989 * config.make.in (link-obsolete-rpc): New substituted variable.
11990 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
11991 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
11992 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
11993 (shared-only-routines): Don't set it under [link-obsolete-rpc],
11994 so that libc.a contains the symbols.
11995 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
11996 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
11997 * sunrpc/auth_none.c: Likewise.
11998 * sunrpc/auth_unix.c: Likewise.
11999 * sunrpc/authdes_prot.c: Likewise.
12000 * sunrpc/authuxprot.c: Likewise.
12001 * sunrpc/clnt_gen.c: Likewise.
12002 * sunrpc/clnt_perr.c: Likewise.
12003 * sunrpc/clnt_raw.c: Likewise.
12004 * sunrpc/clnt_simp.c: Likewise.
12005 * sunrpc/clnt_tcp.c: Likewise.
12006 * sunrpc/clnt_udp.c: Likewise.
12007 * sunrpc/clnt_unix.c: Likewise.
12008 * sunrpc/des_crypt.c: Likewise.
12009 * sunrpc/des_soft.c: Likewise.
12010 * sunrpc/get_myaddr.c: Likewise.
12011 * sunrpc/key_call.c: Likewise.
12012 * sunrpc/key_prot.c: Likewise.
12013 * sunrpc/netname.c: Likewise.
12014 * sunrpc/pm_getmaps.c: Likewise.
12015 * sunrpc/pm_getport.c: Likewise.
12016 * sunrpc/pmap_clnt.c: Likewise.
12017 * sunrpc/pmap_prot.c: Likewise.
12018 * sunrpc/pmap_prot2.c: Likewise.
12019 * sunrpc/pmap_rmt.c: Likewise.
12020 * sunrpc/publickey.c: Likewise.
12021 * sunrpc/rpc_cmsg.c: Likewise.
12022 * sunrpc/rpc_common.c: Likewise.
12023 * sunrpc/rpc_dtable.c: Likewise.
12024 * sunrpc/rpc_prot.c: Likewise.
12025 * sunrpc/rpc_thread.c: Likewise.
12026 * sunrpc/rtime.c: Likewise.
12027 * sunrpc/svc.c: Likewise.
12028 * sunrpc/svc_auth.c: Likewise.
12029 * sunrpc/svc_raw.c: Likewise.
12030 * sunrpc/svc_run.c: Likewise.
12031 * sunrpc/svc_tcp.c: Likewise.
12032 * sunrpc/svc_udp.c: Likewise.
12033 * sunrpc/svc_unix.c: Likewise.
12034 * sunrpc/svcauth_des.c: Likewise.
12035 * sunrpc/xcrypt.c: Likewise.
12036 * sunrpc/xdr.c: Likewise.
12037 * sunrpc/xdr_array.c: Likewise.
12038 * sunrpc/xdr_float.c: Likewise.
12039 * sunrpc/xdr_intXX_t.c: Likewise.
12040 * sunrpc/xdr_mem.c: Likewise.
12041 * sunrpc/xdr_rec.c: Likewise.
12042 * sunrpc/xdr_ref.c: Likewise.
12043 * sunrpc/xdr_sizeof.c: Likewise.
12044 * sunrpc/xdr_stdio.c: Likewise.
12045
b5c086a2
RM
120462012-05-10 Roland McGrath <roland@hack.frob.com>
12047
12048 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
12049 change. Update copyright years.
12050
6d74dd09
JM
120512012-05-10 Joseph Myers <joseph@codesourcery.com>
12052
12053 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
12054
28e72501
MK
120552012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
12056 Joseph Myers <joseph@codesourcery.com>
12057 Paul Pluzhnikov <ppluzhnikov@google.com>
12058
12059 [BZ #14012]
12060 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
12061 requiring rpcgen.
12062 [cross-compiling] (extra-libs): Likewise.
12063 [cross-compiling] (extra-libs-others): Likewise.
12064 [cross-compiling] (librpcsvc-routines): Likewise.
12065 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
12066 [cross-compiling] (omit-deps): Likewise.
12067 (sunrpc-CPPFLAGS): New variable.
12068 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
12069 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
12070 (cross-rpcgen-objs): New variable.
12071 (extra-objs): Append $(cross-rpcgen-objs).
12072 ($(cross-rpcgen-objs)): New rule.
12073 ($(objpfx)cross-rpcgen): Likewise.
12074 (rpcgen-cmd): Define to use $(built-program-file). Expand
12075 comment.
12076 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
12077 ($(objpfx)x%.stmp): Likewise.
12078 * sunrpc/proto.h [IS_IN_build] (_): Define.
12079 [IS_IN_build] (_libc_intl_domainname): Likewise.
12080
c8c59454
L
120812012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12082
12083 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
12084 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
12085 and R_X86_64_TPOFF64.
12086
6f27cd16
JM
120872012-05-10 Joseph Myers <joseph@codesourcery.com>
12088
12089 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
12090 sysdeps/unix/sysv/syscalls.list.
12091 (stime): Likewise.
12092 (utime): Likewise.
12093 * sysdeps/unix/sysv/syscalls.list: Remove file.
12094
02467e1c
PE
120952012-05-10 Paul Eggert <eggert@cs.ucla.edu>
12096
12097 [BZ #3440]
12098 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
12099 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
12100 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
12101 (__LC_IDENTIFICATION): Make these macros useful in #if
12102 expressions, as required by C99.
12103
da392631
AS
121042012-05-10 Andreas Schwab <schwab@linux-m68k.org>
12105
12106 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
12107 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
12108 after this.
12109
8115f29b
L
121102012-05-09 H.J. Lu <hongjiu.lu@intel.com>
12111
12112 * stdlib/longlong.h: Updated from GCC.
12113
bdd74070
AJ
121142012-05-09 Andreas Jaeger <aj@suse.de>
12115
edfe0dbe
AJ
12116 * nscd/nscd.c (run_modes): Make named enum, reorder so that
12117 default is first entry.
12118 (run_mode): Set type.
12119 (main): Remove informal message about syslog.
12120 (options): Fix typo.
12121
bcfe3a54
ST
12122 [BZ #14053]
12123 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 12124 to asm.
bcfe3a54
ST
12125 (lrint): Likewise.
12126 (llrintf): Likewise.
12127 (llrint): Likewise.
12128 (rint): Likewise.
12129 (rintf): Likewise.
12130 (nearbyint): Likewise.
12131 (nearbyintf): Likewise.
bdd74070 12132
91d8d69e
AJ
121332012-05-09 Andreas Jaeger <aj@suse.de>
12134 Pedro Alves <palves@redhat.com>
12135
12136 * nscd/nscd.c (run_mode): Use enum.
12137 (main): Cleanup coding style issue.
12138
bb90b80b
AJ
121392012-05-09 Alexandre Oliva <aoliva@redhat.com>
12140 Andreas Jaeger <aj@suse.de>
12141
bcfe3a54
ST
12142 * nscd/nscd.c (go_background): Replaced with...
12143 (run_mode): ... this.
bb90b80b 12144 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
12145 (options): Add -F --foreground.
12146 (main): Implement it.
12147 (parse_opt): Parse it.
bb90b80b 12148
1a4b75a1
AJ
121492012-05-09 Andreas Jaeger <aj@suse.de>
12150
12151 [BZ #14083]
12152 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
12153 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
12154 -Wconversion warning.
12155 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
12156 Likewise.
12157
b1cc2472
JM
121582012-05-09 Joseph Myers <joseph@codesourcery.com>
12159
12160 * conform/data/locale.h-data (NULL): Use macro-constant. Require
12161 == 0.
12162 (LC_ALL): Use macro-int-constant.
12163 (LC_COLLATE): Likewise.
12164 (LC_CTYPE): Likewise.
12165 (LC_MESSAGES): Likewise.
12166 (LC_MONETARY): Likewise.
12167 (LC_NUMERIC): Likewise.
12168 (LC_TIME): Likewise.
12169 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
12170 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
12171 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12172 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
12173 Specify type.
12174 [C99-based standards] (float_t): Expect type.
12175 [C99-based standards] (double_t): Expect type.
12176 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
12177 type.
12178 [C99-based standards] (HUGE_VALL): Likewise.
12179 [C99-based standards] (INFINITY): Likewise.
12180 [C99-based standards] (NAN): Likewise.
12181 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
12182 [C99-based standards] (FP_NAN): Likewise.
12183 [C99-based standards] (FP_NORMAL): Likewise.
12184 [C99-based standards] (FP_SUBNORMAL): Likewise.
12185 [C99-based standards] (FP_ZERO): Likewise.
12186 [C99-based standards] (FP_FAST_FMA): Use
12187 optional-macro-int-constant. Specify type. Require == 1.
12188 [C99-based standards] (FP_FAST_FMAF): Likewise.
12189 [C99-based standards] (FP_FAST_FMAL): Likewise.
12190 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
12191 [C99-based standards] (FP_ILOGBNAN): Likewise.
12192 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
12193 Specify type.
12194 [C99-based standards] (MATH_ERREXCEPT): Likewise.
12195 [C99-based standards] (math_errhandling): Specify type.
12196 [ISO99 || ISO11] (signgam): Do not allow.
12197 [non-C99-based standards] (copysignf): Do not allow.
12198 [non-C99-based standards] (exp2f): Likewise.
12199 [non-C99-based standards] (log2f): Likewise.
12200 [non-C99-based standards] (modff): Allow.
12201 [non-C99-based standards] (erff): Do not allow.
12202 [non-C99-based standards] (erfcf): Likewise.
12203 [non-C99-based standards] (gammaf): Likewise.
12204 [non-C99-based standards] (hypotf): Likewise.
12205 [non-C99-based standards] (j0f): Likewise.
12206 [non-C99-based standards] (j1f): Likewise.
12207 [non-C99-based standards] (jnf): Likewise.
12208 [non-C99-based standards] (lgammaf): Likewise.
12209 [non-C99-based standards] (tgammaf): Likewise.
12210 [non-C99-based standards] (y0f): Likewise.
12211 [non-C99-based standards] (y1f): Likewise.
12212 [non-C99-based standards] (ynf): Likewise.
12213 [non-C99-based standards] (isnanf): Likewise.
12214 [non-C99-based standards] (acoshf): Likewise.
12215 [non-C99-based standards] (asinhf): Likewise.
12216 [non-C99-based standards] (atanhf): Likewise.
12217 [non-C99-based standards] (cbrtf): Likewise.
12218 [non-C99-based standards] (expm1f): Likewise.
12219 [non-C99-based standards] (ilogbf): Likewise.
12220 [non-C99-based standards] (log1pf): Likewise.
12221 [non-C99-based standards] (logbf): Likewise.
12222 [non-C99-based standards] (nextafterf): Likewise.
12223 [non-C99-based standards] (remainderf): Likewise.
12224 [non-C99-based standards] (rintf): Likewise.
12225 [non-C99-based standards] (scalbf): Likewise.
12226 [non-C99-based standards] (copysignl): Likewise.
12227 [non-C99-based standards] (exp2l): Likewise.
12228 [non-C99-based standards] (log2l): Likewise.
12229 [non-C99-based standards] (modfl): Allow.
12230 [non-C99-based standards] (erfl): Do not allow.
12231 [non-C99-based standards] (erfcl): Likewise.
12232 [non-C99-based standards] (gammal): Likewise.
12233 [non-C99-based standards] (hypotl): Likewise.
12234 [non-C99-based standards] (j0l): Likewise.
12235 [non-C99-based standards] (j1l): Likewise.
12236 [non-C99-based standards] (jnl): Likewise.
12237 [non-C99-based standards] (lgammal): Likewise.
12238 [non-C99-based standards] (tgammal): Likewise.
12239 [non-C99-based standards] (y0l): Likewise.
12240 [non-C99-based standards] (y1l): Likewise.
12241 [non-C99-based standards] (ynl): Likewise.
12242 [non-C99-based standards] (isnanl): Likewise.
12243 [non-C99-based standards] (acoshl): Likewise.
12244 [non-C99-based standards] (asinhl): Likewise.
12245 [non-C99-based standards] (atanhl): Likewise.
12246 [non-C99-based standards] (cbrtl): Likewise.
12247 [non-C99-based standards] (expm1l): Likewise.
12248 [non-C99-based standards] (ilogbl): Likewise.
12249 [non-C99-based standards] (log1pl): Likewise.
12250 [non-C99-based standards] (logbl): Likewise.
12251 [non-C99-based standards] (nextafterl): Likewise.
12252 [non-C99-based standards] (remainderl): Likewise.
12253 [non-C99-based standards] (rintl): Likewise.
12254 [non-C99-based standards] (scalbl): Likewise.
12255 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12256 [non-C99-based standards] (FP_*): Do not allow.
12257 [C99-based standards] (FP_*): Change to
12258 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
12259 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12260 allow.
12261 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
12262 (SIG_ERR): Likewise.
12263 [X/Open-based standards] (SIG_HOLD): Likewise.
12264 (SIG_IGN): Likewise.
12265 (SIGABRT): Use macro-int-constant. Specify type. Require
12266 positive value.
12267 (SIGFPE): Likewise.
12268 (SIGILL): Likewise.
12269 (SIGINT): Likewise.
12270 (SIGSEGV): Likewise.
12271 (SIGTER): Likewise.
12272 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
12273 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
12274 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
12275 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
12276 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
12277 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
12278 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
12279 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
12280 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
12281 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
12282 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
12283 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
12284 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
12285 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
12286 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
12287 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
12288 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
12289 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
12290 [X/Open-based standards] (SIGTRAP): Likewise.
12291 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
12292 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
12293 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
12294 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
12295 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12296 allow.
12297
b9f1922d
IW
122982012-05-08 Ian Wienand <ianw@vmware.com>
12299
12300 [BZ #14080]
12301 * time/tzset.c (__tzset_parse_tz): Update default rules for
12302 daylight time changes in the Energy Policy Act of 2005.
12303
1db86e88
AJ
123042012-05-09 Andreas Jaeger <aj@suse.de>
12305
12306 [BZ #13983]
12307 * elf/ldconfig.c (parse_conf): Change string to make clear that
12308 ldconfig only issued a warning if ld.so.conf does not exist.
12309
dee4a4e3
DM
123102012-05-08 David S. Miller <davem@davemloft.net>
12311
ee0db190
DM
12312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
12313 movxtod instead of popping the value on the stack.
12314
dee4a4e3
DM
12315 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12316
6a43ec98
CD
123172012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
12318
12319 * config.h.in: Add HAVE_ARM_PCS_VFP.
12320
05c2c961
RMG
123212012-05-08 Roland Mc Grath <roland@hack.frob.com>
12322
bcfe3a54
ST
12323 [BZ #13979]
12324 * include/features.h: Warn if user requests __FORTIFY_SOURCE
12325 checking but the checks are disabled for any reason.
05c2c961 12326
4b30f61a
L
123272012-05-08 H.J. Lu <hongjiu.lu@intel.com>
12328
12329 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
12330 and ELF64_R_TYPE with ELFW(R_TYPE).
12331
eee2bc67
JM
123322012-05-08 Joseph Myers <joseph@codesourcery.com>
12333
7ea5391a
JM
12334 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
12335 (ulimit): Likewise.
12336
eee2bc67
JM
12337 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
12338 (settimeofday): Likewise.
12339
abb66a67
MF
123402012-05-08 Mike Frysinger <vapier@gentoo.org>
12341
12342 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
12343 a struct th_u2 inside the union, and move tu_block/tu_code into
12344 a new th_u3 union of tu_block/tu_code inside of that. Move
12345 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
12346 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
12347 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
12348 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
12349 (th_stuff): Change to th_u1.tu_stuff.
12350 (th_data): Define.
12351 (th_msg): Change to th_u1.th_u2.tu_data.
12352
7f18b530
DM
123532012-05-07 David S. Miller <davem@davemloft.net>
12354
05760585
DM
12355 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12356
7f18b530
DM
12357 [BZ #14074]
12358 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
12359 (SETUP_PIC_REG): Use it.
12360 (SETUP_PIC_REG_LEAF): Use it.
12361
495fd99f
JM
123622012-05-07 Joseph Myers <joseph@codesourcery.com>
12363
12364 [BZ #13885]
12365 [BZ #13923]
12366 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12367 USE_AS_EXPM1L.
12368 (EXPL_FINITE): Likewise.
12369 (FLDLOG): Likewise.
12370 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
12371 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
12372 e_expl.S.
12373 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12374 USE_AS_EXPM1L.
12375 (EXPL_FINITE): Likewise.
12376 (FLDLOG): Likewise.
12377 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
12378 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
12379 e_expl.S.
12380 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
12381 test of -max_value argument for long double.
12382 * sysdeps/i386/fpu/libm-test-ulps: Update.
12383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12384
6693d694
DM
123852012-05-06 David S. Miller <davem@davemloft.net>
12386
12387 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
12388 quad soft-float symbols whose references which are compiler
12389 generated.
12390 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12391
6c23e11c
JM
123922012-05-06 Joseph Myers <joseph@codesourcery.com>
12393
d8b82cad
JM
12394 [BZ #13884]
12395 [BZ #13914]
12396 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12397 USE_AS_EXP10L.
12398 (EXPL_FINITE): Likewise.
12399 (FLDLOG): Likewise.
12400 (c0): Likewise.
12401 (c1): Likewise.
12402 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
12403 Adjust comments for base varying.
12404 (__expl_finite): Change alias to EXPL_FINITE.
12405 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
12406 e_expl.S.
12407 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
12408 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
12409 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12410 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
12411 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12412 USE_AS_EXP10L.
12413 (EXPL_FINITE): Likewise.
12414 (FLDLOG): Likewise.
12415 (c0): Likewise.
12416 (c1): Likewise.
12417 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
12418 Adjust comments for base varying.
12419 (__expl_finite): Change alias to EXPL_FINITE.
12420 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
12421 tests for bugs.
12422 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12423
6c23e11c
JM
12424 [BZ #14064]
12425 * math/libm-test.inc (check_float_internal): Correct ulp
12426 calculation for subnormal expected results.
12427
29ba805c
AJ
124282012-05-06 Andreas Jaeger <aj@suse.de>
12429
12430 * Makeconfig (+math-flags): New, set to -frounding-math.
12431 (+cflags): Add +math-flags so that all of glibc gets compiled with
12432 it.
12433
12434 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
12435
7b17aeda
JM
124362012-05-05 Joseph Myers <joseph@codesourcery.com>
12437
5779f134
JM
12438 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
12439 Disable one test.
12440
41498f4d
JM
12441 [BZ #13787]
12442 [BZ #13922]
12443 [BZ #14036]
12444 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
12445 (__ieee754_expl): Allow for and saturate large arguments.
12446 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
12447 (u_threshold): Likewise.
12448 (__exp): Call __ieee754_exp before checking for overflow and
12449 underflow.
12450 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
12451 (u_threshold): Likewise.
12452 (__expf): Call __ieee754_expf before checking for overflow and
12453 underflow.
12454 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
12455 (u_threshold): Likewise.
12456 (__expl): Call __ieee754_expl before checking for overflow and
12457 underflow.
12458 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
12459 (__ieee754_expl): Allow for and saturate large arguments.
12460 * math/libm-test.inc (exp_test): Add another test. Do not allow
12461 missing overflow exception on overflow.
12462 (expm1_test): Do not allow missing overflow exception on overflow.
12463
6698b8bf
JM
12464 * sysdeps/i386/fpu/e_expl.c: Move to ...
12465 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
12466 rather than using inline asm.
12467 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
12468 * sysdeps/x86_64/fpu/e_expl.S: Copy from
12469 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
12470
7b17aeda
JM
12471 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
12472 (nice): Likewise.
12473 (poll): Likewise.
12474 (signal): Likewise.
12475 (time): Likewise.
12476 (times): Likewise.
12477
f7c85819
JM
124782012-05-04 Joseph Myers <joseph@codesourcery.com>
12479
12480 * sysdeps/unix/syscalls.list (adjtime): Add entry from
12481 sysdeps/unix/common/syscalls.list.
12482 (fchmod): Likewise.
12483 (fchown): Likewise.
12484 (ftruncate): Likewise.
12485 (getrusage): Likewise.
12486 (gettimeofday): Likewise.
12487 (setpgid): Likewise.
12488 (setregid): Likewise.
12489 (setreuid): Likewise.
12490 (sigaction): Likewise.
12491 (truncate): Likewise.
12492 (vhangup): Likewise.
12493 * sysdeps/unix/common/syscalls.list: Remove file.
12494 * sysdeps/unix/bsd/Implies: Don't include unix/common.
12495 * sysdeps/unix/sysv/linux/Implies: Likewise.
12496
336270d0
L
124972012-05-04 H.J. Lu <hongjiu.lu@intel.com>
12498
12499 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
12500 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
12501 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
12502 Moved to ...
12503 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
12504 Here.
12505 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
12506 to ...
12507 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
12508 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
12509 to ...
12510 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
12511 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
12512 to ...
12513 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
12514 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
12515 to ...
12516 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
12517 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
12518 to ...
12519 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
12520 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
12521 to ...
12522 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
12523 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
12524 to ...
12525 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
12526 Here.
12527 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
12528 to ...
12529 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
12530 Here.
12531 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
12532 to ...
12533 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
12534 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
12535 Moved to ...
12536 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
12537 Here.
12538 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
12539 to ...
12540 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
12541
d128e450
JM
125422012-05-04 Joseph Myers <joseph@codesourcery.com>
12543
fa8ee516
JM
12544 * sysdeps/unix/common/bits/dirent.h: Remove file.
12545 * sysdeps/unix/common/bits/fcntl.h: Likewise.
12546
d128e450
JM
12547 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
12548 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
12549 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
12550 * sysdeps/unix/bsd/isatty.c: Likewise.
12551 * sysdeps/unix/bsd/tcdrain.c: Likewise.
12552 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
12553 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
12554
ff8faaf0 125552012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 12556
62881be4 12557 [BZ #13563]
31dc8730
AZ
12558 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
12559 long double comparison inaccuracies.
12560 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
12561 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12562
6fef930c
AS
125632012-05-04 Andreas Schwab <schwab@linux-m68k.org>
12564
12565 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
12566 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
12567
8f203e6c
JM
125682012-05-04 Joseph Myers <joseph@codesourcery.com>
12569
12570 [BZ #14049]
12571 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
12572 nonzero digits before rounding a hex value.
12573 * stdlib/tst-strtod.c (tests): Add another test.
12574
5197d9c2
AK
125752012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12576
12577 * sysdeps/s390/fpu/libm-test-ulps: Update.
12578
f0c1dedf
AJ
125792012-05-03 Andreas Jaeger <aj@suse.de>
12580
12581 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
12582 does not get optimized out.
12583 (malloc_opt_barrier): New.
12584
a65ef2ae 125852012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 12586 Roland McGrath <roland@hack.frob.com>
a65ef2ae 12587
2b942cb7 12588 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 12589 intermediate file deletion.
2b942cb7 12590 (generated): Add .symlist files.
a65ef2ae 12591
54b71e02
JM
125922012-05-03 Joseph Myers <joseph@codesourcery.com>
12593
12594 [BZ #13775]
12595 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
12596 Redirect under this condition.
12597 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
12598 [__USE_GNU] (__dprintf_chk): Not under this condition.
12599 [__USE_GNU] (__vdprintf_chk): Likewise.
12600 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
12601 under this condition.
12602 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
12603 [__USE_XOPEN2K8] (dprintf): Define under this condition.
12604 [__USE_XOPEN2K8] (vdprintf): Likewise.
12605 [__USE_GNU] (__dprintf_chk): Not under this condition.
12606 [__USE_GNU] (__vdprintf_chk): Likewise.
12607 [__USE_GNU] (dprintf): Likewise.
12608 [__USE_GNU] (vdprintf): Likewise.
12609
d3dfcc41
RM
126102012-05-03 Roland McGrath <roland@hack.frob.com>
12611
12612 * elf/Makefile (common-generated): Set this instead of generated for
12613 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
12614 $(all-built-dso)-derived lists.
12615
7ac30cc5
AJ
126162012-05-03 Andreas Jaeger <aj@suse.de>
12617
0c51e550
AJ
12618 * sysdeps/i386/fpu/libm-test-ulps: Update.
12619
7ac30cc5
AJ
12620 * FAQ: Removed.
12621 * FAQ.in: Likewise.
12622 * scripts/gen-FAQ.pl: Likewise.
12623 * manual/install.texi (Installation): Point to online location of
12624 FAQ.
12625 * Makefile (files-for-dist): Remove FAQ.
12626 (FAQ): Remove.
12627
d4c2917f
AM
126282012-05-02 Allan McRae <allan@archlinux.org>
12629
12630 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
12631 (LDFLAGS-reldepmod5.so): Likewise.
12632 (LDFLAGS-reldep6mod1.so): Likewise.
12633 (LDFLAGS-reldep6mod4.so): Likewise.
12634 (LDFLAGS-reldep8mod3.so): Likewise.
12635 (LDFLAGS-unload4mod1.so): Likewise.
12636 (LDFLAGS-unload4mod2.so): Likewise.
12637 (LDFLAGS-tst-initorder): Likewise.
12638 (LDFLAGS-tst-initordera2.so): Likewise.
12639 (LDFLAGS-tst-initordera3.so): Likewise.
12640 (LDFLAGS-tst-initordera4.so): Likewise.
12641 (LDFLAGS-tst-initorderb2.so): Likewise.
12642 (LDFLAGS-noload): Likewise.
12643 (LDFLAGS-next): Likewise.
12644 (LDFLAGS-order2mod1.so): Likewise.
12645 (LDFLAGS-order2mod2.so): Likewise.
12646 (LDFLAGS-tst-initorder2): Likewise.
12647 (LDFLAGS-tst-initorder2a.so): Likewise.
12648 (LDFLAGS-tst-initorder2b.so): Likewise.
12649 (LDFLAGS-tst-initorder2c.so): Likewise.
12650 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
12651
d77f993f
DM
126522012-05-02 David S. Miller <davem@davemloft.net>
12653
12654 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12655
171a70b4
PP
126562012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
12657
12658 [BZ #14055]
12659 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
12660
0be196ad
AJ
126612012-05-02 Andreas Jaeger <aj@suse.de>
12662
12663 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
12664 since we manipulate rounding mode.
12665 (CPPFLAGS-test-idouble.c): Likewise.
12666 (CPPFLAGS-test-ifloat.c): Likewise.
12667 (CFLAGS-test-ldouble.c): Likewise.
12668 (CFLAGS-test-double.c): Likewise.
12669 (CFLAGS-test-float.c): Likewise.
12670 (CFLAGS-test-misc.c): Likewise.
12671 (CFLAGS-test-test-fenv.c): Likewise.
12672
4f9d04aa
AZ
126732012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12674
2b942cb7
RM
12675 [BZ #2550]
12676 [BZ #2570]
12677 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
12678 comparisons to determine direction to adjust input.
4f9d04aa 12679
82a79e7d
RM
126802012-05-01 Roland McGrath <roland@hack.frob.com>
12681
f5a01ca9
RM
12682 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
12683 output to the target.
12684
90fe4186
RM
12685 * scripts/localplt.awk: New file.
12686 * elf/Makefile ($(objpfx)check-localplt): Target removed.
12687 (check-localplt-CFLAGS): Variable removed.
12688 ($(all-built-dso:=.jmprel)): New static pattern rule.
12689 (generated): Add those targets.
12690 (localplt-built-dso): New variable.
12691 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
12692
12693 * elf/check-localplt.c: File removed.
12694
82397ed6
RM
12695 * scripts/check-execstack.awk: New file.
12696 * elf/Makefile ($(objpfx)check-execstack): Target removed.
12697 (check-execstack-CFLAGS): Variable removed.
12698 ($(objpfx)check-execstack.h): Target removed.
12699 ($(objpfx)execstack-default): New target.
12700 (generated): Add that instead of check-execstack.h.
12701 ($(all-built-dso:=.phdr)): New static pattern rule.
12702 (generated): Add those targets.
12703 * elf/check-execstack.c: File removed.
12704
82a79e7d
RM
12705 * scripts/check-textrel.awk: New file.
12706 * elf/Makefile ($(objpfx)check-textrel): Target removed.
12707 (check-textrel-CFLAGS): Variable removed.
12708 (all-built-dso): Use := to define.o
12709 ($(all-built-dso:=.dyn)): New static pattern rule.
12710 (generated): Add those targets.
12711 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
12712 * config.make.in (READELF): New substituted variable.
12713 * elf/check-textrel.c: File removed.
12714
62fde54f 127152012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 12716
615605c9
JM
12717 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12718 allow.
12719 * conform/data/ctype.h-data [C99-based standards] (isblank):
12720 Expect function.
12721 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
12722 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
12723 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12724 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
12725 Specify type. Require positive value.
12726 (EILSEQ): Likewise.
12727 (ERANGE): Likewise.
12728 [ISO || POSIX] (EILSEQ): Do not expect.
12729 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
12730 Specify type. Require positive value.
12731 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
12732 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
12733 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
12734 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
12735 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
12736 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
12737 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
12738 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
12739 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
12740 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
12741 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
12742 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
12743 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
12744 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
12745 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
12746 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
12747 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
12748 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
12749 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
12750 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
12751 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
12752 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
12753 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
12754 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
12755 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
12756 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
12757 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
12758 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
12759 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
12760 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
12761 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
12762 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
12763 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
12764 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
12765 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
12766 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
12767 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
12768 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
12769 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
12770 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
12771 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
12772 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
12773 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
12774 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
12775 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
12776 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
12777 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
12778 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
12779 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
12780 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
12781 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
12782 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
12783 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
12784 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
12785 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
12786 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
12787 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
12788 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
12789 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
12790 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
12791 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
12792 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
12793 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
12794 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
12795 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
12796 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
12797 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
12798 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
12799 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
12800 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
12801 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
12802 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
12803 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
12804 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
12805 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
12806 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
12807 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
12808 Require >= 2.
12809 (FLT_ROUNDS): Expect as macro, not constant.
12810 (FLT_MANT_DIG): Use macro-int-constant.
12811 (DBL_MANT_DIG): Likewise.
12812 (LDBL_MANT_DIG): Likewise.
12813 (FLT_DIG): Likewise.
12814 (DBL_DIG): Likewise.
12815 (LDBL_DIG): Likewise.
12816 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
12817 (DBL_MIN_EXP): Likewise.
12818 (LDBL_MIN_EXP): Likewise.
12819 (FLT_MAX_EXP): Use macro-int-constant.
12820 (DBL_MAX_EXP): Likewise.
12821 (LDBL_MAX_EXP): Likewise.
12822 (FLT_MAX_10_EXP): Likewise.
12823 (DBL_MAX_10_EXP): Likewise.
12824 (LDBL_MAX_10_EXP): Likewise.
12825 (FLT_MAX): Use macro-constant.
12826 (DBL_MAX): Likewise.
12827 (LDBL_MAX): Likewise.
12828 (FLT_EPSILON): Use macro-constant. Give upper bound.
12829 (DBL_EPSILON): Likewise.
12830 (LDBL_EPSILON): Likewise.
12831 (FLT_MIN): Likewise.
12832 (DBL_MIN): Likewise.
12833 (LDBL_MIN): Likewise.
12834 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
12835 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
12836 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
12837 [ISO11] (FLT_HAS_SUBNORM): Likewise.
12838 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
12839 [ISO11] (DBL_DECIMAL_DIG): Likewise.
12840 [ISO11] (FLT_DECIMAL_DIG): Likewise.
12841 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
12842 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
12843 [ISO11] (FLT_TRUE_MIN): Likewise.
12844 [ISO11] (LDBL_TRUE_MIN): Likewise.
12845 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12846 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
12847 (SCHAR_MIN): Use macro-int-constant. Specify type.
12848 (SCHAR_MAX): Likewise.
12849 (UCHAR_MAX): Likewise.
12850 (CHAR_MIN): Likewise.
12851 (CHAR_MAX): Likewise.
12852 (MB_LEN_MAX): Use macro-int-constant.
12853 (SHRT_MIN): Use macro-int-constant. Specify type.
12854 (SHRT_MAX): Likewise.
12855 (USHRT_MAX): Likewise.
12856 (INT_MAX): Likewise.
12857 (INT_MIN): Use macro-int-constant. Specify type. Make upper
12858 bound negative.
12859 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
12860 bound with "U".
12861 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
12862 bound with "L".
12863 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
12864 bound negative. Suffix upper bound with "L".
12865 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
12866 bound with "UL".
12867 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
12868 Specify type.
12869 [C99-based standards] (LLONG_MAX): Likewise.
12870 [C99-based standards] (ULLONG_MAX): Likewise.
12871 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
12872 == 0.
12873 [ISO11] (max_align_t): Require type.
12874 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12875
c9140a62
JM
12876 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
12877 from $CFLAGS, without defining away __attribute__ calls.
12878 (checknamespace): Use $CFLAGS_namespace.
12879
9af0bf29
JM
12880 * conform/conformtest.pl (@keywords): Only include C99 keywords
12881 for standards based on C99 or C11.
12882
343222a2
JM
12883 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
12884 Disable tests.
12885 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
12886 UNIX98]: Likewise.
12887
661f8cf0
JM
12888 * conform/conformtest.pl: Handle "macro-int-constant" and test for
12889 usability of symbols in #if.
12890
ee74b9cb
JM
12891 * conform/conformtest.pl: If macro or constant types start
12892 "promoted:", expect the symbol to be of the following type
12893 promoted by the integer promotions.
62fde54f 12894
aafc49b3
JM
12895 * conform/conformtest.pl: Parse all "constant" and "macro" lines
12896 in one place. Also handle "macro-constant".
12897
fefdf574
JM
12898 * conform/conformtest.pl: Only accept expected macro values with
12899 "==". Parse all "macro" lines in one place.
12900 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
12901
f2d922fe
JM
12902 * conform/conformtest.pl: Handle braced types on "constant" lines
12903 instead of handling "typed-constant".
12904 * conform/data/signal.h-data: Use "constant" instead of
12905 "typed-constant".
12906
d22956c9
JM
12907 * conform/conformtest.pl: Handle "optional-" at start of lines in
12908 one place rather than duplicating several cases. Handle each
12909 format of "macro" line with initial "optional-".
12910
028e2e38
JM
12911 * conform/conformtest.pl: Only accept expected constant or
12912 optional-constant values with "==". Parse all "constant" lines in
12913 one place. Parse all "optional-constant" lines in one place.
12914 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
12915 * conform/data/fmtmsg.h-data: Likewise.
12916 * conform/data/netinet/in.h-data: Likewise.
12917 * conform/data/tar.h-data: Likewise.
12918 * conform/data/limits.h-data: Use "==" form on "constant" and
12919 "optional-constant" lines.
12920
1b8f2850
JM
12921 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
12922 Use -std=c99 for XOPEN2K.
12923 (@knownproblems): Remove.
12924 (newtoken): Don't check %isknown.
12925
a05a144b
JM
12926 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
12927 Do not expect macro.
12928 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
12929 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
12930 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
12931 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
12932 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
12933 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
12934 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
12935 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
12936 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
12937 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
12938 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
12939 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
12940 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
12941 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
12942 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
12943 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
12944 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
12945 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
12946 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
12947 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
12948 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
12949 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
12950 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
12951 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
12952 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
12953 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
12954 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
12955 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
12956 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
12957 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
12958 [XPG3] (acosh): Likewise.
12959 [XPG3] (asinh): Likewise.
12960 [XPG3] (atanh): Likewise.
12961 [XPG3] (cbrt): Likewise.
12962 [XPG3] (expm1): Likewise.
12963 [XPG3] (ilogb): Likewise.
12964 [XPG3] (log1p): Likewise.
12965 [XPG3] (logb): Likewise.
12966 [XPG3] (nextafter): Likewise.
12967 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
12968 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
12969 [XPG3] (remainder): Likewise.
12970 [XPG3] (rint): Likewise.
12971 [XPG3 || XPG4 || UNIX98] (round): Likewise.
12972 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
12973 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
12974 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
12975 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
12976 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
12977 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
12978 [UNIX98 || XOPEN2K] (scalb): Expect.
12979 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
12980 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
12981 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
12982 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
12983 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
12984 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
12985 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
12986 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
12987 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
12988 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
12989 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
12990 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
12991 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
12992 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
12993 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
12994 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
12995 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
12996 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
12997 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
12998 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
12999 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
13000 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
13001 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
13002 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
13003 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
13004 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
13005 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
13006 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
13007 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
13008 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
13009 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
13010 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
13011 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
13012 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
13013 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
13014 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
13015 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
13016 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
13017 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
13018 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
13019 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
13020 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
13021 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
13022 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
13023 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
13024 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
13025 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
13026 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
13027 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
13028 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
13029 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
13030 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
13031 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
13032 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
13033 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
13034 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
13035 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
13036 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
13037 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
13038 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
13039 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
13040 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
13041 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
13042 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
13043 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
13044 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
13045 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
13046 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
13047 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
13048 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
13049 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
13050 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
13051 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
13052 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
13053 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
13054 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
13055 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
13056 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
13057 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
13058 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
13059 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
13060 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
13061 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
13062 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
13063 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
13064 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
13065 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
13066 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
13067 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
13068 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
13069 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
13070 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
13071 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
13072 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
13073 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
13074 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
13075 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
13076 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
13077 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
13078 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
13079 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
13080 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
13081 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
13082 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
13083 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
13084 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
13085 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
13086 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
13087 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
13088 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
13089 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
13090 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
13091 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
13092 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
13093 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
13094 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
13095 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
13096 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
13097 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
13098 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
13099 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
13100 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
13101 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
13102 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
13103 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
13104 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
13105 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
13106 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
13107 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
13108 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
13109 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
13110 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
13111 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
13112 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
13113 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
13114 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
13115 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
13116
73c5ebe3
JM
13117 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
13118 _XOPEN_SOURCE_EXTENDED for XPG4.
13119
39c33b6c
JM
13120 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
13121
62fde54f
JM
13122 * Makeconfig (localtime): Remove variable.
13123 (inst_localtime-file): Likewise.
13124
0741d64c
AS
131252012-05-01 Andreas Schwab <schwab@linux-m68k.org>
13126
13127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
13128 Update.
13129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13130 Update.
13131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
13132 Update.
13133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13134 Update.
13135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
13136 Update.
13137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
13138 Update.
13139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13140 Update.
13141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
13142 Update.
13143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13144 Update.
13145
7cb029ee
JM
131462012-05-01 Joseph Myers <joseph@codesourcery.com>
13147
13148 [BZ #2550]
13149 [BZ #2570]
13150 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
13151 comparisons to determine direction to adjust input.
13152 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13153 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
13154 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
13155 Likewise.
13156 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
13157 Likewise.
13158 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13159 Likewise.
13160 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
13161 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13162 Likewise.
13163 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13164 Likewise.
13165 * math/libm-test.inc (nexttoward_test): Add more tests.
13166
412bd966
AS
131672012-05-01 Andreas Schwab <schwab@linux-m68k.org>
13168
13169 [BZ #14040]
13170 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
13171 in version GLIBC_2.1, not GLIBC_2.0.
13172 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
13173 Likewise.
13174
9568c0c2
JM
131752012-04-30 Joseph Myers <joseph@codesourcery.com>
13176
adfbc8ac
JM
13177 [BZ #13942]
13178 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
13179 (1 - x) * (1 + x).
13180 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
13181 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
13182 * math/libm-test.inc (acos_test): Add more tests.
13183 (asin_test): Likewise.
13184 * sysdeps/i386/fpu/libm-test-ulps: Update.
13185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13186
5ba3cc69
JM
13187 [BZ #14034]
13188 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
13189 of square root.
13190 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
13191 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
13192 * math/libm-test.inc (acos_test_tonearest): New function.
13193 (acos_test_towardzero): Likewise.
13194 (acos_test_downward): Likewise.
13195 (acos_test_upward): Likewise.
13196 (asin_test_tonearest): Likewise.
13197 (asin_test_towardzero): Likewise.
13198 (asin_test_downward): Likewise.
13199 (asin_test_upward): Likewise.
13200 (main): Call the new functions.
13201 * sysdeps/i386/fpu/libm-test-ulps: Update.
13202 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13203
9568c0c2
JM
13204 [BZ #13884]
13205 [BZ #13924]
13206 * math/e_exp10.c: Include <float.h>.
13207 (__ieee754_exp10): Handle underflow here rather than multiplying
13208 large negative argument by M_LN10.
13209 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
13210 of __ieee754_expf.
13211 * math/e_exp10l.c: Include <float.h>.
13212 (__ieee754_exp10l): Handle underflow here rather than multiplying
13213 large negative argument by M_LN10l.
13214 * math/libm-test.inc (exp10_test): Add another test. Do not allow
13215 spurious overflow exception on underflow.
13216
5ac3ea17
MP
132172012-04-29 Marek Polacek <polacek@redhat.com>
13218
13219 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
13220 (__fortify_function): New macro.
13221 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
13222 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
13223 __extern_always_inline.
13224 * libio/bits/stdio2.h: Likewise.
13225 * libio/bits/stdio.h: Likewise.
13226 * string/string.h: Likewise.
13227 * string/bits/string3.h: Likewise.
13228 * include/stdio.h: Likewise.
13229 * stdlib/bits/stdlib.h: Likewise.
13230 * stdlib/stdlib.h: Likewise.
13231 * rt/bits/mqueue2.h: Likewise.
13232 * rt/mqueue.h: Likewise.
13233 * posix/bits/unistd.h: Likewise.
13234 * posix/unistd.h: Likewise.
13235 * io/bits/poll2.h: Likewise.
13236 * io/bits/fcntl2.h: Likewise.
13237 * io/fcntl.h: Likewise.
13238 * io/sys/poll.h: Likewise.
13239 * misc/bits/syslog.h: Likewise.
13240 * misc/bits/syslog-ldbl.h: Likewise.
13241 * misc/sys/syslog.h: Likewise.
13242 * socket/bits/socket2.h: Likewise.
13243 * socket/sys/socket.h: Likewise.
13244 * debug/tst-chk1.c: Likewise.
13245 * wcsmbs/bits/wchar2.h: Likewise.
13246 * wcsmbs/bits/wchar-ldbl.h: Likewise.
13247 * wcsmbs/wchar.h: Likewise.
13248
ecf0ebfb
AJ
132492012-04-29 Andreas Jaeger <aj@suse.de>
13250
13251 * Makerules (tests): Remove enable-check-abi protection.
13252 (check-abi-warn): Remove.
13253 (check-abi-%): Remove check-abi-warn usage.
13254
13255 * configure.in: Remove check-abi configure option.
13256 * configure: Regenerated.
13257 * config.make.in (enable-check-abi): Remove.
13258
6d5c57fa
AS
132592012-04-28 Andreas Schwab <schwab@linux-m68k.org>
13260
24c5d07e 13261 [BZ #14033]
ded5180a
AS
13262 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
13263 double functions to double *_finite functions.
13264
7e0d315d
AS
13265 [BZ #13941]
13266 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
13267 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
13268 LDBL_MIN_EXP.
13269 * stdio-common/Makefile (tests): Add tst-sprintf3.
13270 * stdio-common/tst-sprintf3.c: New file.
13271
6d5c57fa
AS
13272 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
13273 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
13274
0749ff8b
JM
132752012-04-28 Joseph Myers <joseph@codesourcery.com>
13276
13277 * conform/conformtest.pl: Remove duplicate typed-constant
13278 handling.
13279
8dbd5d7b
DM
132802012-04-28 David S. Miller <davem@davemloft.net>
13281
13282 * Makerules (%.abilist): Add vpath on sysdep_dirs.
13283 (check-abi-%): Remove AWK script prerequisite and explicit
13284 abilist directory.
13285 (check-abi): Rewrite to just diff the symlist with the abilist.
13286 (config-tls, config-abi-config): Delete, no longer used.
13287 (update-abi-%): Remove AWK script and explicit abilist directory.
13288 (update-abi): Rewrite to simply compare and conditionally copy the
13289 symlist and the sysdep abilist file. Remove update-abi-config
13290 checks.
13291 * abilist/ld.abilist: Remove.
13292 * abilist/libBrokenLocale.abilist: Remove.
13293 * abilist/libanl.abilist: Remove.
13294 * abilist/libcrypt.abilist: Remove.
13295 * abilist/libdl.abilist: Remove.
13296 * abilist/librt.abilist: Remove.
13297 * abilist/libthread_db.abilist: Remove.
13298 * abilist/libutil.abilist: Remove.
13299 * scripts/extract-abilist.awk: Remove.
13300 * scripts/merge-abilist.awk: Remove.
13301 * sysdeps/generic/libcidn.abilist: New file.
13302 * sysdeps/generic/libnss_compat.abilist: New file.
13303 * sysdeps/generic/libnss_db.abilist: New file.
13304 * sysdeps/generic/libnss_dns.abilist: New file.
13305 * sysdeps/generic/libnss_files.abilist: New file.
13306 * sysdeps/generic/libnss_hesiod.abilist: New file.
13307 * sysdeps/generic/libnss_nis.abilist: New file.
13308 * sysdeps/generic/libnss_nisplus.abilist: New file.
13309 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
13310 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
13311 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
13312 file.
13313 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
13314 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
13315 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
13316 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
13317 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
13318 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
13319 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
13320 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
13321 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
13322 file.
13323 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
13324 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
13325 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
13326 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
13327 file.
13328 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
13329 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
13330 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
13331 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
13332 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
13333 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
13334 file.
13335 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
13336 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
13337 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
13338 file.
13339 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
13340 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
13341 New file.
13342 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
13343 New file.
13344 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
13345 New file.
13346 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
13347 New file.
13348 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
13349 New file.
13350 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
13351 New file.
13352 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
13353 New file.
13354 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
13355 New file.
13356 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
13357 New file.
13358 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
13359 New file.
13360 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
13361 New file.
13362 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
13363 New file.
13364 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
13365 New file.
13366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
13367 file.
13368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
13369 New file.
13370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
13371 New file.
13372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
13373 file.
13374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
13375 New file.
13376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
13377 New file.
13378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
13379 file.
13380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
13381 New file.
13382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13383 New file.
13384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
13385 New file.
13386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
13387 New file.
13388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
13389 New file.
13390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
13391 New file.
13392 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
13393 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
13394 file.
13395 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
13396 New file.
13397 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
13398 file.
13399 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
13400 file.
13401 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
13402 file.
13403 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
13404 file.
13405 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
13406 file.
13407 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13408 New file.
13409 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
13410 file.
13411 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
13412 file.
13413 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
13414 New file.
13415 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
13416 file.
13417 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
13418 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
13419 file.
13420 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
13421 New file.
13422 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
13423 file.
13424 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
13425 file.
13426 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
13427 file.
13428 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
13429 file.
13430 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
13431 file.
13432 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13433 New file.
13434 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
13435 file.
13436 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
13437 file.
13438 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
13439 New file.
13440 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
13441 file.
13442 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
13443 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
13444 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
13445 file.
13446 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
13447 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
13448 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
13449 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
13450 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
13451 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
13452 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
13453 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
13454 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
13455 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
13456 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
13457 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
13458 file.
13459 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
13460 New file.
13461 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
13462 file.
13463 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
13464 file.
13465 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
13466 file.
13467 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
13468 file.
13469 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
13470 file.
13471 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13472 New file.
13473 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
13474 New file.
13475 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
13476 file.
13477 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
13478 New file.
13479 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
13480 file.
13481 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
13482 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
13483 file.
13484 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
13485 New file.
13486 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
13487 file.
13488 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
13489 file.
13490 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
13491 file.
13492 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
13493 file.
13494 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
13495 file.
13496 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13497 New file.
13498 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
13499 New file.
13500 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
13501 file.
13502 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
13503 New file.
13504 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
13505 file.
13506
41d73a1b
JM
135072012-04-28 Joseph Myers <joseph@codesourcery.com>
13508
13509 * conform/conformtest.pl: Fix typo in handling typed-constant from
13510 allow-header.
13511
28aeeda4
JM
135122012-04-27 Joseph Myers <joseph@codesourcery.com>
13513
adae8f5e
JM
13514 * README: Cut down references to pre-2.6 Linux kernels and
13515 Linuxthreads. Update lists of configurations in libc and ports
13516 and sort alphabetically. Say "or newer" with Linux kernel version
13517 requirements.
13518
28aeeda4
JM
13519 * config.h.in [IS_IN_build]: Allow compiling without optimization.
13520
a462cb63
RA
135212012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13522
13523 [BZ #887]
13524 * math/libm-test.inc (logb_test_downward): New test to expose
13525 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
13526 rounding mode.
13527
6ad3493e
JM
135282012-04-27 Joseph Myers <joseph@codesourcery.com>
13529
13530 [BZ #14027]
13531 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
13532 to be done.
13533 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
13534 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
13535
2ce4f015
JM
135362012-04-26 Joseph Myers <joseph@codesourcery.com>
13537
5aeb141a
JM
13538 * sysdeps/unix/i386/brk.S: Remove file.
13539 * sysdeps/unix/i386/dl-brk.S: Likewise.
13540 * sysdeps/unix/i386/pipe.S: Likewise.
13541 * sysdeps/unix/i386/sigreturn.S: Likewise.
13542 * sysdeps/unix/i386/syscall.S: Likewise.
13543 * sysdeps/unix/i386/vfork.S: Likewise.
13544 * sysdeps/unix/i386/wait.S: Likewise.
13545
7143acae
JM
13546 * sysdeps/unix/common/tcsendbrk.c: Move to ...
13547 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
13548
2ce4f015
JM
13549 * configure.in (arm*-none*): Do not allow without
13550 --enable-hacker-mode.
13551 (netbsd*): Remove case setting base_os.
13552 (386bsd*): Likewise.
13553 (freebsd*): Likewise.
13554 (bsdi*): Likewise.
13555 (osf*): Likewise.
13556 (sunos*): Likewise.
13557 (ultrix*): Likewise.
13558 (newsos*): Likewise.
13559 (dynix*): Likewise.
13560 (*bsd*): Likewise.
13561 (sysv*): Likewise.
13562 (isc*): Likewise.
13563 (esix*): Likewise.
13564 (sco*): Likewise.
13565 (minix*): Likewise.
13566 (irix4*): Likewise.
13567 (irix6*): Likewise.
13568 (solaris[2-9]*): Likewise.
13569 (none): Likewise.
13570 * configure: Regenerated.
13571
0ac229c8
AZ
135722012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13573
13574 [BZ #11521]
13575 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
13576 overflow or cancellation in calculating denominator.
13577 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
13578 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
13579 down expression to avoid unexpected rounding in newer GCCs.
13580 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
13581
33f244f4
DM
135822012-04-26 David S. Miller <davem@davemloft.net>
13583
13584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
13585 long-double compat symbols.
13586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
13590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13591 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
13592 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
13593 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
13594 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
13595 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
13596 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
13597 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
13598 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
13599
cfa1f3e8
DM
136002012-04-25 David S. Miller <davem@davemloft.net>
13601
13602 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
13603 HWCAP_* values only after the memory barriers have been defined.
13604 (atomic_full_barrier): Define.
13605 (atomic_read_barrier): Define.
13606 (atomic_write_barrier): Define.
13607
6e236b92
SP
136082012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13609
13610 * shlib-versions: Add libgcc_s version information.
13611 * sysdeps/generic/libgcc_s.h: Remove.
13612 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
13613 libgcc_s.h.
13614 * sysdeps/gnu/unwind-resume.c: Likewise.
13615 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
13616
aab39a09
DM
136172012-04-25 David S. Miller <davem@davemloft.net>
13618
13619 * sysdeps/unix/sparc/brk.S: Delete.
13620 * sysdeps/unix/sparc/dl-brk.S: Delete.
13621 * sysdeps/unix/sparc/pipe.S: Delete.
13622 * sysdeps/unix/sparc/sysdep.S: Delete.
13623 * sysdeps/unix/sparc/sysdep.h: Delete.
13624 * sysdeps/unix/sparc/vfork.S: Delete.
13625 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
13626 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
13627 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
13628 ret_ERRVAL, r0, r1, MOVE): Define.
13629 (JUMPTARGET): Remove.
13630 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
13631 sysdeps/unix/sparc/sysdep.h
13632 (ENTRY, END): Remove.
13633 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13634
a3cc4f48
JM
136352012-04-25 Joseph Myers <joseph@codesourcery.com>
13636
2ed8cda2
JM
13637 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
13638 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
13639 -DIS_IN_build.
13640
35d76d59
JM
13641 * timezone/README: Update upstream location and email address for
13642 tzcode and tzdata.
13643 * timezone/zdump.c: Update from tzcode 2012b.
13644 * timezone/zic.c: Likewise.
13645
a3cc4f48
JM
13646 * configure.in (libc_cv_as_needed): Remove test.
13647 * configure: Regenerated.
13648 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
13649 conditional definition.
13650 [$(have-as-needed) != yes] (no-as-needed): Likewise.
13651 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
13652 * config.make.in (have-as-needed): Remove variable.
13653
ceab42c3
SP
136542012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13655 Paul Pluzhnikov <ppluzhnikov@google.com>
13656
13657 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
13658 strings correctly.
13659
3ce2865f
CLT
136602012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
13661
13662 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
13663 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
13664 * sysdeps/sh/strlen.S: Likewise.
13665
f37e0d68
JM
136662012-04-24 Joseph Myers <joseph@codesourcery.com>
13667
ae186e9a
JM
13668 * sysdeps/unix/fork.S: Remove file.
13669 * sysdeps/unix/i386/fork.S: Likewise.
13670 * sysdeps/unix/sparc/fork.S: Likewise.
13671
b96914af
JM
13672 * sysdeps/unix/system.c: Remove file.
13673 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
13674
f37e0d68
JM
13675 * sysdeps/unix/getegid.S: Remove file.
13676 * sysdeps/unix/geteuid.S: Likewise.
13677
87ef29ca
RM
136782012-04-24 Roland McGrath <roland@hack.frob.com>
13679
83bcd236
RM
13680 * scripts/check-localplt.awk: New file.
13681 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
13682 of diff.
13683 * scripts/data/localplt-generic.data: Add a comment.
13684
87ef29ca
RM
13685 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
13686 NODE when __dir_mkfile failed.
13687 * sysdeps/mach/hurd/symlinkat.c: Likewise.
13688 Reported by Ludovic Courtès <ludo@gnu.org>.
13689
e5a6e567
AJ
136902012-04-24 Andreas Jaeger <aj@suse.de>
13691
13692 * Makerules (common-clean): Also remove gen-as-const-headers
13693 files.
13694
c1820385
JM
136952012-04-24 Joseph Myers <joseph@codesourcery.com>
13696
13697 * Makerules (native-compile): Do not change working directory for
13698 build. Use $(OUTPUT_OPTION) in command.
13699 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
13700
94e02fc4
AZ
137012012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13702
13703 [BZ #13886]
13704 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
13705 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
13706 * math/libm-test.inc (floor_test): Add more tests.
13707 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
13708
3a533ca3
JM
137092012-04-24 Joseph Myers <joseph@codesourcery.com>
13710
940ab4b3
JM
13711 * sysdeps/unix/getdents.c: Remove file.
13712 * sysdeps/unix/sysv/getdents.c: Likewise.
13713 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
13714
90e037bd
JM
13715 * sysdeps/unix/syscalls.list (madvise): Add syscall from
13716 sysdeps/unix/mman/syscalls.list.
13717 (mmap): Likewise.
13718 (mprotect): Likewise.
13719 (msync): Likewise.
13720 (munmap): Likewise.
13721 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
13722 * sysdeps/unix/mman/syscalls.list: Remove.
13723 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
13724
3a533ca3
JM
13725 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
13726 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
13727 * configure: Regenerated.
13728 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
13729 $(libgcc_s_suffix).
13730 * config.make.in (libgcc_s_suffix): Remove variable.
13731
1ad743de
JM
137322012-04-23 Joseph Myers <joseph@codesourcery.com>
13733
4ad451e2
JM
13734 * sysdeps/unix/sysv/gethostname.c: Move to ...
13735 * sysdeps/posix/gethostname.c: ... here.
13736
5e37ce39
JM
13737 * sysdeps/unix/execve.S: Remove file.
13738
1ad743de
JM
13739 * sysdeps/unix/_exit.S: Remove file.
13740
4e681b5b
AJ
137412012-04-23 Andreas Jaeger <aj@suse.de>
13742
13743 [BZ #13739]
13744 * manual/Makefile: Remove make dist support, there's no
13745 need for a stand-alone documentation tar ball.
13746 (TEXI2DVI): Define always, it's not in Makeconfig.
13747 (dist): Removed.
13748 (tar-it): Removed.
13749 (edition): Removed.
13750 (glibc-doc-$(edition).tar): Removed
13751 (%.Z): Removed.
13752 (%.gz): Removed.
13753 (%.uu): Removed.
13754 (ETAGS): Remove, it's in Makeconfig.
13755 (move-if-change): Remove, it's in Makeconfig.
13756
38686a03 137572012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
13758
13759 [BZ #13970]
13760 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
13761 (strtod, strtof, strtold, strtol, strtoul, strtoq)
13762 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
13763 (strtod_l, strtof_l, strtold_l): Remove __wur.
13764 It is not necessarily an error to ignore strtol's return value.
13765 One can reliably look at the stored endptr to decide whether
13766 the number had valid syntax.
13767
7c0616fa
AJ
137682012-04-21 Andreas Jaeger <aj@suse.de>
13769
803cb6b7 13770 [BZ #13739]
7c0616fa
AJ
13771 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
13772
b0fe253f
JM
137732012-04-21 Joseph Myers <joseph@codesourcery.com>
13774
13775 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
13776 * sysdeps/unix/sysv/Versions: Remove file.
13777
8280f22d
MT
137782012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
13779
13780 [BZ #13927]
13781 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13782
75ce411f 137832012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
13784
13785 [BZ #7064]
13786 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
13787 version from __vm86.
13788
097d59fa
JM
137892012-04-20 Joseph Myers <joseph@codesourcery.com>
13790
a90f3bcb
JM
13791 * sysdeps/unix/common/lxstat.c: Remove file.
13792 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
13793
edc7ea78
JM
13794 * sysdeps/unix/sysv/Makefile: Remove file.
13795
cb78c221
JM
13796 * sysdeps/unix/sysv/direct.h: Remove file.
13797
efa6a45f
JM
13798 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
13799 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
13800 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
13801 * sysdeps/unix/sysv/bits/signum.h: Likewise.
13802 * sysdeps/unix/sysv/bits/stat.h: Likewise.
13803 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
13804 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
13805
9c9f2d0c
JM
13806 * sysdeps/unix/sysv/setrlimit.c: Remove file.
13807
4541c83b
JM
13808 * sysdeps/unix/xmknod.c: Remove file.
13809 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
13810
f5d153a0
JM
13811 * sysdeps/unix/sysv/settimeofday.c: Remove file.
13812
aa746595
JM
13813 * sysdeps/unix/sysv/i386/time.S: Remove file.
13814
cce5905e
JM
13815 * sysdeps/unix/fxstat.c: Remove file.
13816 * sysdeps/unix/xstat.c: Likewise.
13817 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
13818
37fa3841
JM
13819 * sysdeps/unix/sysv/sigaction.c: Remove file.
13820
ff1962a3
JM
13821 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
13822 (sysdep_headers): Remove variable.
13823 [termio.h not in sysdep_headers] (generated): Likewise.
13824 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
13825 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
13826 * sysdeps/unix/sysv/tcdrain.c: Likewise.
13827 * sysdeps/unix/sysv/tcflow.c: Likewise.
13828 * sysdeps/unix/sysv/tcflush.c: Likewise.
13829 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
13830 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
13831 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
13832 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
13833 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
13834
e7740d31
JM
13835 * sysdeps/unix/siglist.c: Remove file.
13836
ee06f18b
JM
13837 * sysdeps/unix/getppid.S: Remove file.
13838
097d59fa
JM
13839 * sysdeps/unix/mkdir.c: Remove file.
13840 * sysdeps/unix/rmdir.c: Likewise.
13841
ff3d51ec
AS
138422012-04-19 Andreas Schwab <schwab@linux-m68k.org>
13843
13844 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
13845 ERR_MAX value.
13846 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
13847 errlist-compat value.
13848
50f81fd7
DM
138492012-04-18 David S. Miller <davem@davemloft.net>
13850
13851 * sysdeps/generic/memcopy.h (reg_char): Delete.
13852 * debug/strcat_chk.c: Use char, not reg_char.
13853 * debug/strcpy_chk.c: Likewise.
13854 * debug/strncat_chk.c: Likewise.
13855 * debug/strncpy_chk.c: Likewise.
13856 * string/memchr.c: Likewise.
13857 * string/memrchr.c: Likewise.
13858 * string/rawmemchr.c: Likewise.
13859 * string/strcat.c: Likewise.
13860 * string/strchr.c: Likewise.
13861 * string/strchrnul.c: Likewise.
13862 * string/strcmp.c: Likewise.
13863 * string/strcpy.c: Likewise.
13864 * string/strncat.c: Likewise.
13865 * string/strncmp.c: Likewise.
13866 * string/strncpy.c: Likewise.
13867
8ff41c46
WS
138682012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13869
13870 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
13871 __builtin_memcopy is called when src and dest ranges are known to not
13872 overlap.
13873
6b652f46
WS
138742012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13875
13876 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
13877 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
13878 fwd_align_merge macro call.
13879 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
13880 bwd_align_merge macro call.
13881 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13882
b282631e
WS
138832012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13884
13885 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
13886 bwd_align_merge macros.
13887 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
13888 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
13889 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13890
95aa737c
DM
138912012-04-18 David S. Miller <davem@davemloft.net>
13892
13893 * sysdeps/sparc/sparc64/memcopy.h: Delete.
13894
7a99a614
AJ
138952012-04-18 Andreas Jaeger <aj@suse.de>
13896
13897 [BZ# 6794]
13898 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
13899 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
13900 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13901
13902 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
13903 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
13904 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13905
13906 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
13907 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
13908 Adjust for changed ldbl-128 files.
13909
13910 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
13911 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
13912 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13913
e5270c23
DM
139142012-04-17 David S. Miller <davem@davemloft.net>
13915
13916 * sysdeps/sparc/sparc32/memcopy.h: Delete.
13917
fb5e92c9
AS
139182012-04-17 Andreas Schwab <schwab@linux-m68k.org>
13919
13920 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
13921 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
13922 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
13923 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
13924 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13925 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
13926
76da7265
AZ
139272012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13928
13929 [BZ #6794]
13930 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
13931 * math/libm-test.inc: Add ilogb errno and exception tests.
13932 * math/w_ilogb.c: New file: ilogb wrapper.
13933 * math/w_ilogbf.c: New file: ilogbf wrapper.
13934 * math/w_ilogbl.c: New file: ilogbl wrapper.
13935 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
13936 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
13937 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
13938 exception being thrown with 0.0 as argument.
13939 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
13940 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
13941 exception being thrown with 0.0 as argument.
13942 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
13943 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
13944 exception being thrown with 0.0 as argument.
13945 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
13946 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
13947 exception being thrown with 0.0 as argument.
13948 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
13949 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 13950 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
13951 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
13952 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
13953 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
13954 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
13955 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
13956 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
13957
0396e69d
PB
139582012-04-17 Petr Baudis <pasky@ucw.cz>
13959
13960 * include/sys/uio.h: Change __vector to __iovec to avoid clash
13961 with altivec.
13962
750b5926
MP
139632012-04-16 Marek Polacek <polacek@redhat.com>
13964
13965 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
13966
751728a1
MP
139672012-04-16 Marek Polacek <polacek@redhat.com>
13968
13969 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
13970 operands of fdivp instruction.
13971
34a27407
L
139722012-04-13 H.J. Lu <hongjiu.lu@intel.com>
13973
13974 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
13975 * elf/tst-auditmod3b.c: Likewise.
13976 * elf/tst-auditmod4b.c: Likewise.
13977 * elf/tst-auditmod5b.c: Likewise.
13978 * elf/tst-auditmod6b.c: Likewise.
13979 * elf/tst-auditmod6c.c: Likewise.
13980 * elf/tst-auditmod7b.c: Likewise.
13981 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
13982 * sysdeps/x86_64/preconfigure.in: Likewise.
13983 * sysdeps/x86_64/preconfigure: Regenerated.
13984
7e73e17d
L
139852012-04-13 H.J. Lu <hongjiu.lu@intel.com>
13986
13987 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
13988 __ILP32__.
13989
c7a6ab72
AB
139902012-04-13 Antoine Balestrat <merkil33@gmail.com>
13991
13992 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13993 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
13994
a9e8e0e0
CL
139952012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
13996
13997 [BZ #13973]
13998 * locale/iso-639.def: Fix gl language name. Spotted by
13999 Yaron Shahrabani.
14000
ec98af7d
RM
140012012-04-12 Roland McGrath <roland@hack.frob.com>
14002
14003 [BZ #2074]
14004 * libio/libio.h (__io_write_fn): Update comment.
14005
247c3ede
PB
140062012-04-12 Petr Baudis <pasky@ucw.cz>
14007
14008 [BZ #2074]
14009 * stdio.texi (Hook Functions): The user provided writer function
14010 is not allowed to return -1.
14011
55939d6d
DM
140122012-04-11 David S. Miller <davem@davemloft.net>
14013
14014 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14015
90020f5a
MF
140162012-04-11 Mike Frysinger <vapier@gentoo.org>
14017
14018 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
14019 Add a leading slash to rtkaio.
14020
288f9098
JM
140212012-04-11 Jim Meyering <meyering@redhat.com>
14022
90020f5a
MF
14023 [BZ #11959]
14024 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
14025 It is not necessarily an error to ignore fwrite's return
14026 value. One can reliably use ferror to test for errors after
14027 the fact.
288f9098 14028
4be2b570
L
140292012-04-10 H.J. Lu <hongjiu.lu@intel.com>
14030
14031 * bits/types.h (__snseconds_t): New type.
14032 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
14033
14034 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
14035 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14036 (__SNSECONDS_T_TYPE): Likewise.
14037 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14038 (__SNSECONDS_T_TYPE): Likewise.
14039 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14040 (__SNSECONDS_T_TYPE): Likewise.
14041
288f9098 140422012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
14043
14044 [BZ #2636]
14045 * manual/time.texi (Processor Time): Return type of times is
14046 elapsed real time since an arbitrary point in the past.
14047 (CPU Time): Move CLK_TCK from here...
14048 (Processor Time): ...to here. Correct description.
14049 * manual/conf.texi (Constants for Sysconf): Correct description of
14050 _SC_CLK_TCK.
14051
d7dd4413
DM
140522012-04-10 David S. Miller <davem@davemloft.net>
14053
14054 [BZ #13967]
14055 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
14056 where the is a gap between DT_REL(A) and DT_JMPREL.
14057
b46068fc
L
140582012-04-10 H.J. Lu <hongjiu.lu@intel.com>
14059
14060 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
14061 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
14062 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
14063
73d65cc3
SP
140642012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14065
14066 * elf/dl-support.c (_dl_inhibit_cache): New variable.
14067 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
14068 (dl_main): Handle --inhibit-cache.
14069 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
14070 _dl_inhibit_cache.
14071 * elf/dl-load.c (_dl_map_object): Use it.
14072 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
14073
bcc8d661
JM
140742012-04-09 Joseph Myers <joseph@codesourcery.com>
14075
8f9a2fae
JM
14076 [BZ #13872]
14077 * sysdeps/i386/fpu/e_powl.S (p78): New object.
14078 (__ieee754_powl): Saturate large exponents rather than testing for
14079 overflow of y*log2(x).
14080 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14081 * math/libm-test.inc (pow_test): Do not permit spurious overflow
14082 exceptions.
14083
bcc8d661
JM
14084 [BZ #11521]
14085 * math/s_ctan.c: Include <float.h>.
14086 (__ctan): Avoid internal overflow or cancellation in calculating
14087 denominator.
14088 * math/s_ctanf.c: Likewise.
14089 * math/s_ctanl.c: Likewise.
14090 * math/s_ctanh.c: Likewise.
14091 * math/s_ctanhf.c: Likewise.
14092 * math/s_ctanhl.c: Likewise.
14093 * math/libm-test.inc (ctan_test): Add more tests.
14094 (ctanh_test): Likewise.
14095 * sysdeps/i386/fpu/libm-test-ulps: Update.
14096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14097
823fbbb4
AJ
140982012-04-09 Andreas Jaeger <aj@suse.de>
14099
03879793
AJ
14100 [BZ #6894]
14101 * manual/filesys.texi (Directory Entries): Mention that d_namlen
14102 is an optional BSD extension.
14103
823fbbb4
AJ
14104 [BZ #10254]
14105 * manual/stdio.texi (Opening Streams): Document additional fopen
14106 parameters.
14107
8de131cb
RM
141082012-04-09 Roland McGrath <roland@hack.frob.com>
14109
14110 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
14111 %eax without telling the compiler.
14112
c0ed9d7d
CD
141132012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
14114
14115 [BZ # 13963]
14116 * manual/install.texi: Use sourceware.org.
14117
c483f6b4
JM
141182012-04-09 Joseph Myers <joseph@codesourcery.com>
14119
d7dd9453
JM
14120 [BZ #13873]
14121 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
14122 (__ieee754_pow): Generate overflow and underflow using huge*huge
14123 and tiny*tiny rather than just returning constant infinity or zero
14124 for large exponents.
14125 * math/libm-test.inc (pow_test): Require overflow exceptions for
14126 applicable cases of large exponents.
14127
c483f6b4
JM
14128 [BZ #706]
14129 * sysdeps/i386/fpu/e_pow.S (p10): New object.
14130 (__ieee754_pow): Use iterative multiplication algorithm only for
14131 integer exponents with absolute value below 1024. Check for odd
14132 integer exponents when using algorithm for real exponents.
14133 * math/libm-test.inc (pow_test): Add more tests.
14134 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14135
d2de7579
JM
141362012-04-08 Joseph Myers <joseph@codesourcery.com>
14137
14138 [BZ #13705]
14139 * math/libm-test.inc (exp_test): Do not allow overflow exception
14140 on underflow test.
14141
f77f1232
AJ
141422012-04-08 Aurelien Jarno <aurelien@aurel32.net>
14143
14144 [BZ #13705]
14145 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
14146 instead of __kernel_standard_f.
14147
3884932b
MF
141482012-04-08 Mike Frysinger <vapier@gentoo.org>
14149
14150 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
14151 * sysdeps/x86_64/memset_chk.S: Likewise.
14152
54472e9c
AJ
141532012-04-08 Andreas Jaeger <aj@suse.de>
14154
6ab0fbfc
AJ
14155 [BZ #10153]
14156 * manual/startup.texi (Environment Access): Describe return value
14157 for putenv and setenv.
14158
61efba8c
AJ
14159 [BZ #6895]
14160 * manual/filesys.texi (Directory Entries): Add description for
14161 DT_LNK.
14162
95c3f29a
AJ
14163 [BZ #6890]
14164 * manual/filesys.texi (Directory Entries): Clarify that it's file
14165 system not operating system in the description of DT_UNKNOWN.
14166
54472e9c
AJ
14167 [BZ #6578]
14168 * manual/syslog.texi (closelog): Fix reference, it's openlog.
14169
624254b1
SC
141702012-04-08 Stephen Compall <s11@member.fsf.org>
14171
14172 [BZ #6649]
14173 * manual/llio.texi (Opening and Closing Files): Add cross
14174 reference to explain mode argument.
14175
1e4920e0
MF
141762012-04-07 Mike Frysinger <vapier@gentoo.org>
14177
14178 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
14179 * sysdeps/x86_64/memset_chk.S: Likewise.
14180
5ed848f3
DM
141812012-04-07 David S. Miller <davem@davemloft.net>
14182
14183 * elf/elf.h (R_SPARC_WDISP10): Define.
14184 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
14185 R_SPARC_SIZE32.
14186 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
14187 R_SPARC_SIZE64 and R_SPARC_H34.
14188
96154cd8
CD
141892012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
14190
14191 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
14192 conditions and remove no longer applicable assertion.
14193
9904dc47
L
141942012-04-06 H.J. Lu <hongjiu.lu@intel.com>
14195
14196 * bits/byteswap.h: Include <features.h>.
14197 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
14198 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
14199
f8887d0a
L
142002012-04-06 H.J. Lu <hongjiu.lu@intel.com>
14201
14202 * bits/byteswap.h (__bswap_16): Removed.
14203 Include <bits/byteswap-16.h> to get __bswap_16.
14204 * sysdeps/i386/bits/byteswap.h: Likewise.
14205 * sysdeps/s390/bits/byteswap.h: Likewise.
14206 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14207 * bits/byteswap-16.h: New file.
14208 * sysdeps/i386/bits/byteswap-16.h: Likewise.
14209 * sysdeps/s390/bits/byteswap-16.h: Likewise.
14210 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
14211 * string/Makefile (headers): Add bits/byteswap-16.h.
14212
62470f60
PP
142132012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14214
14215 [BZ #13895]
14216 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
14217 extra indirection.
14218 * nss/Makefile (tests-static, tests): Add tst-nss-static.
14219 * nss/tst-nss-static.c: New.
14220
4dad7bab
RM
142212012-04-06 Robert Millan <rmh@gnu.org>
14222
14223 [BZ #6486]
14224 * manual/llio.texi (File Position Primitive): lseek
14225 refers to WHENCE when it really means OFFSET.
14226
e9142a17
AJ
142272012-04-06 Andreas Jaeger <aj@suse.de>
14228
2c040eff
AJ
14229 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
14230 strncmp declarations.
14231
e9142a17
AJ
14232 * abilist/libc.abilist: Add __poll and __ppoll.
14233
ff9f1c5f
DM
142342012-04-05 David S. Miller <davem@davemloft.net>
14235
dcd2ae90
DM
14236 * scripts/check-local-headers.sh: Accept a host triplet in the
14237 path matched by the exclude regexp.
14238
993eb054
DM
14239 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
14240 definition.
14241 * sysdeps/powerpc/powerpc32/dl-machine.h
14242 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
14243 * sysdeps/s390/s390-32/dl-machine.h
14244 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14245 * sysdeps/sparc/sparc32/dl-machine.h
14246 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14247 * sysdeps/sparc/sparc64/dl-machine.h
14248 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14249
ff9f1c5f
DM
14250 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
14251 lazy binding.
48e2e132 14252 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
14253 undefined symbol errors.
14254
48e2e132 14255 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
14256 DT_NEEDED entries.
14257
e80d6f94
MM
142582012-04-05 Michael Matz <matz@suse.de>
14259
14260 [BZ #13592]
14261 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
14262
349fa79f
AJ
142632012-04-05 Andreas Jaeger <aj@suse.de>
14264
14265 [BZ #13908]
14266 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
14267 comment.
14268
f402708f
KK
142692012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14270
14271 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
14272 which ROUND is no valid rounding mode.
14273
2ecccfc9
KK
142742012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14275
14276 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
14277 read again.
14278 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
14279
8a53f50f
KK
142802012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14281
14282 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
14283 an exception using FPU order intentionally.
14284
142852012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14286
14287 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
14288 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
14289 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
14290 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
14291
d653abb7
SJ
142922012-04-05 Simon Josefsson <simon@josefsson.org>
14293
14294 [BZ #12340]
14295 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
14296 EINVAL when BUFLEN is too smal.
14297
c3b1bf7d
TS
142982012-04-05 Thomas Schwinge <thomas@codesourcery.com>
14299
14300 [BZ #13553]
14301 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
14302 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
14303
b1aa60f3
AJ
143042012-04-03 Andreas Jaeger <aj@suse.de>
14305
c3b1bf7d 14306 [BZ #13938]
67f60a26
AJ
14307 * manual/setjmp.texi (System V contexts): Fix sentence.
14308
b1aa60f3
AJ
14309 [BZ #13926]
14310 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
14311 New macro for this case.
14312 [!__GNUC__] (__bswap_64): New inline function for this case.
14313 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14314 * bits/byteswap.h: Likewise.
14315 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
14316 ull, guard with __GLIBC_HAVE_LONG_LONG.
14317
14318 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
14319 __GLIBC_HAVE_LONG_LONG.
14320
14321 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
14322 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
14323
39c59c35
TMQMF
143242012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14325
14326 [BZ #13691]
14327 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
14328 inptr and inend, rather than using last_ch.
14329
135ffda8
DM
143302012-04-02 David S. Miller <davem@davemloft.net>
14331
14332 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
14333 * stdio-common/printf-parse.h (read_int): Change return type to
14334 'int', return -1 on INT_MAX overflow.
14335 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
14336 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
14337 overflows INT_MAX. Check for overflow of in-format-string precision
14338 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
14339 SIZE_MAX not INT_MAX for integer overflow test.
14340 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
14341 skip the construct in the format string but do not record anything.
14342 * stdio-common/bug22.c: Adjust to test both width/prevision
14343 INT_MAX overflow as well as total length INT_MAX overflow. Check
14344 explicitly for proper errno values.
14345
228c019e
TS
143462012-04-02 Thomas Schwinge <thomas@codesourcery.com>
14347
302cadd3
TS
14348 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
14349 CHAR_MAX.
14350 * string/test-strcmp.c [! WIDE]: Likewise.
14351 * time/tst-mktime2.c: Likewise for INT_MAX.
14352 * string/test-string.h: #include <sys/param.h> for MIN.
14353
228c019e
TS
14354 * csu/init-first.c (__libc_init_first): Call __ctype_init.
14355 * sysdeps/i386/init-first.c (init): Likewise.
14356 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
14357 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
14358 * sysdeps/sh/init-first.c (init): Likewise.
14359
cfa633f5
UD
143602012-04-01 Ulrich Drepper <drepper@gmail.com>
14361
14362 * po/ru.po: Update from translation team.
d1635ef8 14363 * po/vi.po: Likewise.
cfa633f5 14364
6cd0a5ea
SP
143652012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14366
14367 * resolv/nss_dns/dns-host.c: Merge copyright years.
14368
4b43400f
LD
143692012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14370
14371 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
14372 Optimize memcpy with prefetch if
14373 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
14374 src, dst pointers have unequal 16 byte alignments.
14375
48c41d04
SP
143762012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14377
14378 [BZ #13928]
14379 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
14380 from a CNAME entry and return the minimum ttl for the query.
14381 (gaih_getanswer_slice): Likewise.
14382
b8dc394d
JL
143832012-03-30 Jeff Law <law@redhat.com>
14384
14385 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
14386 due to long keys.
14387 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
14388 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
14389
2f5a5ed0
JL
14390 * resolv/nss_dns/dns-host.c: Update copyright year.
14391
1d39e359
UD
143922012-03-30 Ulrich Drepper <drepper@gmail.com>
14393
c030f70c 14394 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 14395 requests to save a system call. Fix check that all bytes are sent.
c030f70c 14396
1d39e359
UD
14397 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
14398 comments for sendmmsg.
14399
144002012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
14401
14402 [BZ #13691]
14403 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
14404 with only 1 character between 0x0041 and 0x01b0.
14405 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
14406 * wcsmbs/tst-mbsnrtowcs.c: New file.
14407
20fde227
DM
144082012-03-29 David S. Miller <davem@davemloft.net>
14409
14410 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
14411 small copies by hand.
14412
984a4237
JL
144132012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14414
14415 [BZ #13761]
14416 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
14417 _nss_compat_initgroups_dyn): Fall back to malloc/free
14418 for large group memberships.
14419
18c9d62b
DM
144202012-03-28 David S. Miller <davem@davemloft.net>
14421
88d85d4f
DM
14422 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
14423 that branches into memcpy.
14424 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
14425 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
14426 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
14427 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
14428 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
14429 bits.
14430 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
14431 implementation too.
14432 * sysdeps/sparc/mempcpy.S: New file.
14433
e5aa83e1
DM
14434 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
14435 the IFUNC routine in the libc case.
14436 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
14437
88570753
DM
14438 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
14439 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
14440 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
14441 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
14442 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
14443 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
14444 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
14445 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
14446
249d7567
DM
14447 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
14448 loop to 256 bytes instead of 64 bytes and fix test signedness.
14449
18c9d62b
DM
14450 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
14451 * sysdeps/sparc/sparc32/Makefile: rather than here...
14452 * sysdeps/sparc/sparc64/Makefile: and here.
14453
05f3d1f6
UD
144542012-03-28 Ulrich Drepper <drepper@gmail.com>
14455
14456 * malloc/mallocbug.c: Avoid warnings about unused variables.
14457
86ae07a8
JL
144582012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14459
14460 [BZ #13760]
14461 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
14462 in the right place. Discard and retry query if response is
14463 larger than input buffer size.
14464
41bf21a1
JM
144652012-03-28 Joseph Myers <joseph@codesourcery.com>
14466
d6270972
JM
14467 [BZ #369]
14468 [BZ #2678]
14469 [BZ #3866]
14470 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
14471 x for large integer exponent.
14472 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14473 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
14474 sign of result as needed afterwards.
14475 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14476 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
14477 result for underflowing pow the same as for overflow.
14478 (__kernel_standard_l): Handle powl overflow and underflow here
14479 rather than calling __kernel_standard.
14480 * math/libm-test.inc (pow_test): Add more tests.
14481
414fca03 14482 [BZ #3868]
41bf21a1
JM
14483 [BZ #13879]
14484 [BZ #13910]
14485 [BZ #13911]
14486 [BZ #13912]
14487 [BZ #13913]
14488 [BZ #13915]
14489 [BZ #13916]
14490 [BZ #13917]
14491 [BZ #13918]
14492 [BZ #13919]
14493 [BZ #13920]
14494 [BZ #13921]
14495 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
14496 * sysdeps/ieee754/k_standard.c: Include <float.h>.
14497 (__kernel_standard_l): New function.
14498 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
14499 __kernel_standard.
14500 * math/w_acosl.c (__acosl): Likewise.
14501 * math/w_asinl.c (__asinl): Likewise.
14502 * math/w_atan2l.c (__atan2l): Likewise.
14503 * math/w_atanhl.c (__atanhl): Likewise.
14504 * math/w_coshl.c (__coshl): Likewise.
14505 * math/w_exp10l.c (__exp10l): Likewise.
14506 * math/w_exp2l.c (__exp2l): Likewise.
14507 * math/w_fmodl.c (__fmodl): Likewise.
14508 * math/w_hypotl.c (__hypotl): Likewise.
14509 * math/w_j0l.c (__j0l, __y0l): Likewise.
14510 * math/w_j1l.c (__j1l, __y1l): Likewise.
14511 * math/w_jnl.c (__jnl, __ynl): Likewise.
14512 * math/w_lgammal.c (__lgammal): Likewise.
14513 * math/w_log10l.c (__log10l): Likewise.
14514 * math/w_log2l.c (__log2l): Likewise.
14515 * math/w_logl.c (__logl): Likewise.
14516 * math/w_powl.c (__powl): Likewise.
14517 * math/w_remainderl.c (__remainderl): Likewise.
14518 * math/w_scalbl.c (sysv_scalbl): Likewise.
14519 * math/w_sinhl.c (__sinhl): Likewise.
14520 * math/w_sqrtl.c (__sqrtl): Likewise.
14521 * math/w_tgammal.c (__tgammal): Likewise.
14522 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
14523 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
14524 * math/libm-test.inc (acos_test): Add more tests.
14525 (acosh_test): Likewise.
14526 (asin_test): Likewise.
14527 (atanh_test): Likewise.
14528 (exp_test): Likewise.
14529 (exp10_test): Likewise.
14530 (exp2_test): Likewise.
14531 (expm1_test): Likewise.
14532 (lgamma_test): Likewise.
14533 (log_test): Likewise.
14534 (log10_test): Likewise.
14535 (log1p_test): Likewise.
14536 (log2_test): Likewise.
14537 (pow_test): Do not allow some spurious overflow exceptions.
14538 (sqrt_test): Add more tests.
14539 (tgamma_test): Likewise.
14540 (y0_test): Likewise.
14541 (y1_test): Likewise.
14542 (yn_test): Likewise.
14543
dd62fda6
AB
145442012-03-27 Anton Blanchard <anton@samba.org>
14545
14546 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
14547 MAP_HUGETLB.
14548 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14549 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14550 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14551
1e3cdfda
AJ
145522012-03-27 David S. Miller <davem@davemloft.net>
14553
b855ab85
DM
14554 * conform/Makefile: Run run-conformtest.sh using $(BASH).
14555
1e3cdfda
AJ
14556 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
14557 have-as-vis3 check.
14558
145592012-03-27 Andreas Jaeger <aj@suse.de>
14560
14561 * sysdeps/x86_64/elf/configure.in: Moved to ...
14562 * sysdeps/x86_64/configure.in: ... here.
14563 * sysdeps/x86_64/elf/start.S: Moved to ...
14564 * sysdeps/x86_64/start.S: ... here.
14565 * sysdeps/x86_64/elf/configure: Delete.
14566
14567 * sysdeps/x86_64/configure.in: Merge contents from
14568 sysdeps/i386/configure.in (without i686 check).
14569
14570 * sysdeps/i386/elf/Versions: Merge into ...
14571 * sysdeps/i386/Versions: ... this.
14572 * sysdeps/i386/elf/Versions: Delete file.
14573 * sysdeps/i386/elf/start.S: Moved to ...
14574 * sysdeps/i386/start.S: ...here.
14575 * sysdeps/i386/elf/configure.in: Merge into...
14576 * sysdeps/i386/configure.in: ...here.
14577 * sysdeps/i386/elf/configure.in: Delete file.
14578 * sysdeps/i386/elf/configure: Delete file.
14579
14580 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
14581 * debug/backtracesyms.c: ... here.
14582 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
14583 * debug/backtracesymsfd.c: ... here.
14584 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
14585 * sysdeps/generic/ifunc-sel.h: ... here.
14586
14587 * sysdeps/unix/i386/start.c: Delete file.
14588 * sysdeps/unix/sparc/start.c: Delete file.
14589 * sysdeps/unix/start.c: Delete file.
14590
14591 * sysdeps/sh/elf/configure.in: Moved to ...
14592 * sysdeps/sh/configure.in: ... here.
14593 * sysdeps/sh/elf/start.S: Moved to ...
14594 * sysdeps/sh/start.S: ... here.
14595 * sysdeps/sh/elf/configure: Delete file.
14596
14597 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
14598 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
14599 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
14600 * sysdeps/powerpc/powerpc64/entry.h: ... here.
14601 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
14602 * sysdeps/powerpc/powerpc64/start.S: here.
14603 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
14604 * sysdeps/powerpc/powerpc64/Makefile: ... this.
14605 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
14606 * sysdeps/powerpc/powerpc64/configure.in: ... this.
14607 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
14608
14609 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
14610 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
14611 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
14612 * sysdeps/powerpc/powerpc32/start.S: ... here.
14613 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
14614 * sysdeps/powerpc/powerpc32/configure.in: ... this.
14615 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
14616
14617 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
14618 * sysdeps/powerpc/ifunc-sel.h: ... here.
14619 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
14620 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
14621
14622 * sysdeps/sparc/elf/configure.in: Moved to ...
14623 * sysdeps/sparc/configure.in: ... here.
14624 * sysdeps/sparc/elf/configure: Delete file.
14625 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
14626 * sysdeps/sparc/sparc32/start.S: ... here.
14627 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
14628 * sysdeps/sparc/sparc64/start.S: ... here.
14629 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
14630 * sysdeps/sparc/sparc32/Makefile: ... this.
14631 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
14632 * sysdeps/sparc/sparc64/Makefile: ... this.
14633
14634 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
14635 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
14636 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
14637 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
14638 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
14639 * sysdeps/s390/s390-32/setjmp.S: ... here.
14640 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
14641 * sysdeps/s390/s390-32/configure.in: ... here.
14642 * sysdeps/s390/s390-32/elf/configure: Delete file.
14643 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
14644 * sysdeps/s390/s390-32/start.S: ... here.
14645
14646 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
14647 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
14648 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
14649 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
14650 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
14651 * sysdeps/s390/s390-64/setjmp.S: ... here.
14652 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
14653 * sysdeps/s390/s390-64/configure.in: ... here
14654 * sysdeps/s390/s390-64/elf/configure: Delete file.
14655 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
14656 * sysdeps/s390/s390-64/start.S: ... here.
14657 * sysdeps/s390/s390-64/elf/configure: Delete.
14658
14659 * configure.in: Remove support for elf directories in sysdeps.
14660
14661 * configure: Regenerated.
14662 * sysdeps/i386/configure: Regenerated.
14663 * sysdeps/powerpc/powerpc32/configure: Regenerated.
14664 * sysdeps/powerpc/powerpc64/configure: Regenerated.
14665 * sysdeps/s390/s390-32/configure: Regenerated.
14666 * sysdeps/s390/s390-64/configure: Regenerated.
14667 * sysdeps/sh/configure: Regenerated.
14668 * sysdeps/sparc/configure: Regenerated.
14669 * sysdeps/x86_64/configure: Regenerated.
14670
a3f61311
AS
146712012-03-26 Andreas Schwab <schwab@linux-m68k.org>
14672
c876e002
AS
14673 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14674
a3f61311
AS
14675 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
14676 denormal result into account.
14677
ac4c54f0
RM
146782012-03-25 Roland McGrath <roland@hack.frob.com>
14679
14680 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
14681 Reported by Allan McRae <allan@archlinux.org>.
14682
6a9b9c02
JL
146832012-03-23 Jeff Law <law@redhat.com>
14684
14685 * nss/getnssent.c (__nss_getent): Fix typo.
14686
4c42a0c1
DM
146872012-03-23 David S. Miller <davem@davemloft.net>
14688
14689 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14690
1532c7ac
L
146912012-03-23 H.J. Lu <hongjiu.lu@intel.com>
14692
14693 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
14694 to pad to uint64_t for each field.
14695 (dl_tls_index): Replace unsigned long with uint64_t.
14696
3ff42526
PP
146972012-03-23 Daniel Jacobowitz <dmj@google.com>
14698 Paul Pluzhnikov <ppluzhnikov@google.com>
14699
14700 [BZ #6528]
14701 * grp/Makefile (otherlibs): Don't set it.
14702 * inet/Makefile (otherlibs): Likewise.
14703 * login/Makefile (otherlibs): Likewise.
14704 * nscd/Makefile (otherlibs): Likewise.
14705 * posix/Makefile (otherlibs): Likewise.
14706 * pwd/Makefile (otherlibs): Likewise.
14707 * rt/Makefile (otherlibs): Likewise.
14708 * sunrpc/Makefile (otherlibs): Likewise.
14709 * nss/Makefile (otherlibs): Likewise.
14710 Add libnss_files to routines and static-only-routines.
14711 ($(objpfx)getent): Remove rule.
14712 * resolv/Makefile: Add libnss_dns and libresolv to routines and
14713 static-only-routines.
14714
7c69cd14
JM
147152012-03-22 Joseph Myers <joseph@codesourcery.com>
14716
14717 [BZ #13892]
14718 * math/s_cexp.c: Include <float.h>.
14719 (__cexp): Handle exp result overflowing not necessarily
14720 overflowing both real and imaginary parts of result.
14721 * math/s_cexpf.c: Likewise.
14722 * math/s_cexpl.c: Likewise.
14723 * math/libm-test.inc (cexp_test): Add more tests.
14724 * sysdeps/i386/fpu/libm-test-ulps: Update.
14725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14726
81b035fe
L
147272012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14728
14729 * include/link.h (ELFW): New macro.
14730 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
14731 Replace ELF64_R_TYPE with ELFW(R_TYPE).
14732
1da7940c
L
147332012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14734
14735 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
14736 with uint64_t.
14737
b749dbb9
L
147382012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14739
14740 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
14741 declaration.
14742 (struct La_x32_retval): Likewise.
14743
2ff87f3f
L
147442012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14745
14746 * sysdeps/x86_64/preconfigure.in: New file.
14747 * sysdeps/x86_64/preconfigure: New generated file.
14748
c0df8e69
JM
147492012-03-22 Joseph Myers <joseph@codesourcery.com>
14750
48e44791
JM
14751 [BZ #13824]
14752 * math/e_exp2l.c: Include <float.h>.
14753 (__ieee754_exp2l): Handle overflow and underflow cases
14754 separately. Only pass fractional part of argument to
14755 __ieee754_expl.
14756 * math/libm-test.inc (exp2_test): Add more tests.
14757
c0df8e69
JM
14758 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
14759 negating x to take absolute value.
14760 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
14761 Likewise.
14762 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14763 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
14764 Likewise.
14765 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
14766 computing low part if x was negated.
14767 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14768
c8e43ba7
L
147692012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14770
14771 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
14772 la_x32_gnu_pltexit.
14773 (pltexit): Cast int_retval to ptrdiff_t.
14774 * elf/tst-auditmod3b.c: Likewise.
14775 * elf/tst-auditmod4b.c: Likewise.
14776 * elf/tst-auditmod5b.c: Likewise.
14777 * elf/tst-auditmod6b.c: Likewise.
14778 * elf/tst-auditmod6c.c: Likewise.
14779 * elf/tst-auditmod7b.c: Likewise.
14780
14781 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
14782 and x32_gnu_pltexit.
14783
14784 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
14785 __ELF_NATIVE_CLASS.
14786 (La_x32_regs): New macro.
14787 (La_x32_retval): Likewise.
14788 (la_x32_gnu_pltenter): New function prototype.
14789 (la_x32_gnu_pltexit): Likewise.
14790
7998fa78
AS
147912012-03-21 Andreas Schwab <schwab@linux-m68k.org>
14792
dcb33988
AS
14793 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
14794 exponent.
14795
233fc563
AS
14796 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14797
7998fa78
AS
14798 * configure.in (libc_cv_cc_nofma): Check for option to disable
14799 generation of FMA instructions.
14800 * configure: Regenerate.
14801 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
14802 * sysdeps/ieee754/dbl-64/Makefile: New file.
14803 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
14804 Remove brandred-fma4.
14805 (CFLAGS-brandred-fma4.c): Remove.
14806 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
14807 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
14808 define.
14809 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
14810 define.
14811
8e95c99a
L
148122012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14813
14814 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
14815 LLONG_MAX != LONG_MAX.
14816 (_itoa_word): Use _ITOA_WORD_TYPE on value.
14817 (_fitoa_word): Likewise.
14818 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
14819 LLONG_MAX != LONG_MAX.
14820 * stdio-common/_itowa.h: Include <_itoa.h>.
14821 (_itowa_word): Use _ITOA_WORD_TYPE on value.
14822 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
14823 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
14824 only if not defined.
14825 (_ITOA_WORD_TYPE): Likewise.
14826 (_itoa_word): Use _ITOA_WORD_TYPE on value.
14827 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
14828
6f4db457
DM
148292012-03-21 David S. Miller <davem@davemloft.net>
14830
14831 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14832
7785fe5a
L
148332012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14834
14835 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
14836 of x86_64 when setting libc_cv_slibdir, libdir and
14837 libc_cv_localedir.
14838 * sysdeps/unix/sysv/linux/configure: Regenerated.
14839
4535cd55
JM
148402012-03-21 Joseph Myers <joseph@codesourcery.com>
14841
14842 * manual/lang.texi (Old Varargs): Remove section.
14843 (How Variadic): Update menu.
14844 (va_start): Do not mention varargs.h.
14845
17228132
TS
148462012-03-21 Thomas Schwinge <thomas@codesourcery.com>
14847 Joseph Myers <joseph@codesourcery.com>
14848
14849 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
14850 link test.
14851 * configure: Regenerated.
14852
8149f976
TS
148532012-03-21 Thomas Schwinge <thomas@codesourcery.com>
14854
05f3d1f6
UD
14855 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
14856 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
14857 conformtest.pl
8149f976 14858
1a4ac776
JM
148592012-03-21 Joseph Myers <joseph@codesourcery.com>
14860
be22ce65
JM
14861 * NOTES: Remove.
14862 * Makefile (files-for-dist): Remove NOTES.
14863 (NOTES): Remove rule.
14864 * README: Don't refer to NOTES.
14865 * manual/creature.texi: Don't include macros.texi.
14866 * manual/intro.texi (creature.texi): Remove comment referring to
14867 NOTES.
14868
40b601fb
JM
14869 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
14870 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
14871 * configure: Regenerated.
14872 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
14873 LIBC_TRY_CC_OPTION.
14874 (libc_cv_as_i686): Likewise.
14875 (libc_cv_cc_avx): Likewise.
14876 (libc_cv_cc_sse2avx): Likewise.
14877 (libc_cv_cc_fma4): Likewise.
14878 (libc_cv_cc_novzeroupper): Likewise.
14879 * sysdeps/i386/configure: Regenerated.
14880
1a4ac776
JM
14881 [BZ #13883]
14882 * sysdeps/i386/fpu/s_cexp.S: Remove.
14883 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
14884 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
14885 * math/libm-test.inc (cexp_test): Add more tests.
14886 * sysdeps/i386/fpu/libm-test-ulps: Update.
14887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14888
a458e7fe
AM
148892012-03-21 Allan McRae <allan@archlinux.org>
14890
14891 * timezone/Makefile: Do not install iso3166.tab and zone.tab
14892
0cb7efc5
JM
148932012-03-21 Joseph Myers <joseph@codesourcery.com>
14894
14895 [BZ #13871]
14896 * math/w_exp2.c: Do not include <float.h>.
14897 (o_threshold, u_threshold): Remove.
14898 (__exp2): Calculate result before checking finiteness and calling
14899 __kernel_standard.
14900 * math/w_exp2f.c: Likewise.
14901 * math/w_exp2l.c: Likewise.
14902 * math/libm-test.inc (exp2_test): Require overflow exception for
14903 1e6 input.
2460d3aa
JM
14904
14905 [BZ #3866]
14906 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
14907 range of signed 64-bit integers before using fistpll. Remove
14908 checks for whether integers fit in mantissa bits.
14909 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
14910 the range of signed 32-bit integers before using fistpl. Remove
14911 checks for whether integers fit in mantissa bits.
14912 * sysdeps/i386/fpu/e_powl.S (p64): New object.
14913 (__ieee754_powl): Test for y outside the range of signed 64-bit
14914 integers before using fistpll. Reduce 64-bit values to 63-bit
14915 ones as needed.
14916 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
14917 divide-by-zero is raised for zero to large negative powers.
14918 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
14919 (__ieee754_powl): Test for y outside the range of signed 64-bit
14920 integers before using fistpll. Reduce 64-bit values to 63-bit
14921 ones as needed.
14922 * math/libm-test.inc (pow_test): Add more tests.
14923
eb96ffb0
L
149242012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14925
14926 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
14927 <stdio-common/_itoa.h>.
14928 * debug/segfault.c: Likewise.
14929 * elf/dl-cache.c: Likewise.
14930 * elf/dl-minimal.c: Likewise.
14931 * elf/dl-misc.c: Likewise.
14932 * elf/dl-sysdep.c: Likewise.
14933 * elf/dl-version.c: Likewise.
14934 * elf/rtld.c: Likewise.
14935 * hurd/hurdsock.c: Likewise.
14936 * hurd/lookup-retry.c: Likewise.
14937 * malloc/malloc.c: Likewise.
14938 * malloc/mtrace.c: Likewise.
14939 * nscd/nscd_getgr_r.c: Likewise.
14940 * nscd/nscd_getpw_r.c: Likewise.
14941 * nscd/nscd_getserv_r.c: Likewise.
14942 * posix/getopt_init.c: Likewise.
14943 * posix/wordexp.c: Likewise.
14944 * stdio-common/_itoa.c: Likewise.
14945 * stdio-common/printf_fphex.c: Likewise.
14946 * stdio-common/vfprintf.c: Likewise.
14947 * string/_strerror.c: Likewise.
14948 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
14949 * sysdeps/i386/i686/hp-timing.h: Likewise.
14950 * sysdeps/mach/_strerror.c: Likewise.
14951 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
14952 * sysdeps/mach/hurd/sethostid.c: Likewise.
14953 * sysdeps/mach/hurd/xmknodat.c: Likewise.
14954 * sysdeps/mach/xpg-strerror.c: Likewise.
14955 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14956 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14957 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
14958 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
14959 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14960 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
14961 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
14962 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
14963 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
14964 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
14965 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
14966 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
14967 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
14968 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
14969 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
14970 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
14971 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
14972 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
14973 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
14974 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
14975 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
14976
14977 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
14978
14979 * stdio-common/_itoa.h: Moved to ...
14980 * sysdeps/generic/_itoa.h: Here.
14981
14982 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
14983
14984 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
14985 instead of "_itoa.h" and "_itowa.h".
14986 * stdio-common/vfprintf.: Likewise.
14987
d1af992d
L
149882012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14989
14990 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
14991 <bits/wordsize.h>.
14992 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
14993 (__signbit): Likwise.
14994 (llrintf): Likwise.
14995 (llrint): Likwise.
14996
114883e0
L
149972012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14998
14999 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
15000 __WORDSIZE != 64.
15001
c135cc1b
JM
150022012-03-20 Joseph Myers <joseph@codesourcery.com>
15003
15004 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
15005 OVERFLOW_EXCEPTION_OK.
15006 * math/libm-test.inc ("Philosophy"): Update comment about
15007 exception testing.
15008 (OVERFLOW_EXCEPTION): Define.
15009 (OVERFLOW_EXCEPTION_OK): Likewise.
15010 (INVALID_EXCEPTION_OK): Renumber.
15011 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15012 (IGNORE_ZERO_INF_SIGN): Likewise.
15013 (test_exceptions): Handle FE_OVERFLOW.
15014 (exp10_test): Expect overflow exceptions.
15015 (exp2_test): Likewise.
15016 (expm1_test): Likewise.
15017 (nextafter_test): Likewise.
15018 (pow_test): Likewise.
15019 (scalbn_test): Likewise.
15020 (scalbln_test): Likewise.
15021
95443d88
L
150222012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15023
15024 * sysdeps/x86_64/bits/atomic.h
15025 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
15026 64bit integer.
15027 (atomic_exchange_acq): Likewise.
15028 (__arch_exchange_and_add_body): Likewise.
15029 (__arch_add_body): Likewise.
15030 (atomic_add_negative): Likewise.
15031 (atomic_add_zero): Likewise.
15032
490df6c4
L
150332012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15034
c2722551 15035 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
15036 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
15037
5e52b189
L
150382012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15039
15040 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
15041 Check __x86_64__ instead of __WORDSIZE.
15042
a9879d4c
L
150432012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15044
15045 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
15046
5df98260
DM
150472012-03-19 David S. Miller <davem@davemloft.net>
15048
e1497744
DM
15049 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15050
5df98260
DM
15051 * sysdeps/sparc/fpu/fenv_private.h: New file.
15052 * sysdeps/sparc/fpu/math_private.h: Use it.
15053 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
15054 Remove.
15055 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
15056 (libc_feholdexcept_setroundl): Remove.
15057 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
15058 Remove.
15059 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
15060 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
15061
b4c35121
L
150622012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15063
15064 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
15065 int64_t instead of long int.
15066 (INSERT_WORDS64): Likwise.
15067
56965fd7
L
150682012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15069
15070 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
15071 _Unwind_GetCFA return to _Unwind_Ptr first.
15072
83d1aec8
JM
150732012-03-19 Joseph Myers <joseph@codesourcery.com>
15074
1897ad44
JM
15075 [BZ #13629]
15076 * math/s_clog.c: Include <float.h>.
15077 (__clog): Scale large or subnormal inputs.
15078 * math/s_clogf.c: Likewise.
15079 * math/s_clogl.c: Likewise.
15080 * math/s_clog10.c: Include <float.h>.
15081 (M_LOG10_2): Define.
15082 (__clog10): Scale large or subnormal inputs.
15083 * math/s_clog10f.c: Likewise.
15084 * math/s_clog10l.c: Likewise.
15085 * math/libm-test.inc (clog_test): Add more tests.
15086 (clog10_test): Likewise.
15087 * sysdeps/i386/fpu/libm-test-ulps: Update.
15088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15089
7726d6a9
JM
15090 [BZ #11451]
15091 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
15092 x and y.
15093 * math/libm-test.inc (atan2_test): Add another test.
15094
83d1aec8
JM
15095 * Makerules (common-objdir-compile): Remove.
15096 * sysdeps/unix/Makefile (config-generated): Do not add
15097 $(unix-generated) to variable.
15098 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
15099 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
15100 Remove rule.
15101 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
15102 Likewise.
15103 [generic bits/local_lim.h] (before-compile): Do not append to
15104 variable.
15105 [generic bits/local_lim.h] (common-generated): Likewise.
15106 [generic sys/param.h] (before-compile): Do not append to variable.
15107 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
15108 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
15109 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
15110 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
15111 include.
15112 [generic sys/param.h] (sys/param.h-includes): Remove variable.
15113 [generic sys/param.h] (sys/param.h-includes): Remove rule.
15114 [generic sys/param.h] ($(addprefix
15115 $(common-objpfx),$(sys/param.h-includes))): Likewise.
15116 [generic sys/param.h] (common-generated): Do not append to
15117 variable.
15118 [generic sys/param.h] (sysdep_headers): Likewise.
15119 [generic bits/errno.h] (before-compile): Do not append to
15120 variable.
15121 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
15122 rule.
15123 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
15124 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
15125 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
15126 [generic bits/errno.h] (common-generated): Do not append to
15127 variable.
15128 [generic bits/ioctls.h] (before-compile): Do not append to
15129 variable.
15130 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
15131 rule.
15132 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
15133 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
15134 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
15135 rule.
15136 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
15137 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
15138 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
15139 [generic bits/ioctls.h] (common-generated): Do not append to
15140 variable.
15141 [generic sys/syscall.h] (syscall.h): Remove variable.
15142 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
15143 rule.
15144 [generic sys/syscall.h] (before-compile): Do not append to
15145 variable.
15146 [generic sys/syscall.h] (common-generated): Likewise.
15147 * sysdeps/unix/errnos-tmpl.c: Remove file.
15148 * sysdeps/unix/errnos.awk: Likewise.
15149 * sysdeps/unix/ioctls-tmpl.c: Likewise.
15150 * sysdeps/unix/ioctls.awk: Likewise.
15151 * sysdeps/unix/mk-local_lim.c: Likewise.
15152 * sysdeps/unix/snarf-ioctls: Likewise.
15153
4851a949
RH
151542012-03-19 Richard Henderson <rth@twiddle.net>
15155
bd37f2ee
RH
15156 * sysdeps/i386/fpu/fenv_private.h: New file.
15157 * sysdeps/i386/fpu/math_private.h: Use it.
15158 (math_opt_barrier, math_force_eval): Remove.
15159 (libc_feholdexcept_setround_53bit): Remove.
15160 (libc_feupdateenv_53bit): Remove.
15161 * sysdeps/x86_64/fpu/math_private.h: Likewise.
15162 (math_opt_barrier, math_force_eval): Remove.
15163 (libc_feholdexcept): Remove.
15164 (libc_feholdexcept_setround): Remove.
15165 (libc_fetestexcept, libc_fesetenv): Remove.
15166 (libc_feupdateenv_test): Remove.
15167 (libc_feupdateenv, libc_feholdsetround): Remove.
15168 (libc_feresetround): Remove.
15169
d0adc922
RH
15170 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
15171 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
15172
0fe0f1f8
RH
15173 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
15174 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
15175 (libc_feupdateenv_testl): New.
15176 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
15177 (libc_feupdateenv_testf): New.
15178 (libc_feupdateenv): Use libc_feupdateenv_test.
15179 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
15180 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
15181
eb92c487
RH
15182 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
15183 (libc_feholdsetroundf, libc_feholdsetroundl): New.
15184 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
15185 (libc_feresetround_noex): New.
15186 (libc_feresetround_noexf): New.
15187 (libc_feresetround_noexl): New.
15188 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
15189 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
15190 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
15191 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
15192 SET_RESTORE_ROUND.
15193 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15194 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
15195 (__cos): Likewise.
15196 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
15197 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
15198 SET_RESTORE_ROUND_NOEX.
15199 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
15200 SET_RESTORE_ROUND_NOEXF.
15201 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
15202 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
15203 (libc_feholdsetroundf): New.
15204 (libc_feresetround, libc_feresetroundf): New.
15205
7d2e8012
RH
15206 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
15207 (libc_feholdexcept_setround_53bit): Convert from macro to function.
15208 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
15209
b4dabbb4
RH
15210 * sysdeps/generic/math_private.h: Include <fenv.h>.
15211 (default_libc_feholdexcept): New.
15212 (default_libc_feholdexcept_setround): New.
15213 (default_libc_fesetenv, default_libc_feupdateenv): New.
15214 (libc_feholdexcept): Only define if undefined.
15215 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
15216 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
15217 (libc_feholdexcept_setroundl): Likewise.
15218 (libc_feholdexcept_setround_53bit): Likewise.
15219 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
15220 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
15221 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
15222 (libc_feupdateenv_53bit): Likewise.
15223 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
15224 (libc_feholdexcept): Convert from macro to inline function.
15225 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
15226 (libc_fesetenv, libc_feupdateenv): Likewise.
15227
4851a949
RH
15228 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
15229 not previously defined.
15230 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
15231 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
15232 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
15233 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
15234 * sysdeps/ieee754/flt-32/math_private.h: New file.
15235 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
15236 math_private.h below SET_FLOAT_WORD.
15237 (__isnan, __isinf_ns, __finite): Remove.
15238 (__isnanf, __isinf_nsf, __finitef): Remove.
15239
e79d442e
AS
152402012-03-18 Andreas Schwab <schwab@linux-m68k.org>
15241
15242 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15243
90b80344
DM
152442012-03-17 David S. Miller <davem@davemloft.net>
15245
15246 [BZ #6471]
15247 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
15248 for 2.16.
15249
edc21804
DM
152502012-03-16 David S. Miller <davem@davemloft.net>
15251
77e927af
DM
15252 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
15253 warnings.
15254
374976dd
DM
15255 [BZ #6471]
15256 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
15257 properly.
15258 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
15259 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
15260 sysdep_routines when subdir is sysvipc.
15261 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
15262 __getshmlba helper.
15263
edc21804
DM
15264 * sysdeps/sparc/fpu/libm-test/ulps: Update.
15265
473c3ef3
L
152662012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15267
15268 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
15269 [__LP64__].
15270
eb0f39b6
L
152712012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15272
15273 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
15274 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
15275 (__lround): Renamed to ...
15276 (__llround): This. Replace long int with long long int.
15277 Define lround functions as aliases of llround functions.
15278 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
15279
6b6cd74b
L
152802012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15281
15282 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
15283 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
15284 adresses to uintptr_t. Replace "long int" and "unsigned long
15285 int" with "greg_t" on va_arg.
15286
f1a77b01
L
152872012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15288
15289 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
15290 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
15291
15292 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
15293 Move e_machine check before EI_CLASS check. Handle x32
15294 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
15295 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
15296 SKIP_EM_IA_64 and include
15297 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
15298
15299 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
15300 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
15301 (add_system_dir): New macro.
15302
15303 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
15304 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
15305
11b90b9f
JM
153062012-03-16 Joseph Myers <joseph@codesourcery.com>
15307
c36e1d23
JM
15308 [BZ #2551]
15309 [BZ #2552]
15310 [BZ #2553]
15311 [BZ #2554]
15312 [BZ #2562]
15313 [BZ #2563]
15314 [BZ #2565]
15315 [BZ #2566]
15316 [BZ #2576]
15317 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
15318 (y0): Likewise.
15319 * math/w_j0f.c (j0f): Likewise.
15320 (y0f): Likewise.
15321 * math/w_j0l.c (__j0l): Likewise.
15322 (__y0l): Likewise.
15323 * math/w_j1.c (j1): Likewise.
15324 (y1): Likewise.
15325 * math/w_j1f.c (j1f): Likewise.
15326 (y1f): Likewise.
15327 * math/w_j1l.c (__j1l): Likewise.
15328 (__y1l): Likewise.
15329 * math/w_jn.c (jn): Likewise.
15330 (yn): Likewise.
15331 * math/w_jnf.c (jnf): Likewise.
15332 (ynf): Likewise.
15333 * math/w_jnl.c (__jnl): Likewise.
15334 (__ynl): Likewise.
15335 * math/libm-test.inc (j0_test): Add more tests.
15336 (j1_test): Likewise.
15337 (jn_test): Likewise. Add trailing semicolon to existing test.
15338 (y0_test): Likewise.
15339 (y1_test): Likewise.
15340 * sysdeps/i386/fpu/libm-test-ulps: Update.
15341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15342
11b90b9f
JM
15343 [BZ #13851]
15344 [BZ #13854]
15345 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
15346 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
15347 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
15348 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
15349 (__tanl): Set errno for infinite argument.
15350 * sysdeps/i386/fpu/mptan.c: Remove.
15351 * sysdeps/i386/fpu/s_tan.S: Likewise.
15352 * sysdeps/i386/fpu/s_tanl.S: Likewise.
15353 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
15354 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
15355 * math/libm-test.inc (tan_test): Add more tests and enable more
15356 tests for double and long double.
15357 * sysdeps/i386/fpu/libm-test-ulps: Update.
15358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15359
6a1bd2a1
JK
153602012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15361
15362 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
15363 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
15364
10a803e0
RM
153652012-03-16 Roland McGrath <roland@hack.frob.com>
15366
15367 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
15368 * configure.in: Use it for both main tree and add-ons.
15369 * configure: Regenerated.
15370
f196c7f7
L
153712012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15372
15373 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
15374
8848d99d
JM
153752012-03-16 Joseph Myers <joseph@codesourcery.com>
15376
96cbe7f4
JM
15377 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
15378 in comment.
15379
8848d99d
JM
15380 [BZ #13851]
15381 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
15382 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
15383 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
15384 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
15385 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
15386 infinite argument.
15387 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
15388 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
15389 != 0 for prec == 2.
15390 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
15391 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
15392 * sysdeps/i386/fpu/s_cosl.S: Likewise.
15393 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
15394 * sysdeps/i386/fpu/s_sinl.S: Likewise.
15395 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
15396 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
15397 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
15398 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
15399 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
15400 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
15401 * math/libm-test.inc (cos_test): Add more tests and enable more
15402 tests for long double.
15403 (sin_test): Likewise.
15404 (sincos_test): Likewise.
15405 * sysdeps/i386/fpu/libm-test-ulps: Update.
15406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15407
dd7f4703
DM
154082012-03-16 David S. Miller <davem@davemloft.net>
15409
15410 * sysdeps/sparc/fpu/math_private.h: New file.
15411
006f1daa
DM
154122012-03-15 David S. Miller <davem@davemloft.net>
15413
c0c83bc8
DM
15414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
15415 file.
e6a62e18 15416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
15417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
15418 file.
e6a62e18
DM
15419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
15420 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
15421 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
15422 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
15423 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
15424 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
15425 sysdep routines.
15426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
15427
88cb87d9
DM
15428 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
15429 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
15430
006f1daa 15431 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
15432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
15433 sparc-ifunc.h
006f1daa 15434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
15435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
15436 Likewise.
15437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
15438 Likewise.
006f1daa
DM
15439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
15440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
15441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
15442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
15443 Likewise.
006f1daa
DM
15444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
15446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
15448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
15449 Likewise.
15450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
15451 Likewise.
006f1daa
DM
15452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
15454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
15455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
15456 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
15457 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
15458 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
15459 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
15460 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
15461 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
15462 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
15463 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
15464 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
15465 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
15466 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
15467 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
15468 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
15469 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
15470 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
15471 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
15472 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
15473 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
15474 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
15475 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
15476
11e0098e
AS
154772012-03-15 Andreas Schwab <schwab@linux-m68k.org>
15478
15479 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
15480 scaling.
15481 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15482
e85b09d0
AJ
154832012-03-15 Andreas Jaeger <aj@suse.de>
15484
15485 [BZ #13852]
15486 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
15487 ieee754/flt-32 implementation for sin, cos and sincos.
15488 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
15489 * sysdeps/i386/fpu/s_cosf.S: Likewise.
15490 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
15491 * sysdeps/i386/fpu/s_sinf.S: Likewise.
15492 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
15493 ieee754/flt-32 implementation for tan.
15494
15495 * math/libm-test.inc (cos_test): Enable some large input tests for
15496 float as well
15497 (sin_test): Likewise.
15498 (sincos_test): Likewise.
15499 (tan_test): Add tests for large input.
15500
15501 * sysdeps/i386/fpu/libm-test-ulps: Update.
15502
81c64153
AJ
155032012-03-15 Andreas Jaeger <aj@suse.de>
15504
15505 [BZ #13658]
15506 * math/libm-test.inc (cos_test): Add more test cases.
15507 (sin_test): Likewise.
15508 (sincos_test): Likewise.
15509
7bbfa5c6
AJ
155102012-03-15 Andreas Jaeger <aj@suse.de>
15511
15512 [BZ #13837]
15513 * math/libm-test.inc (cos_test): Add a test case for large input
15514 value.
15515 (sin_test): Likewise.
15516 (sincos_test): Likewise.
15517
155182012-03-15 Andreas Jaeger <aj@suse.de>,
15519 Joseph Myers <joseph@codesourcery.com>
15520
15521 [BZ #13658]
0671f479 15522 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
15523 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
15524 * sysdeps/i386/fpu/branred.c: Likewise.
15525 * sysdeps/i386/fpu/dosincos.c: Likewise.
15526 * sysdeps/i386/fpu/mpa.c: Likewise.
15527 * sysdeps/i386/fpu/s_cos.S: Likewise.
15528 * sysdeps/i386/fpu/s_sin.S: Likewise.
15529 * sysdeps/i386/fpu/s_sincos.S: Likewise.
15530 * sysdeps/i386/fpu/sincos32.c: Likewise.
15531
15532 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
15533 Define.
15534 (libc_feupdateenv_53bit): Define.
15535 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
15536 Define.
15537 (libc_feupdateenv_53bit): Define.
15538
15539 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
15540 53 bit (without extend i386 double precision).
15541
15542 * math/libm-test.inc (sincos_test): Add tests for large input.
15543 (sin): Likewise.
15544 (cos): Likewise.
15545
15546 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
15547
9cad04ea
AS
155482012-03-15 Andreas Schwab <schwab@linux-m68k.org>
15549
15550 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15551
f7062b9a
DM
155522012-03-15 David S. Miller <davem@davemloft.net>
15553
15554 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
15555 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
15556 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
15557 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
15558 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
15559 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
15560 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
15561 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
15562 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
15563 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
15564 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
15565 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
15566 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
15567 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
15568 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
15569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
15570 file.
f7062b9a 15571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
15572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
15573 file.
f7062b9a 15574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
15575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
15576 file.
f7062b9a 15577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
15578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
15579 file.
f7062b9a
DM
15580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
15581 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
15582 fmin/fmax sysdep routines.
15583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
15584
7bd951ff
DM
155852012-03-14 David S. Miller <davem@davemloft.net>
15586
559398ab
DM
15587 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
15588 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
15589 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
15590 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
15591 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
15592 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
15593 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
15594 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
15595 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
15596 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
15597 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
15598 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
15599 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
15600 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
15601 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
15602 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
15603 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
15604 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
15605 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
15606 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
15607 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
15608 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
15609 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
15610 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
15611 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
15612 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
15613 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
15614 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
15615 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
15616 routines.
15617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
15618 file.
559398ab 15619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
15620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
15621 file.
559398ab 15622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
15623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
15624 file.
559398ab 15625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
15626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
15627 file.
559398ab 15628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
15629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
15630 file.
559398ab 15631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
15632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
15633 file.
15634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
15635 file.
15636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
15637 file.
15638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
15639 file.
15640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
15641 New file.
15642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
15643 file.
15644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
15645 file.
559398ab 15646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
15647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
15648 file.
559398ab 15649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
15650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
15651 file.
559398ab 15652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
15653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
15654 file.
559398ab 15655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
15656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
15657 VIS3 routines.
559398ab
DM
15658
15659 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
15660 New file.
15661
5a1c1e32
DM
15662 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15663
eae47a36
DM
15664 * sysdeps/sparc/configure.in: New file.
15665 * sysdeps/sparc/configure: Generate.
15666 * configure.in (libc_cv_sparc_as_vis3): Substitute.
15667 * configure: Regenerate.
15668 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
15669 * config.make.in (have-as-vis3): New.
15670 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
15671 available use -Av9d instead of -Av9a.
15672 * sysdeps/sparc/sparc64/Makefile: Likewise.
15673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
15674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
15675 New file.
15676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
15677 file.
15678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
15679 New file.
15680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
15681 file.
eae47a36
DM
15682 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
15683 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
15684 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
15685 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
15686 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
15687
c0c83bc8
DM
15688 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
15689 fzeros/fnegs to load 0x80000000 into a float register instead of
15690 using the stack.
7bd951ff
DM
15691 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
15692
bd951ccb
JM
156932012-03-14 Joseph Myers <joseph@codesourcery.com>
15694
15695 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15696 bits/syscall.h.
15697 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
15698 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
15699 ($(inst_includedir)/bits/syscall.h): Remove rule.
15700 ($(objpfx)bits/syscall.d): Include instead of
15701 $(objpfx)syscall-list.d.
15702 (generated): Change syscall-list.h and syscall-list.d to
15703 bits/syscall.h and bits/syscall.d.
15704
bb4e6db2
RM
157052012-03-14 Roland McGrath <roland@hack.frob.com>
15706
15707 [BZ #13846]
15708 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
15709
aa4a2ae1
JM
157102012-03-14 Joseph Myers <joseph@codesourcery.com>
15711
e456826d
JM
15712 [BZ #13841]
15713 * math/s_csqrt.c: Include <float.h>.
15714 (__csqrt): Scale large or subnormal inputs.
15715 * math/s_csqrtf.c: Likewise.
15716 * math/s_csqrtl.c: Likewise.
15717 * math/libm-test.inc (csqrt_test): Add more tests.
15718 * sysdeps/i386/fpu/libm-test-ulps: Update.
15719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15720
aa4a2ae1
JM
15721 [BZ #13840]
15722 * math/libm-test.inc (hypot_test): Add more tests.
15723
7c10fd35
DM
157242012-03-13 David S. Miller <davem@davemloft.net>
15725
15726 [BZ #13840]
15727 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
15728 double-precision for the calculation instead of scaling.
15729
f453b98b
JM
157302012-03-13 Joseph Myers <joseph@codesourcery.com>
15731
15732 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
15733 manipulate bits before adding and subtracting TWO52[sx].
15734 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
15735 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
15736 Likewise.
15737 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
15738
09a3453f
DM
157392012-03-13 David S. Miller <davem@davemloft.net>
15740
8e59da90
DM
15741 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
15742 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
15743 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
15744 rtld-global-offsets.h
15745 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15746
2a8ab7f2
DM
15747 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
15748 large parameters.
15749
10f62770
DM
15750 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
15751
5f0bdb18
DM
15752 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
15753 'err' in the ifdef scope in which it is actually used.
15754
09a3453f
DM
15755 * nss/nss_db/db-init.c: Include string.h
15756
b4b2eb5e
DM
157572012-03-12 David S. Miller <davem@davemloft.net>
15758
98bb2f1c
DM
15759 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
15760 masking out of the most significant byte of random value used.
15761 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15762 Fix coding style in previous change.
15763
b4b2eb5e
DM
15764 * sysdeps/unix/sysv/linux/kernel-features.h
15765 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
15766 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
15767 expression.
15768 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
15769 later.
15770
6e226b09
DM
157712012-03-11 David S. Miller <davem@davemloft.net>
15772
a1bcbd40
DM
15773 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
15774 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
15775 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
15776 for 'resultvar' otherwise things get truncated on 64-bit.
15777
cb9d6174
DM
15778 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15779 Fix masking out of the most significant byte of random value used.
15780
6e226b09
DM
15781 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15782
058c132d
AS
157832012-03-10 Andreas Schwab <schwab@linux-m68k.org>
15784
15785 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15786
2d2cd515
DM
157872012-03-09 David S. Miller <davem@davemloft.net>
15788
15789 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
15790 variables with appropriate CPP guards.
15791 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
15792 frame pointer, not the stack pointer. Correct layout comments. Fix test
15793 on resulting framesize and the management of the outregs buffer for pltexit.
15794 Preserve floating point return values across _dl_call_pltexit call.
15795 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
15796 framesize and the management of the outregs buffer for pltexit.
15797 Preserve floating point return values across _dl_call_pltexit
15798 call.
15799 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
15800 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
15801 (print_exit): Fix format string for return register value.
15802
9a07f9d0
JM
158032012-03-10 Joseph Myers <joseph@codesourcery.com>
15804
15805 * sunrpc/Makefile (others): Add rpcgen.
15806 ($(objpfx)rpcgen): Remove special build rule and dependency on
15807 libc.
15808 * sunrpc/rpcgen.c: New file.
15809
547b5e30
PE
158102012-03-09 Paul Eggert <eggert@cs.ucla.edu>
15811
c524201a
PE
15812 [BZ #13673]
15813 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
15814 * stdio-common/bug-vfprintf-nargs.c: Likewise.
15815 * sysdeps/i386/crti.S: Likewise.
15816 * sysdeps/i386/crtn.S: Likewise.
15817 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
15818 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
15819 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
15820 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
15821 * sysdeps/sh/crti.S: Likewise.
15822 * sysdeps/sh/crtn.S: Likewise.
15823 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15824
7b6235f2
PE
15825 [BZ #13673]
15826 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
15827 with URL.
15828 * locale/programs/locfile-kw.gperf: Likewise.
15829 * locale/programs/charmap-kw.h: Regenerated.
15830 * locale/programs/locfile-kw.h: Likewise.
15831
547b5e30
PE
15832 [BZ #13673]
15833 * intl/plural.y: Replace FSF snail mail address with URL.
15834 * intl/plural.c: Regenerated.
15835
5f0a5dae
RH
158362012-03-09 Richard Henderson <rth@twiddle.net>
15837
15838 * include/math_private.h: Remove file.
15839 * math/math_private.h: Move file ...
15840 * sysdeps/generic/math_private.h: ... here.
15841
b8c03620
RH
15842 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
15843 * sysdeps/powerpc/fpu/math_private.h: Likewise.
15844 * sysdeps/x86_64/fpu/math_private.h: Likewise.
15845
4e234f5d 15846 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
15847 and <math_private.h>.
15848 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15849 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15850 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15851 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15852 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15853 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
15854 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15855 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15856 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15857 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15858 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15859 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15860 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15861 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15862 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15863 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15864 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15865 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15866 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15867 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15868 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15869 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15870 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15871 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15872 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15873 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15874 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15875 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15876 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15877 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15878 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15879 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15880 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15881 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15882 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15883 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15884 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15885 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15886 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15887 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15888 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
15889 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15890 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15891 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15892 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15893 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15894 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
15895 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15896 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15897 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15898 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15899 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
15900 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15901 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15902 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15903 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15904 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15905 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15906 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15907 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
15908 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15909 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15910 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15911 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15912 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
15913 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15914 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15915 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15916 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
15917 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
15918 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15919 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15920 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15921 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15922 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
15923 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
15924 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
15925 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15926 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
15927 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
15928 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15929 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
15930 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15931 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
15932 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15933 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
15934 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
15935 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
15936 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
15937 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15938 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15939 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
15940 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15941 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15942 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
15943 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
15944 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15945 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15946 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15947 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15948 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
15949 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
15950 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
15951 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
15952 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15953 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
15954 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15955 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
15956 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15957 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15958 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15959 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15960 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15961 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15962 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
15963 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15964 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15965 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
15966 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15967 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15968 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15969 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
15970 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15971 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
15972 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15973 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
15974 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
15975 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
15976 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
15977 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
15978 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
15979 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15980 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15981 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
15982 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
15983 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
15984 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15985 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15986 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
15987 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
15988 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
15989 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
15990 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
15991 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
15992 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
15993 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15994 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
15995 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15996 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
15997 * sysdeps/ieee754/k_standard.c: Likewise.
15998 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
15999 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
16000 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16001 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
16002 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16003 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
16004 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
16005 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16006 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16007 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16008 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16009 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16010 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
16011 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
16012 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
16013 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16014 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16015 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16016 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16017 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
16018 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
16019 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
16020 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16021 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16022 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16023 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
16024 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16025 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16026 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16027 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16028 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16029 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16030 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16031 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16032 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16033 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16034 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
16035 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
16036 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
16037 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16038 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16039 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16040 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16041 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16042 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16043 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16044 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16045 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16046 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16047 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16048 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16049 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16050 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16051 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
16052 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16053 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16054 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
16055 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
16056 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16057 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16058 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16059 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16060 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16061 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
16062 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16063 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16064 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
16065 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
16066 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
16067 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
16068 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
16069 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16070 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
16071 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
16072 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
16073 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
16074 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
16075 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
16076 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16077 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16078 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16079 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16080 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16081 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16082 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
16083 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16084 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
16085 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
16086 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16087 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16088 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
16089 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
16090 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
16091 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
16092 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16093 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
16094 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
16095 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
16096 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
16097 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
16098 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
16099 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16100 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16101 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16102 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
16103 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16104 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16105 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
16106 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
16107 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
16108 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16109 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
16110 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
16111 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16112 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
16113 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16114 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
16115 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16116 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16117 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16118 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16119 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
16120 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16121 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
16122 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16123 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
16124 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16125 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
16126 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
16127 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16128 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16129 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16130 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16131 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
16132 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
16133 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
16134 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
16135 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
16136 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16137 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
16138 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
16139 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16140 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
16141 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
16142 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16143 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16144 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16145 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16146 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16147 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
16148 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16149 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
16150 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16151 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16152 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
16153 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
16154 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
16155 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16156 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
16157 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
16158 * sysdeps/ieee754/s_lib_version.c: Likewise.
16159 * sysdeps/ieee754/s_matherr.c: Likewise.
16160 * sysdeps/ieee754/s_signgam.c: Likewise.
16161 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16162 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16163 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
16164 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
16165 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
16166 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16167 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
16168 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
16169 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
16170 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
16171 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16172 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
16173 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
16174 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16175 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
16176 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
16177 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16178 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
16179 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16180 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16181 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 16182
1991fa03
JM
161832012-03-09 Joseph Myers <joseph@codesourcery.com>
16184
16185 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
16186 * sunrpc/rpc_main.c: Likewise.
16187 * sunrpc/rpc_svcout.c: Likewise.
16188
60d6f5a6
DM
161892012-03-09 David S. Miller <davem@davemloft.net>
16190
16191 * include/math_private.h: New file.
16192
4962050e
JM
161932012-03-09 Joseph Myers <joseph@codesourcery.com>
16194
02a6f887
JM
16195 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
16196 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
16197 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
16198 from <bits/socket_type.h>.
16199 (enum __socket_type): Don't define here.
16200 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
16201 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16202 bits/socket_type.h.
16203
c6e013c1
JM
16204 [BZ #13566]
16205 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
16206 checking __USE_GNU.
16207
4962050e
JM
16208 * Makerules ($(inst_includedir)/%.h): New rule.
16209 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
16210 (install-others): Remove variable setting.
16211 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
16212
38842f45
RH
162132012-03-08 Richard Henderson <rth@twiddle.net>
16214
67bb6da6
RH
16215 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
16216 from macro to inline function; merge with the
16217 !__LIBC_INTERNAL_MATH_INLINES version.
16218 (__ieee754_sqrtf): Likewise.
16219
15194b4b
RH
16220 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
16221 to inline function.
16222 (__rintf, __floor, __floorf): Likewise.
16223
64e21ede
RH
16224 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
16225 macro to inline function.
16226 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
16227
38842f45
RH
16228 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
16229 not <math/math_private.h>.
16230
c64bf5fe
DM
162312012-03-08 David S. Miller <davem@davemloft.net>
16232
16233 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
16234 copyright year.
16235 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
16236
82d86f28
TS
162372012-03-08 Thomas Schwinge <thomas@codesourcery.com>
16238
16239 * resolv/gai_misc.c (handle_requests): Fix struct timespec
16240 normalization.
16241 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
16242 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
16243
aea5d727
UD
162442012-03-08 Ulrich Drepper <drepper@gmail.com>
16245
16246 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
16247 be defined individually, they must be defined as a block. Define
16248 S for printing a string instead of hidint the different by using a
16249 macro for adding the 'l'.
16250 * stdio-common/tst-fphex-wide.c: Adjust.
16251
70bca0a3
MP
162522012-03-07 Marek Polacek <polacek@redhat.com>
16253
16254 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
16255
65b81130
MP
162562012-03-08 Marek Polacek <polacek@redhat.com>
16257
16258 [BZ #13806]
16259 * stdio-common/Makefile (tests): Add tst-fphex-wide.
16260 * stdio-common/tst-fphex.c: Define a few macros to make the
16261 test reusable. Use them.
16262 * stdio-common/tst-fphex-wide.c: New file.
16263
07037eeb
JM
162642012-03-08 Joseph Myers <joseph@codesourcery.com>
16265
a7a93d50
JM
16266 [BZ #6911]
16267 * manual/macros.texi (gnusystems): New macro.
16268 (nongnusystems): Likewise.
16269 (gnulinuxhurdsystems): Likewise.
16270 (gnuhurdsystems): Likewise..
16271 (gnulinuxsystems): Likewise.
16272 * manual/charset.texi: Use new macros or @theglibc{} to refer to
16273 variants of the GNU system, not "GNU system".
16274 * manual/conf.texi: Likewise.
16275 * manual/errno.texi: Likewise. Update example of errno macro
16276 expansion.
16277 * manual/filesys.texi: Likewise.
16278 (getumask): Document as specific to GNU/Hurd.
16279 * manual/install.texi: Likewise. Reword some references to
16280 GNU/Linux.
16281 * manual/intro.texi: Likewise.
16282 * manual/io.texi: Likewise.
16283 (File Name Portability): Detail which constraints are inapplicable
16284 to all GNU systems and which are only inapplicable to GNU/Hurd.
16285 * manual/job.texi: Likewise.
16286 * manual/llio.texi: Likewise.
16287 (O_NOCTTY): Document as present on GNU/Linux.
16288 * manual/maint.texi: Likewise.
16289 * manual/memory.texi: Likewise.
16290 * manual/pattern.texi: Likewise.
16291 * manual/pipe.texi: Likewise.
16292 * manual/process.texi: Likewise.
16293 * manual/resource.texi: Likewise.
16294 (RUSAGE_CHILDREN): Remove statement about specifying a particular
16295 child on GNU/Hurd.
16296 * manual/setjmp.texi: Likewise.
16297 * manual/signal.texi: Likewise.
16298 * manual/startup.texi: Likewise.
16299 * manual/stdio.texi: Likewise.
16300 * manual/terminal.texi: Likewise.
16301 (ONLCR): Document as POSIX.
16302 (OXTABS): Document availability on GNU/Linux as XTABS.
16303 (ONOEOT): Document availability separately from other bits.
16304 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
16305 * manual/time.texi: Likewise.
16306 * manual/users.texi: Likewise.
16307 * INSTALL: Regenerated.
16308 * sysdeps/gnu/errlist.c: Regenerated.
16309
07037eeb
JM
16310 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
16311 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
16312 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
16313 puts.
16314 * configure: Regenerated.
16315
d1d3431a
JM
163162012-03-07 Joseph Myers <joseph@codesourcery.com>
16317
af6a1e37
JM
16318 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
16319 default includes instead of AC_HEADER_CHECK.
16320 * sysdeps/i386/configure: Regenerated.
16321
d1d3431a
JM
16322 [BZ #10716]
16323 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
16324 * math/s_cacoshf.c (__cacoshf): Likewise.
16325 * math/s_cacoshl.c (__cacoshl): Likewise.
16326 * math/s_casinh.c (__casinh): Set signs of result from argument.
16327 * math/s_casinhf.c (__casinhf): Likewise.
16328 * math/s_casinhl.c (__casinhl): Likewise.
16329 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
16330 (casinh_test): Add more tests.
16331 * sysdeps/i386/fpu/libm-test-ulps: Update.
16332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16333
482ff4da
UD
163342012-03-07 Ulrich Drepper <drepper@gmail.com>
16335
872fda05
UD
16336 * po/zh_TW.po: Update from translation team.
16337
a4300c7a
UD
16338 * login/Makefile (distribute): Remove variable.
16339 * catgets/Makefile: Likewise.
16340 * mach/Makefile: Likewise.
16341 * malloc/Makefile: Likewise.
16342 * misc/Makefile: Likewise.
16343 * iconv/Makefile: Likewise.
16344 * nscd/Makefile: Likewise.
16345 * hurd/Makefile: Likewise.
16346 * manual/Makefile: Likewise.
16347 * locale/Makefile: Likewise.
16348 * intl/Makefile: Likewise.
16349 * conform/Makefile: Likewise.
16350 * nss/Makefile: Likewise.
16351 * time/Makefile: Likewise.
16352 * soft-fp/Makefile: Likewise.
16353 * dirent/Makefile: Likewise.
16354 * gmon/Makefile: Likewise.
16355 * po/Makefile: Likewise.
16356 * rt/Makefile: Likewise.
16357 * socket/Makefile: Likewise.
16358 * math/Makefile: Likewise.
16359 * signal/Makefile: Likewise.
16360 * debug/Makefile: Likewise.
16361 * elf/Makefile: Likewise.
16362 * timezone/Makefile: Likewise.
16363 * stdlib/Makefile: Likewise.
16364 * iconvdata/Makefile: Likewise.
16365 * sunrpc/Makefile: Likewise.
16366 * io/Makefile: Likewise.
16367 * argp/Makefile: Likewise.
16368 * inet/Makefile: Likewise.
16369 * hesiod/Makefile: Likewise.
16370 * grp/Makefile: Likewise.
16371 * csu/Makefile: Likewise.
16372 * wctype/Makefile: Likewise.
16373 * crypt/Makefile: Likewise.
16374 * libio/Makefile: Likewise.
16375 * string/Makefile: Likewise.
16376 * nis/Makefile: Likewise.
16377 * resolv/Makefile: Likewise.
16378 * stdio-common/Makefile: Likewise.
16379 * wcsmbs/Makefile: Likewise.
16380 * dlfcn/Makefile: Likewise.
16381 * posix/Makefile: Likewise.
16382
3b7c4e74 16383 [BZ #6959]
482ff4da
UD
16384 * timezone/Makefile: Don't install timezone files, just the programs
16385 and scripts.
16386
f72ed77d
UD
163872012-03-06 Ulrich Drepper <drepper@gmail.com>
16388
a000466f
UD
16389 * nss/databases.def: Add missing gshadow entry.
16390
f72ed77d
UD
16391 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
16392
a53b7a4e
MP
163932012-03-06 Marek Polacek <polacek@redhat.com>
16394
16395 [BZ #13726]
16396 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
16397 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16398 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
16399 * stdio-common/tst-long-dbl-fphex.c: New file.
16400
e9258400
DM
164012012-03-06 David S. Miller <davem@davemloft.net>
16402
16403 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16404 (set_obp_int): New function.
16405 (get_obp_int): New function.
16406 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
16407 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
16408 Avoid unused variable warnings on 'val' and use builtin_expect.
16409 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
16410 __builtin_expect.
e9258400
DM
16411 (INLINE_CLONE_SYSCALL): Likewise.
16412
3bd2c723
DM
164132012-03-05 David S. Miller <davem@davemloft.net>
16414
16415 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16416
bbb78d03
AS
164172012-03-05 Andreas Schwab <schwab@linux-m68k.org>
16418
884c5db4
AS
16419 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16420
bbb78d03
AS
16421 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
16422 only for |x| >= 40.
16423 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16424
1c9f702a 164252012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
16426
16427 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
16428 Replace gettimeofday with __vdso_gettimeofday.
16429
7be16f82
RM
16430 * sysdeps/unix/sysv/linux/x86_64/init-first.c
16431 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
16432 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
16433
16434 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
16435 time with __vdso_time.
16436
ed58a00f
JM
164372012-03-05 Joseph Myers <joseph@codesourcery.com>
16438
16439 * manual/lang.texi (size_t): Note types to which size_t may be
16440 equivalent with the GNU C Library, but do not describe when
16441 differences between them are significant.
16442
30ee4ced
AJ
164432012-03-05 Andreas Jaeger <aj@suse.de>
16444
16445 * sysdeps/i386/fpu/libm-test-ulps: Update.
16446
b7cd39e8
JM
164472012-03-05 Joseph Myers <joseph@codesourcery.com>
16448
16449 [BZ #3976]
16450 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
16451 (__ieee754_pow): Save and restore rounding mode and use
16452 round-to-nearest for main computations.
16453 * math/libm-test.inc (pow_test_tonearest): New function.
16454 (pow_test_towardzero): Likewise.
16455 (pow_test_downward): Likewise.
16456 (pow_test_upward): Likewise.
16457 (main): Call the new functions.
16458 * sysdeps/i386/fpu/libm-test-ulps: Update.
16459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
16460
16461 [BZ #3976]
16462 * math/libm-test.inc (cosh_test_tonearest): New function.
16463 (cosh_test_towardzero): Likewise.
16464 (cosh_test_downward): Likewise.
16465 (cosh_test_upward): Likewise.
16466 (sinh_test_tonearest): Likewise.
16467 (sinh_test_towardzero): Likewise.
16468 (sinh_test_downward): Likewise.
16469 (sinh_test_upward): Likewise.
16470 (main): Call the new functions.
16471 * sysdeps/i386/fpu/libm-test-ulps: Update.
16472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16473
6c6a98c9
TV
164742012-03-05 Tom de Vries <tom@codesourcery.com>
16475
16476 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
16477 default stack guard is set in last bytes.
16478 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
16479
21bb2d2e 164802012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 16481
21bb2d2e 16482 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 16483
21bb2d2e
AJ
16484 [BZ #13656]
16485 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
16486 possibly allocate from heap instead of stack.
16487 * stdio-common/bug-vfprintf-nargs.c: New file.
16488 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 16489
c6922934
AS
164902012-03-03 Andreas Schwab <schwab@linux-m68k.org>
16491
16492 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16493
bc957d53
MP
164942012-03-03 Marek Polacek <polacek@redhat.com>
16495
16496 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
16497 * math/math_private.h: Likewise.
16498 * stdlib/tst-strtod.c: Likewise.
16499 * sysdeps/i386/i486/bits/atomic.h: Likewise.
16500 * sysdeps/x86_64/bits/atomic.h: Likewise.
16501
6358490d
DM
165022012-03-02 David S. Miller <davem@davemloft.net>
16503
16504 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
16505 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
16506 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
16507 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
16508 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
16509 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
16510 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
16511 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
16512
01ae168d
RM
165132012-03-02 Roland McGrath <roland@hack.frob.com>
16514
d9a17c07
RM
16515 [BZ #13792]
16516 * manual/examples/README: New file, says the example source files
16517 can be used under GPL>=2.
16518 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
16519 line containing just "*/".
16520 * manual/examples/add.c: Add copyright header (GPL>=2).
16521 * manual/examples/argp-ex1.c: Likewise.
16522 * manual/examples/argp-ex2.c: Likewise.
16523 * manual/examples/argp-ex3.c: Likewise.
16524 * manual/examples/argp-ex4.c: Likewise.
16525 * manual/examples/atexit.c: Likewise.
16526 * manual/examples/db.c: Likewise.
16527 * manual/examples/dir.c: Likewise.
16528 * manual/examples/dir2.c: Likewise.
16529 * manual/examples/execinfo.c: Likewise.
16530 * manual/examples/filecli.c: Likewise.
16531 * manual/examples/filesrv.c: Likewise.
16532 * manual/examples/fmtmsgexpl.c: Likewise.
16533 * manual/examples/genpass.c: Likewise.
16534 * manual/examples/inetcli.c: Likewise.
16535 * manual/examples/inetsrv.c: Likewise.
16536 * manual/examples/isockad.c: Likewise.
16537 * manual/examples/longopt.c: Likewise.
16538 * manual/examples/memopen.c: Likewise.
16539 * manual/examples/memstrm.c: Likewise.
16540 * manual/examples/mkfsock.c: Likewise.
16541 * manual/examples/mkisock.c: Likewise.
16542 * manual/examples/mygetpass.c: Likewise.
16543 * manual/examples/pipe.c: Likewise.
16544 * manual/examples/popen.c: Likewise.
16545 * manual/examples/rprintf.c: Likewise.
16546 * manual/examples/search.c: Likewise.
16547 * manual/examples/select.c: Likewise.
16548 * manual/examples/setjmp.c: Likewise.
16549 * manual/examples/sigh1.c: Likewise.
16550 * manual/examples/sigusr.c: Likewise.
16551 * manual/examples/stpcpy.c: Likewise.
16552 * manual/examples/strdupa.c: Likewise.
16553 * manual/examples/strftim.c: Likewise.
16554 * manual/examples/strncat.c: Likewise.
16555 * manual/examples/subopt.c: Likewise.
16556 * manual/examples/swapcontext.c: Likewise.
16557 * manual/examples/termios.c: Likewise.
16558 * manual/examples/testopt.c: Likewise.
16559 * manual/examples/testpass.c: Likewise.
16560 * manual/examples/timeval_subtract.c: Likewise.
16561
01ae168d
RM
16562 [BZ #13792]
16563 * manual/time.texi (Elapsed Time): Move timeval_subtract example
16564 function to ...
16565 * manual/timeval_subtract.c.texi: ... here, new file.
16566
49efa33d
DM
165672012-03-02 David S. Miller <davem@davemloft.net>
16568
16569 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
16570
28afd92d
JM
165712012-03-02 Joseph Myers <joseph@codesourcery.com>
16572
804360ed
JM
16573 [BZ #3976]
16574 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
16575 (__sin): Save and restore rounding mode and use round-to-nearest
16576 for all computations.
16577 (__cos): Save and restore rounding mode and use round-to-nearest
16578 for all computations.
16579 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
16580 <fenv.h>.
16581 (tan): Save and restore rounding mode and use round-to-nearest for
16582 all computations.
16583 * math/libm-test.inc (cos_test_tonearest): New function.
16584 (cos_test_towardzero): Likewise.
16585 (cos_test_downward): Likewise.
16586 (cos_test_upward): Likewise.
16587 (sin_test_tonearest): Likewise.
16588 (sin_test_towardzero): Likewise.
16589 (sin_test_downward): Likewise.
16590 (sin_test_upward): Likewise.
16591 (tan_test_tonearest): Likewise.
16592 (tan_test_towardzero): Likewise.
16593 (tan_test_downward): Likewise.
16594 (tan_test_upward): Likewise.
16595 (main): Call the new functions.
16596 * sysdeps/i386/fpu/libm-test-ulps: Update.
16597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16598
a6d06d7b
JM
16599 [BZ #10135]
16600 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
16601 small n, then large n, before computing and testing k+n.
16602 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
16603 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
16604 Likewise.
16605 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
16606 Likewise.
16607 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
16608 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
16609 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
16610 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
16611 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16612 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16613 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
16614 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
16615 * math/libm-test.inc (scalbn_test): Add more tests.
16616 (scalbln_test): Likewise.
16617
07e12bb3
JM
16618 * manual/filesys.texi (mode_t): Describe constraints on size and
16619 signedness, not exact equivalence to a particular type.
16620 (ino_t): Likewise.
16621 (ino64_t): Likewise.
16622 (dev_t): Likewise.
16623 (nlink_t): Likewise.
16624 (blkcnt_t): Likewise.
16625 (blkcnt64_t): Likewise.
16626 * manual/llio.texi (off_t): Likewise.
16627
28afd92d
JM
16628 [BZ #3976]
16629 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
16630 (__ieee754_exp): Save and restore rounding mode and use
16631 round-to-nearest for all computations.
16632 * math/libm-test.inc (exp_test_tonearest): New function.
16633 (exp_test_towardzero): Likewise.
16634 (exp_test_downward): Likewise.
16635 (exp_test_upward): Likewise.
16636 (main): Call the new functions.
16637 * sysdeps/i386/fpu/libm-test-ulps: Update.
16638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16639
b1eeb65d
CD
166402012-03-01 Chris Demetriou <cgd@google.com>
16641
16642 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
16643 have predictable order.
16644
53362a4b
DM
166452012-03-01 David S. Miller <davem@davemloft.net>
16646
3c969083
DM
16647 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
16648
759707de
DM
16649 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
16650 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
16651 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
16652 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
16653
dfdb8ff2
DM
16654 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
16655 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
16656 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
16657 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
16658 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
16659 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
16660 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
16661 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
16662 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
16663
ead89f96
DM
16664 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16665
7f66bd07
DM
16666 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
16667 * sysdeps/sparc/fpu/libm-test-ulps: to here.
16668 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
16669
53362a4b
DM
16670 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
16671 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16672 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
16673 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
16674 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
16675 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
16676 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
16677 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16678 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
16679 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
16680 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
16681 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16682 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16683 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
16684 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16685 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16686 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
16687 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
16688 * sysdeps/sparc/elf/configure: Regenerated.
16689
7b1902cb
JM
166902012-03-01 Joseph Myers <joseph@codesourcery.com>
16691
bec039bc
JM
16692 * configure.in (AS, LD): Require binutils 2.20 or later.
16693 * configure: Regenerated.
16694 * manual/install.texi (Tools for Compilation): Give binutils 2.20
16695 as required minimum version.
16696 * INSTALL: Regenerated.
16697
7b1902cb
JM
16698 [BZ #2541]
16699 [BZ #4108]
16700 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
16701 before squaring exponent.
16702 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
16703 bottom long double and 27 bits of top long double before squaring
16704 exponent.
16705 * math/libm-test.inc (erfc_test): Add more tests.
16706 * sysdeps/i386/fpu/libm-test-ulps: Update.
16707 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16709
f775c276
KT
167102012-03-01 Kai Tietz <ktietz@redhat.com>
16711
16712 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
16713 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
16714 containing bit-fields.
16715 * soft-fp/extended.h (_FP_UNION_E): Likewise.
16716 * soft-fp/single.h (_FP_UNION_S): Likewise.
16717 * soft-fp/double.h (_FP_UNION_D): Likewise.
16718
5b8a4d4a
JM
167192012-02-29 Joseph Myers <joseph@codesourcery.com>
16720
0bab47b6
JM
16721 [BZ #13786]
16722 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
16723 not include ../strcmp.S.
16724 [USE_AS_STRNCASECMP_L]: Likewise.
16725 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
16726 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
16727 * sysdeps/i386/i686/multiarch/strncase_l-c.c
16728 (__strncasecmp_l_ia32): Define as alias to
16729 __strncasecmp_l_nonascii.
16730
0fcad3e2
JM
16731 [BZ #5794]
16732 * math/libm-test.inc (expm1_test): Add test for bug 5794.
16733 * sysdeps/i386/fpu/libm-test-ulps: Update.
16734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16735
5b8a4d4a
JM
16736 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
16737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16738
8fdceb2e
JL
167392012-02-29 Jeff Law <law@redhat.com>
16740
16741 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
16742 out of bounds read.
16743
1f393a11
MP
167442012-02-29 Marek Polacek <polacek@redhat.com>
16745
16746 [BZ #13706]
16747 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
16748 * elf/Makefile: Add rules to run tst-unused-dep.out.
16749
8847f037
DM
167502012-02-28 David S. Miller <davem@davemloft.net>
16751
16752 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
16753 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
16754 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
16755 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
16756 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
16757 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
16758
169d7f11
JM
167592012-02-29 Joseph Myers <joseph@codesourcery.com>
16760
16761 * math/libm-test.inc (llround_test): Move one test from
16762 lround_test. Use TEST_f_L in moved test.
16763 (lround_test): Move misplaced test to llround_test. Add testcase
16764 from bug 2561.
16765
39adf059
UD
167662012-02-28 Ulrich Drepper <drepper@gmail.com>
16767
16768 * sysdeps/x86_64/fpu/e_expf.S: New file.
16769 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
16770
71b5d1c5
SB
167712012-02-28 Stanislav Brabec <sbrabec@suse.cz>
16772
16773 [BZ #13637]
16774 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
16775 of remain_len that may cause incomplete multi-byte character and
16776 false match.
16777 * posix/bug-regex33.c: New file.
16778 * posix/Makefile (tests): Add bug-regex33.
16779
1f77f049
JM
167802012-02-28 Joseph Myers <joseph@codesourcery.com>
16781
16782 * manual/macros.texi: New file.
16783 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
16784 * manual/libc.texinfo: Include macros.texi.
16785 * manual/creatute.texi: Likewise.
16786 * manual/install.texi: Likewise.
16787 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
16788 @glibcadj{} in references to the GNU C Library.
16789 * manual/charset.texi: Likewise.
16790 * manual/conf.texi: Likewise.
16791 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
16792 when not using those macros.
16793 * manual/creature.texi: Likewise.
16794 * manual/crypt.texi: Likewise.
16795 * manual/errno.texi: Likewise.
16796 * manual/filesys.texi: Likewise.
16797 * manual/header.texi: Likewise.
16798 * manual/install.texi: Likewise.
16799 * manual/intro.texi: Likewise.
16800 * manual/io.texi: Likewise.
16801 * manual/job.texi: Likewise.
16802 * manual/lang.texi: Likewise.
16803 * manual/libc.texiinfo: Likewise.
16804 * manual/llio.texi: Likewise.
16805 * manual/locale.texi: Likewise.
16806 * manual/maint.texi: Likewise.
16807 * manual/math.texi: Likewise.
16808 * manual/memory.texi: Likewise.
16809 * manual/message.texi: Likewise.
16810 * manual/nss.texi: Likewise.
16811 * manual/pattern.texi: Likewise.
16812 * manual/process.texi: Likewise.
16813 * manual/resource.texi: Likewise.
16814 * manual/search.texi: Likewise.
16815 * manual/setjmp.texi: Likewise.
16816 * manual/signal.texi: Likewise.
16817 * manual/socket.texi: Likewise.
16818 * manual/startup.texi: Likewise.
16819 * manual/stdio.texi: Likewise.
16820 * manual/string.texi: Likewise.
16821 * manual/sysinfo.texi: Likewise.
16822 * manual/syslog.texi: Likewise.
16823 * manual/terminal.texi: Likewise.
16824 * manual/time.texi: Likewise.
16825 * manual/users.texi: Likewise.
16826 * INSTALL: Regenerated.
16827 * NOTES: Regenerated.
d40c5d54 16828 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 16829
450bf206
AS
168302012-02-28 Andreas Schwab <schwab@linux-m68k.org>
16831
16832 * include/dirent.h: Include <dirstream.h> before
16833 <dirent/dirent.h>.
16834
741a235b
DM
168352012-02-28 David S. Miller <davem@davemloft.net>
16836
16837 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
16838 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
16839 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
16840 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
16841
d6b5aa58
DM
168422012-02-27 David S. Miller <davem@davemloft.net>
16843
1aff59a3
DM
16844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
16845 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
16846 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
16847 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
16848
d6b5aa58
DM
16849 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
16850 frame pointer instead of stack pointer relative arg slot.
16851 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
16852 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
16853 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
16854
433f48bf
CD
168552012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
16856
16857 [BZ #3992]
16858 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
16859
d674b76d
DM
168602012-02-27 David S. Miller <davem@davemloft.net>
16861
16862 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
16863 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
16864 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
16865 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
16866 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
16867 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
16868 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
16869 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
16870
0e7727f7
JM
168712012-02-27 Joseph Myers <joseph@codesourcery.com>
16872
16873 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
16874 later. Allow versions 5-9.
43be4ca2 16875 * configure: Regenerated.
0e7727f7
JM
16876 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
16877 required minimum version and 4.6 as recommended version. Do not
16878 mention bugs in GCC 2.7 and 2.8.
43be4ca2 16879 * INSTALL: Regenerated.
0e7727f7 16880
a78bc654
DM
168812012-02-27 David S. Miller <davem@davemloft.net>
16882
428d5830
DM
16883 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
16884 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
16885 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
16886 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
16887 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
16888 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
16889 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
16890 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
16891
a78bc654
DM
16892 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
16893 manipulate bits before adding and subtracting TWO112[sx].
16894 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
16895
4579f81c
RM
168962012-02-27 Roland McGrath <roland@hack.frob.com>
16897
36c8acb4
RM
16898 [BZ #13775]
16899 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
16900 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
16901 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
16902 being in POSIX, because they are in 1003.1-2008.
16903
84ad622b
RM
16904 * rt/tst-aio.c: Include <fcntl.h>.
16905 * rt/tst-aio7.c: Likewise.
16906 * rt/tst-aio64.c: Likewise.
16907
4579f81c
RM
16908 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
16909
abd923db
JM
169102012-02-27 Joseph Myers <joseph@codesourcery.com>
16911
16912 * manual/install.texi (--with-headers): Describe headers as
16913 interface headers, not private headers.
16914 (Specific advice for GNU/Linux systems): Describe use of headers
16915 from "make headers_install", not private headers from older
16916 kernels.
43be4ca2 16917 * INSTALL: Regenerated.
abd923db
JM
16918 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
16919 Change to 2.6.19.
16920 * sysdeps/unix/sysv/linux/configure: Regenerated.
16921
6664049b
JM
16922 * manual/llio.texi (fclean): Remove documentation.
16923
bb8b6697
JM
16924 * manual/Makefile (libc-texi-generated): New variable. Include
16925 version.texi.
16926 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
16927 $(libc-texi-generated), not duplicated list of files.
16928 (version.texi, stamp-version): New rules.
16929 (realclean): Remove $(libc-texi-generated), not individual files
16930 from that list. Do not remove dir-add.texinfo.
16931 * manual/libc.texinfo: Comment out uses of edition numbers and
16932 references to printed manual. Remove last-updated dates.
16933 (EDITION): Comment out.
16934 (ISBN): Likewise.
16935 (VERSION, UPDATED): Remove.
16936 (version.texi): Include.
16937
12e5c3b9
AS
169382012-02-27 Andreas Schwab <schwab@linux-m68k.org>
16939
16940 * sysdeps/posix/spawni.c: Include <signal.h>.
16941 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
16942 * sysdeps/pthread/aio_fsync.c: Likewise.
16943
4efeffc1 169442012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 16945
ba63ba08
UD
16946 * conform/Makefile (tests): Run only when not cross-compiling and
16947 when fast-check is not defined.
16948
d94a4670
UD
16949 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
16950 * conform/data/limits.h-data: Fixes for POSIX2008.
16951 * conform/run-conformtest.sh: Run all tests.
16952 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
16953 headers.
16954 * include/bits/dlfcn.h: Likewise.
16955 * include/langinfo.h: Likewise.
16956 * include/monetary.h: Likewise.
16957 * include/sys/poll.h: Likewise.
16958
16959 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
16960 for __USE_GNU.
16961 * posix/spawn.h: Define __need_sigset_t.
16962 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
16963 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
16964 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
16965 to get sigevent_t only.
16966 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
16967 only for __USE_GNU.
16968 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16969 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
16970 process_vm_writev only for __USE_GNU.
16971 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
16972
16973 * conform/Makefile: For now ignore errors from run-conformtest.
16974 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
16975 POSIX to avoid namespace pollution. Don't prepend headers.
16976 * conform/data/aio.h-data: Fixes for POSIX testing.
16977 * conform/data/fcntl.h-data: Likewise.
16978 * conform/data/glob.h-data: Likewise.
16979 * conform/data/grp.h-data: Likewise.
16980 * conform/data/pthread.h-data: Likewise.
16981 * conform/data/pwd.h-data: Likewise.
16982 * conform/data/signal.h-data: Likewise.
16983 * conform/data/spawn.h-data: Likewise.
16984 * conform/data/stdio.h-data: Likewise.
16985 * conform/data/stdlib.h-data: Likewise.
16986 * conform/data/stropts.h-data: Likewise.
16987 * conform/data/sys/mman.h-data: Likewise.
16988 * conform/data/sys/stat.h-data: Likewise.
16989 * conform/data/sys/types.h-data: Likewise.
16990 * conform/data/sys/wait.h-data: Likewise.
16991 * conform/data/time.h-data: Likewise.
16992 * conform/data/unistd.h-data: Likewise.
16993 * conform/data/utime.h-data: Likewise.
16994
16995 * io/sys/stat.h: fchmod was always in POSIX.
16996 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
16997 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
16998 * rt/aio.h: Define __need_timespec before including <time.h>.
16999 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
17000 struct. Add forward declaration of pthread_attr_t and use it in
17001 sigevent.
17002 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
17003 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17004 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
17005 always remove CLK_TCK definition.
17006
c20105c3
AS
170072012-02-26 Andreas Schwab <schwab@linux-m68k.org>
17008
17009 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
17010
7a270350
UD
170112012-02-25 Ulrich Drepper <drepper@gmail.com>
17012
31341567
UD
17013 * conform/run-conformtest.sh: New file.
17014 * conform/Makefile: Run run-conformtest for tests.
17015 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
17016 support.
17017
17018 * conform/data/uchar.h-data: New file.
17019 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
17020 * conform/data/arpa/inet.h-data: Likewise.
17021 * conform/data/assert.h-data: Likewise.
17022 * conform/data/complex.h-data: Likewise.
17023 * conform/data/cpio.h-data: Likewise.
17024 * conform/data/ctype.h-data: Likewise.
17025 * conform/data/dirent.h-data: Likewise.
17026 * conform/data/dlfcn.h-data: Likewise.
17027 * conform/data/errno.h-data: Likewise.
17028 * conform/data/fcntl.h-data: Likewise.
17029 * conform/data/float.h-data: Likewise.
17030 * conform/data/fmtmsg.h-data: Likewise.
17031 * conform/data/fnmatch.h-data: Likewise.
17032 * conform/data/ftw.h-data: Likewise.
17033 * conform/data/glob.h-data: Likewise.
17034 * conform/data/grp.h-data: Likewise.
17035 * conform/data/iconv.h-data: Likewise.
17036 * conform/data/inttypes.h-data: Likewise.
17037 * conform/data/langinfo.h-data: Likewise.
17038 * conform/data/libgen.h-data: Likewise.
17039 * conform/data/limits.h-data: Likewise.
17040 * conform/data/locale.h-data: Likewise.
17041 * conform/data/math.h-data: Likewise.
17042 * conform/data/monetary.h-data: Likewise.
17043 * conform/data/mqueue.h-data: Likewise.
17044 * conform/data/ndbm.h-data: Likewise.
17045 * conform/data/net/if.h-data: Likewise.
17046 * conform/data/netdb.h-data: Likewise.
17047 * conform/data/netinet/in.h-data: Likewise.
17048 * conform/data/nl_types.h-data: Likewise.
17049 * conform/data/poll.h-data: Likewise.
17050 * conform/data/pthread.h-data: Likewise.
17051 * conform/data/pwd.h-data: Likewise.
17052 * conform/data/regex.h-data: Likewise.
17053 * conform/data/sched.h-data: Likewise.
17054 * conform/data/search.h-data: Likewise.
17055 * conform/data/semaphore.h-data: Likewise.
17056 * conform/data/setjmp.h-data: Likewise.
17057 * conform/data/signal.h-data: Likewise.
17058 * conform/data/spawn.h-data: Likewise.
17059 * conform/data/stdarg.h-data: Likewise.
17060 * conform/data/stdio.h-data: Likewise.
17061 * conform/data/stdlib.h-data: Likewise.
17062 * conform/data/string.h-data: Likewise.
17063 * conform/data/strings.h-data: Likewise.
17064 * conform/data/stropts.h-data: Likewise.
17065 * conform/data/sys/ipc.h-data: Likewise.
17066 * conform/data/sys/mman.h-data: Likewise.
17067 * conform/data/sys/msg.h-data: Likewise.
17068 * conform/data/sys/resource.h-data: Likewise.
17069 * conform/data/sys/select.h-data: Likewise.
17070 * conform/data/sys/sem.h-data: Likewise.
17071 * conform/data/sys/shm.h-data: Likewise.
17072 * conform/data/sys/socket.h-data: Likewise.
17073 * conform/data/sys/stat.h-data: Likewise.
17074 * conform/data/sys/statvfs.h-data: Likewise.
17075 * conform/data/sys/time.h-data: Likewise.
17076 * conform/data/sys/timeb.h-data: Likewise.
17077 * conform/data/sys/times.h-data: Likewise.
17078 * conform/data/sys/types.h-data: Likewise.
17079 * conform/data/sys/uio.h-data: Likewise.
17080 * conform/data/sys/un.h-data: Likewise.
17081 * conform/data/sys/utsname.h-data: Likewise.
17082 * conform/data/sys/wait.h-data: Likewise.
17083 * conform/data/syslog.h-data: Likewise.
17084 * conform/data/tar.h-data: Likewise.
17085 * conform/data/termios.h-data: Likewise.
17086 * conform/data/utime.h-data: Likewise.
17087 * conform/data/utmpx.h-data: Likewise.
17088 * conform/data/varargs.h-data: Likewise.
17089 * conform/data/wchar.h-data: Likewise.
17090 * conform/data/wctype.h-data: Likewise.
17091 * conform/data/wordexp.h-data: Likewise.
17092
17093 * include/stropts.h: New file.
17094 * include/uchar.h: New file.
17095 * include/aio.h: Changes to allow conformtest.pl to use the headers.
17096 * include/assert.h: Likewise.
17097 * include/ctype.h: Likewise.
17098 * include/dirent.h: Likewise.
17099 * include/dlfcn.h: Likewise.
17100 * include/fcntl.h: Likewise.
17101 * include/fnmatch.h: Likewise.
17102 * include/glob.h: Likewise.
17103 * include/grp.h: Likewise.
17104 * include/libio.h: Likewise.
17105 * include/locale.h: Likewise.
17106 * include/math.h: Likewise.
17107 * include/net/if.h: Likewise.
17108 * include/netdb.h: Likewise.
17109 * include/netinet/in.h: Likewise.
17110 * include/pthread.h: Likewise.
17111 * include/pwd.h: Likewise.
17112 * include/regex.h: Likewise.
17113 * include/sched.h: Likewise.
17114 * include/search.h: Likewise.
17115 * include/setjmp.h: Likewise.
17116 * include/signal.h: Likewise.
17117 * include/stdio.h: Likewise.
17118 * include/stdlib.h: Likewise.
17119 * include/string.h: Likewise.
17120 * include/sys/cdefs.h: Likewise.
17121 * include/sys/mman.h: Likewise.
17122 * include/sys/msg.h: Likewise.
17123 * include/sys/resource.h: Likewise.
17124 * include/sys/select.h: Likewise.
17125 * include/sys/socket.h: Likewise.
17126 * include/sys/stat.h: Likewise.
17127 * include/sys/statvfs.h: Likewise.
17128 * include/sys/time.h: Likewise.
17129 * include/sys/times.h: Likewise.
17130 * include/sys/uio.h: Likewise.
17131 * include/sys/utsname.h: Likewise.
17132 * include/sys/wait.h: Likewise.
17133 * include/termios.h: Likewise.
17134 * include/time.h: Likewise.
17135 * include/ulimit.h: Likewise.
17136 * include/unistd.h: Likewise.
17137 * include/utime.h: Likewise.
17138 * include/wchar.h: Likewise.
17139 * include/wctype.h: Likewise.
17140 * include/wordexp.h: Likewise.
17141
17142 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
17143
7a270350
UD
17144 * time/time.h: TIME_UTC must be a macro.
17145 Make timespec_get available for ISO C11 only as well.
17146
7724defc
UD
171472012-02-24 Ulrich Drepper <drepper@gmail.com>
17148
17149 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
17150 Reported by Peng Haitao <penght@cn.fujitsu.com>.
17151
6b1d1d46
JM
171522012-02-24 Joseph Myers <joseph@codesourcery.com>
17153
17154 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 17155
0f8bbd69
JM
171562012-02-24 Joseph Myers <joseph@codesourcery.com>
17157
17158 * manual/texinfo.tex: Update to version 2012-01-19.16.
17159
66ab80bc
JM
171602012-02-24 Joseph Myers <joseph@codesourcery.com>
17161
17162 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
17163
74981cc5
RM
171642012-02-24 Roland McGrath <roland@hack.frob.com>
17165
ee968201
RM
17166 [BZ #13738]
17167 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
17168 * manual/fdl-1.3.texi: New file.
17169 * manual/fdl-1.1.texi: File removed.
17170
74981cc5
RM
17171 [BZ #13738]
17172 * manual/libc.texinfo (FDL_VERSION): New @set.
17173 Use it for mention of FDL in cover text.
17174 (Documentation License): Use it in @include file name.
17175
7bb764bc
JM
171762012-02-22 Joseph Myers <joseph@codesourcery.com>
17177 Roland McGrath <roland@hack.frob.com>
17178
17179 [BZ #5461]
17180 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
17181 not LONG_LONG_MAX and LONG_LONG_MIN.
17182 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
17183 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
17184 name.
17185 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
17186
6cbeae47
JM
171872012-02-22 Joseph Myers <joseph@codesourcery.com>
17188
17189 [BZ #2547]
17190 [BZ #11365]
17191 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
17192 manipulate bits before adding and subtracting TWO23[sx].
17193 * math/libm-test.inc (nearbyint_test): Add more tests.
17194
fe45ce09
JM
171952012-02-22 Joseph Myers <joseph@codesourcery.com>
17196
17197 [BZ #2548]
17198 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
17199 bits before adding and subtracting TWO23[sx].
17200 * math/libm-test.inc (rint_test): Add more tests.
17201 (rint_test_tonearest): Likewise.
17202 (rint_test_towardzero): Likewise.
17203 (rint_test_downward): Likewise.
17204 (rint_test_upward: Likewise.
17205
ff3b3d82
JM
172062012-02-22 Joseph Myers <joseph@codesourcery.com>
17207
17208 [BZ #10110]
17209 * include/stdc-predef.h: New file. Extracted from features.h.
17210 * include/features.h: Include stdc-predef.h.
17211 * Makefile (headers): Add stdc-predef.h.
17212 * CONFORMANCE (Compiler limitations): Update.
17213
ef0aab35
JM
172142012-02-22 Joseph Myers <joseph@codesourcery.com>
17215
17216 * manual/libc.texinfo (VERSION, UPDATED): Revert.
17217
58639409
DM
172182012-02-21 David S. Miller <davem@davemloft.net>
17219
17220 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
17221 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
17222
c0e70b25
DM
172232012-02-20 David S. Miller <davem@davemloft.net>
17224
17225 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
17226 using a normal save/restore sequence, rather than allocating a
17227 dummy stack frame just to store a frame pointer and restore.
17228 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17229
fb06851d
JM
172302012-02-21 Joseph Myers <joseph@codesourcery.com>
17231
17232 * manual/install.texi: Fix stray word in line-wrapped comment.
17233
7a8b71c3
DM
172342012-02-20 David S. Miller <davem@davemloft.net>
17235
d510c123
DM
17236 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
17237 both binutils and gcc support GOTDATA.
17238
0722d7c2
DM
17239 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
17240 "rd %pc" in the PIC register setup sequences.
17241
3d2b3019
DM
17242 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
17243 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
17244 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
17245 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
17246 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
17247 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17248 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17249 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17250 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
17251 (SYSCALL_ERROR_HANDLER): Likewise.
17252 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
17253 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17254 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
17255 (SYSCALL_ERROR_HANDLER): Likewise.
17256
c80098a9
DM
17257 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
17258 (HAVE_GCC_GOTDATA): New.
17259 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
17260 relocation support in both binutils and gcc.
17261 * sysdeps/sparc/elf/configure: Regenerate.
17262
3a2545a0
DM
17263 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
17264 * sysdeps/sparc/sparc32/elf/configure: Delete.
17265 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
17266 * sysdeps/sparc/sparc64/elf/configure: Delete.
17267 * sysdeps/sparc/elf/configure.in: New file.
17268 * sysdeps/sparc/elf/configure: Generate.
17269
7a8b71c3
DM
17270 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
17271 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
17272 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
17273 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
17274 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
17275
f1e86fca
JM
172762012-02-21 Joseph Myers <joseph@codesourcery.com>
17277
17278 * manual/install.texi: Do not mention specific glibc version
17279 numbers.
17280 * manual/libc.texinfo (VERSION, UPDATED): Update.
17281 (@copying): Use @copyright{} and range of years.
17282
0e7dfaef
JM
172832012-02-21 Joseph Myers <joseph@codesourcery.com>
17284
17285 [BZ #13695]
17286 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
17287 [crti.S not in sysdirs] (generated): Do not append.
17288 [crti.S not in sysdirs] (omit-deps): Likewise.
17289 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
17290 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
17291 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
17292 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
17293 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
17294 Likewise.
17295 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
17296 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
17297 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
17298 * csu/defs.awk: Remove file.
17299 * sysdeps/generic/initfini.c: Likewise.
17300 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
17301 variable.
17302 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
17303 Likewise.
17304
599af3ca
JM
173052012-02-20 Joseph Myers <joseph@codesourcery.com>
17306
17307 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
17308 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
17309 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
17310 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
17311 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17312 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
17313 <bits/epoll.h>.
17314 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
17315 (__EPOLL_PACKED): Define to empty if not defined by
17316 <bits/epoll.h>.
17317 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
17318 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17319 bits/epoll.h.
17320
0e499750
JM
173212012-02-20 Joseph Myers <joseph@codesourcery.com>
17322
17323 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
17324 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
17325 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
17326 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
17327 <bits/timerfd.h>.
17328 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
17329 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17330 bits/timerfd.h.
17331
5ad91f6e
JM
173322012-02-20 Joseph Myers <joseph@codesourcery.com>
17333
17334 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
17335 in C locale.
17336 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17337 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17338 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
17339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17340
06b99b02
AJ
173412012-02-20 Aurelien Jarno <aurelien@aurel32.net>
17342
17343 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17344 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
17345
7638c0fd
AS
173462012-02-19 Andreas Schwab <schwab@linux-m68k.org>
17347
17348 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
17349 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
17350 defined.
17351 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
17352 Likewise.
17353 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
17354 entry for 2.16.
17355
92221550
AJ
173562012-02-19 Aurelien Jarno <aurelien@aurel32.net>
17357
17358 * math/w_acos.c: Use non-signaling floating-point comparisons.
17359 * math/w_acosf.c: Likewise.
17360 * math/w_acosh.c: Likewise.
17361 * math/w_acoshf.c: Likewise.
17362 * math/w_acoshl.c: Likewise.
17363 * math/w_acosl.c: Likewise.
17364 * math/w_asin.c: Likewise.
17365 * math/w_asinf.c: Likewise.
17366 * math/w_asinl.c: Likewise.
17367 * math/w_atanh.c: Likewise.
17368 * math/w_atanhf.c: Likewise.
17369 * math/w_atanhl.c: Likewise.
17370 * math/w_exp2.c: Likewise.
17371 * math/w_exp2f.c: Likewise.
17372 * math/w_exp2l.c: Likewise.
17373 * math/w_j0.c: Likewise.
17374 * math/w_j0f.c: Likewise.
17375 * math/w_j0l.c: Likewise.
17376 * math/w_j1.c: Likewise.
17377 * math/w_j1f.c: Likewise.
17378 * math/w_j1l.c: Likewise.
17379 * math/w_jn.c: Likewise.
17380 * math/w_jnf.c: Likewise.
17381 * math/w_log.c: Likewise.
17382 * math/w_log10.c: Likewise.
17383 * math/w_log10f.c: Likewise.
17384 * math/w_log10l.c: Likewise.
17385 * math/w_log2.c: Likewise.
17386 * math/w_log2f.c: Likewise.
17387 * math/w_log2l.c: Likewise.
17388 * math/w_logf.c: Likewise.
17389 * math/w_logl.c: Likewise.
17390 * math/w_sqrt.c: Likewise.
17391 * math/w_sqrtf.c: Likewise.
17392 * math/w_sqrtl.c: Likewise.
17393 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17394 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
17395 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17396 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17397 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17398
ebaf36eb
JM
173992012-02-19 Joseph Myers <joseph@codesourcery.com>
17400
17401 [BZ #9739]
17402 * manual/string.texi (strnlen): Use correct parameter name in
17403 equivalent expression.
17404
71c254a6
JM
174052012-02-19 Joseph Myers <joseph@codesourcery.com>
17406
17407 [BZ #11174]
17408 * manual/users.texi (seteuid): Consistently use neweuid for
17409 argument name.
17410
16d2c631
JM
174112012-02-19 Joseph Myers <joseph@codesourcery.com>
17412
17413 [BZ #13704]
17414 * manual/nss.texi (Services in the NSS configuration): Correct
17415 list of services in example configuration file.
17416
cd837b09
NB
174172012-02-19 Nick Bowler <nbowler@draconx.ca>
17418
17419 [BZ #11322]
17420 * manual/arith.texi: Remove statements about negative zero
17421 behaving identically to zero.
17422
02c4bbad
JM
174232012-02-18 Joseph Myers <joseph@codesourcery.com>
17424
17425 [BZ #5993]
17426 * manual/install.texi: Do not document upgrading from libc5.
17427
366842e7
JM
174282012-02-18 Joseph Myers <joseph@codesourcery.com>
17429
17430 [BZ #4596]
17431 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
17432
dd54084d
DM
174332012-02-18 David S. Miller <davem@davemloft.net>
17434
17435 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
17436 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
17437 %o7 across the call.
17438 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
17439 instead.
17440 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
17441 SETUP_PIC_REG_LEAF.
17442 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17443 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
17444 * sysdeps/sparc/crtn.S: Likewise.
17445
2bcc53a3
UD
174462012-02-17 Ulrich Drepper <drepper@gmail.com>
17447
17448 * aout/Makefile: Remove.
17449
09c093b5
RK
174502012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
17451
17452 [BZ #13058]
17453 * manual/examples/argp-ex1.c (main): Format definition in GNU
17454 style.
17455 * manual/examples/argp-ex2.c (main): Likewise.
17456 * manual/examples/argp-ex3.c (main): Likewise.
17457 * manual/examples/argp-ex4.c (main): Likewise.
17458 * manual/examples/longopt.c (main): Use new-style prototype
17459 definition.
17460 * manual/examples/strncat.c (main): Specify return type and use
17461 (void) for arguments.
17462 * manual/examples/subopt.c (main): Use char **argv argument.
17463
2ee633a2
JM
174642012-02-17 Joseph Myers <joseph@codesourcery.com>
17465
17466 [BZ #5077]
17467 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
17468 rounding modes.
17469
0520adde
FB
174702012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
17471
17472 [BZ #6907]
17473 * manual/string.texi (strchr): Change when strchrnul is
17474 recommended.
17475
3f4081cd
DGM
174762012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
17477
17478 [BZ #174]
17479 * manual/locale.texi (setlocale): Document LOCPATH.
17480
d1b10e78
JM
174812012-02-17 Joseph Myers <joseph@codesourcery.com>
17482
17483 [BZ #10210]
17484 * manual/process.texi (execle): Move @dots{} before last argument.
17485
79c6869c
PB
174862012-02-17 Paul Bolle <pebolle@tiscali.nl>
17487
17488 [BZ #12047]
17489 * manual/charset.texi (Generic Charset Conversion): Fix typo
17490 (LC_TYPE -> LC_CTYPE).
17491
cc6e48bc
NB
174922012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
17493
17494 [BZ #5805]
17495 * manual/arith.texi (scalbn): Use @var{} on parameter names.
17496 (scalbnf): Likewise.
17497 (scalbnl): Likewise.
17498 (scalbln): Likewise.
17499 (scalblnf): Likewise.
17500 (scalblnl): Likewise.
17501 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
17502 (vwarnx): Likewise.
17503 (verr): Likewise.
17504 (verrx): Likewise.
17505 * manual/filesys.texi (telldir): Use braces around return type.
17506 * manual/llio.texi (mmap): Add space after comma.
17507 (mmap64): Likewise.
17508 * manual/math.texi (jn): Use @var{} on parameter names.
17509 (jnf): Likewise.
17510 (jnl): Likewise.
17511 (yn): Likewise.
17512 (ynf): Likewise.
17513 (ynl): Likewise.
17514 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
17515 line.
17516 * manual/resource.texi (ulimit): Use @dots{} instead of literal
17517 "...".
17518 (sched_get_priority_min): Remove semicolon on @deftypefun line.
17519 (sched_get_priority_max): Likewise.
17520 * manual/signal.texi (sigvec): Add space after comma.
17521 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
17522 names.
17523 (if_indextoname): Likewise.
17524 (if_freenameindex): Likewise.
17525 (sendto): Use ',' instead of '.' in prototype.
17526 * manual/startup.texi (syscall): Use @dots{} instead of literal
17527 "...".
17528 * manual/stdio.texi (__fpending): Separate initial words of
17529 paragraph from @deftypefun line.
17530 * manual/syslog.texi (syslog): Use @dots{} instead of literal
17531 "...".
17532 (vsyslog): Use @var{} on parameter names.
17533 * manual/terminal.texi (stty): Use @var{} on parameter names.
17534 * manual/users.texi (getutmp): Use @var{} on parameter names.
17535 (getutmpx): Likewise.
17536
5b23062f
JM
175372012-02-17 Joseph Myers <joseph@codesourcery.com>
17538
17539 [BZ #6884]
17540 * manual/stdio.texi (fopen): Fix typos in description of
17541 ",ccs=STRING".
17542
8dee4833
AJ
175432012-02-17 Aurelien Jarno <aurelien@aurel32.net>
17544
17545 [BZ #4026]
17546 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
17547 get clock_id definition.
17548
9078ce93
TS
175492012-02-17 Thomas Schwinge <thomas@schwinge.name>
17550
17551 [BZ #4822]
17552 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
17553 (madvise): Cast every argument to void on its own.
17554
3835c55f
JM
175552012-02-17 Joseph Myers <joseph@codesourcery.com>
17556
17557 [BZ #9902]
17558 * manual/startup.texi (Exit Status): Fix typo.
17559
35c47e37
JM
175602012-02-17 Joseph Myers <joseph@codesourcery.com>
17561
17562 [BZ #10140]
17563 * manual/examples/argp-ex1.c: Include <stdlib.h>.
17564 * manual/examples/argp-ex2.c: Likewise.
17565 * manual/examples/argp-ex3.c: Likewise.
17566
e3b69ca7
RH
175672012-02-16 Richard Henderson <rth@redhat.com>
17568
17569 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
17570 * sysdeps/s390/s390-32/initfini.c: Remove.
17571 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
17572 * sysdeps/s390/s390-64/initfini.c: Remove.
17573
df83af67
KK
175742012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17575
17576 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
17577 compiler output for sysdeps/generic/initfini.c.
17578 * sysdeps/sh/elf/initfini.c: Remove file.
17579
f63f3380
DM
175802012-02-16 David S. Miller <davem@davemloft.net>
17581
fb59b3a4
DM
17582 [BZ #11494]
17583 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
17584
f63f3380
DM
17585 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
17586 * sysdeps/sparc/crti.S: New file.
17587 * sysdeps/sparc/crtn.S: New file.
17588 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
17589 * sysdeps/sparc/sparc64/Makefile: Likewise.
17590
df6a4a4a
MF
175912012-02-15 Mike Frysinger <vapier@gentoo.org>
17592
6dd8f3dc 17593 [BZ #3335]
df6a4a4a
MF
17594 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
17595
1cac7236
RM
175962012-02-15 Roland McGrath <roland@hack.frob.com>
17597
d2c736f8
RM
17598 [BZ #4822]
17599 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
17600
1cac7236
RM
17601 * mach/devstream.c (cookie_io_functions_t): Macro removed.
17602 (write, read, close): Likewise.
17603 Patch by Aurelien Jarno <aurelien@aurel32.net>.
17604
8e475601
JM
176052012-02-15 Joseph Myers <joseph@codesourcery.com>
17606
17607 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
17608 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
17609 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
17610 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
17611 <bits/signalfd.h>.
17612 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
17613 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17614 bits/signalfd.h.
17615
ed656b40
MP
176162012-02-14 Marek Polacek <polacek@redhat.com>
17617
17618 * sysdeps/x86_64/crti.S: New file.
17619 * sysdeps/x86_64/crtn.S: New file.
17620 * sysdeps/x86_64/elf/initfini.c: Remove file.
17621
2a979d3a
JM
176222012-02-13 Joseph Myers <joseph@codesourcery.com>
17623
17624 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
17625 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
17626 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
17627 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
17628 <bits/inotify.h>.
17629 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
17630 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17631 bits/inotify.h.
17632
2a418ac3
JM
176332012-02-13 Joseph Myers <joseph@codesourcery.com>
17634
17635 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
17636 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
17637 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
17638 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
17639 <bits/eventfd.h>.
17640 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
17641 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17642 bits/eventfd.h.
17643
fb779be7
TS
176442012-02-10 Thomas Schwinge <thomas@codesourcery.com>
17645
e19e83c5
RM
17646 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
17647 __feraiseexcept instead of feraiseexcept.
7c35ffed 17648
fb779be7
TS
17649 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
17650 nanosleep invocations.
17651 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
17652 strings, and add error checking for a nanosleep invocations.
17653
59ba27a6
PE
176542012-02-09 Paul Eggert <eggert@cs.ucla.edu>
17655
17656 Replace FSF snail mail address with URLs, as per GNU coding standards.
17657 Most of the snail mail addresses were wrong anyway, and omitting
17658 them makes the source code easier to maintain. Almost all of the
17659 changes are to license notices and to locale LC_IDENTIFICATION
17660 addresses, except for this one:
17661 * manual/libc.texinfo: In "Published by", give the FSF's URL,
17662 not its snail mail address.
17663
57b957eb
RH
176642012-02-09 Richard Henderson <rth@twiddle.net>
17665
af850b1c
RH
17666 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
17667 of kernel-features.h.
17668
57b957eb
RH
17669 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
17670
6b73181a
MP
176712012-02-08 Marek Polacek <polacek@redhat.com>
17672
17673 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
17674 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
17675 * sysdeps/gnu/_G_config.h: Likewise.
17676 * sysdeps/generic/_G_config.h: Likewise.
17677
26ecc33a
AS
176782012-02-08 Andreas Schwab <schwab@linux-m68k.org>
17679
6c6dbc63
AS
17680 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
17681 tests.
17682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17683
e216c012
AS
17684 * sysdeps/powerpc/powerpc32/crti.S: New file.
17685 * sysdeps/powerpc/powerpc32/crtn.S: New file.
17686 * sysdeps/powerpc/powerpc64/crti.S: New file.
17687 * sysdeps/powerpc/powerpc64/crtn.S: New file.
17688
26ecc33a
AS
17689 * Makeconfig (have-initfini): Don't set.
17690 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
17691 * configure.in (nopic_initfini): Don't substitute.
17692 * config.h.in (HAVE_INITFINI): Don't #undef.
17693 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
17694 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
17695
3add8e13
JM
176962012-02-08 Joseph Myers <joseph@codesourcery.com>
17697
17698 Support crti.S and crtn.S provided directly by architectures.
17699 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
17700 [crti.S in sysdirs] (omit-deps): Likewise.
17701 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
17702 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
17703 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
17704 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
17705 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
17706 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
17707 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
17708 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
17709 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
17710 compiler output for sysdeps/generic/initfini.c.
17711 * sysdeps/i386/elf/Makefile: Remove file.
17712 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
17713
a22f12b4
MP
177142012-02-07 Marek Polacek <polacek@redhat.com>
17715
17716 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
17717 * sysdeps/gnu/_G_config.h: Likewise.
17718 * sysdeps/mach/hurd/_G_config.h: Likewise.
17719
148cf100
MP
177202012-02-07 Marek Polacek <polacek@redhat.com>
17721
17722 * math/Makefile (tests): Add tst-CMPLX2.
17723 * math/tst-CMPLX2.c: New file.
17724
cfdc0dd7
AS
177252012-02-07 Andreas Schwab <schwab@linux-m68k.org>
17726
84ba42c4
AS
17727 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17728
cfdc0dd7
AS
17729 * math/libm-test.inc (jn_test): Add missing L suffix.
17730
622c86f4
MP
177312012-02-06 Marek Polacek <polacek@redhat.com>
17732
17733 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
17734 * sysdeps/i386/fpu/e_powf.S: Likewise.
17735 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17736 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17737 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17738 * sysdeps/i386/fpu/e_pow.S: Likewise.
17739 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17740 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17741 * sysdeps/i386/fpu/s_expm1.S: Likewise.
17742 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17743 * sysdeps/i386/fpu/e_log2.S: Likewise.
17744 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17745 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17746 * sysdeps/i386/fpu/e_powl.S: Likewise.
17747 * sysdeps/i386/fpu/s_log1p.S: Likewise.
17748 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17749 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17750 * sysdeps/i386/fpu/e_logl.S: Likewise.
17751 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17752 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
17753 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17754 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
17755 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17756 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17757 * sysdeps/i386/fpu/e_log.S: Likewise.
17758 * sysdeps/i386/fpu/s_cexp.S: Likewise.
17759 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17760 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
17761 * sysdeps/i386/fpu/e_logf.S: Likewise.
17762 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17763 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17764 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
17765 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
17766 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17767 * sysdeps/i386/fpu/e_log10.S: Likewise.
17768 * sysdeps/i386/fpu/s_frexp.S: Likewise.
17769 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17770 * sysdeps/i386/fpu/s_asinh.S: Likewise.
17771 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17772 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17773 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17774 * sysdeps/i386/asm-syntax.h: Likewise.
17775 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17776 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17777 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17778 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
17779 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
17780 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17781 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17782 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17783 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17784 * sysdeps/powerpc/sysdep.h: Likewise.
17785 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
17786 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17787
d4a54ac6
JM
177882012-02-06 Joseph Myers <joseph@codesourcery.com>
17789
17790 [BZ #411]
17791 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
17792
314054ea
JM
177932012-02-06 Joseph Myers <joseph@codesourcery.com>
17794
17795 * sysdeps/i386/sysdep.h: Include <features.h>.
17796 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
17797 version.
17798
d8e0ca50
JM
177992012-02-05 Joseph Myers <joseph@codesourcery.com>
17800
17801 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
17802 Define.
17803 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
17804 LOAD_PIC_REG_STR.
17805
b1da7dd9
JM
178062012-02-03 Joseph Myers <joseph@codesourcery.com>
17807
17808 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
17809 (SETUP_PIC_REG): Use GET_PC_THUNK.
17810 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
17811 macro.
17812
9a1d9254
JM
178132012-02-03 Joseph Myers <joseph@codesourcery.com>
17814
17815 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
17816 for non-PIC compilation.
17817 (SETUP_PIC_REG): Add .p2align directive.
17818 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
17819 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
17820 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17821 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17822 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17823 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17824 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
17825 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17826 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17827 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17828 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17829 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17830 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17831 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17832 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17833 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17834 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17835 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17836 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17837 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17838 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17839 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17840 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17841 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17842 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17843 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17844 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17845 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17846 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17847 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17848 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17849 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17850 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17851 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17852 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17853 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17854 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17855 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17856 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17857 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17858 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17859
65dc3b75
JM
178602012-02-03 Joseph Myers <joseph@codesourcery.com>
17861
17862 * math/tst-CMPLX.c: Include <stdio.h>.
17863
d55bf177
JM
178642012-01-31 Joseph Myers <joseph@codesourcery.com>
17865
17866 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
17867 float.
17868 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
17869 * sysdeps/sparc/bits/mathdef.h: Likewise.
17870
69db4f8f
MP
178712012-01-31 Marek Polacek <polacek@redhat.com>
17872
17873 * libio/libio.h: Don't define _PARAMS.
17874 * locale/programs/config.h: Don't define PARAMS.
17875 * stdlib/strtol_l.c: Likewise.
17876 (__strtol_l): Remove PARAMS from the prototype.
17877
41b81892
UD
178782012-01-31 Ulrich Drepper <drepper@gmail.com>
17879
3b49edc0
UD
17880 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
17881 names. Just use the correct names. Remove unnecessary wrapper
17882 functions.
17883 * malloc/arena.c: Likewise.
17884 * malloc/hooks.c: Likewise.
17885
41b81892
UD
17886 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
17887 ARENA_TEST says not to. Simplify test for creation of a new arena.
17888 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
17889
27a25b6e
UD
178902012-01-30 Ulrich Drepper <drepper@gmail.com>
17891
17892 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
17893 into tail calls.
17894 (update_get_addr): New function.
17895 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
17896 GET_ADDR_MODULE parameter.
17897
c8a89e7d
JM
178982012-01-30 Joseph Myers <joseph@codesourcery.com>
17899
17900 * crypt/cert.c: Remove __STDC__ conditionals.
17901 * crypt/crypt-entry.c: Likewise.
17902 * crypt/crypt_util.c: Likewise.
17903 * libio/filedoalloc.c: Likewise.
17904 * libio/fileops.c: Likewise.
17905 * libio/genops.c: Likewise.
17906 * libio/iofclose.c: Likewise.
17907 * libio/iofdopen.c: Likewise.
17908 * libio/iofopen.c: Likewise.
17909 * libio/iofopen64.c: Likewise.
17910 * libio/iogetdelim.c: Likewise.
17911 * libio/iopopen.c: Likewise.
17912 * libio/obprintf.c: Likewise.
17913 * libio/oldfileops.c: Likewise.
17914 * libio/oldiofclose.c: Likewise.
17915 * libio/oldiofdopen.c: Likewise.
17916 * libio/oldiofopen.c: Likewise.
17917 * libio/oldiopopen.c: Likewise.
17918 * libio/wfiledoalloc.c: Likewise.
17919 * libio/wgenops.c: Likewise.
17920 * locale/programs/xmalloc.c: Likewise.
17921 * misc/syslog.c: Likewise.
17922 * stdio-common/xbug.c: Likewise.
17923 * string/memchr.c: Likewise.
17924 * string/memcmp.c: Likewise.
17925 * string/memrchr.c: Likewise.
17926 * string/rawmemchr.c: Likewise.
17927 * sysdeps/posix/getcwd.c: Likewise.
17928 * time/strftime_l.c: Likewise.
17929
3b100462
JM
179302012-01-30 Joseph Myers <joseph@codesourcery.com>
17931
17932 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
17933 * config.make.in (config-cflags-sse2avx): Define.
17934 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
17935 Fix typo.
17936
607998af
CM
179372012-01-29 Chris Metcalf <cmetcalf@tilera.com>
17938
17939 * scripts/config.guess: Update from upstream config git repository.
17940 * scripts/config.sub: Likewise.
17941
3601428f
CM
179422012-01-28 Chris Metcalf <cmetcalf@tilera.com>
17943
3ac8b282
CM
17944 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
17945 (EM_NUM): Update.
17946 (R_TILEPRO_*, R_TILEGX_*): New macros.
17947
e034841e
CM
17948 * scripts/firstversions.awk: Fix bug in version range handling.
17949
540d7568
CM
17950 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
17951
3601428f
CM
17952 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
17953
463de862
CM
17954 * include/sys/epoll.h: New file.
17955 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
17956 libc_hidden_def.
17957
73139a76
UD
179582012-01-28 Ulrich Drepper <drepper@gmail.com>
17959
96bc5b45
UD
17960 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
17961 Avoid unnecessary __WORDSIZE == 64 test.
17962 (fmaxf): Use VEX format if possible.
17963 (fmax): Likewise.
17964 (fminf): Likewise.
17965 (fmin): Likewise.
17966
56f6f6a2
UD
17967 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
17968 * math/math_private.h: Remove libc_fegetround* and
17969 libc_fesetround*.
17970 * sysdeps/i386/configure.in: Check for -msse2avx.
17971 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
17972 also if SSE2AVX is defined.
17973 Remove libc_fegetround* and libc_fesetround*.
17974 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
17975 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
17976 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
17977 of HAS_YMM_USABLE.
17978 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17979 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17980 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17981 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17982 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17983
73139a76
UD
17984 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
17985
d73f93a4
AZ
179862012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17987
17988 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
17989 size is not set.
17990 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17991
6ee65ed6
UD
179922012-01-27 Ulrich Drepper <drepper@gmail.com>
17993
17994 [BZ #13618]
17995 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
17996 relocation.
17997 * Makeconfig (libm): Define.
17998 * elf/Makefile: Add rules to build and run tst-relsort1.
17999 * elf/tst-relsort1.c: New file.
18000 * elf/tst-relsort1mod1.c: New file.
18001 * elf/tst-relsort1mod2.c: New file.
18002
8db21882
JM
180032012-01-27 Joseph Myers <joseph@codesourcery.com>
18004
18005 * math/s_ldexp.c: Remove __STDC__ conditionals.
18006 * math/s_ldexpf.c: Likewise.
18007 * math/s_ldexpl.c: Likewise.
18008 * math/s_nextafter.c: Likewise.
18009 * math/s_nexttowardf.c: Likewise.
18010 * math/s_significand.c: Likewise.
18011 * math/s_significandf.c: Likewise.
18012 * math/s_significandl.c: Likewise.
18013 * math/w_jnl.c: Likewise.
18014 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18015 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18016 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18017 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18018 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18019 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18020 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
18021 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18022 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18023 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18024 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18025 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18026 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18027 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18028 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18029 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18030 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18031 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18032 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18033 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18034 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18035 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18036 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18037 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18038 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18039 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18040 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18041 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18042 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18043 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18044 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18045 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18046 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18047 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18048 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18049 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18050 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18051 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18052 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18053 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18054 * sysdeps/ieee754/k_standard.c: Likewise.
18055 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18056 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18057 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18058 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18059 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18060 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18061 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18062 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18063 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18064 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18065 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18066 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18067 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18068 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18069 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18070 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18071 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18072 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18073 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18074 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18075 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18076 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18077 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18078 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18079 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18080 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18081 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18082 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18083 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18084 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18085 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18086 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
18087 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18088 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18089 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18090 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18091 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
18092 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18093 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18094 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
18095 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
18096 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18097 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
18098 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
18099 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18100 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
18101 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18102 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18103 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18104 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
18105 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
18106 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18107 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18108 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18109 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18110 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18111 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
18112 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18113 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18114 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18115 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18116 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18117 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18118 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18119 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18120 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18121 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18122 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18123 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18124 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18125 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18126 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18127 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18128 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18129 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18130 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18131 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18132 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18133 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18134 * sysdeps/ieee754/s_matherr.c: Likewise.
18135 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18136 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18137 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18138 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18139
965a54a4
JM
181402012-01-26 Joseph Myers <joseph@codesourcery.com>
18141
18142 * crypt/md5.h: Remove __STDC__ conditionals.
18143 * libio/libioP.h: Likewise.
18144 * locale/programs/config.h: Likewise.
18145 * sysdeps/generic/sysdep.h: Likewise.
18146 * sysdeps/i386/asm-syntax.h: Likewise.
18147 * sysdeps/s390/asm-syntax.h: Likewise.
18148 * sysdeps/unix/sysdep.h: Likewise.
18149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
18150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18151
7071ad79
JM
181522012-01-26 Joseph Myers <joseph@codesourcery.com>
18153
18154 * libio/libio.h: Remove __STDC__ conditionals.
18155 * malloc/obstack.h: Likewise.
18156 * math/complex.h: Likewise.
18157 * math/math.h: Likewise.
18158 * sysdeps/generic/_G_config.h: Likewise.
18159 * sysdeps/gnu/_G_config.h: Likewise.
18160 * sysdeps/mach/hurd/_G_config.h: Likewise.
18161 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18162 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
18163 * sysdeps/sparc/bits/mathdef.h: Likewise.
18164
afc5ed09
UD
181652012-01-26 Ulrich Drepper <drepper@gmail.com>
18166
18167 [BZ #13583]
18168 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 18169 Clean up HAS_* macros.
afc5ed09 18170 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
18171 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
18172 possible.
18173 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
18174 HAS_AVX.
18175 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18176 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18177 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18178 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18179 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 18180
bdb6de1d
JM
181812012-01-25 Joseph Myers <joseph@codesourcery.com>
18182
18183 * elf/tst-unique3.cc (gets): Remove declaration.
18184 * elf/tst-unique3lib.cc (gets): Likewise.
18185 * elf/tst-unique3lib2.cc (gets): Likewise.
18186 * elf/tst-unique4.cc (gets): Likewise.
18187
b15549e6
UD
181882012-01-24 Ulrich Drepper <drepper@gmail.com>
18189
18190 * include/stdio.h: Add C++ protection. Add gets declarations and
18191 definitions.
18192 * debug/tst-chk1.c: Don't declare gets here.
18193 * stdio-common/tst-gets.c: Likewise.
18194
a037381f
JM
181952012-01-24 Joseph Myers <joseph@codesourcery.com>
18196
18197 * posix/glob: Remove directory.
18198
f1d4aa75
JM
181992012-01-24 Joseph Myers <joseph@codesourcery.com>
18200
18201 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
18202
81c0c964
PT
182032012-01-22 Pino Toscano <toscano.pino@tiscali.it>
18204
18205 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
18206 of the non-standard EPFNOSUPPORT.
18207
0ea698ae
ST
182082011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
18209
18210 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
18211 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
18212 ANYWHERE set to 1 only on KERN_NO_SPACE error.
18213
d220b117
UD
182142012-01-21 Ulrich Drepper <drepper@gmail.com>
18215
18216 * wcsmbs/uchar.h: Test __STDC_VERSION__.
18217
3e1aa84e
UD
182182012-01-20 Ulrich Drepper <drepper@gmail.com>
18219
18220 * nscd/aicache.c (addhstaiX): Do not cache negative results of
18221 transient errors.
18222 * nscd/grpcache.c (cache_addgr): Likewise.
18223 * nscd/hstcache.c (cache_addhst): Likewise.
18224 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18225 * nscd/pwdcache.c (cache_addpw): Likewise.
18226 * nscd/servicescache.c (cache_addserv): Likewise.
18227
400aa020
UD
182282012-01-16 Ulrich Drepper <drepper@gmail.com>
18229
d77e7869
UD
18230 * malloc/malloc.c: Various cleanups.
18231 * malloc/hooks.c: Likewise.
18232
400aa020
UD
18233 * stdlib/Makefile (tests): Add bug-fmtmsg1.
18234 * stdlib/bug-fmtmsg1.c: New file.
18235
18236 * stdlib/fmtmsg.c (init): Add missing unlock.
18237 Patch by Peng Haitao <penght@cn.fujitsu.com>.
18238
e0a309cf
MP
182392012-01-12 Marek Polacek <polacek@redhat.com>
18240
18241 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
18242 and _GNU_SOURCE.
18243
929d11c7
WS
182442012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
18245
18246 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
18247 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
18248 macro to ensure uniqueness of label name.
18249 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
18250 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
18251
41d0e869
UD
182522012-01-11 Ulrich Drepper <drepper@gmail.com>
18253
0cc5ed3b
UD
18254 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
18255
41d0e869
UD
18256 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
18257 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18258 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18259 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
18260
a47a831a
UD
182612012-01-10 Ulrich Drepper <drepper@gmail.com>
18262
daa891c0
UD
18263 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
18264
18265 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
18266 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18267 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18268
e58ef0f2
UD
18269 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
18270
a47a831a 18271 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
18272 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18273 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 18274 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
18275
18276 * math/bits/math-finite.h: Add ldexp support.
18277
a0bfc9c7
MP
182782012-01-10 Marek Polacek <polacek@redhat.com>
18279
18280 * locale/programs/localedef.h (show_archive_content): Add noreturn
18281 attribute.
18282
d6e97a1d
UD
182832012-01-09 Ulrich Drepper <drepper@gmail.com>
18284
18285 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
18286
d5835c26
UD
182872012-01-08 Ulrich Drepper <drepper@gmail.com>
18288
e5f484c6
UD
18289 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
18290
d5835c26
UD
18291 * io/Makefile (headers): Add bits/poll2.h.
18292
d1f741e9
WS
182932011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
18294
18295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
18296 typo #include statement.
18297
ec09c1c4
UD
182982012-01-08 Ulrich Drepper <drepper@gmail.com>
18299
18300 * include/sys/cdefs.h: Define __attribute_alloc_size.
18301 * catgets/gencat.c: Add alloc_size attribute and apply consistently
18302 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
18303 * elf/pldd.c: Likewise.
18304 * iconv/iconv_charmap.c: Likewise.
18305 * iconv/iconvconfig.c: Likewise.
18306 * iconv/strtab.c: Likewise.
18307 * locale/programs/locale.c: Likewise.
18308 * locale/programs/localedef.h: Likewise.
18309 * locale/programs/simple-hash.c: Likewise.
18310 * nscd/nscd.h: Likewise.
18311 * nss/makedb.c: Likewise.
18312 * sysdeps/generic/ldconfig.h: Likewise.
18313 * locale/programs/localedef.c: Remove xmalloc prototype.
18314 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
18315
20b38e03
PP
183162012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18317
18318 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
18319 appropriate.
18320
a0da5fe1
UD
183212012-01-08 Ulrich Drepper <drepper@gmail.com>
18322
1d5a644a 18323 * math/Makefile (tests): Add tst-CMPLX.
669704fd 18324 * math/tst-CMPLX.c: New file.
1d5a644a 18325
8784a6db
UD
18326 * math/complex.h (CMPLXL): Fix typo.
18327
d9a216c0
UD
18328 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
18329 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
18330 GLIBC_2.16.
18331 * debug/tst-chk1.c: Add poll and ppoll tests.
18332 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
18333 * include/sys/poll.h: Add hidden proto for ppoll.
18334 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
18335 * sysdeps/mach/hurd/ppoll.c: Likewise.
18336 * io/ppoll.c: Likewise.
18337 * debug/poll_chk.c: New file.
18338 * debug/ppoll_chk.c: New file.
18339 * include/bits/poll2.h: New file.
18340 * io/bits/poll2.h: New file.
18341
ac097f5c
UD
18342 [BZ #1350]
18343 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
18344
2119dcfa
UD
18345 * configure.in: static is always set to yes. Remove.
18346 * config.make.in: Don't set build-static.
18347 * Makeconfig: Remove use of build-static.
18348 * dlfcn/Makefile: Likewise.
18349 * elf/Makefile: Likewise.
18350 * math/Makefile: Likewise.
18351 * misc/Makefile: Likewise.
18352 * nptl/Makefile: Likewise.
18353 * sysdeps/mach/hurd/Makefile: Likewise.
18354
121766a9
UD
18355 * configure.in: PWD_P is not used anymore.
18356 * config.make.in: Remove PWD_P entry.
18357
51a1d39c 18358 * configure.in: Remove last remnants of RANLIB.
8720d066 18359 No need to check for signed size_t anymore.
215f4bdc
UD
18360 Don't set libc_commonpagesize and libc_relro_required here for Alpha
18361 and IA-64.
3857022a 18362 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
18363 * aclocal.m4: Likewise.
18364
d3ed7225
UD
18365 * wcsmbs/mbrtoc16.c: Implement using towc function.
18366 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
18367 * wcsmbs/wcsmbsload.c: Likewise.
18368 * iconv/gconv_simple.c: Likewise.
18369 * iconv/gconv_int.h: Likewise.
18370 * iconv/gconv_builtin.h: Likewise.
18371 * iconv/iconv_prog.c: Remove CHAR16 handling.
18372
18373 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
18374
18375 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
18376
a0da5fe1
UD
18377 * configure.in: Remove --with-elf and --enable-bounded options.
18378 Dont set base_machine for ia64. More non-ELF conditions removed.
18379 Remove testing and setting of leading underscore information.
18380 * config.make.in (build-bounded): Set to no.
18381 * config.h.in: Remove NO_UNDERSCORES entry.
18382 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
18383 them.
18384 * csu/start.c: Remove !NO_UNDERSCORE code.
18385 * locale/localeinfo.h: Likewise.
18386 * sysdeps/generic/machine-gmon.h: Likewise.
18387 * sysdeps/generic/sysdep.h: Likewise.
18388 * sysdeps/i386/sysdep.h: Likewise.
18389 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
18390 * sysdeps/mach/sysdep.h: Likewise.
18391 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18392 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18393 * sysdeps/sh/sysdep.h: Likewise.
18394 * sysdeps/sparc/sparc32/alloca.S: Likewise.
18395 * sysdeps/unix/i386/sysdep.S: Likewise.
18396 * sysdeps/unix/sparc/start.c: Likewise.
18397 * sysdeps/unix/sparc/sysdep.S: Likewise.
18398 * sysdeps/unix/sparc/sysdep.h: Likewise.
18399 * sysdeps/unix/start.c: Likewise.
18400 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18401 * sysdeps/x86_64/sysdep.h: Likewise.
18402
df78418a
UD
184032012-01-07 Ulrich Drepper <drepper@gmail.com>
18404
a784e502
UD
18405 [BZ #13553]
18406 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
18407 for non-gcc.
18408 * argp/argp-fmtstream.h: Use const instead __const.
18409 * argp/argp.h: Likewise.
18410 * assert/assert.h: Likewise.
18411 * bits/fenv.h: Likewise.
18412 * bits/sched.h: Likewise.
18413 * bits/sigset.h: Likewise.
18414 * bits/sigthread.h: Likewise.
18415 * catgets/nl_types.h: Likewise.
18416 * conform/data/pthread.h-data: Likewise.
18417 * crypt/crypt-private.h: Likewise.
18418 * crypt/crypt.h: Likewise.
18419 * crypt/crypt_util.c: Likewise.
18420 * ctype/ctype.h: Likewise.
18421 * debug/execinfo.h: Likewise.
18422 * debug/mbsnrtowcs_chk.c: Likewise.
18423 * debug/mbsrtowcs_chk.c: Likewise.
18424 * debug/wcsnrtombs_chk.c: Likewise.
18425 * debug/wcsrtombs_chk.c: Likewise.
18426 * debug/wcstombs_chk.c: Likewise.
18427 * dirent/dirent.h: Likewise.
18428 * dlfcn/dlfcn.h: Likewise.
18429 * elf/neededtest4.c: Likewise.
18430 * grp/grp.h: Likewise.
18431 * gshadow/gshadow.h: Likewise.
18432 * iconv/gconv.h: Likewise.
18433 * iconv/gconv_int.h: Likewise.
18434 * iconv/gconv_simple.c: Likewise.
18435 * iconv/iconv.h: Likewise.
18436 * iconv/loop.c: Likewise.
18437 * iconv/skeleton.c: Likewise.
18438 * include/aio.h: Likewise.
18439 * include/aliases.h: Likewise.
18440 * include/argz.h: Likewise.
18441 * include/arpa/inet.h: Likewise.
18442 * include/assert.h: Likewise.
18443 * include/dirent.h: Likewise.
18444 * include/dlfcn.h: Likewise.
18445 * include/execinfo.h: Likewise.
18446 * include/fcntl.h: Likewise.
18447 * include/fenv.h: Likewise.
18448 * include/glob.h: Likewise.
18449 * include/grp.h: Likewise.
18450 * include/libintl.h: Likewise.
18451 * include/mntent.h: Likewise.
18452 * include/netdb.h: Likewise.
18453 * include/pwd.h: Likewise.
18454 * include/rpc/netdb.h: Likewise.
18455 * include/sched.h: Likewise.
18456 * include/search.h: Likewise.
18457 * include/shadow.h: Likewise.
18458 * include/signal.h: Likewise.
18459 * include/stdio.h: Likewise.
18460 * include/stdlib.h: Likewise.
18461 * include/string.h: Likewise.
18462 * include/sys/socket.h: Likewise.
18463 * include/sys/stat.h: Likewise.
18464 * include/sys/statfs.h: Likewise.
18465 * include/sys/statvfs.h: Likewise.
18466 * include/sys/syslog.h: Likewise.
18467 * include/sys/time.h: Likewise.
18468 * include/sys/uio.h: Likewise.
18469 * include/time.h: Likewise.
18470 * include/unistd.h: Likewise.
18471 * include/utmp.h: Likewise.
18472 * include/wchar.h: Likewise.
18473 * include/wctype.h: Likewise.
18474 * inet/aliases.h: Likewise.
18475 * inet/arpa/inet.h: Likewise.
18476 * inet/netinet/ether.h: Likewise.
18477 * inet/netinet/in.h: Likewise.
18478 * intl/libintl.h: Likewise.
18479 * io/bits/fcntl2.h: Likewise.
18480 * io/fcntl.h: Likewise.
18481 * io/ftw.h: Likewise.
18482 * io/sys/poll.h: Likewise.
18483 * io/sys/stat.h: Likewise.
18484 * io/sys/statfs.h: Likewise.
18485 * io/sys/statvfs.h: Likewise.
18486 * io/utime.h: Likewise.
18487 * libio/bits/stdio.h: Likewise.
18488 * libio/bits/stdio2.h: Likewise.
18489 * libio/libio.h: Likewise.
18490 * libio/libioP.h: Likewise.
18491 * libio/stdio.h: Likewise.
18492 * locale/lc-ctype.c: Likewise.
18493 * locale/locale.h: Likewise.
18494 * login/utmp.h: Likewise.
18495 * malloc/arena.c: Likewise.
18496 * malloc/malloc.c: Likewise.
18497 * malloc/malloc.h: Likewise.
18498 * malloc/mcheck.c: Likewise.
18499 * malloc/mtrace.c: Likewise.
18500 * math/bits/mathcalls.h: Likewise.
18501 * math/fenv.h: Likewise.
18502 * math/math_private.h: Likewise.
18503 * misc/bits/error.h: Likewise.
18504 * misc/bits/syslog.h: Likewise.
18505 * misc/err.h: Likewise.
18506 * misc/error.h: Likewise.
18507 * misc/fstab.h: Likewise.
18508 * misc/mntent.h: Likewise.
18509 * misc/regexp.h: Likewise.
18510 * misc/search.h: Likewise.
18511 * misc/sgtty.h: Likewise.
18512 * misc/sys/mman.h: Likewise.
18513 * misc/sys/syslog.h: Likewise.
18514 * misc/sys/uio.h: Likewise.
18515 * misc/sys/xattr.h: Likewise.
18516 * misc/ttyent.h: Likewise.
18517 * nis/rpcsvc/ypclnt.h: Likewise.
18518 * nss/nss.h: Likewise.
18519 * posix/bits/unistd.h: Likewise.
18520 * posix/fnmatch.h: Likewise.
18521 * posix/glob.h: Likewise.
18522 * posix/sched.h: Likewise.
18523 * posix/spawn.h: Likewise.
18524 * posix/sys/wait.h: Likewise.
18525 * posix/unistd.h: Likewise.
18526 * posix/wordexp.h: Likewise.
18527 * pwd/pwd.h: Likewise.
18528 * resolv/netdb.h: Likewise.
18529 * resource/sys/resource.h: Likewise.
18530 * rt/aio.h: Likewise.
18531 * rt/bits/mqueue2.h: Likewise.
18532 * rt/mqueue.h: Likewise.
18533 * shadow/shadow.h: Likewise.
18534 * signal/signal.h: Likewise.
18535 * socket/send.c: Likewise.
18536 * socket/sendto.c: Likewise.
18537 * socket/sys/socket.h: Likewise.
18538 * stdio-common/printf.h: Likewise.
18539 * stdlib/bits/stdlib.h: Likewise.
18540 * stdlib/fmtmsg.h: Likewise.
18541 * stdlib/monetary.h: Likewise.
18542 * stdlib/stdlib.h: Likewise.
18543 * stdlib/ucontext.h: Likewise.
18544 * streams/stropts.h: Likewise.
18545 * string/argz.h: Likewise.
18546 * string/bits/string2.h: Likewise.
18547 * string/string.h: Likewise.
18548 * string/strings.h: Likewise.
18549 * sunrpc/rpc/auth.h: Likewise.
18550 * sunrpc/rpc/auth_des.h: Likewise.
18551 * sunrpc/rpc/clnt.h: Likewise.
18552 * sunrpc/rpc/netdb.h: Likewise.
18553 * sunrpc/rpc/pmap_clnt.h: Likewise.
18554 * sunrpc/rpc/xdr.h: Likewise.
18555 * sysdeps/generic/inttypes.h: Likewise.
18556 * sysdeps/generic/net/if.h: Likewise.
18557 * sysdeps/generic/sys/swap.h: Likewise.
18558 * sysdeps/gnu/net/if.h: Likewise.
18559 * sysdeps/gnu/utmpx.h: Likewise.
18560 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
18561 * sysdeps/i386/i486/bits/string.h: Likewise.
18562 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
18563 * sysdeps/s390/bits/string.h: Likewise.
18564 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
18565 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
18566 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
18567 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
18568 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
18569 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
18570 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
18571 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
18572 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
18573 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
18574 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
18575 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
18576 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
18577 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
18578 * sysdeps/unix/sysv/linux/readv.c: Likewise.
18579 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
18580 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
18581 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18582 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
18583 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
18584 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
18585 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
18586 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
18587 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
18588 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
18589 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
18590 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
18591 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18592 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
18593 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
18594 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
18595 * sysvipc/sys/ipc.h: Likewise.
18596 * sysvipc/sys/msg.h: Likewise.
18597 * sysvipc/sys/sem.h: Likewise.
18598 * sysvipc/sys/shm.h: Likewise.
18599 * termios/termios.h: Likewise.
18600 * time/sys/time.h: Likewise.
18601 * time/time.h: Likewise.
18602 * wcsmbs/bits/wchar2.h: Likewise.
18603 * wcsmbs/uchar.h: Likewise.
18604 * wcsmbs/wchar.h: Likewise.
18605 * wctype/wctype.h: Likewise.
18606
0269750c
UD
18607 [BZ #13551]
18608 * Makeconfig: Remove all but ELF support including AIX support.
18609 * Makerules: Likewise.
18610 * config.h.in: Likewise.
18611 * config.make.in: Likewise.
18612 * configure: Likewise.
18613 * configure.in: Likewise.
18614 * csu/Makefile: Likewise.
18615 * csu/version.c: Likewise.
18616 * debug/Makefile: Likewise.
18617 * dlfcn/Makefile: Likewise.
18618 * elf/Makefile: Likewise.
18619 * extra-lib.mk: Likewise.
18620 * iconv/Makefile: Likewise.
18621 * include/libc-symbols.h: Likewise.
18622 * include/shlib-compat.h: Likewise.
18623 * resolv/Makefile: Likewise.
18624 * resolv/res_libc.c: Likewise.
18625 * rt/Makefile: Likewise.
18626 * sysdeps/i386/asm-syntax.h: Likewise.
18627 * sysdeps/i386/sysdep.h: Likewise.
18628 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
18629 * sysdeps/mach/sysdep.h: Likewise.
18630 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
18631 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
18632 * sysdeps/s390/asm-syntax.h: Likewise.
18633 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18634 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18635 * sysdeps/sh/sysdep.h: Likewise.
18636 * sysdeps/unix/sparc/sysdep.h: Likewise.
18637 * sysdeps/wordsize-32/divdi3.c: Likewise.
18638 * sysdeps/x86_64/sysdep.h: Likewise.
18639
00bbd29b
UD
18640 * argp/Versions: Remove _argp_unlock_xxx.
18641
18642 [BZ #13559]
18643 * abilist/ld.abilist: Update. Adjust for removal of tls option.
18644 * abilist/libBrokenLocale.abilist: Likewise.
18645 * abilist/libanl.abilist: Likewise.
18646 * abilist/libc.abilist: Likewise.
18647 * abilist/libcrypt.abilist: Likewise.
18648 * abilist/libdl.abilist: Likewise.
18649 * abilist/libm.abilist: Likewise.
18650 * abilist/libnsl.abilist: Likewise.
18651 * abilist/libpthread.abilist: Likewise.
18652 * abilist/libresolv.abilist: Likewise.
18653 * abilist/librt.abilist: Likewise.
18654 * abilist/libthread_db.abilist: Likewise.
18655 * abilist/libutil.abilist: Likewise.
18656 * abilist/libnss_db.abilist: New file.
18657
18658 * scripts/abilist.awk: Add support for indirect functions.
18659
a2693a0e
UD
18660 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
18661
3f05895f
UD
18662 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
18663
ecb6fb48
UD
18664 * shlib-versions: Remove entries for ports architectures.
18665
664f8cb9
UD
18666 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
18667 files in ports.
18668 * elf/stackguard-macros.h: Remove support for IA-64.
18669 * elf/tst-auditmod1.c: Likewise.
18670 * sysdeps/generic/ldsodefs.h: Likewise.
18671
7ae81d88
UD
18672 * sysdeps/unix/sysv/linux/configure.in: Ports should define
18673 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
18674 configure files.
18675
bdeba135
UD
18676 [BZ #13552]
18677 * configure.in: Remove --enable-omitfp support.
18678 * FAQ.in: Adjust.
18679 * config.make.in: Likewise.
18680 * Makeconfig: Likewise.
18681 * manual/install.texi: Likewise.
18682
d75a0a62
UD
18683 In case anyone cares, the IA-64 architecture could move to ports.
18684 * sysdeps/ia64/*: Removed.
18685 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 18686 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 18687
dcc9756b
UD
18688 [BZ #13555]
18689 * configure.in: Remove entries for unsupported architectures.
18690
d3761ebc 18691 [BZ #13533]
9954432e
UD
18692 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
18693 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
18694 routines.
18695 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
18696 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
18697 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
18698 fall back to using wcrtomb.
18699 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
18700 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
18701 renaming.
18702 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
18703 * wcsmbs/tst-c16c32-1.c: New file.
18704
18705 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
18706 local variable.
18707
c3a87236
UD
18708 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
18709
28926a1b
UD
18710 * elf/tst-unique3.cc: Add explicit declaration of gets.
18711 * elf/tst-unique3lib.cc: Likewise.
18712 * elf/tst-unique3lib2.cc: Likewise.
18713 * elf/tst-unique4.cc: Likewise.
18714
df78418a
UD
18715 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
18716
8ecd6b2a
JM
187172012-01-06 Joseph Myers <joseph@codesourcery.com>
18718
18719 [BZ #13566]
18720 * assert/assert.h (static_assert): Don't define for C++.
18721 * libio/stdio.h (gets): Do declare for C++ <= C++11.
18722 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
18723
9f115170
UD
187242012-01-03 Ulrich Drepper <drepper@gmail.com>
18725
5e0d0300
UD
18726 * iconv/loop.c (single loop): Fix assertion in storing of
18727 remaining bytes.
18728
9f115170
UD
18729 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
18730
81fb02b0
UD
187312012-01-01 Ulrich Drepper <drepper@gmail.com>
18732
18733 * posix/getconf.c: Update copyright year.
18734 * nss/getent.c: Likewise.
a316c1f6 18735 * nss/makedb.c: Likewise.
81fb02b0
UD
18736 * iconv/iconvconfig.c: Likewise.
18737 * iconv/iconv_prog.c: Likewise.
18738 * elf/ldconfig.c: Likewise.
a316c1f6
UD
18739 * elf/pldd.c: Likewise.
18740 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
18741 * catgets/gencat.c: Likewise.
18742 * csu/version.c: Likewise.
18743 * elf/ldd.bash.in: Likewise.
18744 * elf/sprof.c (print_version): Likewise.
18745 * locale/programs/locale.c: Likewise.
18746 * locale/programs/localedef.c: Likewise.
a316c1f6 18747 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
18748 * nscd/nscd.c (print_version): Likewise.
18749 * debug/xtrace.sh: Likewise.
18750 * malloc/memusage.sh: Likewise.
18751 * malloc/mtrace.pl: Likewise.
18752 * debug/catchsegv.sh: Likewise.
18753
2ba92745
JJ
187542011-12-30 Jakub Jelinek <jakub@redhat.com>
18755
18756 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
18757 pure attribute.
18758
dadebdae
UD
187592011-12-24 Ulrich Drepper <drepper@gmail.com>
18760
d3761ebc 18761 [BZ #13533]
db6af3eb
UD
18762 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
18763 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
18764 transformations.
18765 * iconv/gconv_int.h: Likewise.
18766 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
18767 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
18768 from libc for GLIBC_2.16.
18769 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
18770 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
18771 * wcsmbs/uchar.h: Really define mbstate_t.
18772 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
18773 * wcsmbs/c16rtomb.c: New file.
18774 * wcsmbs/mbrtoc16.c: New file.
18775 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
18776 for C/POSIX locale.
18777 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
18778 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
18779
dadebdae
UD
18780 * wcsmbs/wchar.h: Add missing __restrict.
18781
67371b56
UD
187822011-12-23 Ulrich Drepper <drepper@gmail.com>
18783
74033a25
UD
18784 [BZ #13532]
18785 * time/Makefile (routines): Add timespec_get.
18786 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
18787 * time/time.h: Define TIME_UTC and declare timespec_get. Define
18788 timespec for ISO C11.
18789 * time/timespec_get.c: New file.
18790 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
18791 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
18792
380d7e87
UD
18793 [BZ #13531]
18794 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
18795 * stdlib/stdlib.h: Declare aligned_alloc.
18796 * Versions.def: Add GLIBC_2.16 for libc.
18797 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
18798
4e9e7a35
UD
18799 [BZ 13527]
18800 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
18801 ISO C11.
18802
380d7e87 18803 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
18804 code.
18805
03a71829
UD
18806 [BZ #13528]
18807 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
18808
839e283e
UD
18809 [BZ #13529]
18810 * assert/assert.h (static_assert): Define.
18811
ce5294e2 18812 * version.h: Update for 2.16 development version.
90fa7312 18813
8d44e150 18814 [BZ #13526]
d7809905
UD
18815 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
18816 _ISOC11_SOURCE.
18817
c0da14cd
UD
18818 * version.h (RELEASE): Bump for 2.15 release.
18819 * include/features.h (__GLIBC_MINOR__): Bump to 15.
18820
530a3249
MP
18821 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
18822 Patch by Marek Polacek <mpolacek@redhat.com>.
18823
67371b56
UD
18824 * bits/byteswap.h: Protect long long constants with __extension__.
18825 * sysdeps/i386/bits/byteswap.h: Likewise.
18826 * sysdeps/ia64/bits/byteswap.h: Likewise.
18827 * sysdeps/s390/bits/byteswap.h: Likewise.
18828 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18829
15db4de1
LD
188302011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18831
18832 [BZ #13540]
bbe315ea
LD
18833 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
18834 destination buffer.
15db4de1
LD
18835 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
18836
2b2596b1
MP
188372011-12-23 Marek Polacek <polacek@redhat.com>
18838
18839 * elf/dl-addr.c (determine_info): Add inline keyword.
18840 * elf/tst-auditmod4b.c (check_avx): Likewise.
18841 * elf/tst-auditmod6b.c (check_avx): Likewise.
18842 * elf/tst-auditmod6c.c (check_avx): Likewise.
18843 * elf/tst-auditmod7b.c (check_avx): Likewise.
18844
70c6c246
UD
188452011-12-23 Ulrich Drepper <drepper@gmail.com>
18846
18847 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
18848 !__SSE_MATH__.
18849
c044cf14
LD
188502011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18851
15db4de1 18852 [BZ #13540]
c044cf14
LD
18853 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
18854 processing for last bytes.
18855
6b13d9d9
BH
188562011-08-06 Bruno Haible <bruno@clisp.org>
18857
d455f537
BH
18858 [BZ #13061]
18859 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
18860 U+0385, not to U+1FEE.
18861
6b13d9d9
BH
18862 [BZ #13062]
18863 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
18864 entry for U+00A5 U+0301.
18865
db910efd
UD
188662011-12-22 Ulrich Drepper <drepper@gmail.com>
18867
27deeafc
UD
18868 [BZ #13166]
18869 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
18870 buffer for the output is too small.
18871
aed9d171
UD
18872 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
18873 optimization.
18874
db910efd
UD
18875 [BZ #13185]
18876 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
18877 SSE flags if possible.
18878
2bd779ae
LD
188792011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18880
e7f9dac3 18881 [BZ #13540]
2bd779ae
LD
18882 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
18883 processing for last bytes.
18884
154bfc16
JM
188852011-12-22 Joseph Myers <joseph@codesourcery.com>
18886
18887 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
18888 (syscall-list-default-options, syscall-list-default-condition)
18889 (syscall-list-includes): Define.
18890 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
18891 list of ABIs and options and #if conditions for each ABI. Do not
18892 handle common syscalls between ABIs specially.
18893 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
18894 Remove.
18895 (syscall-list-variants, syscall-list-32bit-options)
18896 (syscall-list-32bit-condition, syscall-list-64bit-options)
18897 (syscall-list-64bit-condition): Define.
18898 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
18899 (syscall-list-variants, syscall-list-32bit-options)
18900 (syscall-list-32bit-condition, syscall-list-64bit-options)
18901 (syscall-list-64bit-condition): Define.
18902 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
18903 Remove.
18904 (syscall-list-variants, syscall-list-32bit-options)
18905 (syscall-list-32bit-condition, syscall-list-64bit-options)
18906 (syscall-list-64bit-condition): Define.
18907 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
18908 Remove.
18909 (syscall-list-variants, syscall-list-32bit-options)
18910 (syscall-list-32bit-condition, syscall-list-64bit-options)
18911 (syscall-list-64bit-condition): Define.
18912
21eaf3a5
UD
189132011-12-22 Ulrich Drepper <drepper@gmail.com>
18914
16c6f992
UD
18915 * locale/iso-639.def: Add brx entry.
18916
41043168
UD
18917 [BZ #13328]
18918 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
18919 Proposed by Mariusz_Cukr <marcukr@op.pl>.
18920
21eaf3a5
UD
18921 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
18922 __feraiseexcept_renamed.
18923
e3a851a2
UD
189242011-12-21 Ulrich Drepper <drepper@gmail.com>
18925
4920765e
UD
18926 [BZ #13538]
18927 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
18928 EPOLLET with unsigned values.
18929 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18930 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
18931
e3a851a2
UD
18932 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
18933 to large cancellation.
18934 * math/s_cacoshf.c: Likewise.
18935 * math/s_cacoshl.c: Likewise.
18936
b27e24b8
RK
189372011-11-18 Richard B. Kreckel <kreckel@ginac.de>
18938
18939 [BZ #13305]
aebefeee 18940 [BZ #12786]
b27e24b8
RK
18941 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
18942 * math/s_cacoshf.c: Likewise.
18943 * math/s_cacoshl.c: Likewise.
18944
ee190f67
UD
189452011-12-21 Ulrich Drepper <drepper@gmail.com>
18946
18947 [BZ #13439]
18948 * iconv/gconv.h: Define __GCONV_SWAP.
18949 * iconvdata/unicode.c: The swap bit must be stored in __flags.
18950 * iconvdata/utf-16.c: Likewise.
18951 * iconvdata/utf-32.c: Likewise.
18952
707f25df
AS
189532011-12-21 Andreas Schwab <schwab@linux-m68k.org>
18954
18955 [BZ #13524]
18956 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
18957 numerator after shifting it by one limb.
18958
d2daaa1e
RÁE
189592011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
18960
18961 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
18962 under [__USE_EXTERN_INLINES].
18963
a4647e72
UD
189642011-12-17 Ulrich Drepper <drepper@gmail.com>
18965
18966 [BZ #13446]
18967 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
18968
f0b264f1
AZ
189692011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18970
18971 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
18972 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
18973 optimized code.
18974 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
18975 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
18976 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
18977 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
18978 for strncasecmp/strncasecmp_l compilation.
18979 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
18980 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
18981
8ef4f244
MP
189822011-12-08 Marek Polacek <mpolacek@redhat.com>
18983
18984 [BZ #13484]
18985 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
18986 of __asm__.
18987
97ac2654
UD
189882011-12-17 Ulrich Drepper <drepper@gmail.com>
18989
18990 [BZ #13506]
18991 * time/tzfile.c (__tzfile_read): Check values from file header.
18992
91d2a845
WS
189932011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
18994
18995 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
18996 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
18997 * powerpc/powerpc32/dl-start.S: Likewise.
18998 * powerpc/powerpc32/elf/start.S: Likewise.
18999 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19000 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
19001 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
19002 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
19003 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19004 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
19005 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
19006 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19007 * powerpc/powerpc32/fpu/s_round.S: Likewise.
19008 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19009 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19010 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19011 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
19012 * powerpc/powerpc32/memset.S: Likewise.
19013 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19014 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19015 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19016 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19017 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19018 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19019 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19020 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19021 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
19022 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
19023 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
19024 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
19025 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
19026
a1267ba1
AZ
190272011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19028
19029 * math/libm-test.inc: Added more nearbyint tests.
19030 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
19031 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
19032 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
19033 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
19034
ad8ac1bd
RL
190352011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
19036
19037 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
19038 FD_CLOEXEC.
19039
1d3e4b61
UD
190402011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19041
19042 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
19043 Add wcscpy-ssse3 wcscpy-c.
19044 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
19045 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
19046 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
19047 * sysdeps/x86_64/wcschr.S: New file.
19048 * sysdeps/x86_64/wcsrchr.S: New file.
19049 * string/test-strcmp.c: Remove checking of wcscmp function for
19050 wrong alignments.
19051 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
19052 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
19053 wcsrchr-sse2 wcsrchr-c.
19054 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
19055 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
19056 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
19057 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
19058 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
19059 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
19060 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
19061 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
19062 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
19063 * wcsmbc/wcschr.c (WCSCHR): New macro.
19064
5b330a2d
UD
190652011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19066
19067 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
19068 * wcsmbs/test-wcsrchr.c: New file.
19069 * string/test-strrchr.c: Add wcsrchr support.
19070 (WIDE): New macro.
19071 * wcsmbs/test-wcscpy.c: New file.
19072 * string/test-strcpy.c: Add wcscpy support.
19073 (WIDE): New macro.
26428b7c 19074
f039c043
UD
190752011-12-10 Ulrich Drepper <drepper@gmail.com>
19076
19077 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
19078 the inner loop.
19079
850fb039
AS
190802011-12-06 Andreas Schwab <schwab@linux-m68k.org>
19081
19082 [BZ #13472]
19083 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
19084
4efbd5cb
UD
190852011-12-04 Ulrich Drepper <drepper@gmail.com>
19086
52ff5dd0 19087 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 19088 Minor optimizations.
52ff5dd0 19089
4efbd5cb
UD
19090 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
19091 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
19092 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
19093
8a426e12
UD
190942011-12-03 Ulrich Drepper <drepper@gmail.com>
19095
aff2453d
UD
19096 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
19097 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
19098 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
19099 for gcc to avoid warnings.
19100 * inet/Makefile (tests): Add tst-checks.
19101 * inet/tst-checks.c: New file.
19102
19103 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
19104 warning.
19105
19106 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
19107 __wmemcmp_sse2.
19108
19109 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
19110 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
19111
8a426e12
UD
19112 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
19113
9bea3473
UD
191142011-12-02 Ulrich Drepper <drepper@gmail.com>
19115
3a965496
UD
19116 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
19117 problem.
19118
9bea3473
UD
19119 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
19120
f101631b
UD
191212011-11-29 Joseph Myers <joseph@codesourcery.com>
19122
19123 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
19124 conditional on GCC version.
19125 (__arch_compare_and_exchange_val_8_acq)
19126 (__arch_compare_and_exchange_val_16_acq)
19127 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
19128 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
19129 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
19130
a98275aa
UD
191312011-12-02 Joseph Myers <joseph@codesourcery.com>
19132
19133 * sysdeps/sh/backtrace.c: New file.
19134
d4cc29a2
AS
191352011-12-02 Andreas Schwab <schwab@redhat.com>
19136
19137 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
19138 parenthesis.
19139
6257af2d
AS
191402011-12-01 Andreas Schwab <schwab@redhat.com>
19141
19142 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
19143 falling back to utime.
19144
b5f44c1a
AS
191452011-11-30 Andreas Schwab <schwab@redhat.com>
19146
19147 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
19148 expectations for float.
19149
f3a6cc0a
AS
191502011-11-29 Andreas Schwab <schwab@redhat.com>
19151
19152 * locale/weight.h (findidx): Add parameter len.
19153 * locale/weightwc.h (findidx): Likewise.
19154 * posix/fnmatch_loop.c (FCT): Adjust caller.
19155 * posix/regcomp.c (build_equiv_class): Likewise.
19156 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
19157 * posix/regexec.c (check_node_accept_bytes): Likewise.
19158 * string/strcoll_l.c (STRCOLL): Likewise.
19159 * string/strxfrm_l.c (STRXFRM): Likewise.
19160
9d65ea3a
UD
191612011-11-17 Ulrich Drepper <drepper@gmail.com>
19162
19163 * Makefile.in: Remove CVSOPT handling.
19164 * configure.in: Remove use of AC_REVISION.
19165 * iconvdata/Makefile (distribute): No need to filter out CVS.
19166 * scripts/list-sources.sh: Remove CVS, subversion and monotone
19167 handling.
19168
5583a086
AS
191692011-11-16 Andreas Schwab <schwab@redhat.com>
19170
19171 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
19172 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
19173 [USE_AS_STRNCASECMP_L]: Likewise.
19174 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
19175 NO_TLS_DIRECT_SEG_REFS.
19176 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
19177 Fix argument offsets for non-PIC.
19178 [USE_AS_STRNCASECMP_L]: Likewise.
19179 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
19180 NO_TLS_DIRECT_SEG_REFS.
19181
d62a8200
UD
191822011-11-15 Ulrich Drepper <drepper@gmail.com>
19183
9d65ea3a 19184 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
19185 O_CLOEXEC.
19186 * locale/loadlocale.c (_nl_load_locale): Likewise.
19187
09f93bd3
AS
191882011-11-15 Andreas Schwab <schwab@redhat.com>
19189
446514f9
AS
19190 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
19191 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
19192 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
19193 (SYSCALL_GETTIME): Set errno on error.
19194
09f93bd3
AS
19195 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
19196 count references to noai6ai_cached.
19197
312be3f9
UD
191982011-11-15 Ulrich Drepper <drepper@gmail.com>
19199
19200 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
19201
19202 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
19203 FD_CLOEXEC for /proc/self/maps.
19204
19205 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
19206 FD_CLOEXEC for /proc/meminfo.
19207
19208 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
19209 gai.conf.
19210
19211 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
19212 FD_CLOEXEC for given file.
19213
19214 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
19215
19216 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
19217 FD_CLOEXEC for /etc/hosts.
19218 (_gethtent): Likewise.
19219
19220 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
19221
19222 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
19223 cancellation and set FD_CLOEXEC for /etc/netgroup.
19224
19225 * nss/nss_files/files-key.c (search): Don't allow cancellation when
19226 reading /etc/publickey.
19227
19228 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
19229 allow cancellation when reading /etc/group.
19230
19231 * nss/nss_files/files-alias.c (internal_setent): Don't allow
19232 cancellation.
19233 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
19234
19235 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
19236 when using data file.
19237
19238 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
19239
19240 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
19241 (write_nis_obj): Use "c" and "e" in fopen.
19242
19243 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
19244
19245 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
19246
19247 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
19248
19249 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
19250
19251 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
19252 locale.alias.
19253
19254 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
19255
19256 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
19257
19258 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
19259
19260 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
19261 file parsing and set FD_CLOEXEC.
19262
82af0fa8
UD
192632011-11-14 Ulrich Drepper <drepper@gmail.com>
19264
19265 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
19266
a5fb313c
AS
192672011-11-14 Andreas Schwab <schwab@redhat.com>
19268
19269 * malloc/arena.c (arena_get2): Don't call reused_arena when
19270 _int_new_arena failed.
19271
6abf3465
UD
192722011-11-14 Ulrich Drepper <drepper@gmail.com>
19273
19274 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
19275 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
19276 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
19277 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19278 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19279 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
19280 to compile strcasecmp and strncasecmp.
19281 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
19282 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
19283
19284 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
19285
76e3966e
UD
192862011-11-13 Ulrich Drepper <drepper@gmail.com>
19287
19288 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
19289 locale-defines.sym to gen-as-const-headers.
19290 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
19291 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
19292 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
19293 to compile strcasecmp and strncasecmp.
19294 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
19295 strcasecmp_l and strncasecmp_l.
19296 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
19297 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
19298 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
19299 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
19300 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
19301 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
19302 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
19303 * sysdeps/i386/i686/multiarch/strncase.S: New file.
19304 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
19305 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
19306 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
19307
ab26144e
UD
193082011-11-12 Ulrich Drepper <drepper@gmail.com>
19309
7edb22ef
UD
19310 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
19311 result of SYSDEP_GETTIME_CPU to retval.
19312 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
19313 parameter list to macro. Remove trailing semicolon. Adjust users.
19314
9694fc44
UD
19315 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
19316 variable.
19317
8ad89ef8
UD
19318 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
19319 mantissa words.
19320 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
19321
0c822ef9
UD
19322 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
19323 from unused variable.
19324
874e0564
UD
19325 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
19326 DWARF definitions.
19327 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
19328 for assembling.
19329
3a2edc79
UD
19330 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
19331 over namespaces.
19332
f3c2577f
UD
19333 * sunrpc/rpc_prot.c (rejected): Fix case value.
19334
294ce126
UD
19335 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
19336 unsigned long long int to avoid warnings in shift.
19337
5e2b63c6
UD
19338 * posix/regex_internal.c (re_string_reconstruct): Actually use result
19339 of use of trans.
19340 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
19341 variable tmp.
19342
e7f4b08e
UD
19343 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
19344 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
19345 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
19346
ab26144e
UD
19347 * nis/nis_table.c (nis_list): Use variable of correct type for
19348 result of __follow_path call.
19349
8a6d5255
AZ
193502011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19351
19352 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
19353 of math functions ceil, trunc, floor, round, and sqrt, when
19354 avaliable on the platform.
19355 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
19356 name clash.
19357 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19358 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
19359 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
19360
aaddc98c
MP
193612011-10-30 Marek Polacek <mpolacek@redhat.com>
19362
19363 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
19364 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
19365
95b7042b
RM
193662011-11-11 Roland McGrath <roland@hack.frob.com>
19367
19368 * include/unistd.h: Fix __readlink return type.
19369 Reported by Chris Metcalf <cmetcalf@tilera.com>.
19370
57769839
UD
193712011-11-11 Ulrich Drepper <drepper@gmail.com>
19372
19373 * stdlib/ucontext.h: Undo last change for makecontext.
19374
edc5984d
AS
193752011-11-11 Andreas Schwab <schwab@redhat.com>
19376
98591e58
AS
19377 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
19378
edc5984d
AS
19379 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
19380 * setjmp/setjmp.h: Mark functions as non-leaf.
19381 * setjmp/bits/setjmp2.h: Likewise.
19382 * stdlib/ucontext.h: Likewise.
19383
77cdc054
AS
193842011-11-10 Andreas Schwab <schwab@redhat.com>
19385
19386 * malloc/arena.c (_int_new_arena): Don't increment narenas.
19387 (reused_arena): Don't check arena limit.
19388 (arena_get2): Atomically check arena limit.
19389
fe72eebd
UD
193902011-11-08 Ulrich Drepper <drepper@gmail.com>
19391
5f078c32
UD
19392 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
19393 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
19394
fe72eebd
UD
19395 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
19396 instructions.
19397
ae1bc2fa
AS
193982011-11-07 Andreas Schwab <schwab@redhat.com>
19399
7583a88d
AS
19400 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
19401 handler when locking.
19402
ae1bc2fa
AS
19403 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
19404 Fix size of allocated buffer.
19405
10fb0bfa
AS
194062011-11-04 Andreas Schwab <schwab@redhat.com>
19407
998832a4
AS
19408 [BZ #10103]
19409 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
19410 declarations for long double functions.
19411 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
19412
10fb0bfa
AS
19413 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
19414
3d7ba52b
AS
194152011-11-03 Andreas Schwab <schwab@redhat.com>
19416
a9ae54a1
AS
19417 * nscd/nscd.c (main): Don't start AVC thread until credentials are
19418 installed.
19419
3d7ba52b
AS
19420 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
19421 is disabled.
19422
bc8db248
ST
194232011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
19424
19425 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
19426
45b96dd6
AS
194272011-11-01 Andreas Schwab <schwab@linux-m68k.org>
19428
647776f6
AS
19429 * include/alloca.h (stackinfo_alloca_round): Define.
19430 (extend_alloca): Use it.
19431 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
19432 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
19433 here.
19434
d91a8b93
AS
19435 * scripts/check-local-headers.sh: Ignore libaudit.h.
19436
45b96dd6
AS
19437 * nscd/Makefile (extra-objs): Make recursively expanded.
19438
432d41ce
UD
194392011-11-01 Ulrich Drepper <drepper@gmail.com>
19440
34372fc6
UD
19441 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
19442 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
19443
fadb59f8
UD
19444 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
19445 * posix/tst-rfc3484-2.c: Likewise.
19446 * posix/tst-rfc3484-3.c: Likewise.
19447
78239589
UD
19448 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19449 process_vm_writev.
19450 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
19451 process_vm_writev.
19452 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
19453 process_vm_writev from libc using GLIBC_2.15 version.
19454
432d41ce
UD
19455 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
19456
02f9c6cf
PP
194572011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
19458
19459 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
19460 stack usage.
19461
3a2c0242
UD
194622011-10-31 Ulrich Drepper <drepper@gmail.com>
19463
f4ec4833
UD
19464 [BZ #13367]
19465 * nss/getent.c (initgroups_keys): Show error message in case no group
19466 names are given.
19467
3a2c0242
UD
19468 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
19469 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
19470 __bump_nl_timestamp.
19471 * nscd/connections (nscd_init): When host database is served open
19472 netlink socket and request notification about configuration changes.
19473 (main_loop_poll): Track netlink file descriptor and bump timestamp
19474 in case data becomes available.
19475 (main_loop_epoll): Likewise.
19476 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
19477 (database_pers_head): Add extra_data fileds.
19478 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
19479 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
19480 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
19481 Adjust caller.
19482 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
19483 in6ai data, call __free_in6ai.
19484 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
19485 Add -DHAVE_NETLINK.
19486 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
19487 interface information. Reuse previous data if netlink timestamp
19488 is not changed.
19489 (__bump_nl_timestamp): New function.
19490 (__free_in6ai): New function.
19491
636064eb
UD
194922011-10-30 Ulrich Drepper <drepper@gmail.com>
19493
19494 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
19495 close_not_cancel_no_status here.
19496 (__check_pf): Reorganize code a bit to not call close twice if OOM.
19497
9beb2334
UD
194982011-10-29 Ulrich Drepper <drepper@gmail.com>
19499
6ef76f3b
UD
19500 [BZ #13276]
19501 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
19502 return value.
19503
0ffc4f3e 19504 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
19505 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
19506 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
19507
cb95113e
UD
195082011-07-03 Andreas Jaeger <aj@suse.de>
19509
19510 [BZ #10709]
19511 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
19512 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
19513 * math/libm-test.inc (sin_test): Add test case.
19514
a1b560ff
UD
195152011-10-29 Ulrich Drepper <drepper@gmail.com>
19516
c9aaface
UD
19517 [BZ #13337]
19518 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
19519 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
19520
d272e7f1
UD
19521 * elf/chroot_canon.c (chroot_canon): Cleanups.
19522
1bc33071
UD
19523 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
19524
1760874d
TJ
19525 [BZ #13335]
19526 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
19527 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
19528
51d91b18
UD
19529 * string/test-strchr.c: Make usable for strchrnul testing.
19530 * string/test-strchrnul.c: New file.
19531 * string/Makefile (strop-tests): Add strchrnul.
19532
a1b560ff 19533 * po/it.po: Update from translation team.
b611fb81 19534 * po/es.po: Likewise.
a1b560ff 19535
a5b81e1f
UD
195362011-10-28 Ulrich Drepper <drepper@gmail.com>
19537
fd52bc6d
UD
19538 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
19539 the three constants needed as parameters. Drop the others.
19540 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
19541 __m128i_strloadu_tolower.
52e4b9eb
UD
19542 Create and initialize variable zero and use it in all the places
19543 where _mm_setzero_si128 was used.
fd52bc6d 19544
a5b81e1f
UD
19545 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
19546 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
19547 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
19548 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
19549 anymore.
19550 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
19551 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
19552 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
19553 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
19554 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
19555 __mpranred, __mptan.
19556 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
19557 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
19558 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
19559 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
19560 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
19561 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
19562 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
19563 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
19564 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
19565
b4343346
AS
195662011-10-28 Andreas Schwab <schwab@redhat.com>
19567
0c92d8a8
AS
19568 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
19569 redefine if SHARED.
19570 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
19571
b4343346
AS
19572 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
19573 wide char related routines to wcsmbs subdir.
19574
3871f58f
AS
195752011-10-27 Andreas Schwab <schwab@redhat.com>
19576
19577 [BZ #13344]
19578 * misc/sys/cdefs.h (__THROWNL): Define.
19579 * posix/unistd.h: Use __THREADNL instead of __THREAD
19580 for memory synchronization functions.
19581
94d44d9f
RM
195822011-10-26 Roland McGrath <roland@hack.frob.com>
19583
21b64b15 19584 [BZ #13349]
94d44d9f
RM
19585 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
19586 doesn't exist.
19587 * manual/stdio.texi (Obstack Streams): Node removed.
19588
f6ce9294
AS
195892011-10-26 Andreas Schwab <schwab@redhat.com>
19590
80479147
AS
19591 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
19592 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19593 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19594
f6ce9294
AS
19595 * math/math_private.h (math_force_eval): Allow non-addressable
19596 arguments.
19597 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
19598
618280a1
UD
195992011-10-25 Ulrich Drepper <drepper@gmail.com>
19600
e0016b11
UD
19601 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
19602 file is not needed.
19603
19604 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
19605 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
19606 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19607 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19608 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19609 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19610 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19611 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
19612 Add AVX variants.
19613 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
19614 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
19615 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
19616 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
19617 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
19618 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
19619 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
19620 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
19621 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
19622 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
19623 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
19624 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
19625 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
19626 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
19627 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
19628 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
19629 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
19630 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
19631 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
19632
19633 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
19634 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
19635
618280a1
UD
19636 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
19637 place. Use VEX encoding when compiling for AVX.
19638
37822576
AS
196392011-10-25 Andreas Schwab <schwab@redhat.com>
19640
1f1e1947
AS
19641 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
19642 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19643
37822576
AS
19644 * string/test-strchr.c (do_test): Don't generate NUL bytes.
19645
31ea014d
UD
196462011-10-25 Ulrich Drepper <drepper@gmail.com>
19647
d7826aa1 19648 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 19649 useless if() expression.
d7826aa1
UD
19650 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19651 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19652 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19653 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19654 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19655 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19656 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19657 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19658 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19659 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19660 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19661 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19662 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
19663 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19664 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
19665 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19666 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19667 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19668 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
19669
31ea014d
UD
19670 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
19671
16437fec
AS
196722011-10-25 Andreas Schwab <schwab@redhat.com>
19673
19674 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
19675 condition.
19676 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19677
31d3cc00
UD
196782011-10-25 Ulrich Drepper <drepper@gmail.com>
19679
19680 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
19681 .text section. Avoid duplicate constants.
19682 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19683 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19684 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19685 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19686 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19687 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19688 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19689 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19690 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19691 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
19692 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19693 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19694 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19695 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19696 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19697 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19698 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19699 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19700 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19701 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19702 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19703 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19704 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19705 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
19706 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
19707 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
19708 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
19709 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
19710 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
19711 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
19712 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
19713 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
19714 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19715 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
19716 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
19717 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
19718 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
19719 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
19720 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
19721 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
19722 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
19723 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
19724 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
19725 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
19726 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
19727
58985aa9
UD
197282011-10-24 Ulrich Drepper <drepper@gmail.com>
19729
202c9deb
UD
19730 * sysdeps/x86_64/dla.h: Move to ...
19731 * sysdeps/x86_64/fpu/dla.h: ...here.
19732 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
19733 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 19734
af968f62
UD
19735 * config.make.in: Add have-mfma4 entry.
19736 * configure.in: Substitute libc_cv_cc_fma4.
19737 * math/Makefile (dbl-only-routines): Add sincostab.
19738 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
19739 Use __sincostab not sincos.
19740 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
19741 name is a macro.
19742 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19743 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19744 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19745 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
19746 using __copysign.
19747 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
19748 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
19749 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
19750 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
19751 and __inv.
19752 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
19753 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
19754 __copysign.
19755 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
19756 define aliases when function name is a macro.
19757 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
19758 sysdeps/ieee754/dbl-64/sincos.tbl.
19759 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
19760 fma4-enabled routines.
19761 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
19762 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
19763 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
19764 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
19765 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
19766 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
19767 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
19768 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
19769 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
19770 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
19771 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
19772 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
19773 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
19774 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
19775 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
19776 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
19777 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
19778 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
19779 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
19780 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
19781 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
19782 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
19783 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
19784 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
19785 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
19786 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
19787 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
19788 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
19789 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
19790 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
19791
58985aa9
UD
19792 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
19793 rename.
19794 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19795 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19796 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19797 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19798 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19799 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19800 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19801 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19802
a201fbcf
AS
198032011-10-24 Andreas Schwab <schwab@redhat.com>
19804
19805 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
19806
fc2ee42a
LD
198072011-10-23 Ulrich Drepper <drepper@gmail.com>
19808
bb3129bd
UD
19809 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
19810
0275fff8
UD
19811 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
19812 prediction.
19813 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
19814
2fa2ae85
UD
19815 * string/strnlen.c: Don't define STRNLEN, reverse logic.
19816 Remove unused variable magic_bits.
19817 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
19818
fc2ee42a
LD
19819 * string/strnlen.c: Define and use STRNLEN macro.
19820 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
19821 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
19822 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
19823 * wcsmbs/wcslen.c: Define and use WCSLEN.
19824 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
19825 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
19826 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
19827 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
19828 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
19829 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
19830 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
19831
ce7dd29f
LD
198322011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19833
19834 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19835 strnlen-sse2-no-bsf.
19836 Rename strlen-no-bsf to strlen-sse2-no-bsf.
19837 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
19838 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
19839 Add strnlen support.
19840 (USE_AS_STRNLEN): New macro.
19841 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
19842 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
19843 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
19844 * sysdeps/x86_64/wcslen.S: New file.
19845
979c70a3
MZ
198462011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
19847
19848 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
19849 XMM-moves are used for copying on small sizes.
19850
2d09f82f
LD
198512011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19852
19853 * wcsmbs/Makefile (strop-tests): Add wcschr.
19854 * wcsmbs/test-wcschr.c: New file.
19855 * string/test-strchr.c: Update.
19856 Add wcschr support.
19857 (WIDE): New macro.
19858
619fccca
LD
198592011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19860
2d09f82f 19861 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
19862 * wcsmbs/test-wcslen.c: New file.
19863 * string/test-strlen.c: Update.
19864 Add wcslen support.
19865 (WIDE): New macro.
19866
09f699ea
UD
198672011-10-23 Ulrich Drepper <drepper@gmail.com>
19868
19869 * po/it.po: Update from translation team.
19870
95584d3b
LD
198712011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19872
19873 * sysdeps/x86_64/wcscmp.S: Update.
19874 Fix wrong comparison semantics.
19875 wcscmp shall use signed comparison not unsigned.
19876 Don't use substraction to avoid overflow bug.
19877 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
19878 * wcsmbc/wcscmp.c: Likewise.
19879 * string/test-strcmp.c: Likewise.
19880 Add new tests to check cases with negative values.
19881
c8b3296b
UD
198822011-10-23 Ulrich Drepper <drepper@gmail.com>
19883
19884 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
19885 * sysdeps/x86_64/dla.h: ...here. New file.
19886 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
19887 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19888 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19889 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19890 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19891 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19892 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19893 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19894 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19895
246ad57a
AS
198962011-10-23 Andreas Schwab <schwab@linux-m68k.org>
19897
19898 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
19899 __ynl_finite aliases.
19900
a1a87169
UD
199012011-10-22 Ulrich Drepper <drepper@gmail.com>
19902
0d355eb7
UD
19903 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19904
a1a87169
UD
19905 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
19906 define DLA_FMA.
19907 [DLA_FMA] (EMULV): Use DLA_FMA.
19908 [DLA_FMA] (MUL12): Use EMULV.
19909 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
19910 that are not needed.
19911 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19912 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19913 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19914 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19915 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19916 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19917 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19918
ee2aafe0
AS
199192011-10-22 Andreas Schwab <schwab@linux-m68k.org>
19920
19921 * math/s_nan.c: Undef __nan.
19922 * math/s_nanf.c: Undef __nanf.
19923 * math/s_nanl.c: Undef __nanl.
19924 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
19925 "math_private.h".
19926
bc62c2fb
UD
199272011-10-22 Ulrich Drepper <drepper@gmail.com>
19928
77425c63
UD
19929 * math/s_catan.c: Add branch predictions.
19930 * math/s_catanf.c: Likewise.
19931 * math/s_catanh.c: Likewise.
19932 * math/s_catanhf.c: Likewise.
19933 * math/s_catanhl.c: Likewise.
19934 * math/s_catanl.c: Likewise.
19935 * math/s_cexp.c: Likewise.
19936 * math/s_cexpf.c: Likewise.
19937 * math/s_cexpl.c: Likewise.
19938 * math/s_clog.c: Likewise.
19939 * math/s_clog10.c: Likewise.
19940 * math/s_clog10f.c: Likewise.
19941 * math/s_clog10l.c: Likewise.
19942 * math/s_clogf.c: Likewise.
19943 * math/s_clogl.c: Likewise.
19944 * math/s_csqrt.c: Likewise.
19945 * math/s_csqrtf.c: Likewise.
19946 * math/s_csqrtl.c: Likewise.
19947 * math/s_ctanf.c: Likewise.
19948 * math/s_ctanh.c: Likewise.
19949 * math/s_ctanhf.c: Likewise.
19950 * math/s_ctanhl.c: Likewise.
19951 * math/s_ctanl.c: Likewise.
19952
bc62c2fb
UD
19953 * math/math_private.h: Define __nan, __nanf, __nanl.
19954 * math/s_cacosh.c: Include <math_private.h>.
19955 * math/s_cacoshl.c: Likewise.
19956 * math/s_casinh.c: Likewise.
19957 * math/s_casinhf.c: Likewise.
19958 * math/s_casinhl.c: Likewise.
19959 * math/s_ccos.c: Rely entire on ccosh.
19960 * math/s_ccosf.c: Rely entire on ccoshf.
19961 * math/s_ccosl.c: Rely entirely on ccoshl.
19962 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
19963 Remove tests for FE_INVALID.
19964 * math/s_ccoshf.c: Likewise.
19965 * math/s_ccoshl.c: Likewise.
19966 * math/s_csin.c: Likewise.
19967 * math/s_csinf.c: Likewise.
19968 * math/s_csinh.c Likewise.
19969 * math/s_csinhf.c: Likewise.
19970 * math/s_csinhl.c: Likewise.
19971 * math/s_csinl.c: Likewise.
19972 * math/s_ctan.c: Likewise.
19973 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
19974 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
19975 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
19976
8ec250a4
UD
199772011-10-21 Ulrich Drepper <drepper@gmail.com>
19978
c196fed8
UD
19979 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
19980 compilation problems.
19981
8ec250a4
UD
19982 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
19983 __builtin_expect.
19984
8d4f46c6
UD
199852011-10-20 Ulrich Drepper <drepper@gmail.com>
19986
ed72b654
UD
19987 * sysdeps/i386/configure.in: Test for -mfma4 option.
19988 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
19989 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
19990 COMMON_CPUID_INDEX_80000001.
19991 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
19992 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
19993 use it if FMA3 is not supported.
19994 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
19995
8d4f46c6
UD
19996 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
19997 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
19998
d45c60c2
AS
199992011-10-20 Andreas Schwab <schwab@redhat.com>
20000
20001 [BZ #12892]
20002 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
20003 it would create a cycle with a link time dependency.
20004
d9a4d2ab
UD
200052011-10-19 Ulrich Drepper <drepper@gmail.com>
20006
855d1560
UD
20007 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
20008 instruction.
20009 * string/Makefile (strop-tests): Add rawmemchr.
20010 * string/test-rawmemchr.c: New file.
20011
d9a4d2ab
UD
20012 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
20013 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
20014 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
20015 when compiling str{,n}casecmp and when AVX is available. Hook up
20016 new optimized code in initializers.
20017
8f3b1ffe
AS
200182011-10-19 Andreas Schwab <schwab@redhat.com>
20019
20020 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
20021 __feraiseexcept instead of feraiseexcept.
20022
d38f1dba
UD
200232011-10-18 Ulrich Drepper <drepper@gmail.com>
20024
d9a8d0ab
UD
20025 * math/math_private.h: Define defaults for libc_fetestexcept and
20026 libc_feupdateenv.
20027 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
20028 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
20029 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
20030 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20031 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
20032 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
20033 libc_fetestexcept and libc_feupdateenv.
20034
4855e3dd
UD
20035 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
20036 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
20037 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
20038 * sysdeps/x86_64/fpu/math_private.h: Define special version of
20039 libc_feholdexcept_setround.
20040
581d30e3
UD
20041 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
20042 Add s_nearbyint-c and s_nearbyintf-c.
20043 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
20044 nearbyintf inlines.
20045 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
20046 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
20047 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
20048 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
20049
d38f1dba
UD
20050 * math/math_private.h: Define defaults for libc_fegetround,
20051 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
20052 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
20053 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
20054 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
20055 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
20056 standard functions.
20057 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20058 Remove comments and hacks for old compiler versions.
20059 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
20060 libc_fegetround, libc_fesetround, libc_feholdexcept, and
20061 libc_feholdexceptl.
20062
caa6c9d8
AS
200632011-10-18 Andreas Schwab <schwab@redhat.com>
20064
20065 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
20066 (__feraiseexcept_renamed): Add __NTH.
20067 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
20068 namespace violations.
20069
97c066e6
UD
200702011-10-17 Ulrich Drepper <drepper@gmail.com>
20071
99ce7b04
UD
20072 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
20073
1004d182
UD
20074 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
20075
228a984d
UD
20076 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
20077 recently added interfaces.
20078 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
20079
c8553a6a
UD
20080 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
20081 about macro parameter expansion.
20082
ed22dcf6
UD
20083 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
20084 __NO_MATH_INLINES is defined. Cleanups.
20085
20086 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
20087 and __floorf is target has SSE4.1.
20088 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
20089 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
20090 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
20091 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
20092
b171c137
UD
20093 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
20094 name.
20095 (floorf): Likewise.
20096
97c066e6
UD
20097 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
20098
629f62ef
AS
200992011-10-17 Andreas Schwab <schwab@redhat.com>
20100
49a43d80
AS
20101 * misc/sys/cdefs.h: Fix last change.
20102
629f62ef
AS
20103 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
20104 database lookup.
20105
e453f6cd
UD
201062011-10-16 Ulrich Drepper <drepper@gmail.com>
20107
aa78043a
UD
20108 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
20109
ad0f5cad
UD
20110 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
20111 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20112 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20113 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20114 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20115 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
20116 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20117 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20118 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
20119 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
20120 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
20121 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
20122 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
20123 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
20124 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
20125 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
20126 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
20127 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
20128 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
20129 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
20130 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
20131 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
20132
20133 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
20134 ceil, ceilf, floor, floorf.
20135
20136 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
20137 Perform IRELATIVE relocations last.
20138
e453f6cd
UD
20139 * elf/do-rel.h: Add another parameter nrelative, replacing the
20140 local variable with the same name. Change name of the function
20141 to end in Rel or Rela (uppercase).
20142 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
20143 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
20144 elf_dynamic_do_##reloc function.
20145
fd5bdc09
UD
201462011-10-15 Ulrich Drepper <drepper@gmail.com>
20147
79b195b5
UD
20148 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
20149 is sufficient, at least on modern CPUs.
20150
d4a28569
UD
20151 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
20152
b61099b5
UD
20153 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
20154 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
20155
bcf01e6d
UD
20156 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
20157 __expl_finite.
20158 * math/bits/math-finite.h: Add entries for exp.
20159 * math/e_expl.c: Add __*_finite alias.
20160 * sysdeps/i386/fpu/e_exp.S: Likewise.
20161 * sysdeps/i386/fpu/e_expf.S: Likewise.
20162 * sysdeps/i386/fpu/e_expl.c: Likewise.
20163 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20164 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20165 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20166 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20167 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
20168 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20169 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20170
ba1a0d59
UD
20171 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
20172 is sufficient, at least on modern CPUs.
20173
fd5bdc09
UD
20174 * ctype/ctype-info.c (__ctype_init): Define.
20175 * include/ctype.h (__ctype_init): Declare.
20176 (__ctype_b_loc): The variable is always initialized.
20177 (__ctype_toupper_loc): Likewise.
20178 (__ctype_tolower_loc): Likewise.
20179 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
20180 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
20181
7872cfb0
AS
201822011-10-15 Andreas Schwab <schwab@linux-m68k.org>
20183
b468825a
AS
20184 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
20185
7872cfb0
AS
20186 * configure.in: Also look in $cxxmachine/include for C++ system
20187 headers.
20188
be13f7bf
LD
201892011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20190
20191 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
20192 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
20193 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
20194 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
20195 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
20196 (USE_AS_WMEMCMP): New macro.
20197 Fixing indents.
20198 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
20199 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
20200 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
20201 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
20202 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20203 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
20204 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
20205 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
20206 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
20207 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
20208 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
20209 (USE_AS_WMEMCMP): New macro.
20210 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
20211 * sysdeps/string/test-memcmp.c: Update.
20212 Fix simple_wmemcmp.
20213 Add new tests.
20214 * wcsmbs/wmemcmp.c: Update.
20215 (WMEMCMP): New macro.
20216 Fix overflow bug.
20217
556a2007
AJ
202182011-10-12 Andreas Jaeger <aj@suse.de>
20219
20220 [BZ #13268]
20221 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
20222
538faaa7
UD
202232011-10-15 Ulrich Drepper <drepper@gmail.com>
20224
ab6737ff
UD
20225 * libio/iofwide.c (do_length): Avoid warning.
20226
538faaa7
UD
20227 * ctype/ctype.h (__isctype_f): Add missing __THROW.
20228
396a21b1
UD
202292011-10-14 Ulrich Drepper <drepper@gmail.com>
20230
cdf2901f
UD
20231 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
20232
38ad40ce
UD
20233 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
20234 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
20235 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
20236 * sysdeps/i386/i686/fpu/e_log.S: New file.
20237 * sysdeps/i386/i686/fpu/e_logf.S: New file.
20238 * sysdeps/i386/i686/fpu/e_logl.S: New file.
20239
396a21b1
UD
20240 * ctype/ctype.h: Add support for inlined isXXX functions when
20241 compiling C++ code.
20242
6b1f68c9
AS
202432011-10-14 Andreas Schwab <schwab@redhat.com>
20244
349290c0
AS
20245 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20246
6b1f68c9
AS
20247 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
20248
f2282d42
RM
202492011-10-13 Roland McGrath <roland@hack.frob.com>
20250
20251 [BZ #13291]
20252 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
20253
5298ffa8
AS
202542011-10-13 Andreas Schwab <schwab@redhat.com>
20255
714fad23
AS
20256 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
20257 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
20258 feraiseexcept.
20259
81dcc7fb
AS
20260 * sysdeps/x86_64/memrchr.S: Check for zero size.
20261
5298ffa8
AS
20262 * string/stratcliff.c: Add memrchr tests.
20263
951fbcec
LD
202642011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20265
20266 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20267 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
20268 rawmemchr-sse2 rawmemchr-sse2-bsf.
20269 * sysdeps/i386/i686/multiarch/memchr.S: New file.
20270 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
20271 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
20272 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
20273 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
20274 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
20275 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
20276 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
20277 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
20278 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
20279 * string/memrchr.c (MEMRCHR): New macro.
20280
0ac5ae23
UD
202812011-10-12 Ulrich Drepper <drepper@gmail.com>
20282
20283 Add integration with gcc's -ffinite-math-only and optimize wrapper
20284 functions in libm.
20285 * Versions.def: Define GLIBC_2.15 version for libm.
20286 * math/Makefile (headers): Add bits/math-finite.h.
20287 * math/bits/math-finite.h: New file.
20288 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
20289 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
20290 * math/e_acoshl.c: Add __*_finite alias.
20291 * math/e_acosl.c: Likewise.
20292 * math/e_asinl.c: Likewise.
20293 * math/e_atan2l.c: Likewise.
20294 * math/e_atanhl.c: Likewise.
20295 * math/e_coshl.c: Likewise.
20296 * math/e_exp10.c: Likewise.
20297 * math/e_exp10f.c: Likewise.
20298 * math/e_exp10l.c: Likewise.
20299 * math/e_exp2l.c: Likewise.
20300 * math/e_fmodl.c: Likewise.
20301 * math/e_gammal_r.c: Likewise.
20302 * math/e_hypotl.c: Likewise.
20303 * math/e_j0l.c: Likewise.
20304 * math/e_j1l.c: Likewise.
20305 * math/e_jnl.c: Likewise.
20306 * math/e_lgammal_r.c: Likewise.
20307 * math/e_log10l.c: Likewise.
20308 * math/e_log2l.c: Likewise.
20309 * math/e_logl.c: Likewise.
20310 * math/e_powl.c: Likewise.
20311 * math/e_sinhl.c: Likewise.
20312 * math/e_sqrtl.c: Likewise.
20313 * math/e_scalb.c: Completely rewritten and optimized.
20314 * math/e_scalbf.c: Likewise.
20315 * math/e_scalbl.c: Likewise.
20316 * math/w_acos.c: Likewise.
20317 * math/w_acosf.c: Likewise.
20318 * math/w_acosl.c: Likewise.
20319 * math/w_acosh.c: Likewise.
20320 * math/w_acoshf.c: Likewise.
20321 * math/w_acoshl.c: Likewise.
20322 * math/w_asin.c: Likewise.
20323 * math/w_asinf.c: Likewise.
20324 * math/w_asinl.c: Likewise.
20325 * math/w_atan2.c: Likewise.
20326 * math/w_atan2f.c: Likewise.
20327 * math/w_atan2l.c: Likewise.
20328 * math/w_atanh.c: Likewise.
20329 * math/w_atanhf.c: Likewise.
20330 * math/w_atanhl.c: Likewise.
20331 * math/w_exp10.c: Likewise.
20332 * math/w_exp10f.c: Likewise.
20333 * math/w_exp10l.c: Likewise.
20334 * math/w_fmod.c: Likewise.
20335 * math/w_fmodf.c: Likewise.
20336 * math/w_fmodl.c: Likewise.
20337 * math/w_j0.c: Likewise.
20338 * math/w_j0f.c: Likewise.
20339 * math/w_j0l.c: Likewise.
20340 * math/w_j1.c: Likewise.
20341 * math/w_j1f.c: Likewise.
20342 * math/w_j1l.c: Likewise.
20343 * math/w_jn.c: Likewise.
20344 * math/w_jnf.c: Likewise.
20345 * math/w_log.c: Likewise.
20346 * math/w_logf.c: Likewise.
20347 * math/w_logl.c: Likewise.
20348 * math/w_log10.c: Likewise.
20349 * math/w_log10f.c: Likewise.
20350 * math/w_log10l.c: Likewise.
20351 * math/w_log2.c: Likewise.
20352 * math/w_log2f.c: Likewise.
20353 * math/w_log2l.c: Likewise.
20354 * math/w_pow.c: Likewise.
20355 * math/w_powf.c: Likewise.
20356 * math/w_powl.c: Likewise.
20357 * math/w_remainder.c: Likewise.
20358 * math/w_remainderf.c: Likewise.
20359 * math/w_remainderl.c: Likewise.
20360 * math/w_scalb.c: Likewise.
20361 * math/w_scalbf.c: Likewise.
20362 * math/w_scalbl.c: Likewise.
20363 * math/w_sqrt.c: Likewise.
20364 * math/w_sqrtf.c: Likewise.
20365 * math/w_sqrtl.c: Likewise.
20366 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
20367 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
20368 used.
20369 * math/math_private.h: Declare __kernel_standard_f.
20370 * math/w_cosh.c: Remove cruft and optimize a bit.
20371 * math/w_coshf.c: Likewise.
20372 * math/w_coshl.c: Likewise.
20373 * math/w_exp2.c: Likewise.
20374 * math/w_exp2f.c: Likewise.
20375 * math/w_exp2l.c: Likewise.
20376 * math/w_hypot.c: Likewise.
20377 * math/w_hypotf.c: Likewise.
20378 * math/w_hypotl.c: Likewise.
20379 * math/w_lgamma.c: Likewise.
20380 * math/w_lgamma_r.c: Likewise.
20381 * math/w_lgammaf.c: Likewise.
20382 * math/w_lgammaf_r.c: Likewise.
20383 * math/w_lgammal.c: Likewise.
20384 * math/w_lgammal_r.c: Likewise.
20385 * math/w_sinh.c: Likewise.
20386 * math/w_sinhf.c: Likewise.
20387 * math/w_sinhl.c: Likewise.
20388 * math/w_tgamma.c: Likewise.
20389 * math/w_tgammaf.c: Likewise.
20390 * math/w_tgammal.c: Likewise.
20391 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20392 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20393 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
20394 Minor optimizations. Pretty printing. Remove cruft.
20395 * sysdeps/i386/fpu/e_acosf.S: Likewise.
20396 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20397 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20398 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20399 * sysdeps/i386/fpu/e_acosl.c: Likewise.
20400 * sysdeps/i386/fpu/e_asin.S: Likewise.
20401 * sysdeps/i386/fpu/e_asinf.S: Likewise.
20402 * sysdeps/i386/fpu/e_atan2.S: Likewise.
20403 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
20404 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
20405 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20406 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20407 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20408 * sysdeps/i386/fpu/e_exp10.S: Likewise.
20409 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
20410 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
20411 * sysdeps/i386/fpu/e_exp2.S: Likewise.
20412 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
20413 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
20414 * sysdeps/i386/fpu/e_fmod.S: Likewise.
20415 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
20416 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
20417 * sysdeps/i386/fpu/e_hypot.S: Likewise.
20418 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
20419 * sysdeps/i386/fpu/e_log.S: Likewise.
20420 * sysdeps/i386/fpu/e_log10.S: Likewise.
20421 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20422 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20423 * sysdeps/i386/fpu/e_log2.S: Likewise.
20424 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20425 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20426 * sysdeps/i386/fpu/e_logf.S: Likewise.
20427 * sysdeps/i386/fpu/e_logl.S: Likewise.
20428 * sysdeps/i386/fpu/e_pow.S: Likewise.
20429 * sysdeps/i386/fpu/e_powf.S: Likewise.
20430 * sysdeps/i386/fpu/e_powl.S: Likewise.
20431 * sysdeps/i386/fpu/e_remainder.S: Likewise.
20432 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
20433 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
20434 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20435 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20436 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20437 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
20438 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
20439 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
20440 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20441 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20442 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20443 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20444 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20445 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20446 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
20447 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20448 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20449 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20450 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20451 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
20452 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20453 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20454 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20455 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20456 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20457 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20458 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20459 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20460 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20461 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
20462 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20463 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20464 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
20465 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
20466 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
20467 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
20468 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
20469 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
20470 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20471 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
20472 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20473 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
20474 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
20475 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
20476 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
20477 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
20478 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
20479 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
20480 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
20481 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
20482 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
20483 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
20484 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20485 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
20486 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
20487 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
20488 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
20489 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
20490 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
20491 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
20492 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
20493 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20494 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
20495 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
20496 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
20497 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
20498 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
20499 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
20500 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
20501 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
20502 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20503 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20504 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
20505 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
20506 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
20507 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
20508 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
20509 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
20510 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
20511 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
20512 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
20513 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
20514 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
20515 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
20516 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
20517 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
20518 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20519 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
20520 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
20521 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
20522 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
20523 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20524 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
20525 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
20526 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20527 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
20528 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
20529 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
20530 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20531 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20532 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20533 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20534 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20535 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
20536 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
20537 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
20538 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
20539 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
20540 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
20541 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
20542 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
20543 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
20544 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20545 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20546 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20547 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20548 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
20549 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20550 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
20551 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
20552 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
20553 (__isnanf): Likewise.
20554 (__isinf_ns): Likewise.
20555 (__isinf_nsf): Likewise.
20556 (__finite): Likewise.
20557 (__finitef): Likewise.
20558 (__ieee754_sqrt): Define as macro.
20559 (__ieee754_sqrtf): Define as macro.
20560 (__ieee754_sqrtl): Define as macro.
20561 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
20562 inlined copy.
20563 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
20564 __FINITE_MATH_ONLY__ consistent.
20565 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
20566
12cc2fcd
AS
205672011-10-10 Andreas Schwab <schwab@linux-m68k.org>
20568
a843a204
AS
20569 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
20570 of rawmemchr.
20571
12cc2fcd
AS
20572 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
20573
c853acd5
UD
205742011-10-09 Ulrich Drepper <drepper@gmail.com>
20575
20576 * po/ja.po: Update from translation team.
20577
c658d255
RM
205782011-10-08 Roland McGrath <roland@hack.frob.com>
20579
110946e4
RM
20580 * locale/programs/locarchive.c (prepare_address_space): New function.
20581 (create_archive, enlarge_archive, open_archive): Use it.
20582
50604220
RM
20583 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
20584 inside [SHARED], where it is used.
20585
c658d255
RM
20586 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
20587
20588 * nss/getent.c (netgroup_keys): Remove unused variable.
20589 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
20590
6a621eb7
UD
205912011-10-08 Ulrich Drepper <drepper@gmail.com>
20592
7edb55ce
UD
20593 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
20594 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
20595 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
20596 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
20597 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
20598 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
20599 * math/Makefile (libm-calls): Add s_isinf_ns.
20600 * math/divtc3.c: Use __isinf_nsl instead of isinf.
20601 * math/multc3.c: Likewise.
20602 * math/s_casin.c: Likewise.
20603 * math/s_casinf.c: Likewise.
20604 * math/s_casinl.c: Likewise.
20605 * math/s_ccos.c: Likewise.
20606 * math/s_ccosf.c: Likewise.
20607 * math/s_ccosl.c: Likewise.
20608 * math/s_ctan.c: Likewise.
20609 * math/s_ctanf.c: Likewise.
20610 * math/s_ctanh.c: Likewise.
20611 * math/s_ctanhf.c: Likewise.
20612 * math/s_ctanhl.c: Likewise.
20613 * math/s_ctanl.c: Likewise.
20614 * math/w_fmod.c: Likewise.
20615 * math/w_fmodf.c: Likewise.
20616 * math/w_fmodl.c: Likewise.
20617 * math/w_remainder.c: Likewise.
20618 * math/w_remainderf.c: Likewise.
20619 * math/w_remainderl.c: Likewise.
20620 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
20621 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
20622 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
20623 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
20624 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
20625 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
20626 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
20627 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
20628
187da0ae
UD
20629 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
20630 of the number.
20631 * stdio-common/printf_fphex.c: Likewise.
20632 * stdio-common/printf_size.c: Likewise.
20633
9277c064
UD
20634 * math/e_exp10.c: Include math_private.h using <...> not "...".
20635 * math/e_exp10f.c: Likewise.
20636 * math/e_exp10l.c: Likewise.
20637 * math/e_exp2l.c: Likewise.
20638 * math/e_j0l.c: Likewise.
20639 * math/e_j1l.c: Likewise.
20640 * math/e_jnl.c: Likewise.
20641 * math/e_lgammal_r.c: Likewise.
20642 * math/e_rem_pio2l.c: Likewise.
20643 * math/e_scalb.c: Likewise.
20644 * math/e_scalbf.c: Likewise.
20645 * math/e_scalbl.c: Likewise.
20646 * math/k_cosl.c: Likewise.
20647 * math/k_sinl.c: Likewise.
20648 * math/k_tanl.c: Likewise.
20649 * math/s_cacoshf.c: Likewise.
20650 * math/s_catan.c: Likewise.
20651 * math/s_catanf.c: Likewise.
20652 * math/s_catanh.c: Likewise.
20653 * math/s_catanhf.c: Likewise.
20654 * math/s_catanhl.c: Likewise.
20655 * math/s_catanl.c: Likewise.
20656 * math/s_ccosh.c: Likewise.
20657 * math/s_ccoshf.c: Likewise.
20658 * math/s_ccoshl.c: Likewise.
20659 * math/s_cexp.c: Likewise.
20660 * math/s_cexpf.c: Likewise.
20661 * math/s_cexpl.c: Likewise.
20662 * math/s_clog.c: Likewise.
20663 * math/s_clog10.c: Likewise.
20664 * math/s_clog10f.c: Likewise.
20665 * math/s_clog10l.c: Likewise.
20666 * math/s_clogf.c: Likewise.
20667 * math/s_clogl.c: Likewise.
20668 * math/s_csin.c: Likewise.
20669 * math/s_csinf.c: Likewise.
20670 * math/s_csinh.c: Likewise.
20671 * math/s_csinhf.c: Likewise.
20672 * math/s_csinhl.c: Likewise.
20673 * math/s_csinl.c: Likewise.
20674 * math/s_csqrt.c: Likewise.
20675 * math/s_csqrtf.c: Likewise.
20676 * math/s_csqrtl.c: Likewise.
20677 * math/s_ctan.c: Likewise.
20678 * math/s_ctanf.c: Likewise.
20679 * math/s_ctanh.c: Likewise.
20680 * math/s_ctanhf.c: Likewise.
20681 * math/s_ctanhl.c: Likewise.
20682 * math/s_ctanl.c: Likewise.
20683 * math/s_ldexp.c: Likewise.
20684 * math/s_ldexpf.c: Likewise.
20685 * math/s_ldexpl.c: Likewise.
20686 * math/s_significand.c: Likewise.
20687 * math/s_significandf.c: Likewise.
20688 * math/s_significandl.c: Likewise.
20689 * math/w_acos.c: Likewise.
20690 * math/w_acosf.c: Likewise.
20691 * math/w_acosh.c: Likewise.
20692 * math/w_acoshf.c: Likewise.
20693 * math/w_acoshl.c: Likewise.
20694 * math/w_acosl.c: Likewise.
20695 * math/w_asin.c: Likewise.
20696 * math/w_asinf.c: Likewise.
20697 * math/w_asinl.c: Likewise.
20698 * math/w_atan2.c: Likewise.
20699 * math/w_atan2f.c: Likewise.
20700 * math/w_atan2l.c: Likewise.
20701 * math/w_atanh.c: Likewise.
20702 * math/w_atanhf.c: Likewise.
20703 * math/w_atanhl.c: Likewise.
20704 * math/w_cosh.c: Likewise.
20705 * math/w_coshf.c: Likewise.
20706 * math/w_coshl.c: Likewise.
20707 * math/w_dremf.c: Likewise.
20708 * math/w_exp10.c: Likewise.
20709 * math/w_exp10f.c: Likewise.
20710 * math/w_exp10l.c: Likewise.
20711 * math/w_exp2.c: Likewise.
20712 * math/w_exp2f.c: Likewise.
20713 * math/w_fmod.c: Likewise.
20714 * math/w_fmodf.c: Likewise.
20715 * math/w_fmodl.c: Likewise.
20716 * math/w_hypot.c: Likewise.
20717 * math/w_hypotf.c: Likewise.
20718 * math/w_hypotl.c: Likewise.
20719 * math/w_j0.c: Likewise.
20720 * math/w_j0f.c: Likewise.
20721 * math/w_j0l.c: Likewise.
20722 * math/w_j1.c: Likewise.
20723 * math/w_j1f.c: Likewise.
20724 * math/w_j1l.c: Likewise.
20725 * math/w_jn.c: Likewise.
20726 * math/w_jnf.c: Likewise.
20727 * math/w_jnl.c: Likewise.
20728 * math/w_lgamma.c: Likewise.
20729 * math/w_lgamma_r.c: Likewise.
20730 * math/w_lgammaf.c: Likewise.
20731 * math/w_lgammaf_r.c: Likewise.
20732 * math/w_lgammal.c: Likewise.
20733 * math/w_lgammal_r.c: Likewise.
20734 * math/w_log.c: Likewise.
20735 * math/w_log10.c: Likewise.
20736 * math/w_log10f.c: Likewise.
20737 * math/w_log10l.c: Likewise.
20738 * math/w_log2.c: Likewise.
20739 * math/w_log2f.c: Likewise.
20740 * math/w_log2l.c: Likewise.
20741 * math/w_logf.c: Likewise.
20742 * math/w_logl.c: Likewise.
20743 * math/w_pow.c: Likewise.
20744 * math/w_powf.c: Likewise.
20745 * math/w_powl.c: Likewise.
20746 * math/w_remainder.c: Likewise.
20747 * math/w_remainderf.c: Likewise.
20748 * math/w_remainderl.c: Likewise.
20749 * math/w_scalb.c: Likewise.
20750 * math/w_scalbf.c: Likewise.
20751 * math/w_scalbl.c: Likewise.
20752 * math/w_sinh.c: Likewise.
20753 * math/w_sinhf.c: Likewise.
20754 * math/w_sinhl.c: Likewise.
20755 * math/w_sqrt.c: Likewise.
20756 * math/w_sqrtf.c: Likewise.
20757 * math/w_sqrtl.c: Likewise.
20758 * math/w_tgamma.c: Likewise.
20759 * math/w_tgammaf.c: Likewise.
20760 * math/w_tgammal.c: Likewise.
20761
6a621eb7
UD
20762 * po/ja.po: Update from translation team.
20763
bf582445
AJ
207642011-09-29 Andreas Jaeger <aj@suse.de>
20765
f9efbf3a
AJ
20766 [BZ #13179]
20767 * sunrpc/netname.c (netname2host): Fix logic.
20768
bf582445
AJ
20769 [BZ #6779]
20770 [BZ #6783]
20771 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
20772 correctly.
20773 * math/w_remainder.c (__remainder): Likewise.
20774 * math/w_remainderf.c (__remainderf): Likewise.
20775 * math/libm-test.inc (remainder_test): Add test cases.
20776
48693bea
AK
207772011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20778
20779 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
20780 sdiv_qrnnd.
20781
42622229
LD
207822011-10-07 Ulrich Drepper <drepper@gmail.com>
20783
20784 * string/test-memcmp.c: Avoid unncessary #defines.
20785 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
20786
093ecf92
LD
207872011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20788
20789 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
20790 Use new sse2 version for core i3 - i7 as it's faster
20791 than sse42 version.
20792 (bit_Prefer_PMINUB_for_stringop): New.
20793 * sysdeps/x86_64/rawmemchr.S: Update.
20794 Replace with faster SSE2 version.
20795 * sysdeps/x86_64/memrchr.S: New file.
20796 * sysdeps/x86_64/memchr.S: Update.
20797 Replace with faster SSE2 version.
20798
fde56e5c
MP
207992011-09-12 Marek Polacek <mpolacek@redhat.com>
20800
20801 * elf/dl-load.c (lose): Add cast to avoid warning.
20802
21fd49a9
UD
208032011-10-07 Ulrich Drepper <drepper@gmail.com>
20804
5a06e643
UD
20805 * po/ca.po: Update from translation team.
20806
684ae515
UD
20807 * inet/getnetgrent_r.c: Hook up nscd.
20808 * nscd/Makefile (routines): Add nscd_netgroup.
20809 (nscd-modules): Add netgroupcache.
20810 (CFLAGS-netgroupcache.c): Define.
20811 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
20812 (cache_search): Add const to second parameter.
20813 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
20814 INNETGR.
20815 (dbs): Add netgrdb entry.
20816 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
20817 (verify_persistent_db): Handle netgrdb.
20818 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
20819 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
20820 GETFDNETGR.
20821 (netgroup_response_header): Define.
20822 (innetgroup_response_header): Define.
20823 (datahead): Add netgroup_response_header and innetgroup_response_header
20824 elements.
20825 * nscd/nscd.conf: Add entries for netgroup cache.
20826 * nscd/nscd.h (dbtype): Add netgrdb.
20827 (_PATH_NSCD_NETGROUP_DB): Define.
20828 (netgroup_iov_disabled): Declare.
20829 (xmalloc, xcalloc, xrealloc): Move declarations here.
20830 (cache_search): Adjust prototype.
20831 Add netgroup-related prototypes.
20832 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
20833 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
20834 (__nscd_innetgr): Declare.
20835 * nscd/selinux.c (perms): Use access_vector_t as element type and
20836 add netgroup-related initializers.
20837 * nscd/netgroupcache.c: New file.
20838 * nscd/nscd_netgroup.c: New file.
20839 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
20840 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
20841 For four parameters use innetgr.
20842 * nss/nss_files/files-init.c: Add definition and callback for netgr.
20843 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
20844 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
20845 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
20846
21fd49a9
UD
20847 * nscd/connections.c (register_traced_file): Don't register file
20848 for disabled databases.
20849
054c0457
UD
208502011-10-06 Ulrich Drepper <drepper@gmail.com>
20851
32b63198
UD
20852 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
20853
054c0457
UD
20854 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
20855 from tree and freeing node.
20856
64031225
JO
208572011-09-25 Jiri Olsa <jolsa@redhat.com>
20858
20859 * nss/nsswitch.c (__nss_database_lookup): Handle
20860 nss_parse_service_list out of memory case.
20861
0490345c
JO
208622011-09-15 Jiri Olsa <jolsa@redhat.com>
20863
20864 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
20865 out of memory case.
20866
3a62d00d
AS
208672011-10-04 Andreas Schwab <schwab@redhat.com>
20868
20869 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
20870 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
20871 pass it down.
20872 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
20873 elf_machine_rela, elf_machine_lazy_rel.
20874 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
20875 (ELF_DYNAMIC_DO_REL): Likewise.
20876 (ELF_DYNAMIC_DO_RELA): Likewise.
20877 (ELF_DYNAMIC_RELOCATE): Likewise.
20878 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
20879 to ELF_DYNAMIC_DO_REL.
20880 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
20881 (dl_main): In trace mode always set __RTLD_NOIFUNC.
20882 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
20883 elf_machine_rela.
20884 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
20885 skip_ifunc, don't call ifunc function if non-zero.
20886 (elf_machine_rela): Likewise.
20887 (elf_machine_lazy_rel): Likewise.
20888 (elf_machine_lazy_rela): Likewise.
20889 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
20890 (elf_machine_lazy_rel): Likewise.
20891 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
20892 Likewise.
20893 (elf_machine_lazy_rel): Likewise.
20894 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20895 Likewise.
20896 (elf_machine_lazy_rel): Likewise.
20897 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
20898 (elf_machine_lazy_rel): Likewise.
20899 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
20900 (elf_machine_lazy_rel): Likewise.
20901 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
20902 (elf_machine_lazy_rel): Likewise.
20903 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
20904 (elf_machine_lazy_rel): Likewise.
20905 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
20906 (elf_machine_lazy_rel): Likewise.
20907 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
20908 (elf_machine_lazy_rel): Likewise.
20909
68577918
UD
209102011-09-28 Ulrich Drepper <drepper@gmail.com>
20911
20912 * nss/nss_files/files-init.c (_nss_files_init): Use static
20913 initialization for all the *_traced_file variables.
20914
68822d74
AS
209152011-09-28 Andreas Schwab <schwab@redhat.com>
20916
20917 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20918
2056100b
RM
209192011-09-27 Roland McGrath <roland@hack.frob.com>
20920
20921 [BZ #13226]
20922 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
20923
32c76b63
AS
209242011-09-27 Andreas Schwab <schwab@redhat.com>
20925
20926 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20927 Reread the line before reparsing it.
20928
bf972c9d
AS
209292011-09-26 Andreas Schwab <schwab@redhat.com>
20930
20931 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
20932
e057a1b5
JM
209332011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
20934 Maxim Kuvyrkov <maxim@codesourcery.com>
20935 Joseph Myers <joseph@codesourcery.com>
20936
20937 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
20938 if needed for __stack_chk_guard.
20939
bc7e1c36
RM
209402011-09-19 Roland McGrath <roland@hack.frob.com>
20941
ecb1482f
RM
20942 * sysdeps/posix/spawni.c (script_execute): Always define it.
20943 It will be optimized away if unused.
20944 (maybe_script_execute): New function.
20945 (__spawni): Call it.
20946
bc7e1c36
RM
20947 * Makerules: Don't include tls.make.
20948 (config-tls): Always set to thread.
20949 * tls.make.c: File removed.
20950
1c3b002b
MF
209512011-09-19 Mike Frysinger <vapier@gentoo.org>
20952
20953 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
20954 * config.make.in (CPPFLAGS-config): New substituted variable.
20955
2840865d
UD
209562011-09-15 Ulrich Drepper <drepper@gmail.com>
20957
88738eb6
UD
20958 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
20959
cbf645a6 20960 [BZ #13192]
2840865d
UD
20961 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
20962 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
20963
b402e91a
RM
209642011-09-15 Roland McGrath <roland@hack.frob.com>
20965
20966 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
20967 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
20968 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
20969 (CALL_FAIL): Likewise.
20970 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
20971 (CALL_FAIL): Macro removed.
20972 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
20973
4c1a1f71
UD
209742011-09-15 Ulrich Drepper <drepper@gmail.com>
20975
20976 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
20977 for __FINITE_MATH_ONLY__ == 1.
20978
edc121be
AS
209792011-09-15 Andreas Schwab <schwab@redhat.com>
20980
20981 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
20982 __ieee754_sqrt instead of sqrt.
20983 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
20984 __ieee754_sqrtf instead of sqrtf.
20985 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
20986 __floorf instead of floorf.
20987 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
20988 __floorf, __truncf instead of floorf, truncf.
20989
cd205654
UD
209902011-09-14 Ulrich Drepper <drepper@gmail.com>
20991
ee4d0315
UD
20992 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
20993
cd205654
UD
20994 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
20995 __extern_always_inline.
20996 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
20997 32-bit.
20998
48b67d71
AS
209992011-09-14 Andreas Schwab <schwab@redhat.com>
21000
21001 * elf/rtld.c (dl_main): Also relocate in dependency order when
21002 doing symbol dependency testing.
21003
1ae12c75
AS
210042011-09-13 Andreas Schwab <schwab@linux-m68k.org>
21005
21006 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21007 Always define `refsym'.
21008
995a80df
AS
210092011-09-13 Andreas Schwab <schwab@redhat.com>
21010
e529793b
AS
21011 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
21012 (__FD_ELT): Renamed from __FDELT.
21013 * misc/bits/select2.h (__FD_ELT): Likewise.
21014 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
21015 __FD_MASK instead of __FDELT, __FDMASK.
21016 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
21017 Likewise.
21018 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
21019 Likewise.
21020
52d4fef8
AS
21021 * elf/Makefile (gen-ldd): Fix pattern.
21022
995a80df
AS
21023 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
21024 (init_tls): Likewise.
21025
8682f8b0
UD
210262011-09-12 Ulrich Drepper <drepper@gmail.com>
21027
21028 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
21029
de82006d
AS
210302011-09-12 Andreas Schwab <schwab@redhat.com>
21031
a7c8e6a1
AS
21032 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
21033 `struct cmsghdr *' instead of `void *'.
21034 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
21035 Likewise.
21036
0f31fe77
AS
210372011-09-11 Andreas Schwab <schwab@linux-m68k.org>
21038
21039 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
21040 if non-absolute.
21041 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
21042 ldd_rewrite_script.
0f31fe77 21043
32b4c839
UD
210442011-09-11 Ulrich Drepper <drepper@gmail.com>
21045
83cd1420
UD
21046 * configure.in: Remove --with-tls option.
21047 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
21048 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
21049 out in case it is missing.
21050 * sysdeps/ia64/elf/configure.in: Likewise.
21051 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
21052 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
21053 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
21054 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
21055 * sysdeps/sh/elf/configure.in: Likewise.
21056 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
21057 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
21058 * sysdeps/x86_64/elf/configure.in: Likewise.
21059 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
21060 * sysdeps/mach/hurd/tls.h: Likewise.
21061
633f745d
UD
21062 [BZ #13067]
21063 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
21064
f318beb8
UD
21065 [BZ #13090]
21066 * configure.in: Fix use of AC_INIT.
21067
32b4c839
UD
21068 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
21069
3ce1f295
UD
210702011-09-10 Ulrich Drepper <drepper@gmail.com>
21071
bb016596
UD
21072 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
21073 __set_errno.
8e58439c
UD
21074 * malloc/hooks.c: Likewise.
21075
aebae053 21076 [BZ #11929]
02d46fc4
UD
21077 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
21078 variables statically.
21079 (narenas): Initialize.
21080 (list_lock): Initialize.
bb016596
UD
21081 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
21082 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
21083 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
21084 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
21085 Add initializers to main_arena and mp_.
21086 (malloc_state): Remove pagesize member. Change all users to use
21087 GLRO(dl_pagesize).
21088
21089 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
21090 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
21091 is always initialized.
21092
22a89187
UD
21093 * malloc/malloc.c: Removed unused configurations and dead code.
21094 * malloc/arena.c: Likewise.
21095 * malloc/hooks.c: Likewise.
02d46fc4 21096 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 21097
d063d164
UD
21098 * include/tls.h: Removed. USE___THREAD must always be defined.
21099 * bits/libc-tsd.h: Don't handle !USE___THREAD.
21100 * elf/dl-libc.c: Likewise.
21101 * elf/dl-tsd.c: Likewise.
21102 * include/errno.h: Likewise.
21103 * include/netdb.h: Likewise.
21104 * include/resolv.h: Likewise.
21105 * inet/herrno-loc.c: Likewise.
21106 * inet/herrno.c: Likewise.
21107 * malloc/arena.c: Likewise.
21108 * malloc/hooks.c: Likewise.
21109 * malloc/malloc.c: Likewise.
21110 * resolv/res-state.c: Likewise.
21111 * resolv/res_libc.c: Likewise.
21112 * sysdeps/i386/dl-machine.h: Likewise.
21113 * sysdeps/ia64/dl-machine.h: Likewise.
21114 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
21115 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21116 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
21117 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
21118 * sysdeps/sh/dl-machine.h: Likewise.
21119 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
21120 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
21121 * sysdeps/unix/i386/sysdep.S: Likewise.
21122 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21123 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
21124 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
21125 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21126 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
21127 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21128 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
21129 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21130 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21131 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21132 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21133 * sysdeps/x86_64/dl-machine.h: Likewise.
21134 * tls.make.c: Likewise.
21135
3ce1f295
UD
21136 * configure.in: Remove --with-__thread option. Make tests for
21137 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
21138 tls_model attribute fail if no support is available. Remove
21139 USE_IN_LIBIO.
21140 * Makeconfig: Adjust for dropped configure option. All features are
21141 now mandatory.
21142 * Makerules: Likewise.
21143 * Versions.def: Likewise.
21144 * argp/argp-fmtstream.c: Likewise.
21145 * argp/argp-fmtstream.h: Likewise.
21146 * argp/argp-help.c: Likewise.
21147 * assert/assert.c: Likewise.
21148 * config.h.in: Likewise.
21149 * config.make.in: Likewise.
21150 * configure: Likewise.
21151 * configure.in: Likewise.
21152 * csu/Versions: Likewise.
21153 * csu/init.c: Likewise.
21154 * elf/tst-audit2.c: Likewise.
21155 * elf/tst-tls10.c: Likewise.
21156 * elf/tst-tls10.h: Likewise.
21157 * elf/tst-tls11.c: Likewise.
21158 * elf/tst-tls12.c: Likewise.
21159 * elf/tst-tls14.c: Likewise.
21160 * elf/tst-tlsmod11.c: Likewise.
21161 * elf/tst-tlsmod12.c: Likewise.
21162 * elf/tst-tlsmod13.c: Likewise.
21163 * elf/tst-tlsmod13a.c: Likewise.
21164 * elf/tst-tlsmod14a.c: Likewise.
21165 * elf/tst-tlsmod15b.c: Likewise.
21166 * elf/tst-tlsmod16a.c: Likewise.
21167 * elf/tst-tlsmod16b.c: Likewise.
21168 * elf/tst-tlsmod7.c: Likewise.
21169 * elf/tst-tlsmod8.c: Likewise.
21170 * elf/tst-tlsmod9.c: Likewise.
21171 * gmon/gmon.c: Likewise.
21172 * grp/fgetgrent_r.c: Likewise.
21173 * grp/putgrent.c: Likewise.
21174 * hurd/fopenport.c: Likewise.
21175 * include/libc-symbols.h: Likewise.
21176 * include/tls.h: Likewise.
21177 * intl/gettextP.h: Likewise.
21178 * intl/loadinfo.h: Likewise.
21179 * locale/global-locale.c: Likewise.
21180 * locale/localeinfo.h: Likewise.
21181 * mach/devstream.c: Likewise.
21182 * malloc/arena.c: Likewise.
21183 * malloc/set-freeres.c: Likewise.
21184 * misc/err.c: Likewise.
21185 * misc/getttyent.c: Likewise.
21186 * misc/mntent_r.c: Likewise.
21187 * posix/getopt.c: Likewise.
21188 * posix/wordexp.c: Likewise.
21189 * pwd/fgetpwent_r.c: Likewise.
21190 * resolv/Versions: Likewise.
21191 * resolv/res_hconf.c: Likewise.
21192 * shadow/fgetspent_r.c: Likewise.
21193 * shadow/putspent.c: Likewise.
21194 * stdio-common/printf_fphex.c: Likewise.
21195 * stdio-common/tmpfile.c: Likewise.
21196 * stdlib/abort.c: Likewise.
21197 * stdlib/fmtmsg.c: Likewise.
21198 * sunrpc/auth_unix.c: Likewise.
21199 * sunrpc/clnt_perr.c: Likewise.
21200 * sunrpc/clnt_tcp.c: Likewise.
21201 * sunrpc/clnt_udp.c: Likewise.
21202 * sunrpc/clnt_unix.c: Likewise.
21203 * sunrpc/openchild.c: Likewise.
21204 * sunrpc/svc_simple.c: Likewise.
21205 * sunrpc/svc_tcp.c: Likewise.
21206 * sunrpc/svc_udp.c: Likewise.
21207 * sunrpc/svc_unix.c: Likewise.
21208 * sunrpc/xdr.c: Likewise.
21209 * sunrpc/xdr_array.c: Likewise.
21210 * sunrpc/xdr_rec.c: Likewise.
21211 * sunrpc/xdr_ref.c: Likewise.
21212 * sunrpc/xdr_stdio.c: Likewise.
21213
1248c1c4
PB
212142011-09-09 Ulrich Drepper <drepper@gmail.com>
21215
21216 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21217
212182011-07-03 Andreas Jaeger <aj@suse.de>
21219
21220 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
21221 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
21222 regenerate with gen-libm-tests.pl.
21223
212242010-05-12 Petr Baudis <pasky@suse.cz>
21225
21226 [BZ #11589]
21227 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
21228 around j0() zero points by switching to j1().
21229 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21230 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21231 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21232 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21233
f22e1074
UD
212342011-09-09 Ulrich Drepper <drepper@gmail.com>
21235
f19009c1
UD
21236 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
21237 instead of 0.
21238 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 21239 instead of 0.
f19009c1
UD
21240 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21241 Patch in part by Pavel Roskin <proski@gnu.org>.
21242
3f8cc204
UD
21243 [BZ #13138]
21244 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
21245 realloc.
21246 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
21247 Free memory block if necessary.
21248
f22e1074
UD
21249 [BZ #12847]
21250 * libio/genops.c (INTDEF): For string streams the _lock pointer can
21251 be NULL. Don't lock in this case.
21252
0a2349f9
RM
212532011-09-09 Roland McGrath <roland@hack.frob.com>
21254
21255 * elf/elf.h (ELFOSABI_GNU): New macro.
21256 (ELFOSABI_LINUX): Define to that.
21257
f3cdd467
DZ
212582011-07-29 Denis Zaitceff <zaitceff@gmail.com>
21259
21260 * string/strncat.c (strncat): Undef the symbol in case it has been
21261 defined in bits/string.h.
21262
74718d13
UD
212632011-09-09 Ulrich Drepper <drepper@gmail.com>
21264
633e9e0f
UD
21265 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
21266
0a2349f9 21267 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
21268 link map.
21269
f9924780
AJ
212702011-08-17 Andreas Jaeger <aj@suse.de>
21271
21272 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
21273
7f5517aa
PP
212742011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
21275 Ian Lance Taylor <iant@google.com>
21276
21277 * math/libm-test.inc (lround_test): New testcase.
21278 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
21279
762011fe
UD
212802011-09-08 Ulrich Drepper <drepper@gmail.com>
21281
92963737
UD
21282 * Makefile: Remove support for automatic cvs check-ins.
21283 * Makerules: Likewise.
21284 * config.make.in: Likewise.
21285 * configure.in: Likewise.
21286 * intl/Makefile: Likewise.
21287 * locale/Makefile: Likewise.
21288 * po/Makefile: Likewise.
21289 * posix/Makefile: Likewise.
21290 * sysdeps/gnu/Makefile: Likewise.
21291 * sysdeps/mach/hurd/Makefile: Likewise.
21292 * sysdeps/sparc/sparc32/Makefile: Likewise.
21293
b0727fd8
JS
21294 [BZ #13118]
21295 * posix/Makefile (bug-regex32-ENV): Define.
21296 Patch by John Stanley <jpsinthemix@verizon.net>.
21297
a0f33f99
UD
21298 * misc/Makefile (headers): Add bits/select2.h.
21299 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
21300 * misc/bits/select2.h: New file.
21301 * include/bits/select2.h: New file.
21302 * debug/Makefile (routines): Add fdelt_chk.
21303 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
21304 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
21305 FD_ISSET.
21306 * debug/fdelt_chk.c: New file.
21307
762011fe
UD
21308 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
21309 * wcsmbs/test-wmemcmp.c: Likewise.
21310 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 21311 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
21312
213132011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21314
21315 * string/Makefile (strop-tests): Add memcmp.
21316 * string/test-wmemcmp.c: New file.
21317 * string/test-memcmp.c: Add wmemcmp support.
21318
7f513ec8
RM
213192011-09-08 Roland McGrath <roland@hack.frob.com>
21320
0442afb4
RM
21321 [BZ #13153]
21322 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
21323 2011-07-19 change.
21324
7f513ec8
RM
21325 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
21326 garbage value in a __mach_port_mod_refs call in the cases of the
21327 task-self and thread-self ports.
21328
a12b2239
ST
213292011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
21330
21331 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
21332
610f9ab4
AS
213332011-09-08 Andreas Schwab <schwab@redhat.com>
21334
7f513ec8 21335 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 21336
48882a1a
LD
213372011-09-07 Ulrich Drepper <drepper@gmail.com>
21338
b49865be
UD
21339 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
21340
fdc86bc9
UD
21341 * elf/dl-libc.c (dlerror_run): Pass back error code from
21342 dl_catch_error.
21343
c966526a
UD
21344 [BZ #13123]
21345 * elf/dl-load.c (lose): Free l_origin if it is valid.
21346
48882a1a
LD
21347 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
21348 names.
21349 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
21350 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
21351 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
21352 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
21353 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
21354 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
21355
77a2a8b4
AZ
213562011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21357
21358 * sysdeps/powerpc/fpu/e_hypot.c: New file.
21359 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
21360 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
21361 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
21362 * sysdeps/powerpc/fpu/k_cosf.c: New file.
21363 * sysdeps/powerpc/fpu/k_sinf.c: New file.
21364 * sysdeps/powerpc/fpu/s_cosf.c: New file.
21365 * sysdeps/powerpc/fpu/s_sinf.c: New file.
21366 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
21367 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
21368
24f579d8
AM
213692011-08-15 Alan Modra <amodra@gmail.com>
21370
21371 [BZ #13092]
21372 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
21373 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
21374 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
21375 ppc_mcount to static-only-routines.
21376 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
21377 __mcount_internal.
21378 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
21379 __mcount_internal with usual JUMPTARGET. Remove useless nop.
21380
3d4837df
UD
213812011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
21382
21383 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
21384 for finite and infinity parameters.
21385
22700377
WS
213862011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
21387
21388 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
21389 and add nop instructions for throughput optimization.
21390 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21391
5025581e
WS
213922011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
21393
21394 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
21395 aligned copy for power7 with vector-scalar instructions.
21396 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
21397
08a300c9
L
213982011-07-24 H.J. Lu <hongjiu.lu@intel.com>
21399
21400 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
21401 AVX check.
21402
59178ef9
AS
214032011-09-07 Andreas Schwab <schwab@redhat.com>
21404
21405 [BZ #13144]
21406 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
21407 last change.
21408
e38ba7ab
UD
214092011-09-07 Ulrich Drepper <drepper@gmail.com>
21410
21411 * sysdeps/unix/sysv/linux/x86_64/init-first.c
21412 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
21413 syscall wrapper around clock_gettime in __vdso_clock_gettime.
21414 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
21415 clock_gettime.
21416
d53a73ac
UD
214172011-09-06 Ulrich Drepper <drepper@gmail.com>
21418
fc8bffcc
UD
21419 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
21420 Forgot to demangle the pointer.
21421
ceaa0c5d
UD
21422 * sysdeps/i386/sysdep.h: Define atom_text_section.
21423 * sysdeps/x86_64/sysdep.h: Likewise.
21424 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
21425 section with atom_text_section.
21426 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
21427 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
21428 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
21429 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
21430 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
21431
a77d3c17
UD
21432 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
21433 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
21434 already be defined. Change to take two parameters and don't assign
21435 result to variable. Adjust all users.
21436 Define INTERNAL_GETTIME if not already defined.
21437 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
21438 call.
21439 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
21440 HAVE_CLOCK_GETTIME_VSYSCALL.
21441 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
21442
d53a73ac
UD
21443 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
21444 gettimeofday vsyscall, just use time.
21445
a8f84144
AS
214462011-09-06 Andreas Schwab <schwab@redhat.com>
21447
21448 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
21449 <errno.h>.
21450
ef606249
UD
214512011-09-06 Ulrich Drepper <drepper@gmail.com>
21452
21453 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
21454 syscall on x86-64.
21455 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
21456 syscall.
21457 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
21458 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
21459 syscall if possible.
21460
6585cb60
UD
214612011-09-05 Ulrich Drepper <drepper@gmail.com>
21462
21463 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
21464 e_ident. Don't pass to find_mapsXX.
21465 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
21466
a5f524e4
LD
214672011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21468
21469 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21470 strchr-sse2-no-bsf strrchr-sse2-no-bsf
21471 * sysdeps/x86_64/multiarch/strchr.S: Update.
21472 Check bit_slow_BSF bit.
21473 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21474 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
21475 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
21476
554881ef
UD
214772011-09-05 Ulrich Drepper <drepper@gmail.com>
21478
d96de963
UD
21479 [BZ #13134]
21480 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
21481 before glibc 2.15.
21482 (tryshell): Define.
21483 (__spawni): Change last parameter to be flag. Test
21484 SPAWN_XFLAGS_USE_PATH flag to use path or not.
21485 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
21486 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
21487 * posix/spawni.c: Likewise.
21488 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
21489 * posix/spawnp.c: Likewise. Change normal version to use
21490 SPAWN_XFLAGS_USE_PATH.
21491 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
21492 SPAWN_XFLAGS_TRY_SHELL.
21493
d48e5868
UD
21494 [BZ #13150]
21495 * posix/glob.h: Remove gcc 1.x support.
21496
554881ef
UD
21497 [BZ #13068]
21498 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
21499
693fb948
LD
215002011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21501
21502 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21503 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
21504 strrchr-sse2-bsf
21505 * sysdeps/i386/i686/multiarch/strchr.S: New file.
21506 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
21507 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
21508 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
21509 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
21510 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
21511
1b48c537
UD
215122011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21513
49d42c37
UD
21514 * sysdeps/x86_64/wcscmp.S: New file.
21515
1b48c537
UD
21516 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
21517 wcscmp-c wcscmp-sse2
21518 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
21519 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
21520 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
21521 * wcsmbs/wcscmp.c: Allow renaming.
21522
15c95c5d
DM
215232011-09-05 David S. Miller <davem@davemloft.net>
21524
21525 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
21526 stack slot, rather than the struct return pointer slot.
21527 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
21528 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
21529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
21530 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
21531
2f0ad8f3
UD
215322011-09-05 Ulrich Drepper <drepper@gmail.com>
21533
d88ae418
UD
21534 * po/ja.po: Update from translation team.
21535
2f0ad8f3
UD
21536 [BZ #13144]
21537 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
21538 kernel in 64-bit binaries.
21539
5f4318d1
DM
215402011-09-01 David S. Miller <davem@davemloft.net>
21541
21542 * elf/elf.h (HWCAP_SPARC_*): Move to..
21543 * sysdeps/sparc/sysdep.h: this new file and add new values.
21544 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
21545 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
21546 _DL_HWCAP_COUNT to 24.
21547 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
21548 entries.
21549 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
21550 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
21551 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
21552 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
21553 instead of magic constants.
21554 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21555
3ba57516
DM
215562011-08-31 David S. Miller <davem@davemloft.net>
21557
21558 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
21559 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
21560 Reimplement to do errno handling inline.
21561 (SYSCALL_ERROR_HANDLER): New macro.
21562 (__SYSCALL_STRING): Do not do errno handling in asm.
21563 (__CLONE_SYSCALL_STRING): Delete.
21564 (__INTERNAL_SYSCALL_STRING): Delete.
21565 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
21566 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
21567 (PSEUDO): Reimplement to do errno handling inline.
21568 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
21569 (SYSCALL_ERROR_HANDLER): New macro.
21570 (__SYSCALL_STRING): Do not do errno handling in asm.
21571 (__CLONE_SYSCALL_STRING): Delete.
21572 (__INTERNAL_SYSCALL_STRING): Delete.
21573 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
21574 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
21575 i386.
21576 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
21577 (inline_syscall*): Add 'err' argument.
21578 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
21579 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
21580 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
21581 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
21582
21583 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
21584 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
21585
2bc17433
AS
215862011-08-30 Andreas Schwab <schwab@redhat.com>
21587
21588 * elf/rtld.c (dl_main): Relocate objects in dependency order.
21589
fbeb5f4d
JO
215902011-08-29 Jiri Olsa <jolsa@redhat.com>
21591
21592 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
21593 directive.
21594
ad69cc26
DM
215952011-08-24 David S. Miller <davem@davemloft.net>
21596
21597 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
21598
39dd69df
AS
215992011-08-24 Andreas Schwab <schwab@redhat.com>
21600
21601 * elf/Makefile: Add rules to build and run unload8 test.
21602 * elf/unload8.c: New file.
21603 * elf/unload8mod1.c: New file.
21604 * elf/unload8mod1x.c: New file.
21605 * elf/unload8mod2.c: New file.
21606 * elf/unload8mod3.c: New file.
21607
21608 * elf/dl-close.c (_dl_close_worker): Reset private search list if
21609 it wasn't used.
21610
2c0b250a
DM
216112011-08-23 David S. Miller <davem@davemloft.net>
21612
21613 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
21614 subtract stack bias.
21615 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
21616 %sp not %fp in calculations.
21617 (_JMPBUF_UNWINDS_ADJ): Likewise.
21618
22044b48
DM
21619 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
21620 (aio_suspend): Call it to force an exception region around the
21621 AIO_MISC_WAIT() invocation.
21622
2cae4995
AS
216232011-08-23 Andreas Schwab <schwab@redhat.com>
21624
21625 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
21626 backslash.
21627
873a772e
AJ
216282011-07-04 Aurelien Jarno <aurelien@aurel32.net>
21629
21630 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
21631 protection macro.
21632 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
21633 and <dl-machine.h>.
21634 (Elf64_FuncDesc): Remove.
21635
25ad0df1
DM
216362011-08-22 David S. Miller <davem@davemloft.net>
21637
21638 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
21639 sigaltstack check, add missing cfi directives.
21640 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
21641 missing cfi directives, and sigaltstack handling.
21642
e888bcbe
AS
216432011-08-16 Andreas Schwab <schwab@redhat.com>
21644
21645 [BZ #11724]
21646 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
21647 object is seen twice.
21648 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21649
21650 * elf/Makefile (distribute): Add tst-initorder2.c.
21651 (tests): Add tst-initorder2.
21652 (modules-names): Add tst-initorder2a tst-initorder2b
21653 tst-initorder2c tst-initorder2d. Add rules to build them.
21654 ($(objpfx)tst-initorder2.out): New rule.
21655 * elf/tst-initorder2.c: New file.
21656 * elf/tst-initorder2.exp: New file.
21657
87162f46
AS
216582011-08-22 Andreas Schwab <schwab@redhat.com>
21659
70538b7f
AS
21660 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
21661
f55ffe58
AS
21662 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
21663 dependencies back to end of function.
21664
87162f46
AS
21665 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
21666 $(elfobjdir)/ld.so.
21667
91b392a4
UD
216682011-08-21 Ulrich Drepper <drepper@gmail.com>
21669
21670 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
21671 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
21672 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
21673 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
21674 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
21675 of __vdso_gettimeofday.
21676 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
21677 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
21678 attribute_hidden.
21679 (_libc_vdso_platform_setup): Remove initialization of
21680 __vdso_gettimeofday and __vdso_time.
21681
5c43483f
UD
216822011-08-20 Ulrich Drepper <drepper@gmail.com>
21683
775a77e7
UD
21684 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
21685 and fgetc_unlocked.
21686 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
21687 getc_unlocked.
89f447ed 21688
49c74ba9
UD
21689 * elf/dl-open.c (add_to_global): Report additions to the global scope
21690 for LD_DEBUG=scopes.
21691 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 21692 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 21693
5c43483f
UD
21694 [BZ #13114]
21695 * stdio-common/Makefile (tests): Add bug24.
21696 * stdio-common/bug24.c: New file.
21697
a101b025
AJ
216982011-08-19 Andreas Jaeger <aj@suse.de>
21699
21700 [BZ #13114]
21701 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
21702 non-existant file when using close-on-exec mode.
21703
c88f1766
UD
217042011-08-20 Ulrich Drepper <drepper@gmail.com>
21705
0276a718
UD
21706 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
21707 the very first instruction.
21708
c88f1766
UD
21709 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
21710 the CFI state in the end.
21711 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
21712 inclusion of dl-trampoline.h.
21713 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
21714
51ccffa0
AS
217152011-08-19 Andreas Schwab <schwab@redhat.com>
21716
94d7165f
AS
21717 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
21718 expectations for long double.
21719
51ccffa0
AS
21720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
21721 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
21722
fd708658 217232011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
21724
21725 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
21726 artificual limit depends upon the system page size.
21727
44f0a71e
UD
217282011-08-17 Ulrich Drepper <drepper@gmail.com>
21729
21730 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
21731 * resolv/Makefile: Define CFLAGS-libresolv.
21732
8de79a24
AS
217332011-08-17 Andreas Schwab <schwab@redhat.com>
21734
21735 * nss/makedb.c (compute_tables): Make variables used in nested
21736 function static.
21737
27724598
UD
217382011-08-17 Ulrich Drepper <drepper@gmail.com>
21739
c5305d88
UD
21740 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
21741 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
21742 if buffer was too small.
21743
27724598
UD
21744 * elf/pldd.c (main): Attach to all threads in the process.
21745 Rewrite /proc handling to use *at functions.
21746
076fe015
UD
217472011-08-16 Ulrich Drepper <drepper@gmail.com>
21748
174baab3
UD
21749 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
21750 specifies first scope to show.
21751 (dl_open_worker): Update callers. Move printing scope of new
21752 object to before the relocation.
44f0a71e 21753 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
21754 * sysdeps/generic/ldsodefs.h: Update declaration.
21755
076fe015
UD
21756 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
21757 string for the scope number.
21758
a60df2c3
UD
217592011-08-14 Ulrich Drepper <drepper@gmail.com>
21760
21761 * nscd/servicescache.c (cache_addserv): Make sure written is always
21762 initialized.
21763
5e4287d1
RM
217642011-08-14 Roland McGrath <roland@hack.frob.com>
21765
85ae0589
RM
21766 * sysdeps/i386/i486/bits/atomic.h
21767 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
21768 statement expression, so as to suppress "set but not used" warning.
21769 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
21770
69f63097
RM
21771 * string/strncat.c (STRNCAT): Use prototype definition.
21772
675456ef
RM
21773 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
21774 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
21775 -Iprograms here.
21776 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
21777 (localedef-modules): Add localedef.
21778 (locale-modules): Add locale.
21779
5e4287d1
RM
21780 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
21781 * elf/rtld.c (dl_main): Invert order of assignment in last change,
21782 to avoid a warning.
21783
9c96ff23
DM
217842011-08-14 David S. Miller <davem@davemloft.net>
21785
21786 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
21787 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
21788
f9ddf089
UD
217892011-08-13 Ulrich Drepper <drepper@gmail.com>
21790
44f0a71e 21791 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
21792 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
21793 * elf/rtld.c (dl_main): Set l_name of vDSO.
21794 Call _dl_show_scope when DL_DEBUG_SCOPES.
21795 (process_dl_debug): Recognize scopes flag and also set it for all.
21796 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
21797 Declare _dl_show_scope.
21798
1dc27704
UD
21799 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
21800 (do_dlopen): Pass caller_dlopen to dl_open.
21801 (__libc_dlopen_mode): Initialize caller_dlopen.
21802
f9ddf089
UD
21803 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
21804 of libc. Make tolower call locale-independent. Optimize a bit by
21805 using isdigit instead of isalnum.
21806 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
21807
9ac533d3
UD
218082011-08-12 Ulrich Drepper <drepper@gmail.com>
21809
21810 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
21811 was a dependency or dynamically loaded.
21812
89edf2e9
UD
218132011-08-11 Ulrich Drepper <drepper@gmail.com>
21814
8e999d29
UD
21815 * intl/l10nflist.c: Allow architecture-specific pop function.
21816 * sysdeps/x86_64/l10nflist.c: New file.
21817
89edf2e9
UD
21818 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
21819 classification.
21820
14d96785
AS
218212011-08-10 Andreas Schwab <schwab@redhat.com>
21822
21823 * include/dirent.h: Add libc_hidden_proto for scandirat and
21824 scandirat64. Don't declare __scandirat64.
21825 * dirent/scandirat.c: Add libc_hidden_def.
21826 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
21827 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
21828
6761ac04
DM
218292011-08-10 David S. Miller <davem@davemloft.net>
21830
21831 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
21832 enum.
21833 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21834 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21835 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21836
c55fbd1e
UD
218372011-08-09 Ulrich Drepper <drepper@gmail.com>
21838
21839 * Versions.def [libc]: Add GLIBC_2.15.
21840 * dirent/Makefile (routines): Add scandirat and scandirat64.
21841 * dirent/Versions [libc]: Export scandirat and scandirat64 for
21842 GLIBC_2.15.
21843 * dirent/dirent.h: Declare scandirat and scandirat64.
21844 * dirent/scandirat.c: New file.
21845 * dirent/scandirat64.c: New file.
21846 * sysdeps/wordsize-64/scandirat.c: New file.
21847 * sysdeps/wordsize-64/scandirat64.c: New file.
21848 * dirent/opendir.c: Define opendirat.
21849 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
21850 using scandirat.
21851 * dirent/scandir64.c: Adjust for scandir.c change.
21852 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
21853 __scandirat64, and __scandir_cancel_handler.
21854 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
21855 additional parameter and use openat instead of open (outside of ld.so).
21856 Add new __opendir as wrapper around __opendirat.
21857 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
21858 here without requiring old scandirat implementation.
21859
879165f2
UD
218602011-08-08 Ulrich Drepper <drepper@gmail.com>
21861
21862 * dirent/scandir.c (cancel_handler): Renamed to
21863 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
21864 defined. Adjust users.
21865 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
21866 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
21867
cb7e923b
UD
218682011-08-04 Ulrich Drepper <drepper@gmail.com>
21869
16292edd
UD
21870 * string/test-string.h (IMPL): Use __STRING to expand name and then
21871 stringify it.
21872
cb7e923b
UD
21873 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
21874 of cleanups.
21875
cff82933
LD
218762011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21877
21878 * string/Makefile: Update.
21879 (strop-tests): Append strncat.
21880 * string/test-wcscmp.c: New file.
21881 New comprehensive test for wcscmp.
21882 * string/test-strcmp.c: Update.
21883 (WIDE): New define.
21884
9be9bfcc
AS
218852011-07-22 Andreas Schwab <schwab@redhat.com>
21886
21887 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
21888 line.
21889
2e96f1c7
AS
218902011-07-26 Andreas Schwab <schwab@redhat.com>
21891
21892 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21893 encoding to ACE if AI_IDN.
21894
85188888
JJ
218952011-08-01 Jakub Jelinek <jakub@redhat.com>
21896
21897 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
21898 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
21899
5fa16e9b
LD
219002011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21901
21902 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
21903 Fix overflow bug in strncat.
21904 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
21905
21906 * string/test-strncat.c: Update.
21907 Add new tests for checking overflow bugs.
21908
219092011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21910
21911 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21912 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
21913 * sysdeps/i386/i686/multiarch/strcat.S: New file.
21914 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
21915 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
21916 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
21917 * sysdeps/i386/i686/multiarch/strncat.S: New file.
21918 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
21919 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
21920
21921 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
21922 (USE_AS_STRCAT): Define.
21923 Add strcat and strncat support.
21924 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
21925
8c1a459f
AS
219262011-07-25 Andreas Schwab <schwab@redhat.com>
21927
21928 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
21929 __n bigger than INT_MAX+1.
21930 (__strncmp_g): Likewise.
21931
bba33c28
UD
219322011-07-23 Ulrich Drepper <drepper@gmail.com>
21933
798be72d
UD
21934 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
21935 * libio/stido.h: Likewise.
21936
8accd4dc
UD
21937 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
21938 (AF_NFC): Define.
21939 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
21940 (AF_NFC): Define.
21941
cbff0d96
UD
21942 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
21943 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21944 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21945 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
21946 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21947
9191c04a
UD
21948 [BZ #13021]
21949 * scripts/test-installation.pl: Don't expect libnss_test1 to be
21950 installed.
21951
bba33c28
UD
21952 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
21953 typo.
21954 (_dl_x86_64_save_sse): Likewise.
21955
90f139dd
UD
219562011-07-22 Ulrich Drepper <drepper@gmail.com>
21957
1aae088a
UD
21958 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
21959 OSXSAVE.
21960 (_dl_x86_64_save_sse): Likewise.
21961
8e2045f5
UD
21962 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
21963
90f139dd
UD
21964 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
21965
1d002f25
AS
219662011-07-21 Andreas Schwab <schwab@redhat.com>
21967
21968 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
21969 change.
21970 (_dl_x86_64_save_sse): Use correct AVX check.
21971
21137f89
UD
219722011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21973
21974 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
21975 bug in strncpy/strncat.
21976 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
21977
a65c0b7a
UD
219782011-07-21 Ulrich Drepper <drepper@gmail.com>
21979
21980 * string/tester.c (test_strcat): Add tests for different alignments
21981 of source and destination.
21982 (test_strncat): Likewise.
21983
6986b98a
UD
219842011-07-20 Ulrich Drepper <drepper@gmail.com>
21985
90bb2039
UD
21986 [BZ #12852]
21987 * posix/glob.c (glob): Check passed in values before using them in
21988 expressions to avoid some overflows.
21989 (glob_in_dir): Likewise.
21990
5644ef54
UD
21991 [BZ #13007]
21992 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
21993 check for AVX enablement so that we don't crash with old kernels and
21994 new hardware.
21995 * elf/tst-audit4.c: Add same checks here.
21996 * elf/tst-audit6.c: Likewise.
21997
21998 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 21999
bfc9dc9b
AS
220002011-07-09 Andreas Schwab <schwab@linux-m68k.org>
22001
22002 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
22003
702e64bb
UD
220042011-07-20 Ulrich Drepper <drepper@gmail.com>
22005
22006 * po/cs.po: Update from translation team.
22007 * po/bg.po: Likewise.
22008
295e904f
MP
220092011-07-12 Marek Polacek <mpolacek@redhat.com>
22010
22011 * misc/sys/cdefs.h: Add support for const attribute.
22012 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
22013 to gnu_dev_{major,minor,makedev} functions.
22014
3ff94596
MP
220152011-07-20 Marek Polacek <mpolacek@redhat.com>
22016
22017 * intl/dcigettext.c (get_output_charset): Add missing bracket.
22018
28b59fca
AS
220192011-07-20 Andreas Schwab <schwab@redhat.com>
22020
22021 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
22022 strlen results.
22023
19df733e
AK
220242011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22025
22026 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
22027 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
22028 register in order to avoid conflicts with the soft frame pointer
22029 being held in r11 when necessary.
22030 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
22031 (INTERNAL_VSYSCALL_NCS): Likewise.
22032
c8835729
MP
220332011-07-14 Marek Polacek <mpolacek@redhat.com>
22034
22035 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
22036 * elf/dl-fini.c (_dl_fini): Adjust caller.
22037 * elf/dl-close.c (_dl_close_worker): Likewise.
22038 * sysdeps/generic/ldsodefs.h: Adjust declaration.
22039
b902330c
MP
220402011-07-15 Marek Polacek <mpolacek@redhat.com>
22041
8991e135
MP
22042 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
22043 "aux_cache->nlibs < 0".
22044
b902330c
MP
22045 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
22046 in the reload-count case.
22047
99710781
LD
220482011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22049
22050 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22051 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
22052 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
22053 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
22054 * sysdeps/x86_64/multiarch/strcat.S: New file.
22055 * sysdeps/x86_64/multiarch/strncat.S: New file.
22056 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
22057 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
22058 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
22059 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
22060 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
22061 (USE_AS_STRCAT): Define.
22062 Add strcat and strncat support.
22063 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22064 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22065 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
22066 * string/strncat.c: Update.
22067 (USE_AS_STRNCAT): Define.
22068 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22069 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
22070 and i7.
22071 * sysdeps/x86_64/multiarch/init-arch.h
22072 (bit_Prefer_PMINUB_for_stringop): New.
22073 (index_Prefer_PMINUB_for_stringop): Likewise.
22074 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
22075 bit_Prefer_PMINUB_for_stringop.
22076
7dc6bd90
UD
220772011-07-19 Ulrich Drepper <drepper@gmail.com>
22078
22079 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
22080 buffer64.
22081 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
22082 of casting of buffer.
22083 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
22084 buffer32 and buffer64.
22085 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
22086 writes instead of casting of buffer.
22087 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
22088 buffer32.
22089 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
22090 casting of buffer.
22091
e0e72284
AS
220922011-07-19 Andreas Schwab <schwab@redhat.com>
22093
22094 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
22095
feb1eb0b
UD
220962011-07-19 Ulrich Drepper <drepper@gmail.com>
22097
22098 * nscd/nscd.c (termination_handler): Don't do anything for a database
22099 if it has not yet been initialized.
22100
298711ff
UD
221012011-07-18 Ulrich Drepper <drepper@gmail.com>
22102
22103 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
22104
221052011-07-15 Marek Polacek <mpolacek@redhat.com>
22106
22107 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
22108
f9d68389
UD
221092011-07-18 Ulrich Drepper <drepper@gmail.com>
22110
22111 * po/nl.po: Update from translation team.
22112 * po/sv.po: Likewise.
22113
db290cf5
RM
221142011-07-16 Roland McGrath <roland@hack.frob.com>
22115
22116 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
22117 now disallowed by GCC.
5c550700 22118
fd5e21c7
RM
22119 * configure.in (use-default-link): Default to yes if a test -shared
22120 link meets our qualifications.
22121 * configure: Regenerated.
22122
5c550700
RM
22123 * config.make.in (output-format): New variable.
22124 * configure.in: Check for ld --print-output-format support.
22125 * configure: Regenerated.
22126 * Makerules ($(common-objpfx)format.lds)
22127 [$(output-format) != unknown]: Just use $(output-format),
22128 instead of the linker-script munging.
22129
9fa2c032
RM
221302011-07-14 Roland McGrath <roland@hack.frob.com>
22131
a6928d51
RM
22132 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
22133 of $(common-objpfx)shlib.lds.
22134 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
22135
661607b3
RM
22136 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
22137 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
22138
9fa2c032
RM
22139 * configure.in (-z relro check): Adjust test code to add a large
22140 writable data section after it.
22141 * configure: Regenerated.
22142
defe9061
RM
221432011-07-11 Roland McGrath <roland@hack.frob.com>
22144
22145 * configure.in (-z relro check): Fix test code to make the variable
22146 truly const.
22147 * configure: Regenerated.
22148
319b9ad4
UD
221492011-07-11 Ulrich Drepper <drepper@gmail.com>
22150
22151 * nscd/nscd.h (struct traced_file): Define.
22152 (struct database_dyn): Remove inotify_descr, reset_res, and filename
22153 elements. Add traced_files.
22154 (inotify_fd): Declare.
22155 (register_traced_file): Declare.
22156 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
22157 (inotify_fd): Export.
22158 (resolv_conf_descr): Remove.
22159 (nscd_init): Move inotify descriptor creation to main.
22160 Don't register files for notification here.
22161 (register_traced_file): New function.
22162 (invalidate_cache): Don't use reset_res to determine whether to call
22163 res_init, go through the list of registered files.
22164 (main_loop_poll): The inotify descriptors are now stored in the
22165 structures for the traced files.
22166 (main_loop_epoll): Likewise
22167 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
22168 to __nss_disable_nscd.
22169 * nscd/cache.c (prune_cache): There is no single inotify descriptor
22170 for a database anymore. Check the records for all the registered
22171 files instead.
22172 * nss/Makefile (libnss_files-routines): Add files-init.
22173 (libnss_db-routines): Add db-init.
22174 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
22175 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
22176 * nss/nss_db/db-init.c: New file.
22177 * nss/nss_files/files-init.c: New file.
22178 * nss/nsswitch.c (nss_load_library): New function. Broken out of
22179 __nss_lookup_function.
22180 (__nss_lookup_function): Call nss_load_library.
22181 (nss_load_all_libraries): New function.
22182 (__nss_disable_nscd): Take parameter with callback function for files
22183 to register. Set is_nscd. Load all the DSOs for the NSS modules
22184 used for the cached services.
22185 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
22186 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
22187 options for features to all the files in nscd.
22188
22189 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
22190
23bee3e8
RM
221912011-07-10 Roland McGrath <roland@hack.frob.com>
22192
22193 * csu/elf-init.c (__libc_csu_init): Comment typo.
22194
46a5b7f0
UD
221952011-07-09 Ulrich Drepper <drepper@gmail.com>
22196
22197 * po/pl.po: Update from translation team.
22198 * po/ja.po: Likewise.
22199 * po/ru.po: Likewise.
22200 * po/ko.po: Likewise.
22201 * po/fr.po: Likewise.
22202
d30cf5bb
RM
222032011-07-09 Roland McGrath <roland@hack.frob.com>
22204
113ddea4
RM
22205 * configure.in (.ctors/.dtors header and trailer check):
22206 Use an empirical test on a built program.
22207 * configure: Regenerated.
22208
574920b4
RM
22209 * configure.in (-z relro check): Use an empirical test on a built DSO.
22210 Detect, but do not require, on ia64.
22211 * configure: Regenerated.
22212
d30cf5bb
RM
22213 * configure.in (READELF): Find it with AC_CHECK_TOOL.
22214 Update tests that use readelf to use $READELF instead.
22215 * configure: Regenerated.
22216
8538fdb3
UD
222172011-07-08 Ulrich Drepper <drepper@gmail.com>
22218
22219 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
22220 if the result is not used.
22221
04d08991
AJ
222222011-07-05 Andreas Jaeger <aj@suse.de>
22223
22224 [BZ#9696]
22225 * stdlib/tst-strtod.c: Add testcase.
22226
de283087
AD
222272011-07-07 Ulrich Drepper <drepper@gmail.com>
22228
4e5f31c8 22229 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 22230 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
22231 The latter has a higher limit. Take additional parameter to pass to
22232 the new function.
22233 (__pathconf): Pass file to __statfs_link_max.
22234 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
22235 __statfs_link_max.
22236 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
22237 __statfs_link_max.
22238
de283087
AD
22239 [BZ #12868]
22240 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
22241 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22242 Handle Lustre.
22243 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
22244 (__statfs_filesize_max): Likewise.
22245 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
22246
c75fa153
AJ
222472011-07-05 Andreas Jaeger <aj@suse.de>
22248
22249 * resolv/res_comp.c (dn_skipname): Remove unused variable.
22250
1a544854
UD
222512011-07-06 Marek Polacek <mpolacek@redhat.com>
22252
22253 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
22254 `status' variable.
22255 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
22256 Likewise.
22257
6f0eec67
UD
222582011-07-04 H.J. Lu <hongjiu.lu@intel.com>
22259
22260 * Makefile (strop-tests): Add strncat.
22261 * string/test-strncat.c: New file.
22262
aae30307
UD
222632011-06-30 Marek Polacek <mpolacek@redhat.com>
22264
22265 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
22266
c0cfb5eb
UD
222672011-06-21 Andreas Jaeger <aj@suse.de>
22268
22269 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
22270 Copy rule from iconvdata/Makefile.
22271
01636b21
UD
222722011-07-06 Ulrich Drepper <drepper@gmail.com>
22273
22274 [BZ #12922]
22275 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
22276 but no long options are defined, just return 'W'.
22277
9895c8bc
UD
222782011-06-22 Marek Polacek <mpolacek@redhat.com>
22279
22280 [BZ #9696]
22281 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
22282
5d4cf042
UD
222832011-07-06 Ulrich Drepper <drepper@gmail.com>
22284
22285 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
22286 netgroups to read.
960e5535 22287 (innetgr): Likewise.
5d4cf042 22288
751eb97e
RM
222892011-07-05 Roland McGrath <roland@hack.frob.com>
22290
22291 * config.make.in (install_root): Default to $(DESTDIR).
22292
f15f1e45
UD
222932011-07-05 Ulrich Drepper <drepper@gmail.com>
22294
22295 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
22296
4e34ac6a
RM
222972011-07-02 Roland McGrath <roland@hack.frob.com>
22298
5e9b6af4
RM
22299 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
22300
84f9ea0f
RM
22301 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
22302 containing directory rather than embedding absolute directory names.
22303
ea5ee9f7
RM
22304 * scripts/check-local-headers.sh: Rewritten using awk.
22305 Match by word, not by line. Print error messages for matches.
22306 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
22307
1b74661a
RM
22308 * Makerules [shlib-lds-flags empty]:
22309 ($(common-objpfx)libc_pic.opts): New target.
22310 ($(common-objpfx)libc_pic.os.clean): New target.
22311 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
22312
22313 * config.make.in (OBJCOPY): New variable.
22314 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
22315 * configure: Regenerated.
22316
f781ef40
RM
22317 * config.make.in (use-default-link): New variable.
22318 * configure.in (use_default_link): Grok --with-default-link to set it.
22319 * configure: Regenerated.
22320 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
22321 (shlib-lds, shlib-lds-flags): Define to empty.
22322
2d4fa81e
RM
22323 * Makerules (shlib-lds): New variable.
22324 (shlib-lds-flags): New variable.
22325 (build-shlib, build-moduile, build-module-asneeded): Use it.
22326 ($(common-objpfx)libc.so): Use $(shlib-lds).
22327 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
22328 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
22329
31fffa6b
RM
22330 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
22331 DT_FLAGS/DT_FLAGS_1 with zero flags.
22332
4e34ac6a
RM
22333 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
22334 linker script munging.
22335
fcfc776b
UD
223362011-07-02 Ulrich Drepper <drepper@gmail.com>
22337
22338 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
22339 as 128-bit value.
22340 * crypt/sha512.c (sha512_process_block): Perform total addition using
22341 128-bit if possible.
22342 (__sha512_finish_ctx): Likewise.
22343 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
22344 as 64-bit value.
22345 * crypt/sha256.c (SWAP64): Define.
22346 (sha256_process_block): Perform total addition using 64-bit if
22347 possible.
22348 (__sha256_finish_ctx): Likewise.
22349
99231d9a
UD
223502011-07-01 Ulrich Drepper <drepper@gmail.com>
22351
22352 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
22353 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22354 * nscd/hstcache.c (cache_addhst): Likewise.
22355 * nscd/grpcache.c (cache_addgr): Likewise.
22356 * nscd/aicache.c (addhstaiX): Likewise
22357 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
22358
445b4a53
TK
223592011-07-01 Thorsten Kukuk <kukuk@suse.de>
22360
22361 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
22362 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22363 * nscd/hstcache.c (cache_addhst): Likewise.
22364 * nscd/grpcache.c (cache_addgr): Likewise.
22365 * nscd/aicache.c (addhstaiX): Likewise
22366
6d4d8e8e
AS
223672011-07-01 Andreas Schwab <schwab@redhat.com>
22368
22369 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
22370 domain only when needed.
22371
89f654c5
AS
223722011-06-30 Andreas Schwab <schwab@redhat.com>
22373
22374 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
22375 is always restored.
22376
cf3b23ff
UD
223772011-06-29 Ulrich Drepper <drepper@gmail.com>
22378
22379 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
22380 are re-adding the entry.
22381 * nscd/servicescache.c (cache_addserv): Likewise.
22382
751626f9
AJ
223832011-06-30 Aurelien Jarno <aurelien@aurel32.net>
22384
22385 * sysdeps/generic/dl-irel.h: fix protection against multiple
22386 inclusions.
22387 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
22388
9113ea1f
UD
223892011-06-28 Ulrich Drepper <drepper@gmail.com>
22390
5c0b8d90
UD
22391 [BZ #12935]
22392 * malloc/memusage.sh: Fix quoting in message.
22393 * debug/xtrace.sh: Likewise.
22394
9113ea1f
UD
22395 * configure.in: Remove support for --experimental-malloc option, make
22396 it the default.
22397 * config.make.in: Likewise.
22398 * malloc/Makefile: Likewise.
22399
a4172181
AS
224002011-06-27 Andreas Schwab <schwab@redhat.com>
22401
22402 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
22403 two-byte characters.
22404
78a7eee7
RM
224052011-06-27 Roland McGrath <roland@hack.frob.com>
22406
62bede13
RM
22407 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
22408 AC_CACHE_CHECK invocation.
22409 * configure: Regenerated.
22410
78a7eee7
RM
22411 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
22412
5ce33a62
UD
224132011-06-27 Ulrich Drepper <drepper@gmail.com>
22414
034807a9
UD
22415 [BZ #12350]
22416 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
22417 bit from old_res_options.
22418
4902da17
UD
22419 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
22420
5ce33a62
UD
22421 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
22422 value type for setfct.
22423
c2344f56
L
224242011-06-23 H.J. Lu <hongjiu.lu@intel.com>
22425
22426 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
22427 __gettimeofday instead of gettimeofday.
22428
68468076
UD
224292011-06-26 Ulrich Drepper <drepper@gmail.com>
22430
22431 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
22432
acb0d739
L
224332011-06-24 H.J. Lu <hongjiu.lu@intel.com>
22434
22435 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
22436
22437 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
22438 info.
22439
8912479f
L
224402011-06-22 H.J. Lu <hongjiu.lu@intel.com>
22441
22442 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22443 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
22444 strcpy-sse2-unaligned strncpy-sse2-unaligned
22445 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
22446 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
22447 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
22448 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
22449 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
22450 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
22451 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
22452 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
22453 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
22454 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
22455 (STRCPY): Support SSE2 and SSSE3 versions.
22456
d5495a11
UD
224572011-06-24 Ulrich Drepper <drepper@gmail.com>
22458
22459 [BZ #12874]
22460 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
22461 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
22462 kernels which artificially limit size of requests.
22463
0b1cbaae
L
224642011-06-22 H.J. Lu <hongjiu.lu@intel.com>
22465
22466 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22467 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
22468 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
22469 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
22470 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
22471 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
22472 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
22473 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
22474 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
22475 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
22476 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
22477 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
22478 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
22479 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
22480 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
22481 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22482 Enable unaligned load optimization for Intel Core i3, i5 and i7
22483 processors.
22484 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
22485 Define.
22486 (index_Fast_Unaligned_Load): Define.
22487 (HAS_FAST_UNALIGNED_LOAD): Define.
22488
07f494a0
MP
224892011-06-23 Marek Polacek <mpolacek@redhat.com>
22490
22491 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
22492
fa3fc0fe
UD
224932011-06-22 Ulrich Drepper <drepper@gmail.com>
22494
22495 [BZ #12907]
22496 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
22497 until it is clear that the information is realy needed.
22498 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
22499
e12df166
AS
225002011-06-22 Andreas Schwab <schwab@redhat.com>
22501
22502 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
22503
852eb34d
UD
225042011-06-22 Ulrich Drepper <drepper@gmail.com>
22505
84e2a551
UD
22506 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
22507 /sys/devices/system/cpu/online if it is usable.
22508
852eb34d
UD
22509 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
22510 reading the information from the /proc filesystem to once a second.
22511
6e502e19
UD
225122011-06-21 Andreas Jaeger <aj@suse.de>
22513
22514 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
22515 NULL after inclusion of kernel headers.
22516
75d39ff2
UD
225172011-06-21 Ulrich Drepper <drepper@gmail.com>
22518
51f9aa6a
UD
22519 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
22520 calls to internal_setent.
22521
c0244a9d
UD
22522 [BZ #12885]
22523 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
22524 addresses using gethostbyname4_r ignore IPv4 addresses.
22525
c5e3c2ae
UD
22526 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
22527 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
22528
75d39ff2
UD
22529 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
22530
42675c6f
DM
225312011-06-20 David S. Miller <davem@davemloft.net>
22532
22533 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
22534 inclusions.
22535 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
22536
22537 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
22538 (elf_irel): Use it.
22539 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
22540 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
22541 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
22542 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
22543 * sysdeps/x86_64/dl-irel.h: Likewise.
22544
22545 * elf/dl-runtime.c: Use elf_ifunc_invoke.
22546 * elf/dl-sym.c: Likewise.
22547
57912a71
UD
225482011-06-15 Ulrich Drepper <drepper@gmail.com>
22549
22550 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
22551 need to dereference resplen2.
22552
ee22793d
AS
225532011-06-14 Andreas Schwab <schwab@redhat.com>
22554
22555 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
22556
a9e836b0
UD
225572011-06-15 Ulrich Drepper <drepper@gmail.com>
22558
77fb9117
UD
22559 * Makeconfig: Define vardbdir and inst_vardbdir.
22560 * nss/Makefile: Add rules to install db-Makefile.
22561
40c1b22c
UD
22562 * nss/nss_db/db-XXX.c: Cleanup.
22563
9f2da732
UD
22564 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
22565 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
22566 GLIBC_PRIVATE.
22567 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
22568 * nss/makedb.c: Implement -g option to specify that value strings
22569 are generated and should not be added to table iterated over for
22570 get*ent calls.
22571 * nss/nss_db/db-initgroups.c: New file.
22572
82e9a1f7
UD
22573 * nss/getent.c: Add support for initgroups lookups through getgrouplist
22574 interface.
22575
c41af17e
UD
22576 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
22577 (internal_getgrouplist): Adjust to name change.
22578 Update use_initgroups_entry if this is not the first call.
22579 * nss/databases.def: Add initgroups entry.
22580
a9e836b0
UD
22581 * nss/makedb.c (compute_tables): Check result of multiple hash table
22582 sizes to minimize maximum chain length.
22583
2666d441
UD
225842011-06-14 Ulrich Drepper <drepper@gmail.com>
22585
22586 * Versions.def: Add entry for libnss_db.
22587 * shlib-versions: Likewise.
22588 * nss/Makefile: Add rules to build libnss_db.
22589 * nss/Versions: Add libnss_db information. Organize libnss_files
22590 entries better.
22591 * nss/db-Makefile: Add gshadow support. Change rules for the new
22592 makedb progra. Some minor improvements to generate smaller files.
22593 * nss/nss_db/nss_db.h: Move NSS database header data structures to
22594 here from...
22595 * nss/makedb.c: ...here.
22596 Improve database format to be smaller and require less memory at
22597 runtime.
22598 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
22599 db anymore.
22600 * nss/nss_db/db-netgrp.c: Likewise.
22601 * nss/nss_db/db-open.c: Likewise.
22602 * nss/nss_files/flies-XXX.x: Adjust comments.
22603 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
22604 * nss/nss_files/files-grp.c: Likewise.
22605 * nss/nss_files/files-hosts.c: Likewise.
22606 * nss/nss_files/files-network.c: Likewise.
22607 * nss/nss_files/files-proto.c: Likewise.
22608 * nss/nss_files/files-pwd.c: Likewise.
22609 * nss/nss_files/files-rpc.c: Likewise.
22610 * nss/nss_files/files-service.c: Likewise.
22611 * nss/nss_files/files-sgrp.c: Likewise.
22612 * nss/nss_files/files-spwd.c: Likewise.
22613 * nss/nss_db/db-alias.c: Removed.
22614 * nss/nss_db/dummy-db.h: Removed.
22615
9ee76b5a
UD
226162011-06-02 Ulrich Drepper <drepper@gmail.com>
22617
22618 * nss/makedb.c: Rewritten to not use database library.
22619 * nss/Makefile: Update to build new makedb program.
22620
c71ca1f8
AJ
226212011-06-14 Andreas Jaeger <aj@suse.de>
22622
22623 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
22624 memset declaration.
22625
3154bfb8
UD
226262011-06-10 Andreas Schwab <schwab@redhat.com>
22627
22628 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
22629 tmpbuf.
22630
b350afab
RM
226312011-06-10 Roland McGrath <roland@hack.frob.com>
22632
decd4e50
RM
22633 * Makerules (shlib.lds): Fail if the linker script comes out empty.
22634 * elf/Makefile ($(objpfx)ld.so): Likewise.
22635
5615eaf2
RM
22636 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
22637 Don't list ld.so twice in dependencies.
22638
22639 * posix/bug-regex31.c: Include <stdlib.h>.
22640
22641 * nscd/hstcache.c (cache_addhst): Remove unused variable.
22642
22643 * nis/nss_compat/compat-spwd.c
22644 (getspent_next_nss_netgr): Remove unused variable.
22645 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
22646
22647 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
22648 nonmembers" output to use the right array.
22649
22650 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
22651
22652 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
22653
22654 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
22655 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
22656 * catgets/gencat.c (read_input_file): Likewise.
22657 * locale/programs/locarchive.c (enlarge_archive): Likewise.
22658
22659 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
22660 variable definition inside #if's controlling its use.
22661
22662 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
22663
22664 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
22665
22666 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
22667
22668 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
22669 unreachable code.
22670
22671 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
22672
b68e08db
RM
22673 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
22674 * configure: Regenerated.
22675
b350afab
RM
22676 * Makerules: Revert last change.
22677 * elf/Makefile: Likewise.
22678
28368601
RM
226792011-06-09 Roland McGrath <roland@hack.frob.com>
22680
22681 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
22682 * elf/Makefile ($(objpfx)librtld.os): Likewise.
22683 (reloc-link): Likewise.
22684
11988f8f
UD
226852011-06-09 Ulrich Drepper <drepper@gmail.com>
22686
22687 * elf/Makefile: Add rules to build pldd.
22688 * elf/pldd.c: New file.
22689 * elf/pldd-xx.c: New file.
22690
e80fab37
UD
226912011-06-07 Ulrich Drepper <drepper@gmail.com>
22692
22693 * version.h: Update for 2.15 development version.
22694
9b849836
DM
226952011-06-07 David S. Miller <davem@davemloft.net>
22696
22697 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
22698 ifuncs.
22699 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
22700 elf_machine_lazy_rel): Likewise.
22701 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
22702 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
22703 elf_machine_lazy_rel): Likewise.
22704 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
22705 dl_hwcap via passed in argument.
22706 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
22707 Likewise.
22708
5a31b283
AK
227092011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22710
22711 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
22712
069e52f8
RM
227132011-06-06 Roland McGrath <roland@hack.frob.com>
22714
22715 [BZ #12849]
22716 * manual/fdl-1.1.texi: New file, verbatim from:
22717 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
22718 * manual/lgpl-2.1.texi: New file, verbatim from:
22719 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
22720 * manual/Makefile (licenses): New variable, list those new file names.
22721 (texis): Use it.
22722 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
22723
22724 * manual/fdl.texi: File removed.
22725 * manual/lesser.texi: File removed.
22726 * manual/libc.texinfo (Copying, Documentation License):
22727 Use new @include file names, put @appendix directive before @include.
22728
f16846a5
JJ
227292011-06-04 Jakub Jelinek <jakub@redhat.com>
22730
22731 [BZ #12841]
22732 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
22733 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
22734 (mq_open): Add __NTH.
22735
3d29045b
L
227362011-06-02 H.J. Lu <hongjiu.lu@intel.com>
22737
22738 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22739 Assume Intel Core i3/i5/i7 processor if AVX is available.
22740
8c297311
UD
227412011-05-31 Ulrich Drepper <drepper@gmail.com>
22742
22743 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22744 typo.
22745
c8fc0c91
UD
227462011-05-31 Andreas Schwab <schwab@redhat.com>
22747
22748 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
22749 memory. Use alloca_account. Fix memory leak when retrying.
22750
5b27a807
UD
227512011-05-31 Ulrich Drepper <drepper@gmail.com>
22752
356f8bc6
UD
22753 * version.h (RELEASE): Bump for 2.14 release.
22754 * include/features.h (__GLIBC_MINOR__): Bump to 14.
22755
5b27a807
UD
22756 * config.make.in (RANLIB): Remove entry.
22757
01f16ab0
UD
227582011-05-30 Ulrich Drepper <drepper@gmail.com>
22759
41fce8bd
UD
22760 * po/Makefile (po-sed-cmd): Add ksh to extensions.
22761 (libc.pot): Work around missing support for .ksh extension in xgettext.
22762
4769ae77
UD
22763 [BZ #12684]
22764 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
22765 if both request failed.
22766 (send_dg): In case of server errors clear resplen or *resplen2.
22767
6b1e7d19
UD
22768 [BZ #12454]
22769 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
22770 when there are multiple maps.
22771 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
22772 (_dl_fini): Remove test here.
22773
01f16ab0
UD
22774 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
22775
b1ebd700
UD
227762011-05-29 Ulrich Drepper <drepper@gmail.com>
22777
7ae22829
UD
22778 [BZ #12350]
22779 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
22780 bit from old_res_options.
22781 (gaih_inet): Likewise.
22782
553149f6 22783 [BZ #11099]
18a84741 22784 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
22785 as signed.
22786
652ffab1
UD
22787 * resolv/res_init.c (res_setoptions): Make the code more compact.
22788
16985fd0
UD
22789 [BZ #11558]
22790 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
22791 set RES_USEVC.
22792
0464f746
UD
22793 [BZ #11634]
22794 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
22795
7d17596c
UD
22796 * malloc/malloc.h: Mark malloc hook variables as deprecated.
22797
cf6bbbd7
UD
22798 [BZ #11781]
22799 * malloc/malloc.h: Declare malloc hook variables as volatile.
22800
13f1ab36
UD
22801 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
22802 in last patch.
22803
b1ebd700
UD
22804 [BZ #11799]
22805 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 22806 raise in the comment.
80e2212d
UD
22807 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
22808 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22809 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 22810
ce67228d
UD
228112011-05-28 Ulrich Drepper <drepper@gmail.com>
22812
8887a920
UD
22813 [BZ #12811]
22814 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
22815 grow the buffers more if it already has to be sufficient.
22816 (build_wcs_upper_buffer): Likewise.
22817 * posix/regexec.c (check_matching): Likewise.
22818 (clean_state_log_if_needed): Likewise.
22819 (extend_buffers): Don't enlarge buffers beyond size of the input
22820 buffer.
22821 Patches mostly by Emil Wojak <emil@wojak.eu>.
22822 * posix/bug-regex32.c: New file.
22823 * posix/Makefile (tests): Add bug-regex32.
22824
4f031072
UD
22825 * locale/findlocale.c (_nl_find_locale): Return right away if
22826 _nl_explode_name failed.
22827 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
22828
d0478f0c
UD
22829 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
22830
de81b246
UD
22831 * debug/xtrace.sh: Unify messages.
22832 * malloc/memusage.sh: Likewise.
22833
c738465a
UD
22834 [BZ #12813]
22835 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
22836 time symbol from vDSO. Substitute with vsyscall if not available.
22837 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
22838 __vdso_time.
22839
f1f929d7
UD
22840 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
22841 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
22842 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
22843 Add sendmmsg and internal_sendmmsg.
22844 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
22845 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
22846 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
22847
ce67228d
UD
22848 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
22849 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
22850 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
22851
e57420c6
UD
228522011-05-27 Ulrich Drepper <drepper@gmail.com>
22853
a8509ca5
UD
22854 [BZ #12813]
22855 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
22856 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
22857 available.
22858 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
22859 __vdso_getcpu.
22860
e57420c6
UD
22861 [BZ #12814]
22862 * iconvdata/Makefile (tests): Add bug-iconv9.
22863 * iconvdata/bug-iconv9.c: New file.
22864
4d07db15
AS
228652011-05-27 Andreas Schwab <schwab@redhat.com>
22866
22867 [BZ #12814]
22868 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
22869
ea486f69
JJ
228702011-05-25 Jakub Jelinek <jakub@redhat.com>
22871
22872 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
22873 (struct user_regs_struct): Change intcs field back to cs.
22874
6f038433
UD
228752011-05-25 Ulrich Drepper <drepper@gmail.com>
22876
22877 * po/ja.po: Update from translation team.
22878
67f86a25
UD
228792011-05-23 Ulrich Drepper <drepper@gmail.com>
22880
22881 [BZ #12795]
22882 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
22883 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
22884
def7fbd6
AS
228852011-05-20 Andreas Schwab <schwab@redhat.com>
22886
22887 * stdlib/longlong.h: Update from GCC.
22888
f50ef8f1
AS
228892011-05-23 Andreas Schwab <schwab@redhat.com>
22890
22891 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
22892 parameter name.
22893 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
22894 Add parameter name.
22895 (__sysconf): Pass it down.
22896
de7ce8f1
UD
228972011-05-22 Ulrich Drepper <drepper@gmail.com>
22898
f2962a71
UD
22899 [BZ #12671]
22900 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
22901 some situations.
22902 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
22903 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
22904 add in in __libc_use_alloca calls. Adjust callers.
22905 (glob): Use malloc in some situations.
22906
de7ce8f1
UD
22907 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
22908 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
22909 pltexit.
22910
aec84f53
UD
229112011-05-21 Ulrich Drepper <drepper@gmail.com>
22912
05bb4a68
UD
22913 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
22914 and CLOCK_BOOTTIME_ALARM.
22915
7ea72f99
UD
22916 [BZ #12782]
22917 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
22918 is returned.
22919
7e4afad5
UD
22920 * string/_strerror.c (__strerror_r): Print negative errors as signed
22921 numbers.
22922
8e211fec
UD
22923 [BZ #12777]
22924 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
22925 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
22926 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
22927
f7d82dc9
UD
22928 * configure.in: Fix typo in redirection and correct removal of test
22929 files in two cases.
22930
cc9e536d
UD
22931 [BZ #12788]
22932 * locale/setlocale.c (new_composite_name): Fix test to check for
22933 identical name of all categories.
22934
aec84f53
UD
22935 [BZ #12792]
22936 * libio/filedoalloc.c (local_isatty): New function.
22937 (_IO_file_doallocate): Use local_isatty.
22938 * stdio-common/perror.c (perror): In case a new stream is used
22939 forward the stream error.
22940 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
22941 error flag.
22942
78e64fdc
RT
229432011-05-20 Ulrich Drepper <drepper@gmail.com>
22944
34a9094f
UD
22945 [BZ #11869]
22946 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
22947 alloca.
22948 * include/alloca.h (extend_alloca_account): Define.
22949
78e64fdc
RT
22950 [BZ #11857]
22951 * posix/regex.h: Fix comments with documentation of user-accessible
22952 fields after compilation and describe correct free'ing of pattern
22953 after re_compile_pattern.
22954 Patch by Reuben Thomas <rrt@sc3d.org>.
22955
457bddfc
RA
229562011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
22957
22958 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
22959 and -mno-altivec to prevent the compiler from using Altivec and/or
22960 VSX instructions when the corresponding registers are not available.
22961
a4527b51
AS
229622011-05-19 Andreas Schwab <schwab@redhat.com>
22963
22964 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
22965
ed690b2f
UD
229662011-05-19 Ulrich Drepper <drepper@gmail.com>
22967
22968 * libio/freopen.c (freopen): Use __dup2, not dup2.
22969 * libio/freopen64.c (freopen64): Likewise.
22970
8db73634
L
229712011-05-17 H.J. Lu <hongjiu.lu@intel.com>
22972
22973 [BZ #12775]
22974 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
22975 * math/Makefile (tests): Add test-powl.
22976 (CFLAGS-test-powl.c): Define.
22977 * math/test-powl.c: New file.
22978
0a197a9d
L
229792011-05-16 H.J. Lu <hongjiu.lu@intel.com>
22980
22981 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
22982
ee30c380
UD
229832011-05-17 Ulrich Drepper <drepper@gmail.com>
22984
22985 [BZ #11837]
22986 * iconvdata/gb18030.c: Update to GB18020-2005.
22987
6ce75379
UD
229882011-05-16 Ulrich Drepper <drepper@gmail.com>
22989
a4b89fd8
AR
22990 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
22991 RE_SYNTAX_POSIX_AWK): Update to match recent development.
22992 Patch by Aharon Robbins <arnold@skeeve.com>.
22993
ea389b12
UD
22994 [BZ #11892]
22995 * stdlib/putenv.c (putenv): Don't always create copy of the variable
22996 on the stack.
22997
68a3f91f
UD
22998 [BZ #11895]
22999 * misc/pselect.c (__pselect): Handle timeout value errors hidden
23000 through underflows.
23001
15cc7dd1
UD
23002 [BZ #12766]
23003 * misc/error.c (error_at_line): Ensure file_name and old_file_name
23004 point to strings before performing equality test for error_one_per_line
23005 mode.
23006
f3799213
UD
23007 [BZ #11697]
23008 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
23009
d79a9c94
UD
23010 [BZ #11820]
23011 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
23012 (struct user_fpregs_struct): Avoid __uint*_t types.
23013
56e5eb46
UD
23014 [BZ #6420]
23015 * malloc/mtrace.c (tr_where): Add additional parameter to point to
23016 symbol info. Use it instead of calling _dl_addr locally.
23017 (lock_and_info): New function.
23018 (tr_freehook): Call lock_and_info and pass symbol info as additional
23019 parameter to tr_where.
23020 (tr_mallochook): Likewise.
23021 (tr_reallochook): Likewise.
23022 (tr_memalignhook): Likewise.
23023
6ce75379
UD
23024 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
23025 used and couldn't be at all thread-safe.
23026
f8a3b5bf
UD
230272011-05-15 Ulrich Drepper <drepper@gmail.com>
23028
94b7cc37
UD
23029 * libio/freopen.c (freopen): Don't close old file descriptor
23030 before the new one is opened. Instead dup the new file descriptor
23031 to the old one after the new stream is created.
23032 * libio/freopen64.c (freopen64): Likewise.
23033 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
23034 * libio/fileops.c (_IO_new_file_close_it): Handle new
23035 _IO_FLAGS2_NOCLOSE flag.
23036 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
23037 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
23038 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
23039 _IO_FLAGS2_NOCLOSE flag.
23040 * include/unistd.h: Add hidden_proto for dup3.
23041 Define __have_dup3.
23042 * io/dup3.c: Define hidden symbol.
23043 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
23044
bd25564e
UD
23045 [BZ #7101]
23046 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
23047 when an incomplete long option is used.
23048 * posix/tst-getopt_long1.c: New file.
23049 * posix/Makefile (tests): Add tst-getopt_long1.
23050
c84cfef4
UD
23051 [BZ #10138]
23052 * scripts/config.guess: Update from autoconf-2.68.
23053 * scripts/config.sub: Likewise.
23054
3b85df27
UD
23055 [BZ #10157]
23056 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
23057 tests into ...
23058 (has_cpuclock): ...this. New function.
23059 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
23060 macro here based on has_cpuclock code.
23061
15a856b1
UD
23062 [BZ #10149]
23063 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23064 First byte (not low byte) is now always NUL.
23065 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
23066
05f399e6
UD
23067 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23068 Use non-cancelable interfaces.
23069
10a52685 23070 [BZ #9809]
94ecc67d
UD
23071 * locale/iso-639.def: Add entry for Sorani.
23072
f8a3b5bf
UD
23073 [BZ #11901]
23074 * include/stdlib.h: Move include protection to the right place.
23075 Define abort_msg_s. Declare __abort_msg with it.
23076 * stdlib/abort.c (__abort_msg): Adjust type.
23077 * assert/assert.c (__assert_fail_base): New function. Majority
23078 of code from __assert_fail. Allocate memory for __abort_msg with
23079 mmap.
23080 (__assert_fail): Now call __assert_fail_base.
23081 * assert/assert-perr.c: Remove bulk of implementation. Use
23082 __assert_fail_base.
23083 * include/assert.hL Declare __assert_fail_base.
23084 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
23085 mmap.
23086 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
23087
1af4e298
UD
230882011-05-14 Ulrich Drepper <drepper@gmail.com>
23089
f8a3b5bf 23090 [BZ #11952]
d26dfc60
MG
23091 [BZ #12453]
23092 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
23093 until all modules are registered in the DTV.
23094 * elf/Makefile: Add rules to build and run tst-tls19.
23095 * elf/tst-tls19.c: New file.
23096 * elf/tst-tls19mod1.c: New file.
23097 * elf/tst-tls19mod2.c: New file.
23098 * elf/tst-tls19mod3.c: New file.
23099 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
23100
2fc54d6f
UD
23101 [BZ #12083]
23102 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
23103 correctly.
23104
98d76b46
UD
23105 [BZ #12601]
23106 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
23107 two-byte sequence errors.
23108 * iconvdata/Makefile (tests): Add bug-iconv8.
23109 * iconvdata/bug-iconv8.c: New file.
23110
da3c19ef
UD
23111 [BZ #12626]
23112 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
23113 buf2 definition.
23114
ca408c15
UD
23115 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
23116
d6f67f7d
UD
23117 [BZ #12432]
23118 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
23119 (dummy_getcfa): New function.
23120 (init): Get _Unwind_GetCFA address, use dummy if not found.
23121 (backtrace_helper): In recursion check, also check whether CFA changes.
23122 (__backtrace): Completely initialize arg.
23123
1af4e298 23124 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
23125 storing incomplete byte sequence in state object. Avoid testing for
23126 guaranteed too small input if we know there is enough data available.
1af4e298 23127
da62f81b
AS
231282011-05-11 Andreas Schwab <schwab@redhat.com>
23129
23130 * Makeconfig (+link-pie): Indent.
23131 * Rules (binaries-pie): Define if $(have-fpie) and
23132 $(build-shared).
23133 (binaries-shared): Also filter out $(binaries-pie).
23134 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
23135 * nscd/Makefile (others-pie): Add nscd.
23136 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
23137 ($(objpfx)nscd): Remove command override.
23138 * login/Makefile (others-pie): Add pt_chown.
23139 ($(objpfx)pt_chown): Remove command override.
23140 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
23141 remove command overrides.
23142
fcabc0f8
UD
231432011-05-13 Ulrich Drepper <drepper@gmail.com>
23144
20030ae6
UD
23145 * libio/tst_putwc.c: Fix error messages.
23146
fcabc0f8
UD
23147 [BZ #12724]
23148 * libio/fileops.c (_IO_new_file_close_it): Always flush when
23149 currently writing and seek to current position when not.
23150 * libio/Makefile (tests): Add bug-fclose1.
23151 * libio/bug-fclose1.c: New file.
23152
320a5dc0
PB
231532011-05-12 Ulrich Drepper <drepper@gmail.com>
23154
23155 [BZ #12511]
23156 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
23157 don't set DF_1_NODELETE here.
23158 (do_lookup_x): When entering new entry test for copy relocation
23159 and if necessary set DF_1_NODELETE flag.
23160 * elf/tst-unique4.cc: New file.
23161 * elf/tst-unique4.h: New file.
23162 * elf/tst-unique4lib.cc: New file.
23163 * elf/Makefile: Add rules to build and run tst-unique4.
23164 Patch by Piotr Bury <pbury@goahead.com>.
23165
22836f52
UD
231662011-05-11 Ulrich Drepper <drepper@gmail.com>
23167
f574184a
UD
23168 [BZ #12052]
23169 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
23170
e1fb097f
UD
23171 [BZ #12625]
23172 * misc/mntent_r.c (addmntent): Flush the stream after the output
23173
22836f52
UD
23174 [BZ #12393]
23175 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
23176 (is_trusted_path_normalize): Skip initial colon. Append slash
23177 to empty buffer. Duplicate is_trusted_path code but allow
23178 constructed patch to be prefix.
23179 (is_dst): Allow $ORIGIN followed by /.
23180 (_dl_dst_substitute): Correct clearing of check_for_trusted.
23181 Correct testing of result of is_trusted_path_normalize
23182 (decompose_rpath): Fix warning.
23183
7b3b0b2a
UD
231842011-05-10 Ulrich Drepper <drepper@gmail.com>
23185
23186 [BZ #11257]
23187 * grp/initgroups.c (internal_getgrouplist): When we found the service
23188 list through the initgroups entry in nsswitch.conf do not always
23189 continue on a successful lookup. Don't always use the
eac80ce2 23190 __nss_group_database value if it is set.
7b3b0b2a
UD
23191 * nss/nsswitch.conf (initgroups): Change action for successful db
23192 lookup to continue for compatibility.
23193
2a81eaa5
UD
231942011-05-09 Ulrich Drepper <drepper@gmail.com>
23195
be97a69e
UD
23196 [BZ #11532]
23197 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
23198 and CP774 modules.
23199 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
23200 and CP774 modules.
23201 * iconvdata/tst-tables.sh: Likewise.
23202 * iconvdata/cp770.c: New file.
23203 * iconvdata/cp771.c: New file.
23204 * iconvdata/cp772.c: New file.
23205 * iconvdata/cp773.c: New file.
23206 * iconvdata/cp774.c: New file.
23207 * iconvdata/testdata/CP770: New file.
23208 * iconvdata/testdata/CP770..UTF8: New file.
23209 * iconvdata/testdata/CP771: New file.
23210 * iconvdata/testdata/CP771..UTF8: New file.
23211 * iconvdata/testdata/CP772: New file.
23212 * iconvdata/testdata/CP772..UTF8: New file.
23213 * iconvdata/testdata/CP773: New file.
23214 * iconvdata/testdata/CP773..UTF8: New file.
23215 * iconvdata/testdata/CP774: New file.
23216 * iconvdata/testdata/CP774..UTF8: New file.
23217
23218 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
23219 END CHARMAP line.
23220 * iconvdata/gen-8bit-gap.sh: Likewise.
23221 * iconvdata/gen-8bit.sh: Likewise.
23222
c1e9e399
UD
23223 * locale/iso-639.def: Add ary entry.
23224
24c55fb3 23225 [BZ #11258]
96b4b1b0
UD
23226 * locale/C-translit.h.in: Add U20A1 transliteration.
23227
bdc2f971
KB
23228 [BZ #12178]
23229 * locale/iso-639.def: Add wae entry.
23230 Patch by Kevin Bortis <bortis@translate-wae.ch>.
23231
2952b117
UD
23232 [BZ #12545]
23233 * locale/programs/localedef.c (construct_output_path): Use ssize_t
23234 for n.
23235
2a81eaa5
UD
23236 [BZ #12711]
23237 * locale/C-translit.h.in: Add entry for U20B9.
23238 Patch by pravin.d.s@gmail.com.
23239
28377d1b
UD
232402011-05-08 Ulrich Drepper <drepper@gmail.com>
23241
7fb90fb8
UD
23242 [BZ #12713]
23243 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
23244 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
23245 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
23246 in rtld. Use *stat64.
7fb90fb8 23247 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 23248 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 23249 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
23250 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
23251 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
23252 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
23253 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
23254 __fstatat64 macros.
7fb90fb8
UD
23255 * include/dirent.h: Add libc_hidden_proto for rewinddir.
23256 * dirent/rewinddir.c: Add libc_hidden_def.
23257 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 23258 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 23259
28377d1b
UD
23260 * include/dirent.h (__alloc_dir): Add flags parameter.
23261 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
23262 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
23263 __alloc_dir.
23264 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
23265 from fdopendir if O_CLOEXEC is already set.
23266
66bdbaa4
AM
232672011-03-15 Alan Modra <amodra@gmail.com>
23268
23269 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
23270 l_tls_firstbyte_offset non-zero. Save padding offset in
23271 l_tls_firstbyte_offset for later use.
23272 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
23273 freeing static tls block.
23274
95721191
JN
232752011-03-05 Jonathan Nieder <jrnieder@gmail.com>
23276
23277 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
23278 where #ifdef was intended. The intent is to prevent ARG_MAX from
23279 being defined by the kernel headers.
23280
f87dfb1f
UD
232812011-05-07 Ulrich Drepper <drepper@gmail.com>
23282
23283 [BZ #12734]
23284 * resolv/resolv.h: Define RES_NOTLDQUERY.
23285 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
23286 no-tld-query and set RES_NOTLDQUERY.
23287 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
23288 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
23289 modern BIND to search name as TLD unless forbidden.
23290
47c3cd7a
UD
232912011-05-07 Petr Baudis <pasky@suse.cz>
23292 Ulrich Drepper <drepper@gmail.com>
23293
23294 [BZ #12393]
23295 * elf/dl-load.c (fillin_rpath): Move trusted path check...
23296 (is_trusted_path): ...to here.
c1e9ea35 23297 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 23298 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 23299 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 23300
8a35c912
PP
233012011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23302
23303 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
23304 __BEGIN/__END_DECLS.
23305
acd41f47
UD
233062011-05-06 Ulrich Drepper <drepper@gmail.com>
23307
23308 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
23309 NSS_STATUS_NOTFOUND if no record was found.
23310
597df647
AS
233112011-05-05 Andreas Schwab <schwab@redhat.com>
23312
23313 * sunrpc/Makefile (headers): Add rpc/netdb.h.
23314 (headers-not-in-tirpc): Remove rpc/netdb.h
23315 * resolv/netdb.h: Revert last change.
23316
b9af1301
PP
233172011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23318
23319 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
23320 circular dependency between libgcc.a and libc.a.
23321
4e34d5f5
AS
233222011-05-05 Andreas Schwab <schwab@redhat.com>
23323
23324 * resolv/netdb.h: Don't include <rpc/netdb.h>.
23325 * nis/Makefile: Don't install rpcsvc/*.
23326 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
23327 instead of <rpc/types.h>.
23328 (MAXHOSTNAMELEN): Define.
23329
00ee369c
AS
233302011-05-03 Andreas Schwab <schwab@redhat.com>
23331
23332 * elf/ldconfig.c (add_dir): Don't crash on empty path.
23333
0b592a30
MB
233342011-04-28 Maciej Babinski <mbabinski@google.com>
23335
23336 [BZ #12714]
23337 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
23338 gethostbyname4_r when IPv6 results are possible.
23339
6e04cbbe
UD
233402011-05-02 Ulrich Drepper <drepper@gmail.com>
23341
23342 [BZ #12723]
23343 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
23344 _PC_PIPE_BUF handling.
23345
e4ecafe0
BH
233462011-04-30 Bruno Haible <bruno@clisp.org>
23347
23348 [BZ #12717]
23349 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
23350 * resolv/netdb.h (getnameinfo): Change type of flags parameter
23351 to 'int'.
23352 * inet/getnameinfo.c (getnameinfo): Likewise.
23353
125ee683
UD
233542011-04-29 Ulrich Drepper <drepper@gmail.com>
23355
23356 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
23357 to groups setting in database lookup.
23358 * nss/nsswitch.conf: Add initgroups entry.
23359
b722481a
EB
233602011-04-22 Ulrich Drepper <drepper@gmail.com>
23361
23362 [BZ #12685]
23363 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
23364 mode string.
23365 Patch by Eric Blake <eblake@redhat.com>.
23366
4df46dbd
L
233672011-04-20 H.J. Lu <hongjiu.lu@intel.com>
23368
23369 * sunrpc/Makefile (need-export-routines): Add svc_run.
23370 (routines): Remove svc_run.
23371 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
23372 * sunrpc/clnt_perr.c (clnt_perrno): Export.
23373 * sunrpc/svc_run.c (svc_run): Likewise.
23374 * sunrpc/svc_udp.c (svcudp_create): Likewise.
23375
e84142d2
UD
233762011-04-21 Ulrich Drepper <drepper@gmail.com>
23377
23378 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
23379 problem in reallocation in last patch.
23380
877175d8
UD
233812011-04-20 Ulrich Drepper <drepper@gmail.com>
23382
23383 * sunrpc/Makefile: Move inclusion of Rules.
23384
ab8eed78
UD
233852011-04-19 Ulrich Drepper <drepper@gmail.com>
23386
23387 * nss/nss_files/files-initgroups.c: New file.
23388 * nss/Makefile (libnss_files-routines): Add files-initgroups.
23389 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
23390 _nss_files_initgroups_dyn.
23391
e3d8f584
RS
233922011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
23393
23394 * elf/elf.h (R_ARM_IRELATIVE): Define.
23395
af190f45
UD
233962011-04-19 Ulrich Drepper <drepper@gmail.com>
23397
23398 * po/ru.po: Update from translation team.
23399
53cf59ef
UD
234002011-04-17 Ulrich Drepper <drepper@gmail.com>
23401
23402 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
23403 dependencies.
23404
4c559bcd
MF
234052011-02-06 Mike Frysinger <vapier@gentoo.org>
23406
23407 [BZ #12653]
23408 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
23409 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
23410 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
23411 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23412 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23413
4420675c
AS
234142011-03-28 Andreas Schwab <schwab@linux-m68k.org>
23415
23416 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
23417 differing bytes.
23418 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23419 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23420 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23421
75ea32ab
UD
234222011-04-17 Ulrich Drepper <drepper@gmail.com>
23423
23424 [BZ #12420]
23425 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
23426 storing it.
23427 * stdlib/bug-getcontext.c: New file.
23428 * stdlib/Makefile: Add rules to build and run bug-getcontext.
23429
27390476
AK
234302011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23431
23432 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
23433 instructions into .machine "z9-109".
23434 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
23435 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
23436
10442705
AK
234372011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23438
23439 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
23440 between environment variables and auxiliary vector.
23441
7b57bfe5
UD
234422011-04-16 Ulrich Drepper <drepper@gmail.com>
23443
23444 * Makefile: Add rules to build linkobj/libc.so.
23445 * include/libc-symbols.h: Define libc_hidden_nolink.
23446 * include/rpc/auth.h: Mark functions which are to be hidden.
23447 * include/rpc/auth_des.h: Likewise.
23448 * include/rpc/auth_unix.h: Likewise.
23449 * include/rpc/clnt.h: Likewise.
23450 * include/rpc/des_crypt.h: Likewise.
23451 * include/rpc/key_prot.h: Likewise.
23452 * include/rpc/pmap_clnt.h: Likewise.
23453 * include/rpc/pmap_prot.h: Likewise.
23454 * include/rpc/pmap_rmt.h: Likewise.
23455 * include/rpc/rpc_msg.h: Likewise.
23456 * include/rpc/svc.h: Likewise.
23457 * include/rpc/svc_auth.h: Likewise.
23458 * include/rpc/xdr.h: Likewise.
23459 * nis/Makefile: Link all DSOs against linkobj/libc.so.
23460 * nss/Makefile: Likewise.
23461 * sunrpc/Makefile: Don't install headers. Build library with normal
23462 entry points. Don't build rpcinfo. Link RPC tests appropriately.
23463 * sunrpc/auth_des.c: Hide exported symbols by default, export some
23464 for the compat linking library. Remove use of INTDEF/INTUSE.
23465 * sunrpc/auth_none.c: Likewise.
23466 * sunrpc/auth_unix.c: Likewise.
23467 * sunrpc/authdes_prot.c: Likewise.
23468 * sunrpc/authuxprot.c: Likewise.
23469 * sunrpc/clnt_gen.c: Likewise.
23470 * sunrpc/clnt_perr.c: Likewise.
23471 * sunrpc/clnt_raw.c: Likewise.
23472 * sunrpc/clnt_simp.c: Likewise.
23473 * sunrpc/clnt_tcp.c: Likewise.
23474 * sunrpc/clnt_udp.c: Likewise.
23475 * sunrpc/clnt_unix.c: Likewise.
23476 * sunrpc/des_crypt.c: Likewise.
23477 * sunrpc/des_soft.c: Likewise.
23478 * sunrpc/get_myaddr.c: Likewise.
23479 * sunrpc/key_call.c: Likewise.
23480 * sunrpc/key_prot.c: Likewise.
23481 * sunrpc/netname.c: Likewise.
23482 * sunrpc/pm_getmaps.c: Likewise.
23483 * sunrpc/pm_getport.c: Likewise.
23484 * sunrpc/pmap_clnt.c: Likewise.
23485 * sunrpc/pmap_prot.c: Likewise.
23486 * sunrpc/pmap_prot2.c: Likewise.
23487 * sunrpc/pmap_rmt.c: Likewise.
23488 * sunrpc/publickey.c: Likewise.
23489 * sunrpc/rpc_cmsg.c: Likewise.
23490 * sunrpc/rpc_common.c: Likewise.
23491 * sunrpc/rpc_dtable.c: Likewise.
23492 * sunrpc/rpc_prot.c: Likewise.
23493 * sunrpc/rpc_thread.c: Likewise.
23494 * sunrpc/rtime.c: Likewise.
23495 * sunrpc/svc.c: Likewise.
23496 * sunrpc/svc_auth.c: Likewise.
23497 * sunrpc/svc_authux.c: Likewise.
23498 * sunrpc/svc_raw.c: Likewise.
23499 * sunrpc/svc_run.c: Likewise.
23500 * sunrpc/svc_simple.c: Likewise.
23501 * sunrpc/svc_tcp.c: Likewise.
23502 * sunrpc/svc_udp.c: Likewise.
23503 * sunrpc/svc_unix.c: Likewise.
23504 * sunrpc/svcauth_des.c: Likewise.
23505 * sunrpc/xcrypt.c: Likewise.
23506 * sunrpc/xdr.c: Likewise.
23507 * sunrpc/xdr_array.c: Likewise.
23508 * sunrpc/xdr_float.c: Likewise.
23509 * sunrpc/xdr_intXX_t.c: Likewise.
23510 * sunrpc/xdr_mem.c: Likewise.
23511 * sunrpc/xdr_rec.c: Likewise.
23512 * sunrpc/xdr_ref.c: Likewise.
23513 * sunrpc/xdr_sizeof.c: Likewise.
23514 * sunrpc/xdr_stdio.c: Likewise.
23515
e6c61494
UD
235162011-04-10 Ulrich Drepper <drepper@gmail.com>
23517
23518 [BZ #12650]
23519 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
23520 * sysdeps/ia64/dl-tls.h: Likewise.
23521 * sysdeps/powerpc/dl-tls.h: Likewise.
23522 * sysdeps/s390/dl-tls.h: Likewise.
23523 * sysdeps/sh/dl-tls.h: Likewise.
23524 * sysdeps/sparc/dl-tls.h: Likewise.
23525 * sysdeps/x86_64/dl-tls.h: Likewise.
23526 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
23527
34fe483e
AS
235282011-03-14 Andreas Schwab <schwab@redhat.com>
23529
23530 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
23531 rpath element also skip the following colon.
23532 (expand_dynamic_string_token): Add is_path parameter and pass
23533 down to DL_DST_REQUIRED and _dl_dst_substitute.
23534 (decompose_rpath): Call expand_dynamic_string_token with
23535 non-zero is_path. Ignore empty rpaths.
23536 (_dl_map_object_from_fd): Call expand_dynamic_string_token
23537 with zero is_path.
23538
f12a32e6
AS
235392011-04-08 Andreas Schwab <schwab@linux-m68k.org>
23540
23541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
23542 Make cancelable.
23543
38a7d692
UD
235442011-04-09 Ulrich Drepper <drepper@gmail.com>
23545
23546 [BZ #12655]
23547 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
23548 Patch by Filipe David Manana <fdmanana@apache.org>.
23549
e451d22b
AS
235502011-04-07 Andreas Schwab <schwab@redhat.com>
23551
23552 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
23553 Maintain aligned stack.
23554 (CHECK_RSP): Remove unused macro.
23555
dedc7c7b
UD
235562011-04-03 Ulrich Drepper <drepper@gmail.com>
23557
23558 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
23559 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
23560
94521213
UD
235612011-04-02 Ulrich Drepper <drepper@gmail.com>
23562
23563 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
23564
8cb700c0 23565 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 23566
0354e355
L
235672011-03-26 H.J. Lu <hongjiu.lu@intel.com>
23568
23569 [BZ #12518]
23570 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
23571 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
23572 * sysdeps/x86_64/memmove.c: New file.
23573 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
23574 (memcpy): Renamed to ...
23575 (__new_memcpy): This.
23576 (memcpy): Provide GLIBC_2_14 memcpy.
23577 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
23578 (memcpy): Provide GLIBC_2_2_5 memcpy.
23579
8593482f
UD
235802011-04-01 Ulrich Drepper <drepper@gmail.com>
23581
23582 [BZ #12631]
23583 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
23584
81a5726b
AS
235852011-03-30 Andreas Schwab <schwab@redhat.com>
23586
23587 * misc/syncfs.c: New file.
23588 * misc/Makefile (routines): Add syncfs.
23589 * posix/unistd.h: Declare syncfs.
23590 * sysdeps/unix/syscalls.list: Add syncfs.
23591
00e5419f
AS
235922011-04-01 Andreas Schwab <schwab@redhat.com>
23593
23594 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
23595 open_by_handle_at.
23596 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23597 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23598 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23599 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23600 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23601 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
23602 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23603
748876bf
UD
236042011-04-01 Ulrich Drepper <drepper@gmail.com>
23605
658e451d
UD
23606 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
23607 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23608 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
23609 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23610 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23611 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23612 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23613
748876bf
UD
23614 * io/Makefile: Compile fallocate.c, fallocate64.c, and
23615 sync_file_range.c with -fexceptions.
23616 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
23617 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
23618 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
23619 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
23620 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
23621 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
23622 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
23623 sync_file_range as cancellation point
23624 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
23625 now a wrapper around __call_sync_file_range with cancellation handling.
23626 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
23627 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
23628 function name to __call_sync_file_range.
23629 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
23630 Add call_sync_file_range.
748876bf 23631
6e63d5e1
AS
236322011-04-01 Andreas Schwab <schwab@redhat.com>
23633
23634 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 23635 bits/timex.h.
6e63d5e1 23636
46998f74
UD
236372011-04-01 Ulrich Drepper <drepper@gmail.com>
23638
4c1423ed
UD
23639 * iconv/iconv.h: Fix typo in comment.
23640 * io/fcntl.h: Likewise.
23641 * libio/stdio.h: Likewise.
23642 * posix/spawn.h: Likewise.
23643 * posix/unistd.h: Likewise.
23644 * stdlib/stdlib.h: Likewise.
23645 * time/time.h: Likewise.
23646 * wcsmbs/wchar.h: Likewise.
23647
158648c0
UD
23648 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
23649 open_by_handle): Add.
23650 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
23651 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
23652 Augment a few comments.
23653 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23654 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23655 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23656 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23657 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23658 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
23659 open_by_handle.
23660
46998f74
UD
23661 * io/fcntl.h (AT_EMPTY_PATH): Define.
23662
83fe108b
UD
236632011-03-30 Ulrich Drepper <drepper@gmail.com>
23664
23665 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
23666 * sysdeps/unix/sysv/linux/bits/time.h: New file.
23667 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
23668 to...
23669 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
23670 * Versions.def: Add GLIBC_2.14.
23671 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
23672 Export.
83fe108b 23673
bb242059
UD
236742011-03-22 Ulrich Drepper <drepper@gmail.com>
23675
23676 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
23677 round counter.
23678 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
23679
c97a1282
L
236802011-03-20 H.J. Lu <hongjiu.lu@intel.com>
23681
23682 [BZ #12597]
23683 * string/test-strncmp.c (do_page_test): New function.
23684 (check2): Likewise.
23685 (test_main): Call check2.
23686 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
23687
2a115601
UD
236882011-03-20 Ulrich Drepper <drepper@gmail.com>
23689
23690 [BZ #12587]
23691 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
23692 Handle cache information in CPU leaf 4.
23693 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
23694
8126d904
UD
236952011-03-18 Ulrich Drepper <drepper@gmail.com>
23696
042c49c6 23697 [BZ #12583]
8126d904
UD
23698 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
23699 character representation.
23700 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
23701
ccfe366e
RA
237022011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
23703
23704 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
23705 END(__isnan) to END(__isnanf) to match function entry point/label
23706 EALIGN(__isnanf,...).
23707
c6e13027
JJ
237082011-03-10 Jakub Jelinek <jakub@redhat.com>
23709
23710 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
23711
33f85a3f
UD
237122011-03-10 Ulrich Drepper <drepper@gmail.com>
23713
028478fa
UD
23714 [BZ #12510]
23715 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
23716 copy from the symbol referenced in the relocation to initialize the
23717 used variable.
23718 Patch by Piotr Bury <pbury@goahead.com>.
23719 * elf/Makefile: Add rules to build and tst-unique3.
23720 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
23721 * elf/tst-unique3.cc: New file.
23722 * elf/tst-unique3.h: New file.
23723 * elf/tst-unique3lib.cc: New file.
23724 * elf/tst-unique3lib2.cc: New file.
23725
33f85a3f
UD
23726 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
23727
03592fc7
MF
237282011-03-10 Mike Frysinger <vapier@gentoo.org>
23729
23730 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
23731 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
23732 to _start.
03592fc7 23733
6a5ee102
UD
237342011-03-06 Ulrich Drepper <drepper@gmail.com>
23735
23736 * elf/dl-load.c (_dl_map_object): If we are looking for the first
23737 to-be-loaded object along a path to loader is ld.so.
23738
7e4ba49c
HJ
237392011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
23740 Ulrich Drepper <drepper@gmail.com>
23741
23742 * sysdeps/x86_64/memset.S: After aligning destination, code
23743 branches to different locations depending on the value of
23744 misalignment, when multiarch is enabled. Fix this.
23745
237462011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
23747
23748 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
23749 Set _x86_64_preferred_memory_instruction for AMD processsors.
23750 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23751 Set bit_Prefer_SSE_for_memop for AMD processors.
23752
13a804de
UD
237532011-03-04 Ulrich Drepper <drepper@gmail.com>
23754
23755 * libio/fmemopen.c (fmemopen): Optimize a bit.
23756
9d25c392
AS
237572011-03-03 Andreas Schwab <schwab@redhat.com>
23758
23759 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
23760
a5543c6a
RM
237612011-03-03 Roland McGrath <roland@redhat.com>
23762
23763 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
23764
012d35f7
DM
237652011-02-28 Aurelien Jarno <aurelien@aurel32.net>
23766
7e4ba49c 23767 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
23768 __bzero_ultra1 instead of __memset_ultra1.
23769
4bff6e01
AS
237702011-02-23 Andreas Schwab <schwab@redhat.com>
23771 Ulrich Drepper <drepper@gmail.com>
23772
23773 [BZ #12509]
23774 * include/link.h (struct link_map): Add l_orig_initfini.
23775 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
23776 returning unsuccessfully.
23777 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
23778 close of a file loaded at startup, restore the original l_initfini
23779 list.
23780 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
23781 list, store the pointer.
23782 * elf/Makefile ($(objpfx)noload-mem): New rule.
23783 (noload-ENV): Define.
23784 (tests): Add $(objpfx)noload-mem.
23785 * elf/noload.c: Include <memcheck.h>.
23786 (main): Call mtrace. Close all opened handles.
23787
f2092faf
AS
237882011-02-17 Andreas Schwab <schwab@redhat.com>
23789
23790 [BZ #12454]
23791 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
23792 dependencies are missing.
23793
6c8a2e88
ST
237942011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
23795
f2092faf 23796 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
23797 Hurd needs munmap.
23798 * sysdeps/mach/hurd/ifreq.h: New file.
23799
84a42118
PB
238002011-01-27 Petr Baudis <pasky@suse.cz>
23801 Ulrich Drepper <drepper@gmail.com>
23802
071f805e 23803 [BZ 12445]#
84a42118
PB
23804 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
23805 to extend_alloca().
23806 * stdio-common/bug23.c: New file.
23807 * stdio-common/Makefile (tests): Add bug23.
23808
e23fe25b
AS
238092010-09-28 Andreas Schwab <schwab@redhat.com>
23810 Ulrich Drepper <drepper@gmail.com>
23811
23812 [BZ #12489]
23813 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
23814 before performing relro protection. At old place add assertion
23815 to make sure nothing changed.
23816
d3f02e10
NS
238172011-02-17 Nathan Sidwell <nathan@codesourcery.com>
23818 Glauber de Oliveira Costa <glommer@gmail.com>
23819
23820 * elf/elf.h: Add new ARM TLS relocs.
23821
d55fd7a5
RA
238222011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
23823
23824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
23825 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
23826 cast from r3.
23827 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
23828 'tests' variable.
23829 * sysdeps/wordsize-64/tst-writev.c: New file.
23830
2206397e
RA
238312011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
23832
23833 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
23834 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
23835 insns in _dl_start to prevent a TOC reference before relocs are
23836 resolved.
23837
e9433893
UD
238382011-02-15 Ulrich Drepper <drepper@gmail.com>
23839
23840 [BZ #12469]
23841 * Makeconfig: Remove RANLIB definition.
23842 * Makerules: Don't use RANLIB.
23843 * aclocal.m4: Remove ranlib test.
23844 * configure.in: No need to check for ranlib.
23845 * elf/rtld-Rules: Don't use RANLIB.
23846
f75286c6
ST
238472011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
23848
8e31c82d
ST
23849 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
23850 protection macro.
23851 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
23852 inclusion protection macro.
23853
f75286c6
ST
23854 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
23855 SIGRTMIN and SIGRTMAX and print information in that case only when
23856 SIGRTMIN is defined.
23857
c1d0e639
JJ
238582011-02-11 Jakub Jelinek <jakub@redhat.com>
23859
23860 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
23861 arginfo fn returning -1.
23862
23863 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
23864 and thousands string is zero terminated.
23865
edf9294e
AS
238662011-02-03 Andreas Schwab <schwab@redhat.com>
23867
23868 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
23869 sysdeps/unix/sysv/linux/bits/socket.h.
23870
2b7e92df
ST
238712011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
23872
edf9294e
AS
23873 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
23874 (__CPU_COUNT): Remove old macros.
23875 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
23876 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
23877 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
23878 (__sched_cpualloc, __sched_cpufree): Add declarations.
23879
a4c7ea7b
UD
238802011-02-05 Ulrich Drepper <drepper@gmail.com>
23881
23882 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
23883 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
23884 * nscd/aicache.c (addhstaiX): Return timeout of added value.
23885 (readdhstai): Return value of addhstaiX call.
23886 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
23887 (addgrbyX): Return value returned by cache_addgr.
23888 (readdgrbyname): Return value returned by addgrbyX.
23889 (readdgrbygid): Likewise.
23890 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
23891 (addpwbyX): Return value returned by cache_addpw.
23892 (readdpwbyname): Return value returned by addhstbyX.
23893 (readdpwbyuid): Likewise.
23894 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
23895 (addservbyX): Return value returned by cache_addserv.
23896 (readdservbyname): Return value returned by addservbyX:
23897 (readdservbyport): Likewise.
23898 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
23899 (addhstbyX): Return value returned by cache_addhst.
23900 (readdhstbyname): Return value returned by addhstbyX.
23901 (readdhstbyaddr): Likewise.
23902 (readdhstbynamev6): Likewise.
23903 (readdhstbyaddrv6): Likewise.
23904 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
23905 (readdinitgroups): Return value returned by addinitgroupsX.
23906 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
23907 (prune_cache): Keep track of timeout value of re-added entries.
23908 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
23909 * nscd/nscd.h: Adjust prototypes of readd* functions.
23910
a0bf67cc
RM
239112011-02-04 Roland McGrath <roland@redhat.com>
23912
23913 * nis/nis_server.c (nis_servstate): Use the right name for 0.
23914 (nis_stats): Likewise.
23915 * nis/nis_modify.c (nis_modify): Likewise.
23916 * nis/nis_remove.c (nis_remove): Likewise.
23917 * nis/nis_add.c (nis_add): Likewise.
23918
23919 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
23920
23921 * posix/fnmatch_loop.c: Add some consts.
23922
23923 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
23924
435b95eb
L
239252011-02-02 H.J. Lu <hongjiu.lu@intel.com>
23926
23927 [BZ #12460]
23928 * config.make.in (config-cflags-novzeroupper): Define.
23929 * configure.in: Substitute libc_cv_cc_novzeroupper.
23930 * elf/Makefile (AVX-CFLAGS): Define.
23931 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
23932 (CFLAGS-tst-auditmod4a.c): Likewise.
23933 (CFLAGS-tst-auditmod4b.c): Likewise.
23934 (CFLAGS-tst-auditmod6b.c): Likewise.
23935 (CFLAGS-tst-auditmod6c.c): Likewise.
23936 (CFLAGS-tst-auditmod7b.c): Likewise.
23937 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
23938
8517b15e
UD
239392011-02-02 Ulrich Drepper <drepper@gmail.com>
23940
23941 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
23942 function to the callback.
23943 Patch partly by Jiri Olsa <jolsa@redhat.com>.
23944
10a656fe
AS
239452011-02-02 Andreas Schwab <schwab@redhat.com>
23946
23947 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
23948 of errno.
23949
968dad0a
UD
239502011-01-19 Ulrich Drepper <drepper@gmail.com>
23951
9f94d2ea 23952 [BZ #11724]
968dad0a
UD
23953 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
23954 of constructors.
23955 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
23956 of destructors.
23957 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
23958
23959 [BZ #11724]
23960 * elf/Makefile: Add rules to build and run new test.
23961 * elf/tst-initorder.c: New file.
23962 * elf/tst-initorder.exp: New file.
23963 * elf/tst-initordera1.c: New file.
23964 * elf/tst-initordera2.c: New file.
23965 * elf/tst-initordera3.c: New file.
23966 * elf/tst-initordera4.c: New file.
23967 * elf/tst-initorderb1.c: New file.
23968 * elf/tst-initorderb2.c: New file.
23969 * elf/tst-order-a1.c: New file.
23970 * elf/tst-order-a2.c: New file.
23971 * elf/tst-order-a3.c: New file.
23972 * elf/tst-order-a4.c: New file.
23973 * elf/tst-order-b1.c: New file.
23974 * elf/tst-order-b2.c: New file.
23975 * elf/tst-order-main.c: New file.
23976 New test case by George Gensure <werkt0@gmail.com>.
23977
86e92359
UD
239782010-10-01 Andreas Schwab <schwab@redhat.com>
23979
23980 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
23981 decoding ACE if AI_CANONIDN.
23982
5d5732b0
UD
239832011-01-18 Ulrich Drepper <drepper@gmail.com>
23984
23985 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
23986
a77e8cbc
UD
239872011-01-17 Ulrich Drepper <drepper@gmail.com>
23988
6392473f
UD
23989 * version.h (RELEASE): Bump for 2.13 release.
23990 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
23991
620a0529
UD
23992 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
23993
18ba70a5
UD
23994 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
23995 MADV_NOHUGEPAGE.
32465c3e
UD
23996 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
23997 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23998 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23999 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24000 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24001 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
24002
c0dafcf1
UD
24003 * posix/getconf.c: Update copyright year.
24004 * catgets/gencat.c: Likewise.
24005 * csu/version.c: Likewise.
24006 * debug/catchsegv.sh: Likewise.
24007 * debug/xtrace.sh: Likewise.
24008 * elf/ldconfig.c: Likewise.
24009 * elf/ldd.bash.in: Likewise.
24010 * elf/sprof.c (print_version): Likewise.
24011 * iconv/iconv_prog.c: Likewise.
24012 * iconv/iconvconfig.c: Likewise.
24013 * locale/programs/locale.c: Likewise.
24014 * locale/programs/localedef.c: Likewise.
24015 * malloc/memusage.sh: Likewise.
24016 * malloc/mtrace.pl: Likewise.
24017 * nscd/nscd.c (print_version): Likewise.
24018 * nss/getent.c: Likewise.
24019
a77e8cbc
UD
24020 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
24021 PF_CAIF, and PF_ALG.
24022 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24023
77e8bddf
AS
240242011-01-16 Andreas Schwab <schwab@linux-m68k.org>
24025
1f20b93a
AS
24026 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
24027 (modules-names): Use them.
24028 (ifunc-test-modules, ifunc-pie-tests): Define.
24029 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
24030 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
24031 (test-extras): Likewise.
24032 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
24033 $(compile-command.c).
24034 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
24035 (all-built-dso): Define.
24036 (check-textrel.out, check-execstack.out): Depend on it.
24037
77e8bddf
AS
24038 * configure.in: Don't override --enable-multi-arch.
24039
bc425b33
UD
240402011-01-15 Ulrich Drepper <drepper@gmail.com>
24041
24042 [BZ #6812]
24043 * nscd/hstcache.c (tryagain): Define.
24044 (cache_addhst): Return tryagain not notfound for temporary errors.
24045 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
24046 failed.
24047
794c3ad3
UD
240482011-01-14 Ulrich Drepper <drepper@gmail.com>
24049
70181fdd
UD
24050 [BZ #10563]
24051 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
24052 to make the syscall.
24053 * sysdeps/unix/sysv/linux/setgroups.c: New file.
24054
794c3ad3
UD
24055 [BZ #12378]
24056 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
24057 and fall back to matching as normal character if the string ends before
24058 the matching ']' is found. This is what POSIX requires.
24059 * posix/testfnm.c: Adjust test result.
24060 * posix/globtest.sh: Adjust test result. Add new test.
24061 * posix/tst-fnmatch.input: Likewise.
24062 * posix/tst-fnmatch2.c: Add new test.
24063
68dc9497
AS
240642010-12-28 Andreas Schwab <schwab@linux-m68k.org>
24065
24066 * elf/Makefile (check-execstack): Revert last change. Depend on
24067 check-execstack.h.
24068 (check-execstack.h): New target.
24069 (generated): Add check-execstack.h.
24070 * elf/check-execstack.c: Include "check-execstack.h".
24071 (main): Revert last change.
24072 (handle_file): Return zero if GNU_STACK is absent and
24073 DEFAULT_STACK_PERMS doesn't include PF_X.
24074
451f001b
UD
240752011-01-13 Ulrich Drepper <drepper@gmail.com>
24076
cfa28e56
UD
24077 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
24078 in child fails because the descriptor is already closed.
8cf8ce17
UD
24079 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
24080 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
24081 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 24082
1086d70d
UD
24083 [BZ #12397]
24084 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
24085 syscall.
24086
451f001b
UD
24087 [BZ #10484]
24088 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
24089 temporary buffer used to handle multi lookups locally.
a85b5cb4 24090 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 24091
08769175
UD
240922011-01-12 Ulrich Drepper <drepper@gmail.com>
24093
24094 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
24095 loader is ld.so.
24096
5e49c52e
UD
240972011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
24098
24099 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
24100 alignment for SSE2.
24101
60522a5f
UD
241022011-01-12 Ulrich Drepper <drepper@gmail.com>
24103
24104 [BZ #12394]
24105 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
24106 characters. When rounding increased number of integer digits recompute
24107 number of groups.
24108 * stdio-common/tst-grouping.c: New file.
24109 * stdio-common/Makefile: Add rules to build and run tst-grouping.
24110
f257bbd7
UD
241112011-01-09 Ulrich Drepper <drepper@gmail.com>
24112
24113 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
24114 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
24115
24116 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
24117 void.
24118 * bits/select.h: Likewise.
24119
fa9c15cb
UD
241202011-01-08 Ulrich Drepper <drepper@gmail.com>
24121
24122 * po/ja.po: Update from translation team.
24123
16c2895f
DM
241242011-01-04 David S. Miller <davem@sunset.davemloft.net>
24125
24126 [BZ #11155]
24127 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
24128 implementation just like for lxstat, fxstatat, et al.
24129
2543fef2
JM
241302010-12-27 Jim Meyering <meyering@redhat.com>
24131
24132 [BZ #12348]
24133 * posix/regexec.c (build_trtable): Return failure indication upon
24134 calloc failure. Otherwise, re_search_internal could infloop on OOM.
24135
98727dbe
UD
241362010-12-25 Ulrich Drepper <drepper@gmail.com>
24137
5bd6dc5c
UD
24138 [BZ #12201]
24139 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
24140 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
24141 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
24142 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
24143
97983464
UD
24144 [BZ #12207]
24145 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
24146
98727dbe
UD
24147 [BZ #12204]
24148 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
24149 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
24150
4a531bb0
L
241512010-12-15 H.J. Lu <hongjiu.lu@intel.com>
24152
24153 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
24154 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
24155 script has SORT_BY_INIT_PRIORITY.
24156 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
24157 NO_CTORS_DTORS_SECTIONS is defined.
24158 * elf/soinit.c: Likewise.
24159 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
24160 NO_CTORS_DTORS_SECTIONS is defined.
24161 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
24162 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
24163 * sysdeps/sh/init-first.c: Likewise.
24164 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
24165
07eb4b71
UD
241662010-12-24 Ulrich Drepper <drepper@gmail.com>
24167
24168 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
24169 always use the slow path.
24170
30950a5f
RA
241712010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
24172
24173 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
24174 similar rule which adds the sysdep directories to the header search in
24175 order to pick up the correct platform stackinfo.h.
24176 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
24177 perform test if it is, otherwise return successfully without testing.
24178 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
24179 DEFAULT_STACK_PERMS define in stackinfo.h.
24180 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
24181 defined in stackinfo.h.
24182 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
24183 DEFAULT_STACK_PERMS defined in stackinfo.h.
24184 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
24185 * sysdeps/ia64/stackinfo.h: Likewise.
24186 * sysdeps/s390/stackinfo.h: Likewise.
24187 * sysdeps/sh/stackinfo.h: Likewise.
24188 * sysdeps/sparc/stackinfo.h: Likewise.
24189 * sysdeps/x86_64/stackinfo.h: Likewise.
24190 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
24191 PF_X for powerpc64. Retain PF_X for powerpc32.
24192
db753e2c
UD
241932010-12-19 Ulrich Drepper <drepper@gmail.com>
24194
14b697f7
UD
24195 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
24196 accurately.
db753e2c
UD
24197 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
24198 GETDENTS_64BIT_ALIGNED.
24199
28300719
UD
242002010-12-14 Ulrich Drepper <dreper@gmail.com>
24201
14b697f7 24202 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 24203
4f197237
AS
242042010-12-10 Andreas Schwab <schwab@redhat.com>
24205
dbb0472f
AS
24206 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
24207 _GNU_SOURCE.
24208
4f197237
AS
24209 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
24210 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
24211 Remove __restrict.
24212 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
24213 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
24214
fb88ac72
UD
242152010-12-09 Ulrich Drepper <drepper@gmail.com>
24216
24217 [BZ #11655]
24218 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
24219 are initialized.
24220
42acbb92
JJ
242212010-12-09 Jakub Jelinek <jakub@redhat.com>
24222
24223 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
24224
c038d98d
UD
242252010-12-03 Ulrich Drepper <drepper@gmail.com>
24226
24227 * po/it.po: Update from translation team.
24228
3a4a2499
L
242292010-12-01 H.J. Lu <hongjiu.lu@intel.com>
24230
24231 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
24232 unused codes.
24233
1e24cf6e
UD
242342010-11-30 Ulrich Drepper <drepper@gmail.com>
24235
24236 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
24237
a7690819
AS
242382010-11-24 Andreas Schwab <schwab@redhat.com>
24239
24240 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
24241 specially.
24242 (gaih_getanswer_slice): Likewise.
24243
3bf8d1b1
JJ
242442010-10-20 Jakub Jelinek <jakub@redhat.com>
24245
24246 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
24247
6db52fbb
PB
242482010-05-31 Petr Baudis <pasky@suse.cz>
24249
24250 [BZ #11149]
24251 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
24252 silently even in the chroot mode.
24253
eaca7569
UD
242542010-11-22 Ulrich Drepper <drepper@gmail.com>
24255
24256 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
24257 last patch a bit. Pretty printing
24258
3056dcdb
UD
242592010-05-31 Petr Baudis <pasky@suse.cz>
24260
24261 [BZ #10085]
24262 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
24263 initialization of skip_initgroups_dyn.
24264
cf7c9078
UD
242652010-11-19 Ulrich Drepper <drepper@gmail.com>
24266
24267 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
24268 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
24269
a1fb5e3e
UD
242702010-11-16 Ulrich Drepper <drepper@gmail.com>
24271
24272 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
24273
3540d66b
AS
242742010-11-11 Andreas Schwab <schwab@redhat.com>
24275
24276 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
24277 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
24278 (tst-fnmatch-ENV): Set MALLOC_TRACE.
24279 ($(objpfx)tst-fnmatch-mem): New rule.
24280 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
24281 * posix/tst-fnmatch.c (main): Call mtrace.
24282
13b69574
L
242832010-11-11 H.J. Lu <hongjiu.lu@intel.com>
24284
24285 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24286 Support Intel processor model 6 and model 0x2c.
24287
da93d214
LM
242882010-11-10 Luis Machado <luisgpm@br.ibm.com>
24289
24290 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
24291 signed comparison.
24292
8ca52c6e
L
242932010-11-09 H.J. Lu <hongjiu.lu@intel.com>
24294
24295 [BZ #12205]
24296 * string/test-strncasecmp.c (check_result): New function.
24297 (do_one_test): Use it.
24298 (check1): New function.
24299 (test_main): Use it.
24300 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
24301 Support strcasecmp and strncasecmp.
24302
69da074d
UD
243032010-11-08 Ulrich Drepper <drepper@gmail.com>
24304
24305 [BZ #12194]
24306 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
24307 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24308
ff02d528
L
243092010-11-07 H.J. Lu <hongjiu.lu@intel.com>
24310
24311 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
24312 IFUNC support.
24313 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24314 memset-x86-64.
24315 * sysdeps/x86_64/multiarch/bzero.S: New file.
24316 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
24317 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
24318 * sysdeps/x86_64/multiarch/memset.S: New file.
24319 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
24320 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24321 Set bit_Prefer_SSE_for_memop for Intel processors.
24322 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
24323 Define.
24324 (index_Prefer_SSE_for_memop): Define.
24325 (HAS_PREFER_SSE_FOR_MEMOP): Define.
24326
344d0b54
LM
243272010-11-04 Luis Machado <luisgpm@br.ibm.com>
24328
24329 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
24330 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
24331
c0dde15b
UD
243322010-11-03 H.J. Lu <hongjiu.lu@intel.com>
24333
24334 [BZ #12191]
24335 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
24336 (__x86_64_raw_data_cache_size_half): Likewise.
24337 (__x86_64_raw_shared_cache_size): Likewise.
24338 (__x86_64_raw_shared_cache_size_half): Likewise.
24339
24340 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
24341 (__x86_64_raw_data_cache_size_half): Likewise.
24342 (__x86_64_raw_shared_cache_size): Likewise.
24343 (__x86_64_raw_shared_cache_size_half): Likewise.
24344 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
24345 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
24346 and __x86_64_raw_shared_cache_size_half. Round
24347 __x86_64_data_cache_size_half, __x86_64_data_cache_size
24348 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
24349 to multiple of 256 bytes.
24350
0e516e0e
MS
243512010-11-03 Ulrich Drepper <drepper@gmail.com>
24352
24353 [BZ #12167]
24354 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
24355 of inacessible symlinks. Verify result of symlink before returning it.
24356 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
24357 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
24358
0e012e87
ER
243592010-10-28 Erich Ritz <erichritz@gmail.com>
24360
24361 * math/math.h (isinf): Fix typo in comment.
24362
de0ff7bc
UD
243632010-11-01 Ulrich Drepper <drepper@gmail.com>
24364
24365 * po/da.po: Update from translation team.
24366
fa41c84d
UD
243672010-10-26 Ulrich Drepper <drepper@gmail.com>
24368
24369 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
24370 is added to the list.
24371
f0967738
AK
243722010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24373 Ulrich Drepper <drepper@gmail.com>
24374
24375 * elf/dl-object.c (_dl_new_object): Don't append the new object to
24376 the global list here. Move code to...
24377 (_dl_add_to_namespace_list): ...here. New function.
24378 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
24379 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
24380 * elf/dl-load.c (lose): Don't remove the element from the list.
24381 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
24382 (_dl_map_object): Likewise.
24383
243842010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
24385
24386 [BZ #12159]
24387 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
24388 into all bytes of SSE register.
24389 Patch by Richard Li <richardpku@gmail.com>.
24390
f0967738 243912010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
24392
24393 [BZ #12140]
24394 * malloc/malloc.c (_int_free): Fill correct number of bytes when
24395 perturbing.
24396
d0b9e94f
MB
243972010-10-20 Michael B. Brutman <brutman@us.ibm.com>
24398
24399 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
24400 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
24401 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
24402 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
24404 submachine.
24405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
24406
8e9f92e9
AS
244072010-10-22 Andreas Schwab <schwab@redhat.com>
24408
24409 * include/dlfcn.h (__RTLD_SECURE): Define.
24410 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
24411 mode & __RTLD_SECURE instead.
24412 (open_path): Rename preloaded parameter to secure.
24413 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
24414 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
24415 * elf/dl-deps.c (openaux): Likewise.
24416 * elf/rtld.c (struct map_args): Remove is_preloaded.
24417 (map_doit): Don't use it.
24418 (dl_main): Likewise.
24419 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
24420 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
24421
bc96fbda
AS
244222010-09-09 Andreas Schwab <schwab@redhat.com>
24423
24424 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
24425 (sysd-rules-targets): Remove duplicates.
24426 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
24427 rtld-%.$o dependency.
24428
22cd1c9b
AS
244292010-10-18 Andreas Schwab <schwab@redhat.com>
24430
24431 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
24432 _dl_map_object do it.
24433
18edac48
UD
244342010-10-19 Ulrich Drepper <drepper@gmail.com>
24435
24436 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
24437 fast fma builtins, define the macros in the C99 standard.
24438 (FP_FAST_FMAF): Likewise.
24439 (FP_FAST_FMAL): Likewise.
24440 * sysdeps/x86_64/bits/mathdef.h: Likewise.
24441
24442 * bits/mathdef.h: Update copyright year.
24443 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24444
d2050124
MM
244452010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
24446
24447 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
24448 builtins, define the macros in the C99 standard.
24449 (FP_FAST_FMAF): Likewise.
24450 (FP_FAST_FMAL): Likewise.
24451 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
24452 multiply/add.
24453 (FP_FAST_FMAF): Likewise.
24454
475facd1
JJ
244552010-10-15 Jakub Jelinek <jakub@redhat.com>
24456
24457 [BZ #3268]
24458 * math/libm-test.inc (fma_test): Some new testcases.
24459 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
24460 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
24461 y and infinite z. Do multiplication by C already in long double.
24462 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
24463 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
24464 y and infinite z. Do bitwise or of inexact bit into u.d.
24465 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
24466 * sysdeps/i386/fpu/s_fmaf.S: Removed.
24467 * sysdeps/i386/fpu/s_fma.S: Removed.
24468 * sysdeps/i386/fpu/s_fmal.S: Removed.
24469
7c08a05c
JJ
244702010-10-16 Jakub Jelinek <jakub@redhat.com>
24471
24472 [BZ #3268]
24473 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
24474 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
24475 computation is not scheduled after fetestexcept. Fix value
24476 of minimum denormal long double.
24477
f3f7372d
JJ
244782010-10-14 Jakub Jelinek <jakub@redhat.com>
24479
24480 [BZ #3268]
24481 * math/libm-test.inc (fma_test): Add some more tests.
24482 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
24483 correctly.
24484
14d43591
AS
244852010-10-15 Andreas Schwab <schwab@redhat.com>
24486
24487 * scripts/data/localplt-s390-linux-gnu.data: New file.
24488 * scripts/data/localplt-s390x-linux-gnu.data: New file.
24489
5e908464
JJ
244902010-10-13 Jakub Jelinek <jakub@redhat.com>
24491
24492 [BZ #3268]
24493 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
24494 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
24495 instead of dbl-64.
24496 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
24497 inlines.
24498 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
24499 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
24500 if one of x and y is very large and the other is subnormal.
24501 * sysdeps/s390/fpu/s_fmaf.c: New file.
24502 * sysdeps/s390/fpu/s_fma.c: New file.
24503 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
24504 * sysdeps/powerpc/fpu/s_fma.S: New file.
24505 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
24506 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
24507 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
24508
245092010-10-12 Jakub Jelinek <jakub@redhat.com>
24510
24511 [BZ #3268]
24512 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
24513 fma tests.
24514 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
24515 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
24516 * sysdeps/i386/i686/multiarch/s_fma.c: Include
24517 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
24518 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
24519 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
24520 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
24521
b833d51f
UD
245222010-10-12 Ulrich Drepper <drepper@redhat.com>
24523
24524 [BZ #12078]
24525 * posix/regcomp.c (parse_branch): One more memory leak plugged.
24526 * posix/bug-regex31.input: Add test case.
24527
1751705d
UD
245282010-10-11 Ulrich Drepper <drepper@gmail.com>
24529
e9b9cbf5
UD
24530 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
24531 * posix/bug-regex31.input: New file.
24532
24533 [BZ #12078]
24534 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
24535 (parse_sub_exp): Fix last change, use postorder.
24536
ef06edbe
UD
24537 * posix/bug-regex31.c: New file.
24538 * posix/Makefile: Add rules to build and run bug-regex31.
24539
a129c80d
UD
24540 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
24541
24542 [BZ #12078]
24543 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
24544
b76b818e
UD
24545 [BZ #12108]
24546 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
24547 to have entries in sys_siglist.
24548
1751705d
UD
24549 [BZ #12093]
24550 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
24551 be NULL.
24552
9ff8d36f
JJ
245532010-10-07 Jakub Jelinek <jakub@redhat.com>
24554
24555 [BZ #3268]
24556 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
24557 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
24558 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
24559 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
24560 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
24561 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
24562 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
24563 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
24564 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
24565 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
24566 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
24567 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
24568 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
24569 * math/ftestexcept.c (fetestexcept): Likewise.
24570 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
24571 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
24572 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
24573 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
24574 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
24575 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
24576 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
24577
af325969
UD
245782010-10-11 Ulrich Drepper <drepper@gmail.com>
24579
c579b202 24580 [BZ #12107]
af325969
UD
24581 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
24582 newline.
24583
67a67b95
UD
245842010-10-06 Ulrich Drepper <drepper@gmail.com>
24585
24586 * string/bug-strstr1.c: New file.
24587 * string/Makefile: Add rules to build and run bug-strstr1.
24588
5fb308bc
EB
245892010-10-05 Eric Blake <eblake@redhat.com>
24590
24591 [BZ #12092]
24592 * string/str-two-way.h (two_way_long_needle): Always clear memory
24593 when skipping input due to the shift table.
24594
45db99c7
UD
245952010-10-03 Ulrich Drepper <drepper@gmail.com>
24596
3b111893
UD
24597 [BZ #12005]
24598 * malloc/mcheck.c: Handle large requests.
24599
45db99c7
UD
24600 [BZ #12077]
24601 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
24602 for strncmp and strncasecmp.
24603 * string/stratcliff.c: Add tests for strcmp and strncmp.
24604 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
24605
cf7a1eb8
NI
246062010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24607
24608 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
24609 __set_fpscr.
24610
6484ba5e
AJ
246112010-09-30 Andreas Jaeger <aj@suse.de>
24612
24613 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
24614 (CGROUP_SUPER_MAGIC): Define.
24615 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24616 Handle btrfs and cgroup file systems.
24617 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
24618 Likewise.
24619
91c42559
LM
246202010-09-27 Luis Machado <luisgpm@br.ibm.com>
24621
24622 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
24623 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
24624
87a97932
AK
246252010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24626
24627 [BZ #12067]
24628 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
24629 trying to locate the ELF header.
24630
c21cc9bc
AS
246312010-09-27 Andreas Schwab <schwab@redhat.com>
24632
24633 [BZ #11611]
24634 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
24635 Mask out sign-bit copies when constructing f_fsid.
24636
315970f6
PB
246372010-09-24 Petr Baudis <pasky@suse.cz>
24638
24639 * debug/stack_chk_fail_local.c: Add missing licence exception.
24640 * debug/warning-nop.c: Likewise.
24641
1ac7a2c7
JM
246422010-09-15 Joseph Myers <joseph@codesourcery.com>
24643
24644 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
24645 implementing getdents64 using getdents syscall, set d_type if
24646 __ASSUME_GETDENTS32_D_TYPE.
24647
56801c50
AS
246482010-09-16 Andreas Schwab <schwab@redhat.com>
24649
24650 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
24651 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
24652
dda51327
UD
246532010-09-21 Ulrich Drepper <drepper@redhat.com>
24654
24655 [BZ #12037]
24656 * posix/unistd.h: Undo change of feature selection for ftruncate from
24657 2010-01-11.
24658
8ffcee4a
UD
246592010-09-20 Ulrich Drepper <drepper@redhat.com>
24660
a545ecd9 24661 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
24662 detection.
24663
e24f0a8b
AS
246642010-09-20 Andreas Schwab <schwab@redhat.com>
24665
24666 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
24667 fanotify_mark.
24668 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
24669
7291c56f
AS
246702010-09-14 Andreas Schwab <schwab@redhat.com>
24671
24672 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
24673 variables after CHECK_SP call.
24674 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
24675
bc5fb037
AS
246762010-09-13 Andreas Schwab <schwab@redhat.com>
24677 Ulrich Drepper <drepper@redhat.com>
24678
24679 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
24680 re-relocationg ld.so.
24681 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
24682 _dl_init_paths call.
24683 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
24684 here anymore.
24685
e66e7419
UD
246862010-09-14 Ulrich Drepper <drepper@redhat.com>
24687
24688 * resolv/res_init.c (__res_vinit): Count the default server we added.
24689
c044aa75
CLT
246902010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
24691 Ulrich Drepper <drepper@redhat.com>
24692
24693 [BZ #11968]
24694 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
24695 (____longjmp_chk): Use %ebx for saving value across system call.
24696 Add unwind info.
24697
32cf4069
AS
246982010-09-06 Andreas Schwab <schwab@redhat.com>
24699
24700 * manual/Makefile: Don't mix pattern rules with normal rules.
24701
817328ee
AS
247022010-09-05 Andreas Schwab <schwab@linux-m68k.org>
24703
24704 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
24705 operation.
24706 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
24707 * libio/iofopncook.c (_IO_cookie_init): Likewise.
24708 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
24709 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
24710 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24711 Likewise.
24712
29fddf61
UD
247132010-09-04 Ulrich Drepper <drepper@redhat.com>
24714
24715 [BZ #11979]
24716 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
24717 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
24718
0959ffc9
UD
247192010-09-02 Ulrich Drepper <drepper@redhat.com>
24720
24721 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
24722 * sysdeps/x86_64/addmul_1.S: Likewise.
24723 * sysdeps/x86_64/lshift.S: Likewise.
24724 * sysdeps/x86_64/mul_1.S: Likewise.
24725 * sysdeps/x86_64/rshift.S: Likewise.
24726 * sysdeps/x86_64/sub_n.S: Likewise.
24727 * sysdeps/x86_64/submul_1.S: Likewise.
24728
ece29840
ST
247292010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
24730
0959ffc9
UD
24731 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
24732 Define __sched_param instead of SCHED_* and sched_param when
ece29840 24733 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 24734 * bits/sched.h [__need_schedparam]
ece29840 24735 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
24736 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
24737 (__defined_schedparam): Define to 1.
ece29840
ST
24738 (__sched_param): New structure, identical to sched_param.
24739 (__need_schedparam): Undefine.
24740
e53a31fe
MF
247412010-08-31 Mike Frysinger <vapier@gentoo.org>
24742
fdc0c10d
MF
24743 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
24744 (epoll_create1): Declare.
24745
e53a31fe
MF
24746 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
24747
a726d796
AS
247482010-08-31 Andreas Schwab <schwab@redhat.com>
24749
24750 [BZ #7066]
24751 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
24752 shifting retval into place.
24753
2f3e3dc7
UD
247542010-09-01 Ulrich Drepper <drepper@redhat.com>
24755
f2933da9
UD
24756 * nis/rpcsvc/nis.h: Update copyright notice.
24757 * nis/rpcsvc/nis.x: Likewise.
24758 * nis/rpcsvc/nis_callback.h: Likewise.
24759 * nis/rpcsvc/nis_callback.x: Likewise.
24760 * nis/rpcsvc/nis_object.x: Likewise.
24761 * nis/rpcsvc/nis_tags.h: Likewise.
24762 * nis/rpcsvc/yp.h: Likewise.
24763 * nis/rpcsvc/yp.x: Likewise.
24764 * nis/rpcsvc/ypupd.h: Likewise.
24765 * nis/yp_xdr.c: Likewise.
24766 * nis/ypupdate_xdr.c: Likewise.
24767
2f3e3dc7
UD
24768 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
24769 mainly the body of pmap_getport. Add parameters to specify timeouts.
24770 (pmap_getport): Use __libc_rpc_getport.
24771 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
24772 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
24773 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
24774
f3dcc2f9
AS
247752010-08-31 Andreas Schwab <schwab@linux-m68k.org>
24776
24777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
24778 fanotify_mark.
24779
6d34eb5b
RM
247802010-08-27 Roland McGrath <roland@redhat.com>
24781
24782 * sysdeps/i386/i686/multiarch/Makefile
24783 (CFLAGS-varshift.c): New variable.
24784
9ea3de11
UD
247852010-08-27 Ulrich Drepper <drepper@redhat.com>
24786
c96d23fc
UD
24787 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
24788 * sysdeps/i386/i686/multiarch/varshift.c: New file.
24789
9ea3de11
UD
24790 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
24791
24792 * sysdeps/x86_64/strlen.S: Minimal code improvement.
24793
623aac7f
L
247942010-08-26 H.J. Lu <hongjiu.lu@intel.com>
24795
24796 * sysdeps/x86_64/strlen.S: Unroll the loop.
24797 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24798 strlen-sse2 strlen-sse2-bsf.
24799 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
24800 __strlen_no_bsf if bit_Slow_BSF is set.
24801 (__strlen_sse42): Removed.
24802 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
24803 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
24804
8b2b7715
RM
248052010-08-25 Roland McGrath <roland@redhat.com>
24806
24807 * sysdeps/x86_64/multiarch/varshift.S: File removed.
24808 * sysdeps/x86_64/multiarch/varshift.c: New file.
24809 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
24810 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
24811 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
24812 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24813
e73015f2
L
248142010-08-25 H.J. Lu <hongjiu.lu@intel.com>
24815
24816 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24817 strlen-sse2 strlen-sse2-bsf.
24818 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
24819 __strlen_sse2_bsf if bit_Slow_BSF is unset.
24820 (__strlen_sse2): Removed.
24821 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
24822 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
24823 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
24824 bit_Slow_BSF for Atom.
24825 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
24826 (index_Slow_BSF): Define.
24827 (HAS_SLOW_BSF): Define.
24828
df24a73e
UD
248292010-08-25 Ulrich Drepper <drepper@redhat.com>
24830
24831 [BZ #10851]
24832 * resolv/res_init.c (__res_vinit): When no server address at all
24833 is given default to loopback.
24834
f2ac4868
RM
248352010-08-24 Roland McGrath <roland@redhat.com>
24836
09055553
RM
24837 * configure.in: Remove config-name.h generation.
24838 * configure: Regenerated.
24839 * config-name.in: File removed.
24840 * scripts/config-uname.sh: New file.
24841 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
24842 ($(objdir)config-name.h): New target.
24843
f2ac4868
RM
24844 * sunrpc/rpc_parse.h: Avoid nested comment.
24845
73f27d5e
RH
248462010-08-24 Richard Henderson <rth@redhat.com>
24847 Ulrich Drepper <drepper@redhat.com>
24848 H.J. Lu <hongjiu.lu@intel.com>
24849
24850 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
24851 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
24852 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
24853 Replace _mm_srli_si128 with __m128i_shift_right. Replace
24854 _mm_alignr_epi8 with _mm_loadu_si128.
24855 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
24856 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
24857 (__m128i_shift_right): Removed.
24858 * sysdeps/i386/i686/multiarch/varshift.h: New file.
24859 * sysdeps/i386/i686/multiarch/varshift.S: New file.
24860 * sysdeps/x86_64/multiarch/varshift.h: New file.
24861 * sysdeps/x86_64/multiarch/varshift.S: New file.
24862
84b9230c
MF
248632010-08-21 Mike Frysinger <vapier@gentoo.org>
24864
24865 * configure.in: Move assembler checks to before sysdep dir checking.
24866
9bbd0ddc
PB
248672010-08-20 Petr Baudis <pasky@suse.cz>
24868
24869 * LICENSES: Sync the sunrpc license.
24870
9da4bb31
UD
248712010-08-19 Ulrich Drepper <drepper@redhat.com>
24872
a7ab6ec8
UD
24873 * sunrpc/auth_des.c: Update copyright notice once again.
24874 * sunrpc/auth_none.c: Likewise.
24875 * sunrpc/auth_unix.c: Likewise.
24876 * sunrpc/authdes_prot.c: Likewise.
24877 * sunrpc/authuxprot.c: Likewise.
24878 * sunrpc/bindrsvprt.c: Likewise.
24879 * sunrpc/clnt_gen.c: Likewise.
24880 * sunrpc/clnt_perr.c: Likewise.
24881 * sunrpc/clnt_raw.c: Likewise.
24882 * sunrpc/clnt_simp.c: Likewise.
24883 * sunrpc/clnt_tcp.c: Likewise.
24884 * sunrpc/clnt_udp.c: Likewise.
24885 * sunrpc/clnt_unix.c: Likewise.
24886 * sunrpc/des_crypt.c: Likewise.
24887 * sunrpc/des_soft.c: Likewise.
24888 * sunrpc/get_myaddr.c: Likewise.
24889 * sunrpc/getrpcport.c: Likewise.
24890 * sunrpc/key_call.c: Likewise.
24891 * sunrpc/key_prot.c: Likewise.
24892 * sunrpc/openchild.c: Likewise.
24893 * sunrpc/pm_getmaps.c: Likewise.
24894 * sunrpc/pm_getport.c: Likewise.
24895 * sunrpc/pmap_clnt.c: Likewise.
24896 * sunrpc/pmap_prot.c: Likewise.
24897 * sunrpc/pmap_prot2.c: Likewise.
24898 * sunrpc/pmap_rmt.c: Likewise.
24899 * sunrpc/rpc/auth.h: Likewise.
24900 * sunrpc/rpc/auth_unix.h: Likewise.
24901 * sunrpc/rpc/clnt.h: Likewise.
24902 * sunrpc/rpc/des_crypt.h: Likewise.
24903 * sunrpc/rpc/key_prot.h: Likewise.
24904 * sunrpc/rpc/netdb.h: Likewise.
24905 * sunrpc/rpc/pmap_clnt.h: Likewise.
24906 * sunrpc/rpc/pmap_prot.h: Likewise.
24907 * sunrpc/rpc/pmap_rmt.h: Likewise.
24908 * sunrpc/rpc/rpc.h: Likewise.
24909 * sunrpc/rpc/rpc_des.h: Likewise.
24910 * sunrpc/rpc/rpc_msg.h: Likewise.
24911 * sunrpc/rpc/svc.h: Likewise.
24912 * sunrpc/rpc/svc_auth.h: Likewise.
24913 * sunrpc/rpc/types.h: Likewise.
24914 * sunrpc/rpc/xdr.h: Likewise.
24915 * sunrpc/rpc_clntout.c: Likewise.
24916 * sunrpc/rpc_cmsg.c: Likewise.
24917 * sunrpc/rpc_common.c: Likewise.
24918 * sunrpc/rpc_cout.c: Likewise.
24919 * sunrpc/rpc_dtable.c: Likewise.
24920 * sunrpc/rpc_hout.c: Likewise.
24921 * sunrpc/rpc_main.c: Likewise.
24922 * sunrpc/rpc_parse.c: Likewise.
24923 * sunrpc/rpc_parse.h: Likewise.
24924 * sunrpc/rpc_prot.c: Likewise.
24925 * sunrpc/rpc_sample.c: Likewise.
24926 * sunrpc/rpc_scan.c: Likewise.
24927 * sunrpc/rpc_scan.h: Likewise.
24928 * sunrpc/rpc_svcout.c: Likewise.
24929 * sunrpc/rpc_tblout.c: Likewise.
24930 * sunrpc/rpc_util.c: Likewise.
24931 * sunrpc/rpc_util.h: Likewise.
24932 * sunrpc/rpcinfo.c: Likewise.
24933 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
24934 * sunrpc/rpcsvc/key_prot.x: Likewise.
24935 * sunrpc/rpcsvc/klm_prot.x: Likewise.
24936 * sunrpc/rpcsvc/mount.x: Likewise.
24937 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
24938 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
24939 * sunrpc/rpcsvc/rex.x: Likewise.
24940 * sunrpc/rpcsvc/rstat.x: Likewise.
24941 * sunrpc/rpcsvc/rusers.x: Likewise.
24942 * sunrpc/rpcsvc/sm_inter.x: Likewise.
24943 * sunrpc/rpcsvc/spray.x: Likewise.
24944 * sunrpc/rpcsvc/yppasswd.x: Likewise.
24945 * sunrpc/rtime.c: Likewise.
24946 * sunrpc/svc.c: Likewise.
24947 * sunrpc/svc_auth.c: Likewise.
24948 * sunrpc/svc_authux.c: Likewise.
24949 * sunrpc/svc_raw.c: Likewise.
24950 * sunrpc/svc_run.c: Likewise.
24951 * sunrpc/svc_simple.c: Likewise.
24952 * sunrpc/svc_tcp.c: Likewise.
24953 * sunrpc/svc_udp.c: Likewise.
24954 * sunrpc/svc_unix.c: Likewise.
24955 * sunrpc/svcauth_des.c: Likewise.
24956 * sunrpc/xcrypt.c: Likewise.
24957 * sunrpc/xdr.c: Likewise.
24958 * sunrpc/xdr_array.c: Likewise.
24959 * sunrpc/xdr_float.c: Likewise.
24960 * sunrpc/xdr_mem.c: Likewise.
24961 * sunrpc/xdr_rec.c: Likewise.
24962 * sunrpc/xdr_ref.c: Likewise.
24963 * sunrpc/xdr_sizeof.c: Likewise.
24964 * sunrpc/xdr_stdio.c: Likewise.
24965
9da4bb31
UD
24966 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
24967 handling.
24968
bdaa77bc
AS
249692010-08-19 Andreas Schwab <schwab@redhat.com>
24970
24971 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
24972
fe2f79db
LM
249732010-08-19 Luis Machado <luisgpm@br.ibm.com>
24974
24975 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
24976 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
24977 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
24978 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
24979 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
24980 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
24981 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
24982 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
24983 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
24984 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
24985 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
24986 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
24987 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
24988 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
24989
b9b42ee0
AB
249902010-07-26 Anton Blanchard <anton@samba.org>
24991
24992 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
24993 * malloc/arena.c (heap_trim): Likewise.
24994
1c06ba31
UD
249952010-08-16 Ulrich Drepper <drepper@redhat.com>
24996
24997 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
24998 here. Not...
24999 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
25000 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
25001
f8392f40
L
250022010-08-12 H.J. Lu <hongjiu.lu@intel.com>
25003
25004 * sysdeps/i386/elf/Makefile: New file.
25005
3162f12e
AS
250062010-08-14 Andreas Schwab <schwab@linux-m68k.org>
25007
25008 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
25009 from fanotify_init.
25010 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
25011 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
25012
28c90b2c
UD
250132010-08-15 Ulrich Drepper <drepper@redhat.com>
25014
25015 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
25016 of strncasecmp_l.
1feccb6c 25017 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 25018
ca6bb004
UD
250192010-08-14 Ulrich Drepper <drepper@redhat.com>
25020
e9f82e0d
UD
25021 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
25022 strncase_l-nonascii.
25023 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
25024 Add strncase_l-ssse3.
25025 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
25026 * sysdeps/x86_64/strcmp.S: Likewise.
25027 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
25028 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
25029 * sysdeps/x86_64/strncase.S: New file.
25030 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
25031 * sysdeps/x86_64/strncase_l.S: New file.
25032 * string/Makefile (strop-tests): Add strncasecmp.
25033 * string/test-strncasecmp.c: New file.
25034
25035 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
25036 warning.
25037
ca6bb004
UD
25038 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
25039 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
25040
052fa7b3
AS
250412010-08-14 Andreas Schwab <schwab@linux-m68k.org>
25042
25043 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
25044
962dba78
UD
250452010-08-12 Ulrich Drepper <drepper@redhat.com>
25046
25047 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
25048 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
25049 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
25050
bebff237
AM
250512010-05-01 Alan Modra <amodra@gmail.com>
25052
25053 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
25054 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
25055 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
25056 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
25057 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
25058 tidying. Don't tail-call __sigjmp_save for static lib.
25059 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
25060 save location.
25061 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
25062 (CALL_MCOUNT): Add eh info, and nop after bl.
25063 (TAIL_CALL_SYSCALL_ERROR): New macro.
25064 (PSEUDO_RET): Use it.
25065 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
25066 Correct save location of integer regs and cr.
25067 (_dl_profile_resolve): Correct cr save location. Delete nops
25068 after bl when SHARED. Reduce cfi size a little by better
25069 placement of cfi directives.
25070 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
25071 make a stack frame. Instead use parm save area as a temp.
25072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
25073 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
25074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
25075 Don't make a stack frame for parent, use parm save area.
25076 Increase child stack frame to 112 bytes. Don't save unused reg,
25077 and adjust reg usage. Set up cfi on error recovery and
25078 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
25079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25080 (__makecontext): Add dummy nop after jump to exit.
25081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
25082 Use correct parm save area and cr save, reduce stack frame.
25083 Correct cfi for possible PSEUDO_RET frame setup.
25084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
25085 Branch to local label emitted by PSEUDO_RET rather than
25086 __syscall_error.
25087
02637374
AS
250882010-08-12 Andreas Schwab <schwab@redhat.com>
25089
25090 [BZ #11904]
25091 * locale/programs/locale.c (print_assignment): New function.
25092 (show_locale_vars): Use it.
25093
c3e2f19b
UD
250942010-08-11 Ulrich Drepper <drepper@redhat.com>
25095
3cdaa6ad
UD
25096 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
25097 field.
25098 (struct statfs64): Likewise.
25099 (_STATFS_F_FLAGS): Define.
25100 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
25101 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25102 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
25103 (ST_VALID): Define locally.
25104 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
25105 __statvfs_getflags, use the provided value.
25106 * sysdeps/unix/sysv/linux/kernel-features.h: Define
25107 __ASSUME_STATFS_F_FLAGS.
25108
754f7da3
UD
25109 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
25110
10b3bedc
UD
25111 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
25112 Add sys/fanotify.h.
25113 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
25114 fanotify_mask for GLIBC_2.13.
25115 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
25116 fanotify_init and fanotify_mark.
25117 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
25118 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
25119
c08fb0d7
UD
25120 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
25121 Add prlimit.
25122 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
25123 prlimit64 for GLIBC_2.13.
25124 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
25125 prlimit64.
25126 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
25127 syscall.
25128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
25129 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
25130 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
25131 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
25132 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
25133 add prlimit alias.
25134 * sysdeps/unix/sysv/linux/prlimit.c: New file.
25135
15bac72b
UD
25136 [BZ #11903]
25137 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
25138 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
25139
c3e2f19b
UD
25140 * nss/Makefile: Add rules to build and run tst-nss-test1.
25141 * shlib-versions: Add entry for libnss_test1.
25142 * nss/nss_test1.c: New file.
25143 * nss/tst-nss-test1.c: New file.
25144
25145 * nss/nsswitch.c (__nss_database_custom): Define new variable.
25146 (__nss_configure_lookup): Set appropriate entry in
25147 __nss_configure_lookup to true.
25148 * nss/nsswitch.h: Define enum with indeces of databases in
25149 databases and __nss_database_custom arrays. Declare
25150 __nss_database_custom.
25151 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
25152 to avoid using nscd when custom rules are installed.
25153 * nss/getXXbyYY_r.c: Likewise.
25154 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25155
25156 * nss/nss_files/files-parse.c: Whitespace fixes.
25157
f15ce4d8
UD
251582010-08-09 Ulrich Drepper <drepper@redhat.com>
25159
25160 [BZ #11883]
25161 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
25162 * posix/fnmatch_loop.c: Likewise.
25163
d22e4cc9
AK
251642010-07-17 Andi Kleen <ak@linux.intel.com>
25165
25166 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
25167 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
25168 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
25169 * Versions.def [GLIBC_2.13]: Add.
25170
805bc17d
UD
251712010-08-06 Ulrich Drepper <drepper@redhat.com>
25172
25173 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
25174 Also fail if tpwd after pwuid call is NULL.
25175
5a42321d
ST
251762010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
25177
25178 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
25179 when converting to ms.
25180
fd3ebeda
ST
251812010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
25182
25183 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
25184 EOPNOTSUPP errors with ENOTTY.
25185 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
25186 EOPNOTSUPP errors with ENOTTY.
25187
73507d3a
UD
251882010-07-31 Ulrich Drepper <drepper@redhat.com>
25189
25190 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
25191 Add strcasecmp_l-ssse3.
25192 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
25193 strcasecmp.
25194 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
25195 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
25196 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
25197
fe36dd02
UD
251982010-07-30 Ulrich Drepper <drepper@redhat.com>
25199
66f6765a
UD
25200 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
25201
42e08a54
UD
25202 * string/Makefile (strop-tests): Add strcasecmp.
25203 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
25204 strcasecmp_l-nonascii.
25205 (gen-as-const-headers): Add locale-defines.sym.
25206 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
25207 * sysdeps/x86_64/strcasecmp.S: New file.
25208 * sysdeps/x86_64/strcasecmp_l.S: New file.
25209 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
25210 * sysdeps/x86_64/locale-defines.sym: New file.
25211 * string/test-strcasecmp.c: New file.
25212
fe36dd02
UD
25213 * string/test-strcasestr.c: Test both ends of the range of characters.
25214 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
25215
48cbc0d6
RM
252162010-07-29 Roland McGrath <roland@redhat.com>
25217
76e6d6bc 25218 [BZ #11856]
48cbc0d6
RM
25219 * manual/locale.texi (Yes-or-No Questions): Fix example code.
25220
880113d9
UD
252212010-07-27 Ulrich Drepper <drepper@redhat.com>
25222
25223 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
25224 for ld.so.
25225
deb9cabb
AS
252262010-07-27 Andreas Schwab <schwab@redhat.com>
25227
25228 * manual/memory.texi (Malloc Tunable Parameters): Document
25229 M_PERTURB.
25230
1c7570ff
RM
252312010-07-26 Roland McGrath <roland@redhat.com>
25232
25233 [BZ #11840]
25234 * configure.in (-fgnu89-inline check): Set and substitute
25235 gnu89_inline, not libc_cv_gnu89_inline.
25236 * configure: Regenerated.
25237 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
25238
24fb0f88
UD
252392010-07-26 Ulrich Drepper <drepper@redhat.com>
25240
25241 * string/test-strnlen.c: New file.
25242 * string/Makefile (strop-tests): Add strnlen.
25243 * string/tester.c (test_strnlen): Add a few more test cases.
25244 * string/tst-strlen.c: Better error reporting.
25245
25246 * sysdeps/x86_64/strnlen.S: New file.
25247
8e96b93a
UD
252482010-07-24 Ulrich Drepper <drepper@redhat.com>
25249
25250 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
25251 lower-latency instructions.
25252
dbc676d4
UD
252532010-07-23 Ulrich Drepper <drepper@redhat.com>
25254
25255 * string/test-strcasestr.c: New file.
25256 * string/test-strstr.c: New file.
25257 * string/Makefile (strop-tests): Add strstr and strcasestr.
25258 * string/str-two-way.h: Don't undefine MAX.
25259 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
25260
f6a31e0e
AS
252612010-07-21 Andreas Schwab <schwab@redhat.com>
25262
25263 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25264 strcasestr-nonascii.
25265 (CFLAGS-strcasestr-nonascii.c): Define.
25266 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
25267 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
25268 Remove unused attribute.
25269
5dbc3b6c
RM
252702010-07-20 Roland McGrath <roland@redhat.com>
25271
25272 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
25273 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
25274 ld.so.cache was broken. With it, there is no way to disable dsocaps
25275 like LD_HWCAP_MASK can disable hwcaps.
25276
23d101d8
EPM
252772010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
25278
25279 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
25280
cc9f2e47
UD
252812010-07-16 Ulrich Drepper <drepper@redhat.com>
25282
25283 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
25284 call in strcasestr.
25285 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
25286 __strcasestr_sse42_nonascii.
25287 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
25288 strcasestr-nonascii.c.
25289 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
25290
77c1b069
LM
252912010-06-15 Luis Machado <luisgpm@br.ibm.com>
25292
25293 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
25294 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
25295 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
25296 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
25297
440566c3
UD
252982010-07-09 Ulrich Drepper <drepper@redhat.com>
25299
25300 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
25301 fcntl.
25302
5be9d05d
AS
253032010-07-06 Andreas Schwab <schwab@redhat.com>
25304
c30b7ee2 25305 [BZ #11577]
5be9d05d
AS
25306 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
25307 dl_signal_cerror.
25308
8a492a67
UD
253092010-07-06 Ulrich Drepper <drepper@redhat.com>
25310
25311 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
25312 _PC_PIPE_BUF using F_GETPIPE_SZ.
25313
713df3d5
RM
253142010-07-05 Roland McGrath <roland@redhat.com>
25315
25316 * manual/arith.texi (Rounding Functions): Fix rint description
25317 implicit in round description.
25318
702e8f14
UD
253192010-07-02 Ulrich Drepper <drepper@redhat.com>
25320
25321 * elf/Makefile: Fix linking for a few tests to make recent linker
25322 happy.
25323
52ed8be9
AS
253242010-06-30 Andreas Schwab <schwab@redhat.com>
25325
25326 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
25327 $(common-objpfx)libc_nonshared.a.
25328
f47c9a11
LM
253292010-06-21 Luis Machado <luisgpm@br.ibm.com>
25330
25331 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
25332 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
25333 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
25334 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
25335 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
25336 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
25337 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
25338 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
25339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
25340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
25341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
25342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
25343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
25344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
25345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
25346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
25347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
25348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
25349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
25350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
25351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
25352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
25353 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
25354 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
25355 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
25356 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
25357 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
25358 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
25359 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
25360 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
25361 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
25362 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
25363 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
25364 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
25365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
25366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
25367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
25368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
25369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
25370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
25371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
25372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
25373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
25374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
25375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
25376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
25377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
25378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
25379
6fb8cbcb
L
253802010-06-25 H.J. Lu <hongjiu.lu@intel.com>
25381
25382 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
25383 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
25384 * string/memmove.c (memmove): Renamed to ...
25385 (MEMMOVE): ...this. Default to memmove.
25386 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
25387 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
25388 (END_CHK): Define.
25389 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25390 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
25391 mempcpy-ssse3-back memmove-ssse3-back.
25392 * sysdeps/x86_64/multiarch/bcopy.S: New file .
25393 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
25394 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
25395 * sysdeps/x86_64/multiarch/memcpy.S: New file.
25396 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
25397 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
25398 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
25399 * sysdeps/x86_64/multiarch/memmove.c: New file.
25400 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
25401 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
25402 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
25403 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
25404 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
25405 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
25406 Define.
25407 (index_Fast_Copy_Backward): Define.
25408 (HAS_ARCH_FEATURE): Define.
25409 (HAS_FAST_REP_STRING): Define.
25410 (HAS_FAST_COPY_BACKWARD): Define.
25411
4e733bac 254122010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
25413
25414 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
25415 Restore proper fallback handling.
25416
63c4ed22
UD
254172010-06-19 Ulrich Drepper <drepper@redhat.com>
25418
ac2b484c
UD
25419 [BZ #11701]
25420 * posix/group_member.c (__group_member): Correct checking loop.
25421
63c4ed22
UD
25422 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
25423 OOM in getpwuid_r correctly. Return error number when the caller
25424 should return, otherwise -1.
25425 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
25426 call returning > 0 value.
25427 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
25428
765ade4b
AS
254292010-06-07 Andreas Schwab <schwab@redhat.com>
25430
25431 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
25432 libc_nonshared.a from targets in modules-names.
25433
80da2e09
KS
254342010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
25435
25436 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
25437 requires it.
25438
158db122
LM
254392010-06-10 Luis Machado <luisgpm@br.ibm.com>
25440
25441 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
25442 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
25443 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
25444 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
25445
caa78cf8
AS
254462010-06-02 Andreas Schwab <schwab@redhat.com>
25447
25448 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
25449
b2ef2c01
UD
254502010-06-14 Ulrich Drepper <drepper@redhat.com>
25451
25452 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
25453 and F_GETPIPE_SZ.
25454 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25455 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25456 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25457 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25458 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25459 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
25460
fbd643b6
RM
254612010-06-14 Roland McGrath <roland@redhat.com>
25462
25463 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
25464
f32f2869
JJ
254652010-06-07 Jakub Jelinek <jakub@redhat.com>
25466
25467 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
25468 __REDIRECT followed by __THROW.
25469 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
25470 * posix/getopt.h (getopt): Likewise.
25471
2a50c078
EPM
254722010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
25473
25474 * hurd/lookup-at.c (__file_name_lookup_at): Accept
25475 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
25476 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
25477 in AT_FLAGS.
25478 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
25479 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
25480
eb5ad2eb
LM
254812010-05-28 Luis Machado <luisgpm@br.ibm.com>
25482
25483 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
25484
3c88fe1e
L
254852010-05-26 H.J. Lu <hongjiu.lu@intel.com>
25486
25487 [BZ #11640]
25488 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25489 Properly check family and model.
25490
d2f73151
TY
254912010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
25492
25493 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
25494
ebd2e13d
LM
254952010-05-24 Luis Machado <luisgpm@br.ibm.com>
25496
25497 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
25498
b32b8b45
UD
254992010-05-21 Ulrich Drepper <drepper@redhat.com>
25500
25501 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
25502 symbol reference.
25503
9acbe24d
AS
255042010-05-19 Andreas Schwab <schwab@redhat.com>
25505
25506 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
25507 symbol reference.
25508
f0ccf6ea
AS
255092010-05-21 Andreas Schwab <schwab@redhat.com>
25510
3d04ff3a
AS
25511 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
25512 and internal_recvmmsg.
25513 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
25514 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
25515 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
25516 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
25517
f0ccf6ea
AS
25518 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
25519 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
25520 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
25521
5b08ac57
AS
255222010-05-20 Andreas Schwab <schwab@redhat.com>
25523
25524 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
25525
4828935d
LM
255262010-05-17 Luis Machado <luisgpm@br.ibm.com>
25527
25528 POWER7 optimizations.
25529 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
25530 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
25531
373d545e
UD
255322010-05-19 Ulrich Drepper <drepper@redhat.com>
25533
25534 * version.h: Update for 2.13 development version.
25535
21a2b1ae
AS
255362010-05-12 Andrew Stubbs <ams@codesourcery.com>
25537
25538 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
25539 exceptions. Return 0.
25540
3f7dcb2b
RM
255412010-05-07 Roland McGrath <roland@redhat.com>
25542
25543 * elf/ldconfig.c (main): Add a const.
25544
5f24d53a 255452010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 25546
a160f8d8
UD
25547 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
25548 (args_options): Add no-idn option.
25549 (ahosts_keys_int): Add idn_flags to ai_flags.
25550 (parse_option): Handle 'i' option to clear idn_flags.
25551
5f24d53a
UD
25552 * malloc/malloc.c (_int_free): Possible race in the most recently
25553 added check. Only act on the data if no current modification
25554 happened.
265bb1ce
UD
25555
25556See ChangeLog.17 for earlier changes.
This page took 3.423872 seconds and 5 git commands to generate.