]> sourceware.org Git - glibc.git/blame - ChangeLog
manual: Update the locale documentation
[glibc.git] / ChangeLog
CommitLineData
58536726
FW
12014-07-02 Florian Weimer <fweimer@redhat.com>
2
3 * manual/locale.texi (Locale Names): New section documenting
4 locale name syntax. Adjust menu and node chaining accordingly.
5 (Choosing Locale): Reference Locale Names, Locale Categories.
6 Mention setting LC_ALL=C. Reflect that name syntax is now
7 documented.
8 (Locale Categories): New section title. Reference Locale Names.
9 LC_ALL is an environment variable, but not a category.
10 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
11 description, now in Locale Name. Reference that section. Locale
12 name syntax is now documented.
13
4e8f95a0
FW
142014-07-02 Florian Weimer <fweimer@redhat.com>
15
16 [BZ #17137]
17 * locale/findlocale.c (name_present, valid_locale_name): New
18 functions.
19 (_nl_find_locale): Use the loc_name variable to store name
20 candidates. Call name_present and valid_locale_name to check and
21 validate locale names. Return an error if the locale is invalid.
22
d1836456
FW
232014-07-02 Florian Weimer <fweimer@redhat.com>
24
25 * locale/setlocale.c (setlocale): Use strdup for allocating
26 composite name copy.
27
d69b7f5a
SP
282014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29
888c679b
SP
30 Sync up with gnulib.
31 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
32 [!_LIBC && ENABLE_NLS]: Include gettext.h.
33 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
34 and _GL_ARG_NONNULL.
35 [USE_UNLOCKED_IO]: Include unlocked-io.h.
36 [!_LIBC]: Include code for Windows and Cygwin.
37 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
38 Include prototype for int strerror_r.
39 [!_LIBC] (is_open): New function.
40 (flush_stdout): New function.
41 (print_errno_message): Use it.
42 (error): Likewise.
43 (error_at_line): Likewise.
44 (error_tail) Add function attribute macros. Use
45 __builtin_expect.
46
180e0e4b
SP
47 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
48
d22f1fe2
SP
49 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
50
12f2254b
SP
51 * io/ftw.c: Include sys/param.h unconditionally.
52
c3c7c360
SP
53 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
54
d62aa75a
SP
55 [BZ #17125]
56 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
57 libc_freeres_ptr.
58 (freecache): New function to free CACHE on exit.
59
d69b7f5a
SP
60 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
61 initialization.
62
5efe06a1
DM
632014-07-09 David S. Miller <davem@davemloft.net>
64
65 * sysdeps/sparc/fpu/libm-test-ulps: Update.
66
7000d82e
DM
67 * sysdeps/sparc/nptl/internaltypes.h: Delete.
68 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
69 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
70 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
71 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
72 * sysdeps/sparc/nptl/sem_init.c: Likewise.
73 * sysdeps/sparc/nptl/sem_post.c: Likewise.
74 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
75 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
76 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
77 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
78 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
79 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
80
c213442d
AS
812014-07-09 Andreas Schwab <schwab@suse.de>
82
4a2552c3
AS
83 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
84 output.
85 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
86 (do_test): Likewise.
87
c213442d
AS
88 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
89
82374e65
WN
902014-07-09 Will Newton <will.newton@linaro.org>
91
92 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
93 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
94 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
95 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
96 * sysdeps/hppa/start.S (_start): Likewise.
97
6680738a
SP
982014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
99
6ee3eab4
SP
100 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
101
6680738a
SP
102 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
103 defined.
104
80b5c505
SP
1052014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
106
e35c53e3
SP
107 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
108 after checking that it is non-NULL.
109
80b5c505
SP
110 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
111
91f4b564
AZ
1122014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
113
27b75f56
AZ
114 * sysdeps/powerpc/memmove.c: Remove file.
115 * sysdeps/powerpc/powerpc32/power4/memcopy.h
116 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
117 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
118 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
119 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
120 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
121 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
122 string memmove instead of removed powerpc one.
123
e7f95bb5
AZ
124 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
125 [weak_alias]: Fix compiler warning due trailing data.
126 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
127 [weak_alias]: Likewise.
128 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
129 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
130
91f4b564
AZ
131 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
132 (__libc_ifunc_impl_list): Add memmove functions.
133
7c33f1e5
SP
1342014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
135
136 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
137 Remove code.
138 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
139 Likewise
140 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
141 Likewise
142 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
143 Likewise
144 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
145 Likewise
146 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
147 Likewise
148 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
149 Likewise
150 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
151 Likewise
152 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
153 Likewise
154 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
155 Likewise
156 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
157 Likewise
158 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
159 Likewise
160 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
161 Likewise
162 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
163 Likewise
164 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
165 Likewise
166 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
167 Likewise
168 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
169 Likewise
170
3f17b03b
AZ
1712014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
172
87868c24
AZ
173 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
174 to avoid alignment traps in non-cacheable memory.
175 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
176
07aedd78
AZ
177 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
178 multiarch objects.
179 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
180 file: multiarch power7 memmove.
181 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
182 multiarch default memmove.
183 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
184 multiarch memove for powerpc32/power4.
185
17762f66
AZ
186 * string/bcopy.c: Use full path to include memmove.c.
187 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
188 multiarch objects.
189 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
190 bcopy for powerpc64.
191 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
192 bcopy for powerpc64.
193 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
194 and memmove implementations.
195 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
196 optimized multiarch memmove for POWER7/powerpc64.
197 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
198 default multiarch memmove for powerpc64.
199 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
200 multiarch for powerpc64.
201 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
202 for POWER7/powerpc64.
203 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
204 memmove for POWER7/powerpc64.
205
d6f68bbe
AZ
206 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
207 glibc default one.
208
3f17b03b
AZ
209 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
210 __ELF_NATIVE_CLASS equal to 64.
211
08192659
RM
2122014-07-07 Roland McGrath <roland@hack.frob.com>
213
f4c4021b
RM
214 * sysdeps/nptl/lowlevellock.h: File removed.
215
f083450f
RM
216 * NEWS: NPTL is no longer an add-on!
217 * nptl/internaltypes.h: Moved ...
218 * sysdeps/nptl/internaltypes.h: ... here.
219 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
220 * sysdeps/nptl/fork.c: Likewise.
221 * sysdeps/nptl/gai_misc.h: Likewise.
222 * sysdeps/nptl/librt-cancellation.c: Likewise.
223 * sysdeps/nptl/jmp-unwind.c: Likewise.
224 * sysdeps/nptl/setxid.h: Likewise.
225 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
226 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
227 * sysdeps/unix/sysv/linux/arm/Implies: New file.
228 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
229 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
230 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
231 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
232 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
233 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
234 * sysdeps/unix/sysv/linux/mips/Implies: New file.
235 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
236 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
237 * sysdeps/unix/sysv/linux/sh/Implies: New file.
238 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
239 * sysdeps/unix/sysv/linux/tile/Implies: New file.
240 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
241 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
242 * nptl/Makeconfig: Moved ...
243 * sysdeps/nptl/Makeconfig: ... here.
244 * nptl/configure: File removed.
245 * nptl/ANNOUNCE: File removed.
246 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
247 * sysdeps/unix/sysv/linux/configure: Regenerated.
248
08192659
RM
249 * nptl/Makefile (routines): Add libc_pthread_init,
250 libc_multiple_threads, register-atfork and unregister-atfork.
251 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
252 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
253 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
254 pthread-pi-defines.sym, structsem.sym.
255 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
256 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
257 [$(subdir) = nptl] (tests): Add tst-setgetname.
258 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
259 * sysdeps/unix/sysv/linux/sigaction.c: Just include
260 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
261 [!LIBC_SIGACTION]: Remove aliases.
262 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
263 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
264 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
265 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
266 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
267 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
268 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
269 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
270 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
271 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
272 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
273 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
274 __libc_allocate_rtsig_private.
275 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
276 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
277 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
278 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
279 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
280 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
281 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
282 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
283 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
284 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
285 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
286 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
287 * nptl/internaltypes.h: ... here.
288 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
289 * sysdeps/nptl/jmp-unwind.c: ... here.
290 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
291 * nptl/libc-lowlevellock.c: ... here.
292 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
293 * nptl/libc_multiple_threads.c: ... here.
294 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
295 * nptl/libc_pthread_init.c: ... here.
296 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
297 * nptl/lowlevelbarrier.sym: ... here.
298 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
299 * nptl/lowlevelcond.sym: ... here.
300 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
301 * nptl/lowlevellock.c: ... here.
302 * nptl/lowlevellock.h: Moved ...
303 * sysdeps/nptl/lowlevellock.h: ... here.
304 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
305 * nptl/lowlevelrobustlock.c: ... here.
306 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
307 * nptl/lowlevelrobustlock.sym: ... here.
308 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
309 * nptl/lowlevelrwlock.sym: ... here.
310 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
311 * nptl/pt-fork.c: ... here.
312 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
313 * nptl/pthread-pi-defines.sym: ... here.
314 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
315 * nptl/pthread_attr_getaffinity.c: ... here.
316 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
317 * nptl/pthread_attr_setaffinity.c: ... here.
318 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
319 * nptl/pthread_mutex_cond_lock.c: ... here.
320 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
321 Update #include.
322 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
323 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
324 * nptl/pthread_once.c: ... here, replacing old file.
325 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
326 * nptl/pthread_yield.c: ... here.
327 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
328 * nptl/register-atfork.c: ... here.
329 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
330 * nptl/sem_post.c: ... here.
331 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
332 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
333 * nptl/sem_timedwait.c: ... here.
334 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
335 * nptl/sem_trywait.c: ... here.
336 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
337 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
338 * nptl/sem_wait.c: ... here.
339 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
340 * nptl/structsem.sym: ... here.
341 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
342 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
343 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
344 * nptl/unregister-atfork.c: ... here.
345 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
346 * nptl/unwindbuf.sym: ... here.
347 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
348 * sysdeps/nptl/fork.c: ... here.
349 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
350 * sysdeps/nptl/fork.h: ... here.
351 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
352 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
353 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
354 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
355 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
356 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
357 * sysdeps/unix/sysv/linux/getpid.c: ... here.
358 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
359 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
360 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
361 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
362 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
363 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
364 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
365 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
366 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
367 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
368 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
369 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
370 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
371 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
372 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
373 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
374 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
375 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
376 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
377 * sysdeps/unix/sysv/linux/raise.c: ... here.
378 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
379 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
380 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
381 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
382 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
383 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
384 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
385 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
386 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
387 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
388 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
389 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
390 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
391 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
392 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
393
96baf6ff
SP
3942014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
395
396 * sysdeps/generic/memcopy.h: Add comment for
397 MEMCPY_OK_FOR_FWD_MEMMOVE.
398
6b7b14b2
WN
3992014-07-04 Will Newton <will.newton@linaro.org>
400
1570a72b
WN
401 * string/memchr.c: Merge from gnulib.
402 [_LIBC]: Remove conditionals.
403 (__ptr_t): Remove define.
404 (LONG_MAX_32_BITS): Likewise.
405 (LONG_MAX): Likewise.
406 (MEMCHR): Use ANSI prototype and optimize algorithm.
407
6b7b14b2
WN
408 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
409
38851324
SP
4102014-07-03 Roland McGrath <roland@hack.frob.com>
411
3d9eb57c
RM
412 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
413 (lll_futex_timed_wait_bitset): Fix syscall argument count.
414
78b984ae
RM
415 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
416 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
417 in a bare environment with no <stdlib.h> installed.
418 * sysdeps/nptl/configure: Regenerated.
419
2d5976a5
RM
420 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
421
c1f5acd4
RM
422 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
423 AC_EGREP_CPP for kernel header checks, so they only succeed if
424 including <linux/version.h> actually works right.
425 * sysdeps/unix/sysv/linux/configure: Regenerated.
426
4d614fe5
RM
427 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
428 value so it's not diagnosed as unused.
429
38851324
SP
430 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
431 thing) with "ifeq ($(subdir),rt)".
432
b3ec00e5
RH
4332014-07-03 Richard Henderson <rth@redhat.com>
434
69862e25
RH
435 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
436 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
437 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
438
d5e16ade
RH
439 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
440 (math_force_eval): New.
441
ca7b945c
RH
442 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
443 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
444
cd1175a3
RH
445 * sysdeps/alpha/fpu/s_round.c: Remove file.
446 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
447
b3ec00e5
RH
448 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
449 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
450 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
451 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
452 (_dl_start, print_statistics): Likewise.
453 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
454 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
455
456 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
457 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
458 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
459 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
460 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
461 (HP_SMALL_TIMING_AVAIL): Define.
462 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
463 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
464 (HP_SMALL_TIMING_AVAIL): Define.
465 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
466 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
467
468 * sysdeps/aarch64/hp-timing.h: New file.
469
470 * sysdeps/generic/hp-timing.h: Remove dead comment.
471 * sysdeps/generic/hp-timing-common.h: New file.
472 * sysdeps/alpha/hp-timing.h: Include it.
473 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
474 * sysdeps/i386/i686/hp-timing.h: Likewise.
475 * sysdeps/ia64/hp-timing.h: Likewise.
476 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
477 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
478 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
479 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
480 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
481 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
482 (hp_timing_t): New.
483
484 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
485 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
486 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
487 * elf/rtld.c (_dl_start_final): Likewise.
488 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
489 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
490 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
491 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
492 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
493 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
494 (HP_TIMING_DIFF_INIT): Remove.
495 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
496 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
497 (HP_TIMING_DIFF_INIT): Remove.
498 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
499 * sysdeps/i386/i686/hp-timing.c: Remove file.
500 * sysdeps/x86_64/hp-timing.c: Remove file.
501 * sysdeps/ia64/hp-timing.c: Remove file.
502 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
503 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
504 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
505 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
506
507 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
508 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
509 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
510 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
511 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
512 (HP_TIMING_ACCUM): Remove.
513 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
514 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
515 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
516
517 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
518 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
519 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
520 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
521 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
522 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
523 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
524 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
525
526 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
527
225f410f
MR
5282014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
529
530 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
531
3247f285
SP
5322014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
533
534 Sync up with gettext.
535 * intl/loadmsgcat.c: Define O_BINARY if not defined.
536 [_MSC_VER]: Include malloc.h
537 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
538 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
539 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
540 TEMP_FAILURE_RETRY. Cast return of alloca.
541 [!_LIBC] Call gl_rwlock_init.
542 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
543
d12704c7
SP
5442014-07-02 Roland McGrath <roland@hack.frob.com>
545
546 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
547 before checking its value.
548
99f8dc92
SP
5492014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
550
05fdac77
SP
551 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
552
99f8dc92
SP
553 * debug/memcpy_chk.c: Don't include pagecopy.h.
554 * debug/mempcpy_chk.c: Likewise.
555 * string/memcpy.c: Likewise.
556 * string/memmove.c: Likewise.
557 * sysdeps/powerpc/memmove.c: Likewise.
558 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
559 definition of PAGE_COPY_FWD_MAYBE here...
560 * sysdeps/generic/pagecopy.h: ... from here.
561 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
562
bc8ea385
VR
5632014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
564 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
565
566 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
567 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
568 optimizations.
569 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
570 (__libc_ifunc_impl_list): Likewise.
571 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
572 multiarch strcat for PPC64.
573 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
574 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
575
fe5f34e4
RM
5762014-07-02 Roland McGrath <roland@hack.frob.com>
577
578 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
579
256aa665
SP
5802014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
581
d4eb8195
SP
582 * intl/loadmsgcat.c: Remove declaration of
583 get_sysdep_segment_value.
584 (get_sysdep_segment_value): Use ISO C style.
585 (_nl_load_domain): Use ISO C style. Get rid of redundant
586 semicolon. Fix typo and formatting in comment.
587 (_nl_unload_domain): Use ISO C style.
588
256aa665
SP
589 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
590
b100f9aa
WN
5912014-07-02 Will Newton <will.newton@linaro.org>
592
593 * malloc/obstack.c: Merge from gnulib master.
594 [HAVE_CONFIG_H]: Remove conditional code.
595 [!_LIBC]: Include config.h.
596 [!ELIDE_CODE]: Don't include inttypes.h, include
597 stdint.h unconditionally.
598 (print_and_abort): Mark as _Noreturn.
599 (_obstack_allocated_p): Mark as __attribute_pure__.
600 (obstack_free): Rename to __obstack_free.
601 [!__attribute__]: Remove conditional code.
602 * malloc/obstack.h: Merge from gnulib master.
603 [__cplusplus]: Move conditional down.
604 [!__attribute_pure__]: Define __attribute_pure__ here
605 if it is not already defined.
606 (_obstack_memory_used): Mark as __attribute_pure__.
607 [!__obstack_free]: Define as obstack_free.
608 [__GNUC__]: Remove check for ancient NeXT gcc.
609
c4c41244
PE
6102014-07-02 Will Newton <will.newton@linaro.org>
611 Paul Eggert <eggert@cs.ucla.edu>
612
613 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
614
e1e041c4
SP
6152014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
616
617 * resolv/gethnamaddr.c: Add comment warning that the file is
618 not maintained.
619
ccf431ff
CD
6202014-07-01 Carlos O'Donell <carlos@redhat.com>
621
d34570a6
CD
622 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
623 entries.
624
ccf431ff
CD
625 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
626 entry for aio_cancel and aio_cancel64.
627 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
628 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
629 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
630 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
631 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
632 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
633 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
634 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
635 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
636 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
637 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
638 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
639 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
640
ca06321d
RM
6412014-07-01 Roland McGrath <roland@hack.frob.com>
642
643 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
644 * nptl/pthread_mutex_lock.c: Likewise.
645 * nptl/pthread_mutex_timedlock.c: Likewise.
646 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
647
a1ac3184
RH
6482014-07-01 Richard henderson <rth@redhat.com>
649
631021e0
RH
650 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
651 (__isnan, __isnanl): Remove.
652 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
653
a1ac3184
RH
654 * sysdeps/alpha/fpu/libm-test-ulps: Update.
655
0c1d731f
SL
6562014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
657
658 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
659
76985d3e
SP
6602014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
661
662 * resolv/nss_dns/dns-host.c (getanswer_r)
663 [MULTI_PTRS_ARE_ALIASES]: Remove code.
664
b0cb3096
JM
6652014-07-01 Joseph Myers <joseph@codesourcery.com>
666
667 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
668 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
669 undefine.
670 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
671 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
672
4d76cb39
RM
6732014-07-01 Roland McGrath <roland@hack.frob.com>
674
675 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
676 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
677
678 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
679 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
680
681 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
682 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
683 ... here.
684 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
685 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
686
687 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
688 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
689 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
690 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
691
692 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
693 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
694 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
695 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
696 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
697 Moved ...
698 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
699 ... here.
700 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
701 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
702 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
703 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
704 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
705 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
706 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
707 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
708 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
709 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
710 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
711 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
712 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
713 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
714 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
715 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
716 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
717 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
718 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
719 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
720 ... here.
721 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
722 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
723 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
724 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
725 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
726 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
727 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
728 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
729
0cdcad17
DH
7302014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
731
732 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
733 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
734 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
735 Add sysdep.
736
9b71d0e3
AZ
7372014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
738
739 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
740
665390c2
JM
7412014-06-30 Joseph Myers <joseph@codesourcery.com>
742
ae05a9d7
JM
743 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
744 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
745
a7672a2f
JM
746 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
747
665390c2
JM
748 * sysdeps/arm/libm-test-ulps: Regenerated.
749
d7a05d07
MR
7502014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
751 Roland McGrath <roland@hack.frob.com>
752
753 * test-skeleton.c (signal_handler): Kill the whole process group
754 before killing the child individually.
755 (main): Report any failure on `setpgid'.
756
46f1d8a6
RM
7572014-06-30 Roland McGrath <roland@hack.frob.com>
758
759 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
760 from _TLS_H to _ARM_NPTL_TLS_H.
761 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
762 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
763
9c37ec0b
JM
7642014-06-30 Joseph Myers <joseph@codesourcery.com>
765
ce9c5b3e
JM
766 [BZ #16539]
767 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
768 (__expm1l): Return argument unchanged when small but not
769 subnormal.
770
3a6e9887
JM
771 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
772 include macro name.
773 (_FP_UNPACK_RAW_1_P): Likewise.
774 (_FP_PACK_RAW_1): Likewise.
775 (_FP_PACK_RAW_1_P): Likewise.
776 (_FP_MUL_MEAT_1_wide): Likewise.
777 (_FP_MUL_MEAT_DW_1_hard): Likewise.
778 (_FP_MUL_MEAT_1_hard): Likewise.
779 (_FP_DIV_MEAT_1_imm): Likewise.
780 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
781 (_FP_DIV_MEAT_1_udiv): Likewise.
782 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
783 (_FP_UNPACK_RAW_2): Likewise.
784 (_FP_UNPACK_RAW_2_P): Likewise.
785 (_FP_PACK_RAW_2): Likewise.
786 (_FP_PACK_RAW_2_P): Likewise.
787 (_FP_MUL_MEAT_DW_2_wide): Likewise.
788 (_FP_MUL_MEAT_2_wide): Likewise.
789 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
790 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
791 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
792 (_FP_MUL_MEAT_2_gmp): Likewise.
793 (_FP_DIV_MEAT_2_udiv): Likewise.
794 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
795 (_FP_FRAC_SRL_4): Likewise.
796 (_FP_FRAC_SRST_4): Likewise.
797 (_FP_FRAC_SRS_4): Likewise.
798 (_FP_UNPACK_RAW_4): Likewise.
799 (_FP_UNPACK_RAW_4_P): Likewise.
800 (_FP_PACK_RAW_4): Likewise.
801 (_FP_PACK_RAW_4_P): Likewise.
802 (_FP_MUL_MEAT_DW_4_wide): Likewise.
803 (_FP_MUL_MEAT_4_wide): Likewise.
804 (_FP_MUL_MEAT_4_gmp): Likewise.
805 (umul_ppppmnnn): Likewise.
806 (_FP_DIV_MEAT_4_udiv): Likewise.
807 (__FP_FRAC_ADD_4): Likewise.
808 (__FP_FRAC_SUB_3): Likewise.
809 (__FP_FRAC_SUB_4): Likewise.
810 (__FP_FRAC_DEC_3): Likewise.
811 (__FP_FRAC_DEC_4): Likewise.
812 (__FP_FRAC_ADDI_4): Likewise.
813 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
814 (_FP_FRAC_SRL_8): Likewise.
815 (_FP_FRAC_SRS_8): Likewise.
816
9c37ec0b
JM
817 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
818 include macro name.
819 (FP_UNPACK_RAW_EP): Likewise.
820 (FP_PACK_RAW_E): Likewise.
821 (FP_PACK_RAW_EP): Likewise.
822 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
823 (_FP_ISSIGNAN): Likewise.
824 (_FP_ADD_INTERNAL): Likewise.
825 (_FP_FMA): Likewise.
826 (_FP_CMP): Likewise.
827 (_FP_SQRT): Likewise.
828 (_FP_TO_INT): Likewise.
829 (_FP_FROM_INT): Likewise.
830 (FP_EXTEND): Likewise.
831 (_FP_DIV_MEAT_N_loop): Likewise.
832
2125f674
MR
8332014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
834
835 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
836 throughout.
837
edea4028
JM
8382014-06-29 Joseph Myers <joseph@codesourcery.com>
839
840 [BZ #17097]
841 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
842 result with correct sign in case of exponents that produce
843 overflow except for X very close to 1.
844
dd0ba018
PE
8452014-06-28 Paul Eggert <eggert@cs.ucla.edu>
846
847 mktime: merge #if/#ifdef usage from glibc
848 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
849 as that works with both Glibc's and Gnulib's style.
850 See thread starting at Siddhesh Poyarekar's bug report at:
851 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
852
64df73c2
SP
8532014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
854
855 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
856 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
857 * sysdeps/tile/tilegx/memmove.c: Remove file.
858
f1eafb41
JM
8592014-06-27 Joseph Myers <joseph@codesourcery.com>
860
861 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
862 abi-name definition.
863 * scripts/soversions.awk: Do not handle or generate ABI lines.
864 * shlib-versions: Remove ABI entries.
865 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
866 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
867
58eb0862
RM
8682014-06-27 Roland McGrath <roland@hack.frob.com>
869
37caf178
RM
870 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
871 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
872 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
873 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
874 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
875 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
876 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
877 Moved ...
878 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
879 ... here.
880 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
881 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
882 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
883 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
884 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
885 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
886 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
887 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
888 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
889 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
890 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
891 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
892 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
893 Moved ...
894 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
895 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
896 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
897 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
898 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
899 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
900 Moved ...
901 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
902 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
903 Moved ...
904 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
905 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
906 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
907 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
908 Moved ...
909 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
910 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
911 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
912 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
913 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
914 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
915 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
916 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
917 Moved ...
918 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
919 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
920 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
921 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
922 Moved ...
923 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
924 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
925 Moved ...
926 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
927 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
928 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
929 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
930 Moved ...
931 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
932 ... here.
933 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
934 Identical file removed.
935 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
936 Moved ...
937 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
938 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
939 Identical file removed.
940 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
941 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
942 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
943 Moved ...
944 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
945 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
946 Identical file removed.
947 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
948 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
949 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
950 Identical file removed.
951 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
952 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
953 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
954 Identical file removed.
955 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
956 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
957 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
958 Identical file removed.
959 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
960 Moved ...
961 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
962 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
963 Identical file removed.
964 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
965 Moved ...
966 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
967 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
968 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
969 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
970 Identical file removed.
971 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
972 Moved ...
973 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
974 ... here.
975 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
976 Identical file removed.
977 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
978 Moved ...
979 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
980 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
981 Identical file removed.
982 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
983 Moved ...
984 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
985 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
986 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
987 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
988 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
989 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
990 Moved ...
991 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
992 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
993 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
994
58eb0862
RM
995 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
996 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
997 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
998 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
999 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
1000
6f12d062
AS
10012014-06-27 Arjun Shankar <arjun.is@lostca.se>
1002
1003 [BZ #17092]
1004 * nscd/nscd.c (monitor_child): Return exit status of child
1005 instead of return value from wait syscall.
1006
be254932
JM
10072014-06-27 Joseph Myers <joseph@codesourcery.com>
1008
cb403c34
JM
1009 * configure.ac (libc_commonpagesize): Remove variable.
1010 (libc_relro_required): Likewise.
1011 (libc_cv_z_relro): Remove configure test.
1012 * configure: Regenerated.
1013 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
1014 variable.
1015 (libc_relro_required): Likewise.
1016 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
1017 (libc_relro_required): Likewise.
1018 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
1019 (libc_relro_required): Likewise.
1020 * sysdeps/arm/preconfigure: Regenerated.
1021 * sysdeps/ia64/preconfigure: Remove file.
1022 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
1023 variable.
1024 (libc_relro_required): Likewise.
1025
be254932
JM
1026 [BZ #16561]
1027 [BZ #16562]
1028 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
1029 (__ieee754_yn): Set FE_TONEAREST mode internally and then
1030 recompute overflowing results in original rounding mode.
1031 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
1032 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
1033 recompute overflowing results in original rounding mode.
1034 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
1035 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1036 recompute overflowing results in original rounding mode.
1037 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
1038 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1039 recompute overflowing results in original rounding mode.
1040 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
1041 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1042 recompute overflowing results in original rounding mode.
1043 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
1044 (libc_feholdsetround_ctx): New macro.
1045 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
1046 * sysdeps/i386/fpu/libm-test-ulps: Update.
1047 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
1048
b351d85a
JM
10492014-06-26 Joseph Myers <joseph@codesourcery.com>
1050
1051 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
1052 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
1053 corresponding .cpsetup call.
1054
3cb4de47
RM
10552014-06-26 Roland McGrath <roland@hack.frob.com>
1056
1057 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
1058 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
1059 * sysdeps/arm/Makefile [$(subdir) = csu]
1060 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
1061 (static-only-routines): Add aeabi_read_tp here.
1062 (shared-only-routines): Add libc-aeabi_read_tp here.
1063 (CFLAGS-libc-start.c): Add -fexceptions here.
1064 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
1065 (sysdep_routines, static-only-routines, shared-only-routines):
1066 Don't add to these here.
1067 (CFLAGS-libc-start.c): Likewise.
1068
1069 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
1070 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1071 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
1072 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1073 * sysdeps/arm/Makefile [$(subdir) = rt]
1074 (librt-sysdep_routines, librt-shared-only-routines):
1075 Append rt-aeabi_unwind_cpp_pr1 here.
1076 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
1077 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
1078 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
1079 (libpthread-sysdep_routines, libpthread-shared-only-routines):
1080 Append nptl-aeabi_unwind_cpp_pr1 here.
1081 (tests): Filter out tst-cleanupx4 here.
1082 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
1083 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
1084 Don't do those here.
1085
354426bb
JM
10862014-06-26 Joseph Myers <joseph@codesourcery.com>
1087
1088 * scripts/list-sources.sh: Do not handle ports specially.
1089
28b0a8c9
RM
10902014-06-26 Roland McGrath <roland@hack.frob.com>
1091
a3dd035d
RM
1092 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
1093 * sysdeps/arm/feupdateenv.c: Likewise.
1094
28b0a8c9
RM
1095 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
1096
e66a8203
JM
10972014-06-26 Joseph Myers <joseph@codesourcery.com>
1098
1099 * manual/texinfo.tex: Update to version 2014-05-05.10 with
1100 trailing whitespace removed.
1101 * scripts/config.guess: Update to version 2014-03-23.
1102 * scripts/config.sub: Update to version 2014-05-01
1103 * scripts/install-sh: Update to version 2013-12-25.23.
1104 * scripts/move-if-change: Update from gnulib.
1105
74171115
SP
11062014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1107
b97c9ce5
SP
1108 * debug/memmove_chk.c: Remove pagecopy.h include.
1109
4000f892
SP
11102014-06-26 Paul Eggert <eggert@cs.ucla.edu>
1111
74171115
SP
1112 * time/mktime.c (leapyear): Remove inline keyword. The code is now
1113 identical to gnulib mktime.
1114
a8779c28
JM
11152014-06-26 Joseph Myers <joseph@codesourcery.com>
1116
e64708de
JM
1117 * configure.ac: Do not test for machine being rs6000. Do not test
1118 for powerpc*-*soft.
1119 * configure: Regenerated.
1120
a8779c28
JM
1121 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
1122 test.
1123 * configure: Regenerated.
1124 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
1125 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
1126 Remove configure test.
1127 * sysdeps/arm/configure: Regenerated.
1128 * sysdeps/nptl/configure.ac: Do not check
1129 libc_cv_asm_cfi_directives.
1130 * sysdeps/nptl/configure: Regenerated.
1131 * sysdeps/x86_64/nptl/configure.ac: Remove file.
1132 * sysdeps/x86_64/nptl/configure: Remove generated file.
1133 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
1134 unconditional.
1135 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
1136
2aac0a86
SP
11372014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1138
059bf913
SP
1139 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
1140 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
1141 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
1142 it is defined.
1143
4cf5b6d0
SP
1144 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
1145 instead of whether it is defined.
1146 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
1147 * sysdeps/hppa/dl-machine.h: Likewise.
1148 * sysdeps/ia64/dl-machine.h: Likewise.
1149 * sysdeps/m68k/dl-machine.h: Likewise.
1150 * sysdeps/microblaze/dl-machine.h: Likewise.
1151 * sysdeps/mips/dl-machine.: Likewise.
1152 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
1153 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1154 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1155 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1156 * sysdeps/sh/dl-machine.h: Likewise.
1157 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1158 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1159 * sysdeps/tile/dl-machine.h: Likewise.
1160 * sysdeps/x86_64/dl-machine.h: Likewise.
1161
2aac0a86
SP
1162 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
1163 code.
1164 (verify_persistent_db): Likewise.
1165
6ad2df0b
RM
11662014-06-26 Roland McGrath <roland@hack.frob.com>
1167
d8a483f3
RM
1168 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
1169 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
1170 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
1171 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
1172 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1173 Moved ...
1174 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
1175 ... here.
1176 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
1177 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
1178 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
1179 Identical file removed.
1180 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
1181 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
1182 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
1183 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
1184 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
1185 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
1186 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
1187 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
1188 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
1189 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
1190 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1191 Moved ...
1192 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
1193 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
1194 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
1195 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
1196 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
1197 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1198 Moved ...
1199 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
1200 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
1201 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
1202 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
1203 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
1204 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1205 Identical file removed.
1206 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
1207 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
1208 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
1209 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
1210 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1211 Moved ...
1212 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
1213 ... here.
1214 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
1215 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
1216 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
1217 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
1218 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
1219 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
1220 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
1221 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
1222 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
1223 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
1224 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1225 Moved ...
1226 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
1227 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
1228 Moved ...
1229 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
1230 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
1231 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
1232 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1233 Moved ...
1234 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
1235 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
1236 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
1237
52ae23b4
RM
1238 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
1239 folded into ...
1240 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
1241 * sysdeps/unix/sysv/linux/s390/Versions
1242 (libpthread: GLIBC_2.19): New version set.
1243 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
1244 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
1245 (librt: GLIBC_2.3.3): New version set.
1246 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
1247 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
1248 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
1249 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
1250 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
1251 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
1252 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
1253 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
1254 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
1255 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
1256 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
1257 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
1258 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
1259 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
1260 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
1261 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
1262 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
1263 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
1264 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
1265 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
1266 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
1267 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
1268 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
1269 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
1270 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
1271 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
1272 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
1273 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
1274 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
1275 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
1276 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
1277 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
1278 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
1279 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
1280 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
1281 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
1282 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
1283 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
1284 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
1285 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
1286 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
1287 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
1288 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
1289 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
1290 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
1291
39507e4a
RM
1292 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
1293 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
1294 (__libc_vfork): Define the function under this name.
1295 [!NOT_IN_libc] (__vfork): Make this an alias.
1296 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1297 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
1298 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
1299 (__libc_vfork): Define the function under this name.
1300 [!NOT_IN_libc] (__vfork): Make this an alias.
1301 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1302 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
1303 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
1304 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
1305 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
1306 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1307
e549ee56
RM
1308 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
1309 code that was previously under [RESET_PID].
1310 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
1311 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
1312 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
1313
6ad2df0b
RM
1314 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
1315 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
1316 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
1317 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
1318 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
1319 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
1320 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
1321 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
1322 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
1323 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
1324 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
1325 Moved ...
1326 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
1327 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
1328 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
1329 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
1330 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
1331 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
1332 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
1333 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
1334 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
1335 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
1336 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
1337 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
1338 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
1339 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
1340 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
1341 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
1342 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
1343 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
1344 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
1345 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
1346 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
1347 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
1348 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
1349 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
1350 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
1351 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
1352 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
1353 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
1354 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
1355
7c1c1d8e
RM
13562014-06-25 Roland McGrath <roland@hack.frob.com>
1357
1358 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
1359 that was previously under [RESET_PID].
1360 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
1361
3e239be6
JM
13622014-06-25 Joseph Myers <joseph@codesourcery.com>
1363
74385da5
JM
1364 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
1365 not undefine and redefine.
1366 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
1367 [O_CLOEXEC]: Make code unconditional.
1368 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
1369 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
1370 <kernel-features.h>.
1371 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
1372 conditional variable definition.
1373 (shm_open) [O_CLOEXEC]: Make code unconditional.
1374 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
1375 code.
1376
c2570a0b
JM
1377 * configure.ac (USE_REGPARMS): Don't define here.
1378 * configure: Regenerated.
1379 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
1380 * sysdeps/i386/configure: Regenerated.
1381
11b076bb
JM
1382 * nptl/createthread.c: Don't include kernel-features.h.
1383 * nptl/pthread_cancel.c: Likewise.
1384 * nptl/pthread_condattr_setclock.c: Likewise.
1385 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
1386 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
1387 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
1388 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
1389 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
1390 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
1391 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1392 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
1393 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1394 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
1395 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
1396 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
1397 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
1398 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
1399 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
1400 * nscd/gai.c: Likewise.
1401 * nss/nss_db/db-open.c: Likewise.
1402 * sysdeps/generic/ldsodefs.h: Likewise.
1403 * sysdeps/sh/nptl/tls.h: Likewise.
1404 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1405 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
1406 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
1407 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
1408 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
1409 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1410 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
1411 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1412 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1413 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
1414 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
1415 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1416 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
1417 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
1418 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
1419 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
1420 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
1421 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
1422 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
1423 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
1424 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
1425 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
1426 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
1427 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
1428 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
1429 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
1430 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
1431 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
1432 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1433 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
1434 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
1435 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1436 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1437 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1438 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1439 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1440 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1441 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1442 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
1443 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1444 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1445 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
1446 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
1447 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1448 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
1449 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
1450 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
1451 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
1452 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
1453 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1454 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1455 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1456 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1457 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1458 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
1459 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1460 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1461 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
1462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
1464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
1465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
1466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
1467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
1468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
1469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
1470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
1473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
1474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
1475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
1476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
1482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
1484 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1485 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1486 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
1487 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1488 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1489 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
1490 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
1491 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
1492 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
1493 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
1494 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
1495 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
1496 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1497 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1498 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1499 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1500 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1501 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
1502 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
1503 * sysdeps/unix/sysv/linux/system.c: Likewise.
1504 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
1505 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
1506 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1507 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1508 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1509 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1510 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1511
92072d57
JM
1512 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
1513 * configure: Regenerated.
1514 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
1515
3e239be6
JM
1516 * configure.ac (base_machine): Do not set specially for particular
1517 machines here.
1518 * configure: Regenerated.
1519 * sysdeps/powerpc/preconfigure: Move machine and base_machine
1520 settings from configure.ac.
1521 * sysdeps/i386/preconfigure: New file.
1522 * sysdeps/s390/preconfigure: Likewise.
1523 * sysdeps/sh/preconfigure: Likewise.
1524 * sysdeps/sparc/preconfigure: Likewise.
1525
06d50baa
RM
15262014-06-25 Roland McGrath <roland@hack.frob.com>
1527
74836003
RM
1528 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
1529 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
1530 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
1531 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
1532 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
1533 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
1534 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
1535 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
1536 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
1537 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
1538 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
1539 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
1540 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
1541 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
1542 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
1543 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
1544 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
1545 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
1546 * sysdeps/sparc/sparc64/Makefile: ... appended here.
1547
1548 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
1549 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
1550 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
1551 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
1552 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
1553 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
1554 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
1555 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
1556 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
1557 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
1558 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
1559 * sysdeps/sparc/sparc32/sem_post.c: ... here.
1560 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
1561 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
1562 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
1563 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
1564 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
1565 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
1566 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
1567 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
1568 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
1569 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
1570 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
1571 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
1572 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
1573 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
1574 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
1575 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
1576 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
1577 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
1578 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
1579 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
1580 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
1581 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
1582 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
1583 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
1584 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
1585 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
1586
06d50baa
RM
1587 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
1588 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
1589 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
1590 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
1591 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1592 Moved ...
1593 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
1594 ... here.
1595 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
1596 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
1597 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
1598 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
1599 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
1600 Moved ...
1601 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
1602 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
1603 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
1604 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
1605 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
1606 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
1607 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
1608 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1609 Moved ...
1610 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
1611 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1612 Moved ...
1613 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
1614 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
1615 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
1616 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1617 Moved ...
1618 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
1619 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
1620 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
1621 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
1622 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
1623 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
1624 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
1625 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
1626 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
1627 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1628 Moved ...
1629 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
1630 ... here.
1631 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
1632 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
1633 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
1634 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
1635 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
1636 Moved ...
1637 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
1638 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
1639 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
1640 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
1641 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
1642 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
1643 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
1644 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1645 Moved ...
1646 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
1647 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1648 Moved ...
1649 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
1650 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
1651 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
1652 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1653 Moved ...
1654 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
1655 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
1656 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
1657 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
1658 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
1659
a4ccbc9b
JM
16602014-06-25 Joseph Myers <joseph@codesourcery.com>
1661
0828edbf
JM
1662 * timezone/checktab.awk: Update from tzcode 2014e.
1663 * timezone/private.h: Likewise.
1664 * timezone/tzfile.h: Likewise.
1665 * timezone/zdump.c: Likewise.
1666 * timezone/zic.c: Likewise.
1667
a4ccbc9b
JM
1668 * sysdeps/unix/sysv/linux/kernel-features.h
1669 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
1670 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
1671 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
1672 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1673 Remove conditional code.
1674
9aea0cb8
WN
16752014-06-25 Will Newton <will.newton@linaro.org>
1676
1677 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
1678 (_dl_arm_cap_flags): Add HWCAP2 values.
1679 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
1680 (_DL_HWCAP_COUNT): Increase to 37.
1681 (_DL_HWCAP_LAST): New define.
1682 (_DL_HWCAP2_LAST): New define.
1683 (_dl_procinfo): Add support for printing
1684 AT_HWCAP2 entries.
1685 (_dl_string_hwcap): Use _dl_hwcap_string.
1686
6eaa65ce
AZ
16872014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1688
1689 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1690
0f5b7185
JM
16912014-06-25 Joseph Myers <joseph@codesourcery.com>
1692
cfd2ea50
JM
1693 * README: Do not mention ports directory.
1694
cecf2ed4
JM
1695 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
1696 Remove macro.
1697 * sysdeps/unix/sysv/linux/futimes.c: Do not include
1698 <kernel-features.h>.
1699 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
1700 conditional variable definition.
1701 (__futimes): Update comment.
1702 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
1703 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
1704
a638de82
JM
1705 [BZ #16560]
1706 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
1707 arguments close to 0.
1708 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
1709 Likewise.
1710 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
1711 Likewise.
1712 * math/auto-libm-test-in: Add more tests of exp10.
1713 * math/auto-libm-test-out: Regenerated.
1714 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1715
0f5b7185
JM
1716 * sysdeps/unix/sysv/linux/kernel-features.h
1717 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
1718 * sysdeps/unix/sysv/linux/readv.c: Do not include
1719 <kernel-features.h>.
1720 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1721 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1722 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1723 unconditional.
1724 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1725 conditional code.
1726 * sysdeps/unix/sysv/linux/writev.c: Do not include
1727 <kernel-features.h>.
1728 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1729 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1730 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1731 unconditional.
1732 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1733 conditional code.
1734
c7aec4be
WN
17352014-06-25 Will Newton <will.newton@linaro.org>
1736
1737 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
1738 comment changes throughout the file. Remove checks
1739 for HAVE_*_H definitions that are not required.
1740 (__gen_tempname): Call abort if an unknown kind value is
1741 passed.
1742
c5241f95
AS
17432014-06-25 Andreas Schwab <schwab@suse.de>
1744
1745 [BZ #17086]
1746 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
1747 scalbln, scalblnf, scalblnl in libc.
1748
911422da
SP
17492014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1750
1751 [BZ #17086]
1752 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
1753 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1754 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1755
0d749bbe
RM
17562014-06-24 Roland McGrath <roland@hack.frob.com>
1757
1758 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
1759 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
1760 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
1761 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
1762 Update #include.
1763 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
1764 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
1765 Update #include.
1766 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
1767 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
1768 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
1769 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
1770 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
1771 * sysdeps/x86/bits/pthreadtypes.h: ... here.
1772 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
1773 * sysdeps/x86/bits/semaphore.h: ... here.
1774 * sysdeps/x86/nptl/elide.h: Moved ...
1775 * sysdeps/x86/elide.h: ... here.
1776 * sysdeps/x86_64/nptl/Implies: File removed.
1777 * sysdeps/i386/nptl/Implies: File removed.
1778
0ea5d373
JM
17792014-06-24 Joseph Myers <joseph@codesourcery.com>
1780
4060283d
JM
1781 [BZ #16539]
1782 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
1783 return the argument for normal arguments with exponent below -64.
1784 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1785 Likewise.
1786 * math/auto-libm-test-in: Add another test of expm1.
1787 * math/auto-libm-test-out: Regenerated.
1788
e7dd3c8c
JM
1789 [BZ #16287]
1790 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
1791 calling __erfcl for arguments at least 16.
1792 * math/auto-libm-test-in: Add more tests of erf.
1793 * math/auto-libm-test-out: Regenerated.
1794
0ea5d373
JM
1795 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
1796 individual architectures.
1797 * sysdeps/unix/sysv/linux/configure: Regenerated.
1798 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
1799 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
1800 * sysdeps/unix/sysv/linux/powerpc/configure.ac
1801 (ldd_rewrite_script): Define variable.
1802 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
1804 file.
1805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
1806 generated file.
1807 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
1808 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
1809 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
1810 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
1811 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
1812 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
1813 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
1814 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
1815
2307e126
SP
18162014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1817
1818 [BZ #17084]
1819 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
1820 Rename member __data.d to __data.__elision_data.
1821
c0a4ed77
W
18222014-06-24 Wilco <wdijkstr@arm.com>
1823
1824 * NEWS: Add 16918 to fixed bug list.
1825
b8c00573
W
18262014-06-24 Wilco <wdijkstr@arm.com>
1827
1828 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
1829
b5570d92
W
18302014-06-24 Wilco <wdijkstr@arm.com>
1831
1832 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
1833 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
1834 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
1835 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
1836 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
1837 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
1838 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
1839 Use _FPU_MASK_RM.
1840
947bdca2
W
18412014-06-24 Wilco <wdijkstr@arm.com>
1842
1843 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
1844
00f669ed
W
18452014-06-24 Wilco <wdijkstr@arm.com>
1846
1847 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
1848 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
1849 * sysdeps/arm/fesetround.c (fesetround): Remove space.
1850 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
1851
db59bad3
W
18522014-06-24 Wilco <wdijkstr@arm.com>
1853
1854 [BZ #16918]
1855 * sysdeps/arm/feupdateenv.c (feupdateenv):
1856 Rewrite to reduce FPSCR accesses and fix return value.
1857
001f7b77
W
18582014-06-24 Wilco <wdijkstr@arm.com>
1859
1860 * sysdeps/arm/fclrexcpt.c (feclearexcept):
1861 Optimize to avoid unnecessary FPSCR writes.
1862 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
1863 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
1864 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
1865 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
1866
4841e6a6
W
18672014-06-24 Wilco <wdijkstr@arm.com>
1868
1869 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
1870 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
1871 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
1872 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
1873 Call libc_fetestexcept_vfp.
1874 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
1875 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
1876 __SOFTFP__ ifdef so that they can be built for softfp.
1877
0813022c
SP
18782014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1879
08e5862f
SP
1880 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
1881 argument type signed char.
1882
0813022c
SP
1883 * Makerules (check-abi): Dump diff of symlist if the test
1884 fails.
1885
3fc7236a
RM
18862014-06-23 Roland McGrath <roland@hack.frob.com>
1887
aba8ef95
RM
1888 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
1889 using abort.
1890
3fc7236a
RM
1891 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1892 Remove unused variable ST.
1893
4da6db51
JM
18942014-06-23 Joseph Myers <joseph@codesourcery.com>
1895
4648909d
JM
1896 [BZ #16354]
1897 [BZ #17061]
1898 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
1899 small arguments before calling __expm1.
1900 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
1901 small arguments before calling __expm1f.
1902 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
1903 small arguments before calling __expm1l.
1904 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1905 Likewise.
1906 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
1907 * math/auto-libm-test-in: Add more cosh tests. Do not allow
1908 spurious underflow for some cosh tests.
1909 * math/auto-libm-test-out: Regenerated.
1910 * sysdeps/i386/fpu/libm-test-ulps: Update.
1911
46a3d3c7
JM
1912 [BZ #17050]
1913 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
1914 (__ieee754_y1): Set errno if return value overflows.
1915 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
1916 (__ieee754_y1f): Set errno if return value overflows.
1917 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
1918 (__ieee754_y1l): Set errno if return value overflows.
1919 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
1920 (__ieee754_y1l): Set errno if return value overflows.
1921 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
1922 * math/auto-libm-test-out: Regenerated.
1923
863893ec
JM
1924 * math/gen-auto-libm-tests.c: Document use of
1925 ignore-zero-inf-sign.
1926 (input_flag_type): Add value flag_ignore_zero_inf_sign.
1927 (input_flags): Add ignore-zero-inf-sign.
1928 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
1929 * math/gen-libm-test.pl (generate_testfile): Handle
1930 ignore-zero-inf-sign.
1931 * math/auto-libm-test-in: Mark some cpow tests with
1932 ignore-zero-inf-sign and some with xfail-rounding.
1933 * math/auto-libm-test-out: Regenerated.
1934 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
1935 * sysdeps/i386/fpu/libm-test-ulps: Update.
1936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1937
4da6db51
JM
1938 [BZ #16315]
1939 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
1940 overflowing or underflowing operations take place with sign of
1941 result.
1942 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1943 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1944 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
1945 (__ieee754_pow): Recompute overflowing and underflowing results in
1946 original rounding mode.
1947 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
1948 (__powl_helper): Allow negative argument X and scale negated value
1949 as needed. Avoid passing value outside [-1, 1] to f2xm1.
1950 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
1951 overflowing or underflowing operations take place with sign of
1952 result.
1953 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
1954 Include <math.h>.
1955 * math/auto-libm-test-in: Add more tests of pow.
1956 * math/auto-libm-test-out: Regenerated.
1957 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
1958 (pow_tonearest_test_data): Remove.
1959 (pow_test_tonearest): Likewise.
1960 (pow_towardzero_test_data): Likewise.
1961 (pow_test_towardzero): Likewise.
1962 (pow_downward_test_data): Likewise.
1963 (pow_test_downward): Likewise.
1964 (pow_upward_test_data): Likewise.
1965 (pow_test_upward): Likewise.
1966 (main): Don't call removed functions.
1967 * sysdeps/i386/fpu/libm-test-ulps: Update.
1968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1969
5686b236
RM
19702014-06-23 Roland McGrath <roland@hack.frob.com>
1971
1972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
1973 Moved ...
1974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
1975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1976 Moved ...
1977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
1978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1979 Moved ...
1980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
1981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1982 Moved ...
1983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
1984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1985 File removed.
1986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1987 File removed.
1988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
1989 File removed.
1990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
1991 File removed.
1992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
1993 File removed.
1994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
1995 File removed.
1996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
1997 File removed.
1998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1999 File removed.
2000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
2001 File removed.
2002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2003 File removed.
2004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
2005 File removed.
2006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
2007 File removed.
2008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
2009 Moved ...
2010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
2011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
2012 Moved ...
2013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
2014 ... here.
2015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
2016 Moved ...
2017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
2018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
2019 Moved ...
2020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
2021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
2022 Moved ...
2023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
2024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
2025 Moved ...
2026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
2027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
2028 Moved ...
2029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
2030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
2031 Moved ...
2032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
2033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
2034 Moved ...
2035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
2036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
2037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
2038 ... here.
2039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
2040 Moved ...
2041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
2042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2043 Moved ...
2044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2045 ... here.
2046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
2047 Moved ...
2048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2049 ... here.
2050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2051 Moved ...
2052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2053 ... here.
2054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2055 Moved ...
2056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
2057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
2058 Moved ...
2059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
2060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
2061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
2062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
2063 Moved ...
2064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
2065 ... here.
2066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2067 Moved ...
2068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
2069 ... here.
2070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
2071 Moved ...
2072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
2073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2074 Moved ...
2075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
2076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
2077 Moved ...
2078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
2079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2080 Moved ...
2081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
2082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
2083 Moved ...
2084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
2085 ... here.
2086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2087 Moved ...
2088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
2089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
2090 Moved ...
2091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
2092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2093 Moved ...
2094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
2095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
2096 Moved ...
2097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
2098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
2099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
2100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
2101 Moved ...
2102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
2103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2104 Moved ...
2105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
2106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
2107 Moved ...
2108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
2109 ... here.
2110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2111 Moved ...
2112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
2113 ... here.
2114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
2115 Moved ...
2116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
2117 ... here.
2118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2119 Moved ...
2120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
2121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
2122 Moved ...
2123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
2124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2125 Moved ...
2126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
2127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
2128 Moved ...
2129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
2130 ... here.
2131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2132 Moved ...
2133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
2134 ... here.
2135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
2136 Moved ...
2137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
2138 ... here.
2139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2140 Moved ...
2141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
2142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2143 Moved ...
2144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
2145
e6d90d67
WD
21462014-06-23 Will Newton <will.newton@linaro.org>
2147 Wilco <wdijkstr@arm.com>
2148
2149 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
2150 implementation. Include get-rounding-mode.h.
2151 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
2152 [!libc_feholdsetround_noex_ctx]: Define
2153 libc_feholdsetround_noex_ctx.
2154 [!libc_feholdsetround_noexf_ctx]: Define
2155 libc_feholdsetround_noexf_ctx.
2156 [!libc_feholdsetround_noexl_ctx]: Define
2157 libc_feholdsetround_noexl_ctx.
2158 (libc_feholdsetround_ctx): New function.
2159 (libc_feresetround_ctx): New function.
2160 (libc_feholdsetround_noex_ctx): New function.
2161 (libc_feresetround_noex_ctx): New function.
2162
d42df555
RM
21632014-06-23 Roland McGrath <roland@hack.frob.com>
2164
88a46474
RM
2165 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
2166 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
2167 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
2168 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
2169 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
2170 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
2171
15bed472
RM
2172 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
2173 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
2174 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
2175 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
2176 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
2177 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
2178 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
2179 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
2180 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
2181 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
2182 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
2183 Moved ...
2184 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
2185 ... here.
2186 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
2187 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
2188 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
2189 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
2190 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
2191 Moved ...
2192 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
2193 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
2194 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
2195 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
2196 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
2197 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
2198 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
2199 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
2200 Moved ...
2201 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
2202 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
2203 Moved ...
2204 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
2205 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
2206 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
2207 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
2208 Moved ...
2209 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
2210 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
2211 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
2212 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
2213 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
2214 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
2215 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
2216 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
2217 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
2218 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
2219 Moved ...
2220 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
2221 ... here.
2222 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
2223 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
2224 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
2225 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
2226 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
2227 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
2228 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
2229 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
2230 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
2231 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
2232 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
2233 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
2234 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
2235 Moved ...
2236 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
2237 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
2238 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
2239 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
2240 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
2241 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
2242 Moved ...
2243 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
2244 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
2245 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
2246 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
2247 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
2248
d42df555
RM
2249 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
2250 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
2251 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
2252 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
2253 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
2254 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
2255 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
2256 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
2257 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
2258 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
2259 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
2260 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
2261 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
2262 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
2263 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
2264 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
2265 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
2266 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
2267 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
2268 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
2269 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
2270 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
2271 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
2272 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
2273 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
2274 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
2275 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
2276 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
2277
76e5216e
JM
22782014-06-23 Joseph Myers <joseph@codesourcery.com>
2279
2280 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
2281 (FALLOC_FL_COLLAPSE_RANGE): New macro.
2282 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
2283 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
2284 (IPV6_PMTUDISC_INTERFACE): Likewise.
2285 (IPV6_PMTUDISC_OMIT): Likewise.
2286
7a81cbcc
AS
22872014-06-23 Andreas Schwab <schwab@suse.de>
2288
2289 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
2290 Remove unused errout label.
2291
db224009
AZ
22922014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2293
2294 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
2295 macro: hardware supports Vector Crypto instructions.
2296
f393b4aa
WN
22972014-06-23 Will Newton <will.newton@linaro.org>
2298
cc7d0447
WN
2299 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
2300 rather than __builtin_expect.
2301
d6d06225
WN
2302 * elf/dl-lookup.c (undefined_msg): Remove variable.
2303 (_dl_lookup_symbol_x): Replace undefined_msg with string
2304 literal.
2305
f393b4aa
WN
2306 * elf/dl-lookup.c (do_lookup_unique): New function.
2307 (do_lookup_x): Move STB_GNU_UNIQUE handling code
2308 to a separate function.
2309
ac60763e
AS
23102014-06-23 Andreas Schwab <schwab@suse.de>
2311
2312 [BZ #17079]
2313 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
2314 before reading the next line.
2315
c5c13355
WN
23162014-06-23 Will Newton <will.newton@linaro.org>
2317
2318 * test-skeleton.c (signal_handler): Use printf and %m
2319 rather than perror. Use printf rather than fprintf to
2320 stderr. Use puts rather than fputs to stderr.
2321 (main): Likewise.
2322
bd3675f9
LC
23232014-06-22 Ludovic Courtès <ludo@gnu.org>
2324
2325 * nscd/nscd.c (thread_info_t): Remove typedef.
2326 (thread_info): Remove variable.
2327
d03efb2f
AM
23282014-06-21 Allan McRae <allan@archlinux.org>
2329
2330 * NEWS: Mention CVE-2014-4043.
2331
bc4a86fa
RM
23322014-06-20 Roland McGrath <roland@hack.frob.com>
2333
dc9a54f8
RM
2334 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
2335 * nptl/smp.h: ... here.
2336
bd7022c4
RM
2337 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
2338
26ffd5e6
RM
2339 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
2340 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
2341 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
2342 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
2343
93a6d082
RM
2344 * nptl/allocatestack.c: Include <stack-aliasing.h>.
2345 * nptl/stack-aliasing.h: New file.
2346 * sysdeps/i386/i686/stack-aliasing.h: New file.
2347 * sysdeps/i386/i686/nptl/Makefile: File removed.
2348 * sysdeps/x86_64/stack-aliasing.h: New file.
2349 * sysdeps/x86_64/nptl/Makefile
2350 (CFLAGS-pthread_create.c): Variable removed.
2351
bc4a86fa
RM
2352 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
2353 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
2354 old file.
2355 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
2356 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
2357 old file.
2358
2272ffc1
JM
23592014-06-21 Joseph Myers <joseph@codesourcery.com>
2360
2361 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2362 (__ASSUME_SIGFRAME_V2): Remove macro.
2363 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
2364 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
2365 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
2366 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
2367 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
2368 Declare as function. Remove conditional macro definitions.
2369 (__default_rt_sa_restorer): Likewise.
2370 (__default_sa_restorer_v1): Remove declaration.
2371 (__default_sa_restorer_v2): Likewise.
2372 (__default_rt_sa_restorer_v1): Likewise.
2373 (__default_rt_sa_restorer_v2): Likewise.
2374 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
2375 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
2376 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
2377
4b88139b
RM
23782014-06-20 Roland McGrath <roland@hack.frob.com>
2379
2380 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
2381 (libpthread-routines): Add sysdep.
2382 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
2383 * sysdeps/unix/sysv/linux/sparc/Versions
2384 (libpthread: GLIBC_2.3.3): New version set.
2385 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
2386 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
2387 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
2388 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
2389 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
2390 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
2391 Moved ...
2392 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
2393 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
2394 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
2395 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
2396 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
2397 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
2398 * sysdeps/sparc/nptl/sem_init.c: ... here.
2399 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
2400 * sysdeps/sparc/nptl/sem_post.c: ... here.
2401 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
2402 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
2403 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
2404 * sysdeps/sparc/nptl/sem_wait.c: ... here.
2405 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
2406 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
2407 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
2408 (libpthread-routines): Add cpu_relax.
2409 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
2410 File removed.
2411 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
2412 (librt: GLIBC_2.3.3): New version set.
2413 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
2414 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
2415 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
2416 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
2417 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
2418 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
2419 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
2420 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
2421 Moved ...
2422 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
2423 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
2424 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
2425 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
2426 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
2427 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
2428 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
2429 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
2430 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
2431 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
2432 Moved ...
2433 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
2434 Update #include.
2435 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
2436 Moved ...
2437 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
2438 Update #include.
2439 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
2440 Moved ...
2441 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
2442 Update #include.
2443 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
2444 Moved ...
2445 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
2446 Update #include.
2447 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
2448 Moved ...
2449 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
2450 Update #include.
2451 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
2452 Moved ...
2453 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
2454 Update #include.
2455 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
2456 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
2457 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
2458 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
2459 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
2460 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
2461 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
2462 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
2463 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
2464 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
2465 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2466 Moved ...
2467 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
2468 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
2469 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
2470 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
2471 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
2472
d7109027
JM
24732014-06-20 Joseph Myers <joseph@codesourcery.com>
2474
9bc6103d
JM
2475 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
2476 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
2477 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2478 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
2479 * nscd/nscd.c: Likewise.
2480 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
2481 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
2482 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
2483 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
2484
d7109027
JM
2485 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
2486 <kernel-features.h>.
2487 (init_mq_netlink): Remove conditional have_sock_cloexec
2488 definitions. Remove code conditional on have_sock_cloexec < 0.
2489 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
2490 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
2491 * sysdeps/unix/sysv/linux/opensock.c: Do not include
2492 <kernel-features.h>.
2493 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
2494 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
2495
d92d8f8a
L
24962014-06-20 H.J. Lu <hongjiu.lu@intel.com>
2497
2498 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2499 Add tests for memset_chk and memset.
2500
2501 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
2502 with AVX2_Usable.
2503
4e6d2347
MR
25042014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
2505
257ce712
MR
2506 [BZ #16046]
2507 * elf/tst-dl-iter-static.c: New file.
2508 * elf/Makefile (tests-static): Add tst-dl-iter-static.
2509
4e6d2347
MR
2510 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
2511 error.
2512
a2a76afe
JM
25132014-06-20 Joseph Myers <joseph@codesourcery.com>
2514
7fd00f99
JM
2515 * sysdeps/unix/sysv/linux/kernel-features.h
2516 (__ASSUME_F_GETOWN_EX): Remove macro.
2517 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
2518 <kernel-features.h>.
2519 (miss_F_GETOWN_EX): Remove variable or macro.
2520 (do_fcntl): Do not check miss_F_GETOWN_EX.
2521 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
2522
4a103975
JM
2523 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
2524 Remove macro.
2525 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
2526 [!__ASSUME_AT_RANDOM]: Remove conditional code.
2527 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
2528
a2a76afe
JM
2529 * sysdeps/unix/sysv/linux/kernel-features.h
2530 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
2531 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
2532 [ADJ_OFFSET_SS_READ]: Make code unconditional.
2533 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
2534
90e5dd48
MR
25352014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
2536
2537 [BZ #17075]
2538 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
2539 Fix calculation of the symbol's value.
2540 * sysdeps/arm/tst-armtlsdescloc.c: New file.
2541 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
2542 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
2543 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
2544 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
2545 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
2546 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
2547 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
2548 (modules-names): Add `tst-armtlsdescmod',
2549 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
2550 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
2551 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2552 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
2553 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
2554 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2555 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
2556 ($(objpfx)tst-armtlsdescloc): New dependency.
2557 ($(objpfx)tst-armtlsdescextnow): Likewise.
2558 ($(objpfx)tst-armtlsdescextlazy): Likewise.
2559 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
2560 TLS scheme support.
2561 * sysdeps/arm/configure: Regenerate.
2562
809fdf0d
JM
25632014-06-20 Joseph Myers <joseph@codesourcery.com>
2564
2565 * include/fcntl.h (__atfct_seterrno): Remove prototype.
2566 (__atfct_seterrno_2): Likewise.
2567 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
2568 <kernel-features.h>.
2569 (__ASSUME_ATFCTS): Do not undefine and redefine.
2570 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
2571 (__have_atfcts): Remove conditional definition.
2572 (__fxstatat([__NR_fstatat64]: Make code unconditional.
2573 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
2574 unreachable if [__ASSUME_ATFCTS].
2575 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
2576 not undefine and redefine.
2577 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
2578 <kernel-features.h>.
2579 (faccessat) [__NR_faccessat]: Make code unconditional.
2580 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
2581 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
2582 <kernel-features.h>.
2583 (fchmodat) [__NR_fchmodat]: Make code unconditional.
2584 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2585 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
2586 <kernel-features.h>.
2587 (fchownat) [__NR_fchownat]: Make code unconditional.
2588 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
2589 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
2590 <kernel-features.h>.
2591 (futimesat) [__NR_futimesat]: Make code unconditional.
2592 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
2593 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2594 <kernel-features.h>.
2595 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2596 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2597 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2598 <kernel-features.h>.
2599 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
2600 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2601 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
2602 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2603 <kernel-features.h>.
2604 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
2605 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2606 * sysdeps/unix/sysv/linux/linkat.c: Do not include
2607 <kernel-features.h>.
2608 (linkat) [__NR_linkat]: Make code unconditional.
2609 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2610 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
2611 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
2612 <kernel-features.h>.
2613 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
2614 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2615 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
2616 <kernel-features.h>.
2617 (mkdirat) [__NR_mkdirat]: Make code unconditional.
2618 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
2619 * sysdeps/unix/sysv/linux/openat.c: Do not include
2620 <kernel-features.h>.
2621 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
2622 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
2623 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
2624 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
2625 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
2626 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
2627 <kernel-features.h>.
2628 (readlinkat) [__NR_readlinkat]: Make code unconditional.
2629 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
2630 result of INLINE_SYSCALL directly, not via int variable.
2631 * sysdeps/unix/sysv/linux/renameat.c: Do not include
2632 <kernel-features.h>.
2633 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
2634 (renameat) [__NR_renameat]: Make code unconditional.
2635 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
2636 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
2637 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
2638 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
2639 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
2640 (__ASSUME_ATFCTS): Do not undefine and redefine.
2641 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
2642 <kernel-features.h>.
2643 (symlinkat) [__NR_symlinkat]: Make code unconditional.
2644 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2645 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
2646 <kernel-features.h>.
2647 (unlinkat) [__NR_unlinkat]: Make code unconditional.
2648 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2649 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
2650 (__ASSUME_ATFCTS): Do not undefine and redefine.
2651 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2652 <kernel-features.h>.
2653 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2654 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2655 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2656 <kernel-features.h>.
2657 (__xmknodat) [__NR_mknodat]: Make code unconditional.
2658 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2659
224c6c51
L
26602014-06-20 H.J. Lu <hongjiu.lu@intel.com>
2661
2662 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
2663
aa6ec754
AS
26642014-06-20 Andreas Schwab <schwab@linux-m68k.org>
2665
2666 [BZ #17069]
2667 * posix/regcomp.c (parse_reg_exp): Deallocate partially
2668 constructed tree before returning error.
2669 * posix/bug-regexp36.c: Expand test case.
2670
d8c2869d
SL
26712014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
2672
3ef6b850
SL
2673 [BZ #6803]
2674 * math/libm-test.inc (scalbln_test_date):
2675 Add errno expectations.
2676 * math/w_scalblnf.c: New File.
2677 Add wrapper which checks for setting errno to ERANGE.
2678 Add weak_alias for corresponding scalbln function.
2679 * math/w_scalbln.c: Likewise.
2680 * math/w_scalblnl.c: Likewise.
2681 * math/Makefile (libm-calls): Add w_scalbln.
2682 * sysdeps/ieee754/flt-32/s_scalblnf.c:
2683 Remove weak_alias for corresponding scalbln function.
2684 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2685 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2686 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2687 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2688 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
2689 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2690 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
2691 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2692 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
2693 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
2694 Remove long_double_symbol for scalblnl function in libm, libc.
2695 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
2696 Add wrapper which checks for setting errno to ERANGE.
2697 Add long_double_symbol for scalblnl function in libm, libc.
2698 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
2699 Remove long_double_symbol for scalblnl in libm.
2700 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
2701 Add wrapper which checks for setting errno to ERANGE.
2702 Add long_double_symbol for scalblnl function in libm.
2703 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
2704 Do not use wrapper because of own implementation.
2705
c8daec5c
L
27062014-06-19 H.J. Lu <hongjiu.lu@intel.com>
2707
2708 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
2709 3 bytes for __pad1 for x32.
2710 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
2711
5c74e47c
LM
27122014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
2713 H.J. Lu <hongjiu.lu@intel.com>
2714
2715 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
2716 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
2717 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2718 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2719 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
2720
4d43ef1e
AS
27212014-06-19 Andreas Schwab <schwab@linux-m68k.org>
2722
2723 [BZ #17069]
2724 * posix/regcomp.c (parse_expression): Deallocate partially
2725 constructed tree before returning error.
2726 * posix/Makefile.c (tests): Add bug-regex36.
2727 (generated): Add bug-regex36.mtrace.
2728 (tests-special): Add $(objpfx)bug-regex36-mem.out
2729 (bug-regex36-ENV): New variable.
2730 ($(objpfx)bug-regex36-mem.out): New rule.
2731 * posix/bug-regex36.c: New file.
2732
51a7380b
WN
27332014-06-19 Will Newton <will.newton@linaro.org>
2734
2735 * malloc/malloc.c (systrim): If extra is zero then return
2736 early.
2737
91b84fe5
SP
27382014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2739
2740 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
2741
f940b965
RE
27422014-06-19 Richard Earnshaw <rearnsha@arm.com>
2743
2744 * sysdeps/aarch64/strchr.S: New file.
2745
4ba7a00f
JM
27462014-06-18 Joseph Myers <joseph@codesourcery.com>
2747
2748 [BZ #17022]
2749 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
2750 from arguments -2 or below.
2751 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2752 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
2753
b3a9f56b
AS
27542014-06-18 Andreas Schwab <schwab@suse.de>
2755
2756 [BZ #17062]
2757 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
2758 of a bracket expr not to run off the end of the string.
2759 * posix/Makefile (tests): Add tst-fnmatch3.
2760 * posix/tst-fnmatch3.c: New file.
2761
85d89278
JM
27622014-06-18 Joseph Myers <joseph@codesourcery.com>
2763
2764 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
2765 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2766 [$(cross-compiling) = no]: Likewise.
2767 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2768 [$(cross-compiling) = no]: Likewise.
2769
754c5a08
RS
27702014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2771
2772 [BZ #17031]
2773 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
2774 double, adjusted for any remainder from the high double.
2775 * math/libm-test.inc (nearbyint): Add tests.
2776 (rint): Likewise.
2777
556f529d
AZ
27782014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2779
2780 * nptl/sysdeps/powerpc/Makefile: Moved ...
2781 * sysdeps/powerpc/nptl/Makefile: ... here.
2782 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
2783 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
2784 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
2785 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
2786 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
2787 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
2788 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
2789 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
2790 * nptl/sysdeps/powerpc/tls.h: Moved ...
2791 * sysdeps/powerpc/nptl/tls.h: ... here.
2792
91c03c53
JM
27932014-06-16 Joseph Myers <joseph@codesourcery.com>
2794
2795 [BZ #16681]
2796 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
2797 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2798 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
2799 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
2800 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2801 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
2802 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
2803 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2804 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
2805
a76e63c5
AS
28062014-06-17 Andreas Schwab <schwab@linux-m68k.org>
2807
2808 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2809
f2f6d82f
AS
28102014-06-16 Andreas Schwab <schwab@linux-m68k.org>
2811
ea8a15f6
AS
2812 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
2813 defined operator.
2814
f2f6d82f
AS
2815 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
2816 $TIMEOUTFACTOR.
2817
a7291117
FW
28182014-06-16 Florian Weimer <fweimer@redhat.com>
2819
2820 [BZ #17058]
2821 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
2822 non-executed part of the test.
2823
3d7c00e3
AS
28242014-06-16 Andreas Schwab <schwab@suse.de>
2825
2826 * string/bits/string2.h (strdup, strndup): Update feature guard.
2827
6957fb31
DM
28282014-06-14 David S. Miller <davem@davemloft.net>
2829
2830 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2831
11b9e55b
AS
28322014-06-14 Andreas Schwab <schwab@linux-m68k.org>
2833
1d2a0492
AS
2834 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
2835 that was previously under [RESET_PID].
2836 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
2837
11b9e55b
AS
2838 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
2839 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
2840 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
2841 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2842 (__libc_vfork): New strong alias.
2843 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
2844
0f6901d0
AK
28452014-06-14 Andi Kleen <ak@linux.intel.com>
2846
2847 * sysdeps/generic/elide.h: New file.
2848
38bbbb9f
SL
28492014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2850
2851 * Makefile (installed-headers): Adjust path of pthread.h header.
2852
45193bb8
RM
28532014-06-13 Roland McGrath <roland@hack.frob.com>
2854
9a25fd1e
RM
2855 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
2856 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
2857 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
2858 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
2859
4004f7e4
RM
2860 * nptl/sysdeps/s390/Makefile: Moved ...
2861 * sysdeps/s390/nptl/Makefile: ... here.
2862 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
2863 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
2864 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
2865 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
2866 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
2867 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
2868 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
2869 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
2870 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
2871 * sysdeps/s390/nptl/pthreaddef.h: ... here.
2872 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
2873 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
2874 * nptl/sysdeps/s390/tls.h: Moved ...
2875 * sysdeps/s390/nptl/tls.h: ... here.
2876
45193bb8
RM
2877 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
2878 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
2879
f6fdf533
DM
28802014-06-13 David S. Miller <davem@davemloft.net>
2881
2882 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
2883 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
2884 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
2885 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
2886 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
2887 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
2888 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
2889 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
2890 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
2891 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
2892 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
2893 Remove RESET_PID cpp guards.
2894 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
2895 Remove RESET_PID cpp guards.
2896 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
2897
f5d71e14
AS
28982014-06-13 Andreas Schwab <schwab@linux-m68k.org>
2899
2900 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
2901 __sp to uintptr_t.
2902
b7aa8caa
AK
29032014-06-13 Andi Kleen <ak@linux.intel.com>
2904
4b266200
AZ
2905 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
2906 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
2907 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
2908 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
2909 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
2910 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
2911 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
2912 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
2913 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
2914 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
2915 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
2916 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
2917 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
2918 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
2919 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
2920 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
2921 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
2922 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
2923 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
2924 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
2925
2926 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
2927 (pthread_rwlock_rdlock): Add elision.
2928 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
2929 (pthread_rwlock_wrlock): Add elision.
2930 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
2931 (pthread_rwlock_trywrlock): Add elision.
2932 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
2933 (pthread_rwlock_tryrdlock): Add elision.
2934 * nptl/pthread_rwlock_unlock.c: Include elide.h.
2935 (pthread_rwlock_tryrdlock): Add elision unlock.
2936 * nptl/sysdeps/pthread/pthread.h:
2937 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
2938 (PTHREAD_RWLOCK_INITIALIZER,
2939 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
2940 Handle new elision field.
2941 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
2942 * sysdeps/arm/nptl/bits/pthreadtypes.h
2943 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2944 * sysdeps/sh/nptl/bits/pthreadtypes.h
2945 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2946 * sysdeps/tile/nptl/bits/pthreadtypes.h
2947 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2948 * sysdeps/a/nptl/bits/pthreadtypes.h
2949 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2950 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2951 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2952 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2953 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2954 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
2955 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2956 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2957 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2958 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2959 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2960 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2961 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2962 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2963 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2964 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
2965 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2966 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
2967 (elision_init): Set try_xbegin to zero when no RTM.
2968 * sysdeps/x86/nptl/bits/pthreadtypes.h
2969 (pthread_rwlock_t): Change __pad1 to __rwelision.
2970 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 2971
a832bdd3
AK
29722014-06-13 Andi Kleen <ak@linux.intel.com>
2973
2974 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
2975 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
2976 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
2977 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
2978
995a46bb
MI
29792014-06-13 Meador Inge <meadori@codesourcery.com>
2980
2981 [BZ #16996]
03ed7738 2982 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
2983 that the cached result has been set before returning it.
2984
45262aee
RM
29852014-06-12 Roland McGrath <roland@hack.frob.com>
2986
febf6cc5
RM
2987 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
2988 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
2989 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
2990 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
2991 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
2992 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
2993
e2682246
RM
2994 * nptl/sysdeps/sparc/Makefile: Moved ...
2995 * sysdeps/sparc/nptl/Makefile: ... here.
2996 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
2997 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
2998 * nptl/sysdeps/sparc/tls.h: Moved ...
2999 * sysdeps/sparc/nptl/tls.h: ... here.
3000 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
3001 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
3002 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
3003 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
3004 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
3005 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
3006 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
3007 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
3008 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
3009 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
3010 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
3011 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
3012 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
3013 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
3014 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
3015 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
3016 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
3017 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
3018 Update #include.
3019 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
3020 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
3021 Update #include.
3022 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
3023 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
3024 Update #include.
3025 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
3026 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
3027 Update #include.
3028
b0725f43
RM
3029 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3030
b14368b8
RM
3031 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
3032 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
3033
c5620eb3
RM
3034 * sysdeps/pthread/posix-timer.h: Include <list.h>.
3035 (struct list_links): Type removed.
3036 (struct thread_node, struct timer_node): Replace struct list_links
3037 with struct list_head.
3038 (list_unlink_ip): Likewise.
3039 * sysdeps/pthread/timer_routines.c
3040 (timer_free_list, thread_free_list, thread_active_list): Likewise.
3041 (list_append, list_insbefore): Likewise.
3042 (list_init): Function removed.
3043 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
3044 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
3045 * sysdeps/pthread/Makefile: ... here, new file.
3046
3047 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
3048 * sysdeps/nptl/Implies: ... here.
3049 * sysdeps/unix/sysv/linux/Implies: Add nptl.
3050 * nptl/sysdeps/pthread/list.h: Moved ...
3051 * include/list.h: ... here.
3052 * nptl/sysdeps/pthread/createthread.c: Moved ...
3053 * nptl/createthread.c: ... here.
3054 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
3055 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
3056 * nptl/pt-longjmp.c: ... here.
3057 * nptl/sysdeps/pthread/Makefile: Moved ...
3058 * sysdeps/nptl/Makefile: ... here.
3059 * nptl/sysdeps/pthread/Subdirs: Moved ...
3060 * sysdeps/nptl/Subdirs: ... here.
3061 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
3062 * sysdeps/nptl/aio_misc.h: ... here.
3063 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
3064 * sysdeps/nptl/bits/libc-lock.h: ... here.
3065 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
3066 * sysdeps/nptl/bits/libc-lockP.h: ... here.
3067 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
3068 * sysdeps/nptl/bits/stdio-lock.h: ... here.
3069 * nptl/sysdeps/pthread/configure: Moved ...
3070 * sysdeps/nptl/configure: ... here.
3071 * nptl/sysdeps/pthread/configure.ac: Moved ...
3072 * sysdeps/nptl/configure.ac: ... here.
3073 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
3074 * sysdeps/nptl/gai_misc.h: ... here.
3075 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
3076 * sysdeps/nptl/librt-cancellation.c: ... here.
3077 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
3078 * sysdeps/nptl/malloc-machine.h: ... here.
3079 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
3080 * sysdeps/nptl/pthread-functions.h: ... here.
3081 * nptl/sysdeps/pthread/pthread.h: Moved ...
3082 * sysdeps/nptl/pthread.h: ... here.
3083 * nptl/sysdeps/pthread/setxid.h: Moved ...
3084 * sysdeps/nptl/setxid.h: ... here.
3085 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
3086 * sysdeps/nptl/sigfillset.c: ... here.
3087 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
3088 * sysdeps/nptl/tcb-offsets.h: ... here.
3089 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
3090 * sysdeps/nptl/tst-mqueue8x.c: ... here.
3091 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
3092 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
3093 * nptl/sysdeps/pthread/allocalim.h: Moved ...
3094 * sysdeps/pthread/allocalim.h: ... here.
3095 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
3096 * sysdeps/pthread/bits/sigthread.h: ... here.
3097 * nptl/sysdeps/pthread/flockfile.c: Moved ...
3098 * sysdeps/pthread/flockfile.c: ... here.
3099 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
3100 * sysdeps/pthread/ftrylockfile.c: ... here.
3101 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
3102 * sysdeps/pthread/funlockfile.c: ... here.
3103 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
3104 * sysdeps/pthread/posix-timer.h: ... here.
3105 * nptl/sysdeps/pthread/timer_create.c: Moved ...
3106 * sysdeps/pthread/timer_create.c: ... here.
3107 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
3108 * sysdeps/pthread/timer_delete.c: ... here.
3109 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
3110 * sysdeps/pthread/timer_getoverr.c: ... here.
3111 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
3112 * sysdeps/pthread/timer_gettime.c: ... here.
3113 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
3114 * sysdeps/pthread/timer_routines.c: ... here.
3115 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
3116 * sysdeps/pthread/timer_settime.c: ... here.
3117 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
3118 * sysdeps/pthread/tst-timer.c: ... here.
3119 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
3120 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
3121
e876b090
RM
3122 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
3123 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
3124
f6b07b3d
RM
3125 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
3126 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
3127 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
3128 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
3129 Update #include target.
3130 * nptl/sysdeps/i386/i686/Makefile: Moved ...
3131 * sysdeps/i386/i686/nptl/Makefile: ... here.
3132 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
3133 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
3134 Update #include target.
3135 * nptl/sysdeps/i386/i686/tls.h: Moved ...
3136 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
3137 * nptl/sysdeps/i386/Makefile: Moved ...
3138 * sysdeps/i386/nptl/Makefile: ... here.
3139 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
3140 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
3141 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
3142 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
3143 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
3144 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
3145 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
3146 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
3147 * sysdeps/i386/nptl/pthreaddef.h: ... here.
3148 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
3149 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
3150 * nptl/sysdeps/i386/tls.h: Moved ...
3151 * sysdeps/i386/nptl/tls.h: ... here.
3152
45262aee
RM
3153 * sysdeps/sh/Makefile [$(subdir) = csu]
3154 (gen-as-const-headers): Add tcb-offsets.sym.
3155 * nptl/sysdeps/sh/Makefile: File removed.
3156 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
3157 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
3158 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
3159 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
3160 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
3161 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
3162 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
3163 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
3164 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
3165 * sysdeps/sh/nptl/pthreaddef.h: ... here.
3166 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
3167 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
3168 * nptl/sysdeps/sh/tls.h: Moved ...
3169 * sysdeps/sh/nptl/tls.h: ... here.
3170 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
3171 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
3172 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
3173 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
3174 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
3175 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
3176 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
3177 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
3178 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
3179 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
3180 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
3181 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
3182 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
3183 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
3184 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
3185 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
3186 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
3187 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
3188 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
3189 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
3190 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
3191 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
3192 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
3193 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
3194 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
3195 Moved ...
3196 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
3197 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
3198 Moved ...
3199 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
3200 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
3201 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
3202 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
3203 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
3204 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
3205 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
3206 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
3207 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
3208 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
3209 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
3210 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
3211 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
3212 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
3213 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
3214 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
3215 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
3216 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
3217 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
3218
35a5e3e3
SL
32192014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3220
3221 * posix/spawn_faction_addopen.c: Include string.h.
3222
14642b85
RM
32232014-06-11 Roland McGrath <roland@hack.frob.com>
3224
3225 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
3226 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
3227 * nptl/sysdeps/x86_64/Makefile: Moved ...
3228 * sysdeps/x86_64/nptl/Makefile: ... here.
3229 * nptl/sysdeps/x86_64/configure: Moved ...
3230 * sysdeps/x86_64/nptl/configure: ... here.
3231 * nptl/sysdeps/x86_64/configure.ac: Moved ...
3232 * sysdeps/x86_64/nptl/configure.ac: ... here.
3233 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
3234 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
3235 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
3236 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
3237 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
3238 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
3239 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
3240 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
3241 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
3242 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
3243 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
3244 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
3245 * nptl/sysdeps/x86_64/tls.h: Moved ...
3246 * sysdeps/x86_64/nptl/tls.h: ... here.
3247 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
3248 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
3249 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
3250 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
3251
3252 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
3253
31c44fea
AZ
32542014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3255
3256 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3257
e81a4f9a
JM
32582014-06-11 Joseph Myers <joseph@codesourcery.com>
3259
3260 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
3261 type.
3262 [POSIX] (off_t): Likewise.
3263 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
3264 [POSIX] (S_ISBLK): Require macro.
3265 [POSIX] (S_ISCHR): Likewise.
3266 [POSIX] (S_ISDIR): Likewise.
3267 [POSIX] (S_ISFIFO): Likewise.
3268 [POSIX] (S_ISREG): Likewise.
3269 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
3270 optional-macro.
3271 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
3272 type.
3273 [POSIX] (time_t): Likewise.
3274 [POSIX] (timer_t): Likewise.
3275
89e435f3
FW
32762014-06-11 Florian Weimer <fweimer@redhat.com>
3277
3278 [BZ #17048]
3279 * posix/spawn_int.h (struct __spawn_action): Make the path string
3280 non-const to support deallocation.
3281 * posix/spawn_faction_addopen.c
3282 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
3283 * posix/spawn_faction_destroy.c
3284 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
3285 path in all spawn_do_open actions.
3286 * posix/tst-spawn.c (do_test): Exercise the copy operation in
3287 posix_spawn_file_actions_addopen.
3288
c3a2ebe1
CM
32892014-06-11 Chris Metcalf <cmetcalf@tilera.com>
3290
3291 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
3292 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
3293 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
3294 conditional code always true.
3295 (__libc_vfork): New alias.
3296
9503784a
RM
32972014-06-11 Roland McGrath <roland@hack.frob.com>
3298
c9cab3d2
RM
3299 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3300 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
3301
d3996c79
RM
3302 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
3303
ba5ec611
RM
3304 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3305 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
3306
f12b4814
RM
3307 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3308 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
3309
9503784a
RM
3310 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3311 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
3312
e23d3d26
VR
33132014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3314
3315 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
3316 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
3317 multiarch strcmp for PPC64.
3318 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
3319 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
3320 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
3321 multiarch optimizations.
3322 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3323 (__libc_ifunc_impl_list): Likewise.
3324
42b1161e
SP
33252014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3326
3327 * benchtests/scripts/validate_benchout.py: New script.
3328 * benchtests/Makefile (bench-func): Call it.
3329 * benchtests/scripts/benchout.schema.json: New file.
3330
2d0fc4dc
CM
33312014-06-10 Chris Metcalf <cmetcalf@tilera.com>
3332
4a594c34
AZ
3333 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
3334 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
3335 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
3336 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
3337 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
3338 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
3339 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
3340 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
3341 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
3342 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
3343 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
3344 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
3345 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
3346 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
3347 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
3348 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
3349 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 3350 Moved ...
4a594c34 3351 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 3352 ... here.
4a594c34 3353 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 3354 Moved ...
4a594c34
AZ
3355 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
3356 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 3357 Moved ...
4a594c34 3358 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 3359 ... here.
4a594c34 3360 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 3361 Moved ...
4a594c34 3362 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 3363 ... here.
4a594c34 3364 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 3365 Moved ...
4a594c34
AZ
3366 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
3367 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 3368 Moved ...
4a594c34 3369 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 3370 ... here.
4a594c34 3371 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 3372 Moved ...
4a594c34 3373 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 3374 ... here.
4a594c34 3375 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 3376 Moved ...
4a594c34
AZ
3377 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
3378 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 3379 Moved ...
4a594c34 3380 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 3381 ... here.
4a594c34 3382 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 3383 Moved ...
4a594c34 3384 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 3385 ... here.
4a594c34 3386 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 3387 Moved ...
4a594c34 3388 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 3389 ... here.
4a594c34 3390 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 3391 Moved ...
4a594c34
AZ
3392 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
3393 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 3394 Moved ...
4a594c34 3395 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 3396 ... here.
4a594c34 3397 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 3398 Moved ...
4a594c34 3399 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 3400 ... here.
4a594c34 3401 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 3402 Moved ...
4a594c34 3403 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 3404 ... here.
4a594c34 3405 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 3406 Moved ...
4a594c34
AZ
3407 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
3408 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 3409 Moved ...
4a594c34 3410 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 3411 ... here.
4a594c34 3412 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 3413 Moved ...
4a594c34 3414 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 3415 ... here.
4a594c34 3416 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 3417 Moved ...
4a594c34
AZ
3418 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
3419 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 3420 Moved ...
4a594c34 3421 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 3422 ... here.
4a594c34 3423 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 3424 Moved ...
4a594c34
AZ
3425 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
3426 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 3427 Moved ...
4a594c34
AZ
3428 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
3429 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 3430 Moved ...
4a594c34 3431 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 3432 ... here.
4a594c34 3433 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 3434 Moved ...
4a594c34 3435 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 3436 ... here.
4a594c34 3437 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 3438 Moved ...
4a594c34 3439 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 3440 ... here.
4a594c34 3441 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 3442 Moved ...
4a594c34
AZ
3443 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
3444 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 3445 Moved ...
4a594c34 3446 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 3447 ... here.
4a594c34 3448 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 3449 Moved ...
4a594c34 3450 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 3451 ... here.
4a594c34
AZ
3452 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
3453 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
3454 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
3455 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
3456 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 3457 Moved ...
4a594c34 3458 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 3459 ... here.
4a594c34
AZ
3460 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
3461 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
3462 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
3463 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
3464 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
3465 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
3466 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
3467 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
3468 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
3469 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
3470 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
3471 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
3472 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 3473 Moved ...
4a594c34
AZ
3474 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
3475 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 3476 Moved ...
4a594c34
AZ
3477 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
3478 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
3479 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
3480 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 3481 Moved ...
4a594c34
AZ
3482 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
3483 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
3484 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
3485 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
3486 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
3487 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
3488 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 3489
0570cfed
W
34902014-06-10 Wilco <wdijkstr@arm.com>
3491
3492 * math/test-fenv-return.c: New file.
3493 * math/Makefile: Add new test test-fenv-return.
3494
f8ba1b56
JM
34952014-06-10 Joseph Myers <joseph@codesourcery.com>
3496
3497 [BZ #17042]
3498 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
3499 when x - 1 is zero.
3500 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
3501 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
3502 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
3503 0.0L for an argument of 1.0L.
3504 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
3505 Likewise.
3506 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
3507 value when x - 1 is zero.
3508 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
3509 * sysdeps/i386/fpu/libm-test-ulps: Update.
3510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3511
2c3520d9
BO
35122014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
3513
3514 [BZ #15119]
3515 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
3516
acaa4d24
RM
35172014-06-09 Roland McGrath <roland@hack.frob.com>
3518
3519 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
3520 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
3521
962b744d
RM
35222014-06-09 Roland McGrath <roland@hack.frob.com>
3523
d752f0cc
RM
3524 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3525 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
3526
34eda6d1
RM
3527 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3528 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
3529
50f0a637
RM
3530 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3531 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
3532
08f41f04
RM
3533 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3534 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
3535
962b744d
RM
3536 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
3537 if not already defined.
3538 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
3539 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
3540 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
3541 (TLS_INIT_TP): Use it.
3542 (TLS_DEFINE_INIT_TP): New macro.
3543 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
3544
09f19b05
JM
35452014-06-09 Joseph Myers <joseph@codesourcery.com>
3546
3547 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
3548 constant.
3549 [POSIX] (IXANY): Likewise.
3550 [POSIX] (OLCUC): Likewise.
3551 [POSIX || POSIX2008] (CBAUD): Do not allow.
3552 [POSIX || POSIX2008] (DEFECHO): Likewise.
3553 [POSIX || POSIX2008] (ECHOCTL): Likewise.
3554 [POSIX || POSIX2008] (ECHOKE): Likewise.
3555 [POSIX || POSIX2008] (ECHOPRT): Likewise.
3556 [POSIX || POSIX2008] (EXTA): Likewise.
3557 [POSIX || POSIX2008] (EXTB): Likewise.
3558 [POSIX || POSIX2008] (FLUSHO): Likewise.
3559 [POSIX || POSIX2008] (LOBLK): Likewise.
3560 [POSIX || POSIX2008] (PENDIN): Likewise.
3561 [POSIX || POSIX2008] (SWTCH): Likewise.
3562 [POSIX || POSIX2008] (VDISCARD): Likewise.
3563 [POSIX || POSIX2008] (VDSUSP): Likewise.
3564 [POSIX || POSIX2008] (VLNEXT): Likewise.
3565 [POSIX || POSIX2008] (VREPRINT): Likewise.
3566 [POSIX || POSIX2008] (VSTATUS): Likewise.
3567 [POSIX || POSIX2008] (VWERASE): Likewise.
3568 (B*): Change to B[0123456789]*.
3569 * conform/data/time.h-data [POSIX || UNIX98]
3570 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
3571 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3572 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
3573 [POSIX] (tm_*): Do not allow.
3574
686554bf
JM
35752014-06-07 Joseph Myers <joseph@codesourcery.com>
3576
3577 * Makefile (install): Don't set LANGUAGE.
3578 * Makefile.in (install): Likewise.
3579 * assert/Makefile (test-assert-ENV): Remove variable.
3580 (test-assert-perr-ENV): Likewise.
3581 * elf/Makefile (neededtest4-ENV): Likewise.
3582 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3583 [$(cross-compiling) = no]: Don't set LANGUAGE.
3584 * io/ftwtest-sh (LANG): Remove variable.
3585 * libio/Makefile (tst-widetext-ENV): Likewise.
3586 * manual/install.texi (Running make install): Don't refer to
3587 environment settings for make install.
3588 * INSTALL: Regenerated.
3589 * nptl/tst-tls6.sh: Don't set LANG.
3590 * posix/globtest.sh (LANG): Remove variable.
3591 * string/Makefile (tester-ENV): Likewise.
3592 (inl-tester-ENV): Likewise.
3593 (noinl-tester-ENV): Likewise.
3594 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3595 [$(cross-compiling) = no]: Don't set LANGUAGE.
3596 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
3597 without explicit environment settings.
3598
68e6b6b1
RM
35992014-06-06 Roland McGrath <roland@hack.frob.com>
3600
3601 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
3602 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
3603 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
3604 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
3605
4d3ae034
CM
36062014-06-06 Chris Metcalf <cmetcalf@tilera.com>
3607
3608 * crypt/crypt-private.h [DOS]: Add some includes taken from the
3609 other files in the crypt directory.
3610 * crypt/crypt.c: Remove duplicate includes.
3611 * crypt/crypt-entry.c: Likewise.
3612 * crypt/crypt_util.c: Likewise.
3613
8540f6d2
JM
36142014-06-06 Joseph Myers <joseph@codesourcery.com>
3615
3616 * Makeconfig (run-program-env): New variable.
3617 (run-program-prefix-before-env): Likewise.
3618 (run-program-prefix-after-env): Likewise.
3619 (run-program-prefix): Define in terms of new variables.
3620 (built-program-cmd-before-env): New variable.
3621 (built-program-cmd-after-env): Likewise.
3622 (built-program-cmd): Define in terms of new variables.
3623 (test-program-prefix-before-env): New variable.
3624 (test-program-prefix-after-env): Likewise.
3625 (test-program-prefix): Define in terms of new variables.
3626 (test-program-cmd-before-env): New variable.
3627 (test-program-cmd-after-env): Likewise.
3628 (test-program-cmd): Define in terms of new variables.
3629 * Rules (make-test-out): Use $(run-program-env).
3630 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
3631 (help): Do not mention environment variables. Mention
3632 --timeoutfactor option.
3633 (timeoutfactor): New variable.
3634 (blacklist_exports): Remove function.
3635 (exports): Remove variable.
3636 (command): Do not include ${exports}.
3637 * manual/install.texi (Configuring and compiling): Do not mention
3638 test wrappers preserving environment variables. Mention that last
3639 assignment to a variable must take precedence.
3640 * INSTALL: Regenerated.
3641 * benchtests/Makefile (run-bench): Use $(run-program-env).
3642 * catgets/Makefile ($(objpfx)test1.cat): Use
3643 $(built-program-cmd-before-env), $(run-program-env) and
3644 $(built-program-cmd-after-env).
3645 ($(objpfx)test2.cat): Do not specify environment variables
3646 explicitly.
3647 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
3648 $(run-program-env) and $(built-program-cmd-after-env).
3649 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
3650 $(run-program-env) and $(test-program-cmd-after-env).
3651 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
3652 explicitly.
3653 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
3654 run_program_env and test_program_cmd_after_env arguments.
3655 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
3656 * elf/tst-pathopt.sh: Use run_program_env argument.
3657 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
3658 $(test-wrapper-env) and $(run-program-env).
3659 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
3660 run_program_env arguments.
3661 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
3662 * intl/Makefile ($(objpfx)tst-gettext.out): Use
3663 $(test-program-prefix-before-env), $(run-program-env) and
3664 $(test-program-prefix-after-env).
3665 ($(objpfx)tst-gettext2.out): Likewise.
3666 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
3667 run_program_env and test_program_prefix_after_env arguments.
3668 * intl/tst-gettext2.sh: Likewise.
3669 * intl/tst-gettext4.sh: Do not set environment variables
3670 explicitly.
3671 * intl/tst-gettext6.sh: Likewise.
3672 * intl/tst-translit.sh: Likewise.
3673 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
3674 $(test-program-prefix-before-env), $(run-program-env) and
3675 $(test-program-prefix-after-env).
3676 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
3677 run_program_env and test_program_prefix_after_env arguments.
3678 * math/Makefile (run-regen-ulps): Use $(run-program-env).
3679 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
3680 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
3681 explicitly with each use of ${test_wrapper_env}.
3682 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
3683 $(test-program-prefix-before-env), $(run-program-env) and
3684 $(test-program-prefix-after-env).
3685 * posix/tst-getconf.sh: Do not set environment variables
3686 explicitly.
3687 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
3688 run_program_env and test_program_prefix_after_env arguments.
3689 * stdio-common/tst-printf.sh: Do not set environment variables
3690 explicitly.
3691 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
3692 $(test-program-prefix-before-env), $(run-program-env) and
3693 $(test-program-prefix-after-env).
3694 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
3695 run_program_env and test_program_prefix_after_env arguments.
3696 Split $test calls into $test_pre and $test.
3697 * timezone/Makefile (build-testdata): Use
3698 $(built-program-cmd-before-env), $(run-program-env) and
3699 $(built-program-cmd-after-env).
3700
ed36bfa1
AZ
37012014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3702
3703 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
3704 strlen for non SHARED builds.
3705
fc75bf46
SP
37062014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3707
3708 * nptl/allocatestack.c (check_list): Inlined function...
3709 (__reclaim_stacks): ... here.
3710
d89b3d80
OB
37112014-06-05 Ondřej Bílka <neleai@seznam.cz>
3712
3713 [BZ #15698]
3714 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3715 memory overrun.
3716
2bf18041
JM
37172014-06-05 Joseph Myers <joseph@codesourcery.com>
3718
3719 * Rules (make-test-out): Include
3720 LOCPATH=$(common-objpfx)localedata in default environment.
3721 * debug/Makefile (tst-chk1-ENV): Remove variable.
3722 (tst-chk2-ENV): Likewise.
3723 (tst-chk3-ENV): Likewise.
3724 (tst-chk4-ENV): Likewise.
3725 (tst-chk5-ENV): Likewise.
3726 (tst-chk6-ENV): Likewise.
3727 (tst-lfschk1-ENV): Likewise.
3728 (tst-lfschk2-ENV): Likewise.
3729 (tst-lfschk3-ENV): Likewise.
3730 (tst-lfschk4-ENV): Likewise.
3731 (tst-lfschk5-ENV): Likewise.
3732 (tst-lfschk6-ENV): Likewise.
3733 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
3734 (tst-iconv7-ENV): Likewise.
3735 * intl/Makefile (LOCPATH-ENV): Likewise.
3736 (tst-codeset-ENV): Likewise.
3737 (tst-gettext3-ENV): Likewise.
3738 (tst-gettext5-ENV): Likewise.
3739 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
3740 (tst-fopenloc-ENV): Likewise.
3741 (tst-fgetws-ENV): Remove variable.
3742 (tst-ungetwc1-ENV): Likewise.
3743 (tst-ungetwc2-ENV): Likewise.
3744 (bug-ungetwc2-ENV): Likewise.
3745 (tst-swscanf-ENV): Likewise.
3746 (bug-ftell-ENV): Likewise.
3747 (tst-fgetwc-ENV): Likewise.
3748 (tst-fseek-ENV): Likewise.
3749 (tst-ftell-partial-wide-ENV): Likewise.
3750 (tst-ftell-active-handler-ENV): Likewise.
3751 (tst-ftell-append-ENV): Likewise.
3752 * posix/Makefile (tst-fnmatch-ENV): Likewise.
3753 (tst-regexloc-ENV): Likewise.
3754 (bug-regex1-ENV): Likewise.
3755 (tst-regex-ENV): Likewise.
3756 (tst-regex2-ENV): Likewise.
3757 (bug-regex5-ENV): Likewise.
3758 (bug-regex6-ENV): Likewise.
3759 (bug-regex17-ENV): Likewise.
3760 (bug-regex18-ENV): Likewise.
3761 (bug-regex19-ENV): Likewise.
3762 (bug-regex20-ENV): Likewise.
3763 (bug-regex22-ENV): Likewise.
3764 (bug-regex23-ENV): Likewise.
3765 (bug-regex25-ENV): Likewise.
3766 (bug-regex26-ENV): Likewise.
3767 (bug-regex30-ENV): Likewise.
3768 (bug-regex32-ENV): Likewise.
3769 (bug-regex33-ENV): Likewise.
3770 (bug-regex34-ENV): Likewise.
3771 (bug-regex35-ENV): Likewise.
3772 (tst-rxspencer-ENV): Likewise.
3773 (tst-rxspencer-no-utf8-ENV): Likewise.
3774 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
3775 (tst-sscanf-ENV): Likewise.
3776 (tst-swprintf-ENV): Likewise.
3777 (tst-swscanf-ENV): Likewise.
3778 (test-vfprintf-ENV): Likewise.
3779 (scanf13-ENV): Likewise.
3780 (bug14-ENV): Likewise.
3781 (tst-grouping-ENV): Likewise.
3782 * stdlib/Makefile (tst-strtod-ENV): Likewise.
3783 (tst-strtod3-ENV): Likewise.
3784 (tst-strtod4-ENV): Likewise.
3785 (tst-strtod5-ENV): Likewise.
3786 (testmb2-ENV): Likewise./
3787 * string/Makefile (tst-strxfrm-ENV): Likewise.
3788 (tst-strxfrm2-ENV): Likewise.
3789 (bug-strcoll1-ENV): Likewise.
3790 (test-strcasecmp-ENV): Likewise.
3791 (test-strncasecmp-ENV): Likewise.
3792 * time/Makefile (tst-strptime-ENV): Likewise.
3793 (tst-ftime_l-ENV): Likewise.
3794 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
3795 (tst-mbrtowc-ENV): Likewise.
3796 (tst-wcrtomb-ENV): Likewise.
3797 (tst-mbrtowc2-ENV): Likewise.
3798 (tst-c16c32-1-ENV): Likewise.
3799 (tst-mbsnrtowcs-ENV): Likewise.
3800
cd1fb604
OB
38012014-06-05 Ondřej Bílka <neleai@seznam.cz>
3802
3803 * manual/resource.texi (How to get information about the memory
3804 subsystem?): Fix typo.
3805 Reported by Peon de la Parra Ivan <peon@keba.com>
3806
b42eca7d
GY
38072014-06-03 Guo Yixuan <culu.gyx@gmail.com>
3808
3809 [BZ #16882]
3810 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
3811 (pthread_spin_lock): Branch out of spin loop to proper location.
3812 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
3813 (pthread_spin_lock): Likewise.
3814
902b71f9
DM
3815 * nptl/tst-spin4.c: New test.
3816 * nptl/Makefile (tests): Add tst-spin4.
3817
f9d2d032
AS
38182014-06-03 Andreas Schwab <schwab@suse.de>
3819
3820 [BZ #15946]
3821 * resolv/res_send.c (send_dg): Reload file descriptor after
3822 calling reopen.
3823
cf7bfd28
SL
38242014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
3825
3826 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3827
111cc714
RH
38282014-06-03 Richard Henderson <rth@redhat.com>
3829
89b4bd6b
RH
3830 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
3831 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
3832 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
3833 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
3834 in the SAVE_PID block.
3835 (__libc_vfork): New alias.
71840409 3836 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 3837
111cc714
RH
3838 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
3839 child in registers, not on the stack. Remove RESET_PID conditionals.
3840 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
3841
ccc39911
MS
38422014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
3843
3844 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3845
693096cc
W
38462014-06-03 Wilco <wdijkstr@arm.com>
3847
3848 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
3849 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
3850 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3851 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
3852 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
3853 Likewise.
3854
0b4366bc
W
38552014-06-03 Wilco <wdijkstr@arm.com>
3856
3857 * sysdeps/aarch64/fpu/math_private.h
3858 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
3859 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
3860 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
3861 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3862 Fix declarations.
3863
8747cd03
KS
38642014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3865
3866 * crypt/crypt-private.h: Include ufc-crypt.h.
3867 (__b64_from_24bit): Declare extern.
3868 * crypt/crypt_util.c(__b64_from_24bit): New function.
3869 (b64t): New static const variable.
3870 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
3871 (b64t): Remove variable.
3872 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
3873 * crypt/sha256-crypt.c: Include crypt-private.h.
3874 (b64t): Remove variable.
3875 (__sha256_crypt_r): Remove b64_from_24bit and replace
3876 with __b64_from_24bit.
3877 * crypt/sha512-crypt.c: Likewise.
3878
d936d379
RM
38792014-06-02 Roland McGrath <roland@hack.frob.com>
3880
3881 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
3882 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
3883 Label the code __libc_vfork rather than __vfork.
3884 [!NOT_IN_libc] (vfork): Define as weak alias.
3885 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
3886 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
3887 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
3888
9fa76613
SP
38892014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3890
3891 * malloc/malloc.c (malloc_info): Fix format specifier for
3892 n_mmaps.
3893
a88dadbe
W
38942014-06-02 Wilco <wdijkstr@arm.com>
3895
3896 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
3897 FPCR write.
3898
c95b3011
W
38992014-06-02 Wilco <wdijkstr@arm.com>
3900
3901 [BZ #17009]
3902 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
3903 Rewrite to reduce FPCR/FPSR accesses.
3904
6b4d7a90
DM
39052014-06-01 David S. Miller <davem@davemloft.net>
3906
3907 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3908
30f3d07c
DM
39092014-05-31 David S. Miller <davem@davemloft.net>
3910
3911 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
3912 to occur in round to nearest mode when |x| >= 2.0
3913
74f31c18
RH
39142014-05-30 Richard Henderson <rth@twiddle.net>
3915
f0712b54
RH
3916 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
3917 (PSEUDO_RET_NOERRNO): Remove.
3918 (ret): Don't redefine.
3919 (ret_NOERRNO): Define in terms of ret.
3920 (ret_ERRVAL): Likewise.
3921
74f31c18
RH
3922 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
3923 use of PSEUDO_RET; perform the error check directly.
3924
30477995
MM
39252014-05-30 Marko Myllynen <myllynen@redhat.com>
3926
3927 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
3928 with __int128_t.
3929
62a58816
SP
39302014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3931
3932 * malloc/malloc (malloc_info): Fix formatting.
3933
4d653a59
SP
39342014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3935 Roland McGrath <roland@hack.frob.com>
3936
3937 * malloc/malloc (malloc_info): Also print mmapped statistics.
3938
5190c17f
RM
39392014-05-30 Roland McGrath <roland@hack.frob.com>
3940
3941 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
3942 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
3943
987c0269
OB
39442014-05-30 Ondřej Bílka <neleai@seznam.cz>
3945
3946 * malloc/malloc.c (malloc_info): Inline mi_arena.
3947
af4e8ef9
RH
39482014-05-29 Richard Henderson <rth@twiddle.net>
3949
1670e207
RH
3950 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
3951 Remove comma before expanding ASM_ARGS_##nr.
3952 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
3953 Make _x0 a strict output; make _x8 a strict input; adjust expansion
3954 of ASM_ARGS_##nr.
3955 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
3956 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
3957 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
3958 (ASM_ARGS_1): Add leading comma.
3959
11a28aee
RH
3960 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
3961 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
3962 to __errno_location.
3963 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
3964 Remove the expected plt for __errno_location.
3965
a17e5ffb 3966 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 3967 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
3968 call to __read_tp.
3969
b5be4597
RH
3970 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3971 Always allocate 64 bytes of stack frame. Use ldp/stp to create
3972 it and break it down.
3973 (DOCARGS_0, DOCARGS_1): Do nothing.
3974 (DOCARGS_2): Update to store into the new stack frame.
3975 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
3976 (UNDOCARGS_1): Update to restore from the new stack frame.
3977 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
3978 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
3979
645d44ab
RH
3980 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3981 (SINGLE_THREAD_P): New parameter for result regno.
3982 (PSEUDO): Update to match; use cbz instead of beq.
3983
a8b4f04a
RH
3984 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3985 Use ENTRY to define the _nocancel entry point. Share the syscall
3986 and syscall error check paths with the cancel path.
3987 (PSEUDO_END): New.
3988
af4e8ef9
RH
3989 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
3990 whitespace; tabs before and after asm mnemonics.
3991
26b0d2e1
EW
39922014-05-29 Eric Wong <normalperson@yhbt.net>
3993
3994 [BZ #15132]
3995 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3996 Call fstat64 or stat64 internally, depending on arguments passed.
3997 Replace stat buffer argument with file descriptor argument.
3998 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
3999 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4000 Pass fd to __internal_statvfs instead of calling fstat64.
4001 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
4002 Pass fd to __internal_statvfs64 instead of calling fstat64.
4003 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
4004 Pass -1 to __internal_statvfs instead of calling stat64.
4005 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
4006 Pass -1 to __internal_statvfs64 instead of calling stat64.
4007
1efe2bd9
RM
40082014-05-28 Roland McGrath <roland@hack.frob.com>
4009
0d3b7a19
RM
4010 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
4011 that was previously under [RESET_PID].
4012 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
4013
1efe2bd9
RM
4014 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
4015 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
4016
a6bea3ca
RM
40172014-05-27 Roland McGrath <roland@hack.frob.com>
4018
30b6629e
RM
4019 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
4020
a6bea3ca
RM
4021 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
4022 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
4023
3dfb9a5c
OB
40242014-05-27 Ondřej Bílka <neleai@seznam.cz>
4025
4026 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
4027
774f9285
AS
40282014-05-27 Andreas Schwab <schwab@suse.de>
4029
4030 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
4031 TLS_INIT_TP macro.
4032 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4033 * elf/rtld.c (init_tls, dl_main): Likewise.
4034 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
4035 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
4036 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
4037 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
4038 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
4039 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
4040 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
4041 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
4042 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
4043 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
4044 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
4045 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
4046 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
4047 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
4048 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
4049 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
4050 * sysdeps/generic/tls.h: Update description.
4051
36ffe739
WN
40522014-05-27 Will Newton <will.newton@linaro.org>
4053
4054 [BZ #16990]
4055 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
4056 and restore r2 rather than just restoring.
4057
2482ae43
SP
40582014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4059
4060 [BZ #16724]
4061 * libio/tst-ftell-append.c: New test case.
4062 * libio/Makefile (tests): Add test case.
4063 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
4064 append mode.
4065 * libio/wfileops.c (do_ftell_wide): Likewise.
4066
3d1024e8
AZ
40672014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4068
bab90016
AZ
4069 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4070
c7a8d667
AZ
4071 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
4072 ...
4073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
4074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4075 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
4076 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
4077 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
4078 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
4079 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
4080 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
4081 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4082 Moved ...
4083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
4084 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4085 Moved ...
4086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
4087 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
4088 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
4089 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
4090 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
4091 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
4092 ...
4093 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
4094 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
4095 Moved ...
4096 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
4097 here.
4098 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
4099 ...
4100 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
4101 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
4102 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
4103
daee7851
AZ
4104 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
4105 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
4106 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
4107 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
4108
50a40819
AZ
4109 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
4110 merge into ...
4111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
4112 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
4113 ...
4114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
4115 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
4116 ...
4117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
4118 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4119 Moved ...
4120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
4121 here.
4122 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4123 Moved ...
4124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
4125 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4126 Moved ...
4127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
4128
8464c2a1
AZ
4129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
4130 conditional [RESET_PID].
4131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
4132 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
4133 removed.
4134 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
4135 removed.
4136
3d1024e8
AZ
4137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
4138 <tcb-offsets.h>.
4139 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4140 (__libc_vfork): New strong alias.
4141 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
4142 removed.
4143 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
4144 Removed.
4145
4146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
4147 <tcb-offsets.h>.
4148 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
4149 (__libc_vfork): New strong alias.
4150 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
4151 removed.
4152 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
4153 removed.
4154
fdfd175d
CD
41552014-05-26 Carlos O'Donell <carlos@redhat.com>
4156
4157 * malloc/malloc.c (mi_arena): New function.
4158 (malloc_info): Remove nested function mi_arena. Call non-nosted
4159 function mi_arena.
4160
d298c416
AZ
41612014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4162
4163 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
4164 by insrwi.
4165 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
4166 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
4167 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
4168 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
4169 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
4170 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
4171 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
4172
b60ea6ff
AS
41732014-05-26 Andreas Schwab <schwab@suse.de>
4174
4175 [BZ #16984]
4176 * locale/programs/repertoire.c (repertoire_read): Add slash
4177 between I18NPATH element and file name.
4178 * locale/programs/locfile.c (locfile_read): Likewise.
4179
67365926
SL
41802014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4181
4182 * nptl/pthread_mutexattr_settype.c
4183 (__pthread_mutexattr_settype):
4184 Disable lock elision for PTHREAD_MUTEX_NORMAL.
4185
f8bdf1f0
SL
41862014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4187
4188 * nptl/tst-mutex5 (do_test):
4189 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
4190
15eaf6ff
SP
41912014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4192
4193 * benchtests/README: Document 'init' directive.
4194 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
4195 BENCH_INIT.
4196 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
4197 (parse_file): Recognize 'init' directive.
4198
75f11331
KM
41992014-05-26 Kyle McMartin <kyle@redhat.com>
4200
4201 [BZ #16796]
4202 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
4203 alignment of struct pthread.
4204
c3ec475c
SP
42052014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4206
4207 [BZ #16878]
4208 * nscd/netgroupcache.c (addgetnetgrentX): Look for
4209 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4210 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
4211 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4212
82aab97c
RH
42132014-05-25 Richard Henderson <rth@twiddle.net>
4214
aa2f176d
RH
4215 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4216 (SINGLE_THREAD_P_PIC): Remove.
4217 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
4218 (SINGLE_THREAD_P_PIC): Remove.
4219
ca3cfa40
RH
4220 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
4221 branch to syscall error ...
4222 (PSEUDO): ... here.
4223 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
4224 from __local_syscall_error to .Lsyscall_error.
4225 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
4226 (SYSCALL_ERROR): Update label name.
4227
6e6c2d01
RH
4228 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4229 Do not use DOARGS/UNDOARGS.
4230 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
4231 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
4232 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
4233 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
4234 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
4235
c69abcee
RH
4236 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
4237 block comment.
4238
82aab97c
RH
4239 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
4240 define if !NOT_IN_libc.
4241 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
4242 define with non-default symbol versions.
4243
8820e3ac
RH
42442014-05-23 Richard Henderson <rth@twiddle.net>
4245
900e445f
RH
4246 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
4247 (vfork, __vfork): Define via compat_symbol.
4248
8820e3ac
RH
4249 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
4250 [!HAVE_IFUNC] (vfork_compat): Remove.
4251 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
4252
e59252a5
JM
42532014-05-23 Joseph Myers <joseph@codesourcery.com>
4254
4255 [BZ #16978]
4256 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
4257 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
4258 variable.
4259
132c7f5f
RH
42602014-05-23 Richard Henderson <rth@twiddle.net>
4261
bc89e962
RH
4262 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
4263 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
4264 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
4265 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
4266
4267 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
4268 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
4269 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
4270 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
4271 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
4272 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
4273 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
4274 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
4275 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
4276 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
4277 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
4278 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
4279 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
4280 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
4281 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
4282 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
4283 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
4284 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
4285 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
4286 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
4287 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
4288 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
4289 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
4290 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
4291 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
4292 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
4293 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
4294 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
4295 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
4296 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
4297 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
4298 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
4299 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
4300 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
4301 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
4302 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
4303 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
4304 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
4305 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
4306 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
4307 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
4308 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
4309 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
4310 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
4311 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
4312 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
4313 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
4314 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
4315 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
4316 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
4317 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
4318 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
4319 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
4320 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
4321 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
4322 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
4323
e2fa4bc2
RH
4324 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
4325 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
4326 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
4327 before exiting on error.
4328 (__libc_vfork): New strong alias.
4329 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
4330 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
4331
279b24e2
RH
4332 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
4333 that was previously under [RESET_PID].
4334 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
4335
132c7f5f
RH
4336 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
4337
b72592e7
JM
43382014-05-23 Joseph Myers <joseph@codesourcery.com>
4339
4340 [BZ #16977]
4341 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
4342 value when x - 1 is zero.
4343 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
4344 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
4345 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
4346 0.0L for an argument of 1.0L.
4347 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
4348 Likewise.
4349 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
4350 value when x - 1 is zero.
4351 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
4352 * sysdeps/i386/fpu/libm-test-ulps: Update.
4353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4354
2302d679
RV
43552014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4356
4357 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
4358 alphasort and versionsort.
4359
32999d63
AZ
43602014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4361
4362 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
4363 macro.
4364 [copysignf]: Likewise.
4365
019324d0
SP
43662014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4367
4368 * crypt/md5-crypt.c: Fix formatting.
4369
34fff5c2
KS
43702014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4371
4372 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
4373 (b64_from_24bit): New function.
4374
3d2badac
AZ
43752014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4376
4377 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
4378 libc_hidden_builtin_def to ifunc.
4379 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4380 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
4381
f7bb179f 43822014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
4383
4384 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
4385 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
4386
4134b50d
JM
43872014-05-21 Joseph Myers <joseph@codesourcery.com>
4388
bb7d0337
JM
4389 * nscd/Depend (linuxthreads): Remove.
4390 (nptl): Add.
4391 * resolv/Depend (linuxthreads): Remove.
4392 * rt/Depend (linuxthreads): Remove.
4393
4134b50d
JM
4394 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
4395 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
4396 $(common-objpfx)elf/.
4397 (link-libc-before-gnulib): Likewise.
4398 (elfobjdir): Remove variable.
4399 * Makefile (install): Use $(elf-objpfx) instead of
4400 $(common-objpfx)elf/.
4401 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
4402 $(elfobjdir)/.
4403 (link-libc-deps): Likewise.
4404 ($(common-objpfx)libc.so): Likewise.
4405 ($(common-objpfx)linkobj/libc.so): Likewise.
4406 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
4407 instead of $(common-objpfx)elf/.
4408 (symbolic-link-list): Likewise.
4409 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4410 [$(cross-compiling) = no]: Likewise.
4411 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
4412 $(elfobjdir)/.
4413 (static-gnulib-arch): Likewise.
4414 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4415 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
4416 $(common-objpfx)elf/.
4417
3612eb8f
RH
44182014-05-21 Richard Henderson <rth@redhat.com>
4419
a6b3657b
RH
4420 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4421 (SINGLE_THREAD_P): Use the correct width load. Fold
4422 into the ldr offset.
4423
3612eb8f
RH
4424 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
4425 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
4426
175cef41
JM
44272014-05-20 Joseph Myers <joseph@codesourcery.com>
4428
4429 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
4430 (libgcc_s_resume): Use __attribute_used__.
4431 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
4432 Likewise.
4433
e13bccd3
AZ
44342014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4435
4436 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
4437 optimization when used with float constants.
4438
7c112a38
AZ
4439 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4440
ae75a883
AJ
44412014-05-20 Aurelien Jarno <aurelien@aurel32.net>
4442
4443 [BZ #16915]
4444 * locale/nl_langinfo_l.c: Make direct reference to every
4445 _nl_current_CATEGORY symbol.
4446 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
4447 (tests-static): Add tst-langinfo-static.
4448 (tests-special): Add tst-langinfo-static.out.
4449 ($(objpfx)tst-langinfo.out): Redirect output.
4450 ($(objpfx)tst-langinfo-static.out): New.
4451 * localedata/tst-langinfo.sh: Send output to stdout.
4452 * localedata/tst-langinfo-static.c: New file.
4453
4406c41c
AJ
4454 [BZ #16965]
4455 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
4456 when the shift amount is modulo the limb size.
4457
4c0a1e63
RH
44582014-05-20 Richard Henderson <rth@redhat.com>
4459
de9d8f20
RH
4460 [BZ #16967]
4461 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
4462 Change type of sa_flags from unsigned int to int.
4463
4c0a1e63
RH
4464 [BZ #16966]
4465 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
4466
4467 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
4468
a60339aa
WN
44692014-05-20 Will Newton <will.newton@linaro.org>
4470
4471 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4472 Test the return value of the system call in the nocancel case.
4473
7d05a816
YR
44742014-05-20 Will Newton <will.newton@linaro.org>
4475 Yvan Roux <yvan.roux@linaro.org>
4476
4477 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
4478 #include of asm/ptrace.h.
4479 (PTRACE_GET_THREAD_AREA): Remove #undef.
4480 (PTRACE_GETHBPREGS): Likewise.
4481 (PTRACE_SETHBPREGS): Likewise.
4482 (struct user_regs_struct): New structure.
4483 (struct user_fpsimd_struct): New structure.
4484 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
4485 #include of asm/ptrace.h and second #include of sys/user.h.
4486 (PTRACE_GET_THREAD_AREA): Remove #undef.
4487 (PTRACE_GETHBPREGS): Likewise.
4488 (PTRACE_SETHBPREGS): Likewise.
4489 (ELF_NGREG): Use new struct user_regs_struct.
4490 (elf_fpregset_t): Use new struct user_fpsimd_struct.
4491
af121e37
AZ
44922014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4493
4494 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
4495 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
4496
834caf06
JM
44972014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4498
4499 [BZ #16958]
4500 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
4501 membar to avoid block loads/stores to overlap previous stores.
4502
e184a918
RH
45032014-05-17 Richard Henderson <rth@redhat.com>
4504
4505 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
4506 Create the __##syscall_name##_nocancel entry point.
4507 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
4508 Remove; let the sysdep-cancel.h code create it.
4509
f56c7a6a
DM
45102014-05-17 David S. Miller <davem@davemloft.net>
4511
4512 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
4513 Protect with __USE_GNU.
4514 (TIOCSET_TEMPT): Likewise.
4515 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4516 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
4517 these are already provided in bits/ioctl-types.h
4518
f75616b2
RM
45192014-05-16 Roland McGrath <roland@hack.frob.com>
4520
3edeca86
RM
4521 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
4522 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
4523
f75616b2
RM
4524 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
4525 Use wait4 regardless of [__NR_waitpid].
4526
deb0f7f6
MR
45272014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4528
4529 PR libgcc/60166
4530 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4531 (_FP_NANSIGN_Q): Set the quiet bit.
4532
79520f4b
JM
45332014-05-16 Joseph Myers <joseph@codesourcery.com>
4534
4535 * benchtests/Makefile
4536 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
4537 not $(common-objpfx)math/libm.so.
4538 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
4539 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
4540 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
4541 $(common-objpfx)dlfcn/libdl.so.
4542 ($(objpfx)tst-audit8): Depend on $(libm), not
4543 $(common-objpfx)math/libm.so.
4544 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
4545 not $(common-objpfx)dlfcn/libdl.so.
4546 * math/Makefile
4547 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4548 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
4549 [$(build-shared) = yes].
4550 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
4551 $(common-objpfx)nptl/libpthread.so.
4552 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
4553 $(common-objpfx)math/libm.so$(libm.so-version) or
4554 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
4555 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
4556 $(common-objpfx)dlfcn/libdl.so.
4557 * setjmp/Makefile (link-libm): Remove variable.
4558 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
4559 * stdio-common/Makefile (link-libm): Remove variable.
4560 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
4561 * stdlib/Makefile (link-libm): Remove variable.
4562 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
4563 ($(objpfx)tst-strtod-round): Likewise.
4564 ($(objpfx)tst-tininess): Likewise.
4565 ($(objpfx)tst-strtod-underflow): Likewise.
4566 ($(objpfx)tst-strtod6): Likewise.
4567 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
4568 $(libdl), not $(common-objpfx)nptl/libpthread.so and
4569 $(common-objpfx)dlfcn/libdl.so.
4570
026b0fe4
AZ
45712014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4572
4573 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
4574 BSD terminal modes definitions.
4575
def4bcb2
RM
45762014-05-16 Roland McGrath <roland@hack.frob.com>
4577
fe39b021
RM
4578 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
4579 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
4580
1d1fc46e 4581 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
4582 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
4583 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
4584 Don't do #include_next.
4585 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
4586 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
4587 Don't do #include_next.
4588 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
4589 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
4590 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
4591 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
4592
c72399fb
AM
45932014-05-16 Allan McRae <allan@archlinux.org>
4594
d51d659d
AM
4595 * po/sv.po: Update Swedish translation from translation project.
4596
c72399fb
AM
4597 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
4598 in sed expression.
4599
d0583c40
AJ
46002014-05-16 Aurelien Jarno <aurelien@aurel32.net>
4601
4602 [BZ #16917]
4603 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
4604 errno if the TIOCGPTN ioctl fails with an error different than
4605 EINVAL.
4606 * login/tst-ptsname.c: New file.
4607 * login/Makefile (tests): Add tst-ptsname.
4608
d16e6ec7
AJ
4609 [BZ #16943]
4610 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
4611 and prlimit64.
4612
cf26a0cb
SP
46132014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4614
4615 [BZ #16849]
4616 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
4617 herrno to return EAI_AGAIN.
4618
5675da1e
RM
46192014-05-14 Roland McGrath <roland@hack.frob.com>
4620
a5d87b3d
RM
4621 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
4622 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
4623 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
4624 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
4625 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
4626 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
4627 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
4628 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
4629 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
4630 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
4631 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
4632 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
4633 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
4634 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
4635 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
4636 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
4637 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
4638 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
4639 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
4640 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
4641 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
4642 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
4643 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
4644 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
4645 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
4646 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
4647 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
4648 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
4649 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
4650 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
4651 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
4652 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
4653 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
4654 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
4655 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4656 Moved ...
4657 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
4658 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
4659 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
4660 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
4661 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
4662 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
4663 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
4664 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
4665 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
4666 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
4667 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
4668 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
4669 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
4670 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
4671 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
4672 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
4673 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
4674 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
4675 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
4676 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
4677 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
4678 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
4679 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
4680 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
4681 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
4682 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
4683 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
4684 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4685 Moved ...
4686 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
4687 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
4688 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
4689 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
4690 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
4691 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
4692 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
4693 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
4694 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
4695 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
4696 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
4697 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
4698 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
4699 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
4700 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
4701 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
4702 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
4703 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
4704 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
4705 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4706 Moved ...
4707 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
4708 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
4709 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
4710
039890a6
RM
4711 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
4712 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
4713 (libpthread-sysdep_routines): Add elision-related stuff here instead.
4714 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
4715 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
4716 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
4717 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
4718 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
4719 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
4720 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
4721 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
4722 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
4723 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
4724 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
4725 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
4726 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
4727 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
4728 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
4729 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
4730 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
4731 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
4732 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
4733 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
4734 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
4735 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
4736 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
4737 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
4738 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
4739 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
4740 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
4741 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
4742
65c89320
RM
4743 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
4744 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
4745
348f8e8c
RM
4746 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
4747 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
4748 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
4749 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
4750 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
4751 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
4752 Moved ...
4753 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
4754 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
4755 Moved ...
4756 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
4757 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
4758 Moved ...
4759 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
4760 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
4761 Moved ...
4762 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
4763 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
4764 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
4765 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
4766 Moved ...
4767 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
4768 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
4769 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
4770 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
4771 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
4772 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
4773 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
4774 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4775 Moved ...
4776 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
4777 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4778 Moved ...
4779 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4780 ... here.
4781 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
4782 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
4783 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
4784 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
4785 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4786 Moved ...
4787 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4788 ... here.
4789 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
4790 Moved ...
4791 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
4792 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
4793 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
4794 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
4795 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
4796 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
4797 Moved ...
4798 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
4799 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
4800 Moved ...
4801 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
4802 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
4803 Moved ...
4804 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
4805 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
4806 Moved ...
4807 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
4808 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
4809 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
4810 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
4811 Moved ...
4812 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
4813 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
4814 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
4815 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
4816 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
4817 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
4818 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
4819 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
4820 Moved ...
4821 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
4822 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4823 Moved ...
4824 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4825 ... here.
4826 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
4827 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
4828 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
4829 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
4830 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4831 Moved ...
4832 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4833 ... here.
4834 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
4835 Moved ...
4836 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
4837 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
4838 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
4839 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
4840 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
4841 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
4842 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
4843 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
4844 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
4845 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
4846 Moved ...
4847 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
4848 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4849 Moved ...
4850 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
4851 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4852 Moved ...
4853 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
4854 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
4855 Moved ...
4856 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
4857 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
4858 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
4859 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
4860 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
4861 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4862 Moved ...
4863 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
4864 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
4865 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
4866 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
4867 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
4868 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
4869 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
4870 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4871 Moved ...
4872 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
4873 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4874 Moved ...
4875 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4876 ... here.
4877 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
4878 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
4879 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
4880 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
4881 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4882 Moved ...
4883 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4884 ... here.
4885 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
4886 Moved ...
4887 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
4888 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
4889 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
4890 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
4891 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
4892 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
4893 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
4894 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
4895 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
4896 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
4897 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
4898
5085af05
RM
4899 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
4900 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
4901
708f0813
RM
4902 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
4903 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
4904
c96067bc
RM
4905 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
4906 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
4907 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
4908 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
4909 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
4910 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
4911 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
4912 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
4913 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
4914 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
4915 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
4916 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
4917 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
4918 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
4919 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
4920 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
4921 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
4922 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
4923 Moved ...
4924 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
4925 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
4926 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
4927 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
4928 Moved ...
4929 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
4930 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
4931 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
4932 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
4933 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
4934 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
4935 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
4936 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
4937 Moved ...
4938 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
4939 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
4940 Moved ...
4941 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
4942 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
4943 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
4944 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
4945 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
4946 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
4947 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
4948 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
4949 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
4950 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
4951 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
4952 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
4953 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
4954 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
4955 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
4956 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
4957 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
4958
ec136444
RM
4959 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
4960 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
4961 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
4962 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
4963 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
4964
2fbdf533
RM
4965 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
4966 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
4967 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
4968 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
4969 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
4970 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
4971 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
4972 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
4973 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
4974 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
4975
4c68138b
RM
4976 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
4977 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
4978
4eaae765
RM
4979 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
4980 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
4981 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
4982 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
4983 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
4984 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
4985 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
4986 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
4987 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
4988 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
4989 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
4990 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
4991 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
4992 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
4993 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
4994 Update #include.
4995 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
4996 Likewise.
4997 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4998 Likewise.
4999 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5000 Likewise.
5001 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5002 Likewise.
5003 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
5004 Likewise.
5005 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
5006 Likewise.
5007 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5008 Likewise.
5009 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
5010 Likewise.
5011 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
5012 Likewise.
4ef6befa
RM
5013 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
5014 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
5015 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
5016 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
5017 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
5018 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
5019 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
5020 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
5021 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
5022 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
5023 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
5024 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
5025 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
5026 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
5027 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 5028
941d7dfd
RM
5029 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
5030 that was previously under [RESET_PID].
5031 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5032 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
5033 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
5034
1b731c35
RM
5035 * sysdeps/i386/nptl/Implies: New file.
5036 * sysdeps/x86_64/nptl/Implies: New file.
5037 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
5038 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
5039 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
5040 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
5041
e2787137
RM
5042 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
5043 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5044 (__libc_vfork): New strong alias.
5045 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
5046 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
5047
5048 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
5049 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5050 (__libc_vfork): New strong alias.
5051 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
5052 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
5053
5675da1e
RM
5054 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
5055 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5056 (__libc_vfork): New strong alias.
5057 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
5058 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
5059 * nptl/pt-vfork.c: New file.
5060 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
5061 (libpthread: GLIBC_2.20): New version set (empty).
5062
4f02e2b8
WN
50632014-05-14 Will Newton <will.newton@linaro.org>
5064
5065 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
5066 rather than #if.
5067
0bf061d3
JM
50682014-05-14 Joseph Myers <joseph@codesourcery.com>
5069
1a84c3d6
JM
5070 [BZ #16564]
5071 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
5072 arguments with exponent 65 or above.
5073 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
5074 arguments 0x1p113L or above.
5075 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
5076 to arguments 0x1p107L or above.
5077 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
5078 positive arguments with exponent 65 or above.
5079 * math/auto-libm-test-in: Add more tests of log1p.
5080 * math/auto-libm-test-out: Regenerated.
5081
01dbacd2
JM
5082 [BZ #16928]
5083 * math/s_cacos.c (__cacos): Ensure zero real part of result from
5084 non-finite arguments is +0.
5085 * math/s_cacosf.c (__cacosf): Likewise.
5086 * math/s_cacosl.c (__cacosl): Likewise.
5087 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
5088 * sysdeps/i386/fpu/libm-test-ulps: Update.
5089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5090
913d03c8
JM
5091 [BZ #16927]
5092 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
5093 value.
5094 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5095 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
5096 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
5097 for explicit high bit of mantissa when testing for argument equal
5098 to 1.
5099 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
5100 * sysdeps/i386/fpu/libm-test-ulps: Update.
5101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5102
0bf061d3
JM
5103 [BZ #16516]
5104 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
5105 (__erf): Scale by 16 instead of 8 in potentially underflowing
5106 case. Ensure exception if result actually underflows.
5107 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
5108 (__erff): Scale by 16 instead of 8 in potentially underflowing
5109 case. Ensure exception if result actually underflows.
5110 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
5111 (efx8): Remove variable.
5112 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5113 case. Ensure exception if result actually underflows.
5114 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
5115 (efx8): Remove variable.
5116 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5117 case. Ensure exception if result actually underflows.
5118 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
5119 (efx8): Remove variable.
5120 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5121 case. Ensure exception if result actually underflows.
5122 * math/auto-libm-test-in: Add more tests of erf.
5123 * math/auto-libm-test-out: Regenerated.
5124
73ba67cb
AS
51252014-05-14 Andreas Schwab <schwab@suse.de>
5126
3d8c8bff
AS
5127 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
5128 Remove code conditionalized on USE___THREAD.
5129
73ba67cb
AS
5130 * config.h.in (HAVE_PT_CHOWN): Define as 0.
5131 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
5132 not definedness.
5133
5c521ecd
JM
51342014-05-14 Joseph Myers <joseph@codesourcery.com>
5135
5e7698c6
JM
5136 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
5137 Define unconditionally.
5138 (__ASSUME_O_CLOEXEC): Likewise.
5139 (__ASSUME_SOCK_CLOEXEC): Likewise.
5140 (__ASSUME_IN_NONBLOCK): Likewise.
5141 (__ASSUME_PIPE2): Likewise.
5142 (__ASSUME_EVENTFD2): Likewise.
5143 (__ASSUME_SIGNALFD4): Likewise.
5144 (__ASSUME_DUP3): Likewise.
5145 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5146 (__ASSUME_DUP3): Do not define.
5147 (__ASSUME_EVENTFD2): Likewise.
5148 (__ASSUME_IN_NONBLOCK): Likewise.
5149 (__ASSUME_O_CLOEXEC): Likewise.
5150 (__ASSUME_PIPE2): Likewise.
5151 (__ASSUME_SIGNALFD4): Likewise.
5152 (__ASSUME_SOCK_CLOEXEC): Likewise.
5153 (__ASSUME_UTIMES): Undefine.
5154 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5155 (__ASSUME_UTIMES): Do not define.
5156 (__ASSUME_O_CLOEXEC): Likewise.
5157 (__ASSUME_SOCK_CLOEXEC): Likewise.
5158 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
5159 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
5160 0x020621].
5161 (__ASSUME_PIPE2): Likewise.
5162 (__ASSUME_EVENTFD2): Likewise.
5163 (__ASSUME_SIGNALFD4): Likewise.
5164 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
5165 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
5166 Do not define.
5167 (__ASSUME_EVENTFD2): Likewise.
5168 (__ASSUME_SIGNALFD4): Likewise.
5169 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5170 (__ASSUME_32BITUIDS): Likewise.
5171 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5172 (__ASSUME_IPC64): Likewise.
5173 (__ASSUME_ST_INO_64_BIT): Likewise.
5174 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
5175 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
5176 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5177 (__ASSUME_UTIMES): Do not define.
5178 (__ASSUME_PSELECT): Likewise.
5179 (__ASSUME_PPOLL): Likewise.
5180 (__ASSUME_O_CLOEXEC): Likewise.
5181 (__ASSUME_SOCK_CLOEXEC): Likewise.
5182 (__ASSUME_IN_NONBLOCK): Likewise.
5183 (__ASSUME_PIPE2): Likewise.
5184 (__ASSUME_EVENTFD2): Likewise.
5185 (__ASSUME_SIGNALFD4): Likewise.
5186 (__ASSUME_DUP3): Likewise.
5187 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5188 (__ASSUME_UTIMES): Likewise.
5189 (__ASSUME_O_CLOEXEC): Likewise.
5190 (__ASSUME_SOCK_CLOEXEC): Likewise.
5191 (__ASSUME_IN_NONBLOCK): Likewise.
5192 (__ASSUME_PIPE2): Likewise.
5193 (__ASSUME_EVENTFD2): Likewise.
5194 (__ASSUME_SIGNALFD4): Likewise.
5195 (__ASSUME_DUP3): Likewise.
5196 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5197 (__ASSUME_UTIMES): Likewise.
5198 (__ASSUME_O_CLOEXEC): Likewise.
5199 (__ASSUME_SOCK_CLOEXEC): Likewise.
5200 (__ASSUME_IN_NONBLOCK): Likewise.
5201 (__ASSUME_PIPE2): Likewise.
5202 (__ASSUME_EVENTFD2): Likewise.
5203 (__ASSUME_SIGNALFD4): Likewise.
5204 (__ASSUME_DUP3): Likewise.
5205 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
5206 Likewise.
5207 (__ASSUME_UTIMES): Likewise.
5208 (__ASSUME_EVENTFD2): Likewise.
5209 (__ASSUME_SIGNALFD4): Likewise.
5210 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5211 (__ASSUME_O_CLOEXEC): Likewise.
5212 (__ASSUME_SOCK_CLOEXEC): Likewise.
5213 (__ASSUME_IN_NONBLOCK): Likewise.
5214 (__ASSUME_PIPE2): Likewise.
5215 (__ASSUME_EVENTFD2): Likewise.
5216 (__ASSUME_SIGNALFD4): Likewise.
5217 (__ASSUME_DUP3): Likewise.
5218 (__ASSUME_UTIMES): Undefine.
5219
5c521ecd
JM
5220 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
5221 feclearexcept. Remove symbol versioning code.
5222 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
5223 symbol versioning code.
5224 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
5225 symbol versioning code.
5226 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
5227 feupdateenv. Remove symbol versioning code.
5228 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
5229 fegetexceptflag. Remove symbol versioning code.
5230 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
5231 fesetexceptflag. Remove symbol versioning code.
5232 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
5233 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
5234 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
5235 (__posix_fadvise64_l32): Remove prototype.
5236 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
5237 code.
5238
5da9dfad
RM
52392014-05-13 Roland McGrath <roland@hack.frob.com>
5240
5241 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
5242 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
5243 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
5244 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
5245
893b4f37
SK
52462014-05-13 Sami Kerola <kerolasa@iki.fi>
5247
5248 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
5249 current working directory
5250
e0db6517
RM
52512014-05-13 Roland McGrath <roland@hack.frob.com>
5252
58aa195d
RM
5253 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
5254 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
5255 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
5256 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
5257 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
5258 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
5259 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
5260 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
5261 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
5262 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
5263 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
5264 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
5265 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
5266 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
5267 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
5268 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
5269 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
5270 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
5271 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
5272 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
5273 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
5274 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
5275 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
5276 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
5277 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
5278 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
5279 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
5280 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
5281 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
5282 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
5283 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
5284 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
5285 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
5286 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
5287 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
5288 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
5289 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
5290 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
5291 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
5292 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
5293 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
5294 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
5295
8c6d01f0
RM
5296 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
5297 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
5298
5299 * sysdeps/unix/sysv/linux/arm/Makefile
5300 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5301 Add rt-aeabi_unwind_cpp_pr1.
5302 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
5303 Add nptl-aeabi_unwind_cpp_pr1.
5304 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
5305 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
5306 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
5307 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5308 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
5309 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5310
5311 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
5312 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
5313 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
5314 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
5315
bba6da4e
RM
5316 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
5317 Deconditionalize the code that was previously under [RESET_PID].
5318 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
5319
e0db6517
RM
5320 * sysdeps/generic/exit-thread.h: New file.
5321 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
5322 * include/unistd.h (__exit_thread): Remove declaration.
5323 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
5324 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
5325 * csu/libc-start.c: Include <exit-thread.h>.
5326 (LIBC_START_MAIN): Pass no argument to __exit_thread.
5327 * nptl/pthread_create.c: Include <exit-thread.h>.
5328 (start_thread): Call __exit_thread in place of __exit_thread_inline.
5329 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
5330 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
5331 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
5332 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
5333 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
5334 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
5335 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
5336 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
5337 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
5338 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
5339 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
5340 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
5341 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
5342 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
5343 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
5344 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
5345
01eb16fd
AS
53462014-05-13 Andreas Schwab <schwab@suse.de>
5347
5348 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
5349
637461d9
JM
53502014-05-12 Joseph Myers <joseph@codesourcery.com>
5351
5352 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5353 (__ASSUME_UTIMES): Do not condition on kernel version.
5354 (__ASSUME_PSELECT): Define unconditionally.
5355 (__ASSUME_PPOLL): Likewise.
5356 (__ASSUME_ATFCTS): Likewise.
5357 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
5358 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
5359 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
5360 (__ASSUME_UTIMENSAT): Define unconditionally.
5361 (__ASSUME_PRIVATE_FUTEX): Likewise.
5362 (__ASSUME_FALLOCATE): Likewise.
5363 (__ASSUME_O_CLOEXEC): Likewise.
5364 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
5365 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
5366 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
5367 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
5368 (__ASSUME_IN_NONBLOCK): Likewise.
5369 (__ASSUME_PIPE2): Likewise.
5370 (__ASSUME_EVENTFD2): Likewise.
5371 (__ASSUME_SIGNALFD4): Likewise.
5372 (__ASSUME_DUP3): Likewise.
5373 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5374 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
5375 (__ASSUME_AT_RANDOM): Likewise.
5376 (__ASSUME_PREADV): Likewise.
5377 (__ASSUME_PWRITEV): Likewise.
5378 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
5379 (__ASSUME_F_GETOWN_EX): Define unconditionally.
5380 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
5381 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5382 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
5383 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5384 (__ASSUME_O_CLOEXEC): Define unconditionally.
5385 (__ASSUME_PSELECT): Do not undefine conditionally.
5386 (__ASSUME_PPOLL): Likewise.
5387 (__ASSUME_ATFCTS): Likewise.
5388 (__ASSUME_SET_ROBUST_LIST): Likewise.
5389 (__ASSUME_UTIMENSAT): Likewise.
5390 (__ASSUME_FDATASYNC): Define unconditionally.
5391 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5392 (__ASSUME_SIGFRAME_V2): Likewise.
5393 )__ASSUME_EVENTFD2): Likewise.
5394 (__ASSUME_SIGNALFD4): Likewise.
5395 (__ASSUME_PSELECT): Do not undefine conditionally.
5396 (__ASSUME_PPOLL): Likewise.
5397 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5398 (__ASSUME_PSELECT): Define unconditionally.
5399 (__ASSUME_PPOLL): Likewise.
5400 (__ASSUME_O_CLOEXEC): Likewise.
5401 (__ASSUME_SOCK_CLOEXEC): Likewise.
5402 (__ASSUME_IN_NONBLOCK): Likewise.
5403 (__ASSUME_PIPE2): Likewise.
5404 (__ASSUME_EVENTFD2): Likewise.
5405 (__ASSUME_SIGNALFD4): Likewise.
5406 (__ASSUME_DUP3): Likewise.
5407 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5408 (__ASSUME_O_CLOEXEC): Likewise.
5409 (__ASSUME_SOCK_CLOEXEC): Likewise.
5410 (__ASSUME_IN_NONBLOCK): Likewise.
5411 (__ASSUME_PIPE2): Likewise.
5412 (__ASSUME_EVENTFD2): Likewise.
5413 (__ASSUME_SIGNALFD4): Likewise.
5414 (__ASSUME_DUP3): Likewise.
5415 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5416 (__ASSUME_EVENTFD2): Likewise.
5417 (__ASSUME_SIGNALFD4): Likewise.
5418 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5419
315eb1d8
AS
54202014-05-12 Andreas Schwab <schwab@suse.de>
5421
5422 [BZ #16932]
5423 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
5424 (_nss_nis_gethostbyname4_r): Return error if item length is larger
5425 than maximum RPC packet size.
5426 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
5427 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
5428 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
5429 (_nss_nis_getservbyport_r): Likewise.
5430
91df99f7
WN
54312014-05-12 Will Newton <will.newton@linaro.org>
5432
5433 * malloc/Makefile (tests): Add tst-mallopt.
5434 * malloc/tst-mallopt.c: New file.
5435
0a982a29
RM
54362014-05-09 Roland McGrath <roland@hack.frob.com>
5437
5438 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
5439 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
5440
0ded08a5
AZ
54412014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5442
5443 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
5444 (tst-tlsmod6.so): Likewise.
5445
55d4d550
RM
54462014-05-09 Roland McGrath <roland@hack.frob.com>
5447
5448 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
5449
77d08aca
JM
54502014-05-09 Joseph Myers <joseph@codesourcery.com>
5451
5452 [BZ #16064]
5453 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
5454 and <dl-procinfo.h>.
5455 (__fegetenv): Save SSE state in envp->__eip if supported.
5456 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
5457 envp->__eip if supported.
5458 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
5459 and <dl-procinfo.h>.
5460 (__fesetenv): Always set __eip, __cs_selector, __opcode,
5461 __data_offset and __data_selector in environment to 0. Set SSE
5462 state if supported.
5463 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5464 test-fenv-sse.
5465 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
5466 -mfpmath=sse.
5467 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
5468
28162f4d
WN
54692014-05-09 Will Newton <will.newton@linaro.org>
5470
5471 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
5472 and libc_relro_required for ARM.
5473 * sysdeps/arm/preconfigure: Regenerate.
5474
5a414ff7
DV
54752014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
5476 Stefan Liebler <stli@linux.vnet.ibm.com>
5477
5478 * config.make.in (enable-lock-elision): New Makefile variable.
5479 * configure.ac: Likewise.
5480 * configure: Regenerate.
5481 * sysdeps/s390/configure.ac:
5482 Add check for gcc transactions support.
5483 * sysdeps/s390/configure: Regenerate.
5484 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
5485 Build elision files if enabled.
5486 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
5487 Add lock elision support for s390.
5488 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
5489 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
5490 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
5491 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
5492 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
5493 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
5494 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5495 Likewise.
5496 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
5497 Likewise.
5498 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
5499 Likewise.
5500 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
5501 Likewise.
5502 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
5503 (__lll_timedlock_elision, __lll_lock_elision)
5504 (__lll_unlock_elision, __lll_trylock_elision)
5505 (lll_timedlock_elision, lll_lock_elision)
5506 (lll_unlock_elision, lll_trylock_elision): Add.
5507 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5508 (pthread_mutex_t): Add lock elision support for s390.
5509
1a2f40e5
W
55102014-05-14 Wilco <wdijkstr@arm.com>
5511
5512 * sysdeps/arm/fclrexcpt.c: Cleanup.
5513 * sysdeps/arm/fedisblxcpt.c: Cleanup.
5514 * sysdeps/arm/feenablxcpt.c: Cleanup.
5515 * sysdeps/arm/fegetenv.c: Cleanup.
5516 * sysdeps/arm/fegetexcept.c: Cleanup.
5517 * sysdeps/arm/fegetround.c: Cleanup.
5518 * sysdeps/arm/feholdexcpt.c: Cleanup.
5519 * sysdeps/arm/fesetenv.c: Cleanup.
5520 * sysdeps/arm/fesetround.c: Cleanup.
5521 * sysdeps/arm/feupdateenv.c: Cleanup.
5522 * sysdeps/arm/fgetexcptflg.c: Cleanup.
5523 * sysdeps/arm/fraiseexcpt.c: Cleanup.
5524 * sysdeps/arm/fsetexcptflg.c: Cleanup.
5525 * sysdeps/arm/ftestexcept.c: Cleanup.
5526 * sysdeps/arm/get-rounding-mode.h: Cleanup.
5527 * sysdeps/arm/setfpucw.c: Cleanup.
5528
f63c86fe
WN
55292014-05-09 Will Newton <will.newton@linaro.org>
5530
5531 * sysdeps/arm/armv7/strcmp.S: New file.
5532 * NEWS: Mention addition of ARMv7 optimized strcmp.
5533
7a1a51b5
RM
55342014-05-08 Roland McGrath <roland@hack.frob.com>
5535
95afbbe5
RM
5536 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
5537 look for %.ac rather than %.in.
5538
5539 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
5540 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
5541 * sysdeps/mach/hurd/configure: Regenerated.
5542 * sysdeps/unix/sysv/linux/configure: Regenerated.
5543
7a1a51b5
RM
5544 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
5545
5057ad3b
SE
55462014-05-07 Steve Ellcey <sellcey@mips.com>
5547
5548 [BZ# 16922]
5549 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
5550 (LONG_SUB): Ditto.
5551 (PTR_SUB): Ditto.
5552
8dc97517
AS
55532014-05-07 Andreas Schwab <schwab@suse.de>
5554
5555 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
5556 when skipping over non-matching result from nscd.
5557
ce0c5b8f
OB
55582014-05-07 Ondřej Bílka <neleai@seznam.cz>
5559
5560 [BZ #16876]
5561 * nptl/sockperf.c (client): Check socket return value.
8dc97517 5562
a1189263
OB
5563 [BZ #16877]
5564 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
5565 nscd security class.
ce0c5b8f 5566
0f58d252
RM
55672014-05-06 Roland McGrath <roland@hack.frob.com>
5568
5569 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
5570 * sysdeps/arm/unwind.h: ... here.
5571
83df9ad0
AJ
55722014-05-06 Aurelien Jarno <aurelien@aurel32.net>
5573
ce0c5b8f
OB
5574 [BZ# 16916]
5575 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
5576 Define.
83df9ad0 5577
f360f94a
VR
55782014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5579
5580 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
5581 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
5582 multiarch strncpy for PPC64.
5583 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
5584 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
5585 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
5586 multiarch optimizations.
5587 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5588 (__libc_ifunc_impl_list): Likewise.
5589 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
5590 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
5591 multiarch stpncpy for PPC64.
5592 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
5593 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
5594
978a41c3
AS
55952014-05-06 Andreas Schwab <schwab@suse.de>
5596
5597 [BZ #16912]
5598 * gmon/mcount.c (_MCOUNT_DECL): Use
5599 atomic_compare_and_exchange_bool_acq instead of
5600 catomic_compare_and_exchange_bool_acq.
5601
eb1ed03d
RM
56022014-05-05 Roland McGrath <roland@hack.frob.com>
5603
fe658845
RM
5604 * elf/Makefile (others, install-bin): Remove pldd.
5605 (pldd-modules): Variable removed.
5606 ($(objpfx)pldd): Target removed.
5607 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
5608 (others, install-bin): Append pldd here.
5609 ($(objpfx)pldd): New target.
5610
eb1ed03d
RM
5611 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
5612 to 0, so the first #if test emitted later doesn't see it undefined.
5613 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
5614 * sysdeps/gnu/errlist.c: Regenerated.
5615
19c4bec0
AZ
56162014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5617
5618 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5619 [libc_hidden_builtin_def]: Define to empty value.
5620 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
5621 [libc_hidden_builtin_def]: Likewise.
5622 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
5623 [libc_hidden_builtin_def]: Likewise.
5624 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
5625 [libc_hidden_builtin_def]: Likewise.
5626 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
5627 __redirect_memcpy and define ifunc as default hidden symbol.
5628 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
5629 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
5630
7776e669
AC
56312014-05-04 Adam Conrad <adconrad@0c3.net>
5632
5633 * locale/iso-4217.def: Reintroduce XDR currency.
5634
d69aeb12
AM
56352014-05-04 Allan McRae <allan@archlinux.org>
5636
5637 * po/eo.po: Update Esperanto translation from translation project.
5638
8f1df5cf
CD
56392014-05-02 Carlos O'Donell <carlos@redhat.com>
5640
5641 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
5642 and FEATURE_INDEX_MAX to 1.
5643 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
5644
13e402e7
SE
56452014-05-01 Steve Ellcey <sellcey@mips.com>
5646
5647 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
5648 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
5649 * iconvdata/big5.c (ONE_DIRECTION): Define.
5650 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
5651 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
5652 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
5653 * iconvdata/cp932.c (ONE_DIRECTION): Define.
5654 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
5655 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
5656 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
5657 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
5658 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
5659 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
5660 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
5661 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
5662 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
5663 * iconvdata/gbk.c (ONE_DIRECTION): Define.
5664 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
5665 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
5666 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
5667 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
5668 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
5669 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
5670 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
5671 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
5672 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
5673 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
5674 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
5675 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
5676 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
5677 * iconvdata/iso646.c (ONE_DIRECTION): Define.
5678 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
5679 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
5680 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
5681 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
5682 * iconvdata/johab.c (ONE_DIRECTION): Define.
5683 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
5684 * iconvdata/sjis.c (ONE_DIRECTION): Define.
5685 * iconvdata/t.61.c (ONE_DIRECTION): Define.
5686 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
5687 * iconvdata/tscii.c (ONE_DIRECTION): Define.
5688 * iconvdata/uhc.c (ONE_DIRECTION): Define.
5689 * iconvdata/unicode.c (ONE_DIRECTION): Define.
5690 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
5691 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
5692 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
5693
c727f032
RM
56942014-05-01 Roland McGrath <roland@hack.frob.com>
5695
8f2f08d0
RM
5696 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
5697 (_IO_JUMPS_OFFSET): Define to 0.
5698
c727f032
RM
5699 * nptl/sysdeps/pthread/bits/libc-lock.h
5700 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5701 (__libc_lock_define_initialized_recursive): Always define using
5702 initializer. Modern compilers treat uninitialized (implicit zero) and
5703 explicit zero initializers the same (i.e. put the datum in bss).
5704
a849e800
AS
57052014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5706
5707 * nscd/nscd-client.h: Include <string.h>.
5708
5331255b
DM
57092014-05-01 David S. Miller <davem@davemloft.net>
5710
5711 [BZ #16885]
5712 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
5713 multiple zero bytes exist at the end of a string.
5714 Reported by Aurelien Jarno <aurelien@aurel32.net>
5715
5716 * string/test-strcmp.c (check): Add explicit test for situations where
5717 there are multiple zero bytes after the first.
5718
4fdfe821
AS
57192014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5720
5721 [BZ #16890]
5722 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
5723 when compiling wprintf.
5724 * stdio-common/tstdiomisc.c (t3): New function.
5725 (main): Call it.
5726
0cdddc25
SE
57272014-05-01 Steve Ellcey <sellcey@mips.com>
5728
5729 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
5730 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
5731 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
5732 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
5733
6426d77e
SE
57342014-05-01 Steve Ellcey <sellcey@mips.com>
5735
5736 * stdlib/longlong.h: Updated from GCC.
5737
6d96f5e4
WN
57382014-05-01 Will Newton <will.newton@linaro.org>
5739 Bernard Ogden <bernie.ogden@linaro.org>
5740
7470db0c
WN
5741 * NEWS: Update fixed bug list.
5742
6d96f5e4
WN
5743 [BZ #15119]
5744 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
5745
211d653c
DM
57462014-04-30 David S. Miller <davem@davemloft.net>
5747
4fa262fa
DM
5748 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
5749 (libc_feholdexcept_setround_sparc_ctx): New function.
5750 (libc_fesetenv_sparc_ctx): Likewise.
5751 (libc_feupdateenv_sparc_ctx): Likewise.
5752 (libc_feholdsetround_sparc_ctx): Likewise.
5753 (libc_feholdexcept_setround_ctx): Define.
5754 (libc_feholdexcept_setroundf_ctx): Likewise.
5755 (libc_feholdexcept_setroundl_ctx): Likewise.
5756 (libc_fesetenv_ctx): Likewise.
5757 (libc_fesetenvf_ctx): Likewise.
5758 (libc_fesetenvl_ctx): Likewise.
5759 (libc_feupdateenv_ctx): Likewise.
5760 (libc_feupdateenvf_ctx): Likewise.
5761 (libc_feupdateenvl_ctx): Likewise.
5762 (libc_feresetround_ctx): Likewise.
5763 (libc_feresetroundf_ctx): Likewise.
5764 (libc_feresetroundl_ctx): Likewise.
5765 (libc_feholdsetround_ctx): Likewise.
5766 (libc_feholdsetroundf_ctx): Likewise.
5767 (libc_feholdsetroundl_ctx): Likewise.
5768
1d3d93ef
DM
5769 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5770 with __USE_GNU instead of XOPEN cpp guards.
5771
8aa583c3
DM
5772 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
5773 0.
5774
211d653c
DM
5775 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5776 with XOPEN cpp guards.
5777
60c8f1f6
JB
57782014-04-30 Julian Brown <julian@codesourcery.com>
5779
5780 [BZ #16888]
5781 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
5782 handling.
5783
9a461d46
JM
57842014-04-30 Joseph Myers <joseph@codesourcery.com>
5785
d0f5b3f8
JM
5786 [BZ #9894]
5787 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5788 Change to 2.6.32.
5789 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
5790 * sysdeps/unix/sysv/linux/configure: Regenerated.
5791 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
5792 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
5793 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
5794 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
5795 * README: Update reference to required Linux kernel version.
5796 * manual/install.texi (Linux): Update reference to required Linux
5797 kernel headers version.
5798 * INSTALL: Regenerated.
5799
9a461d46
JM
5800 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
5801 header inclusion.
5802 [POSIX] (limits.h): Likewise.
5803 [POSIX] (math.h): Likewise.
5804 [POSIX] (sys/wait.h): Likewise.
5805 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
5806 function.
5807 [POSIX] (stddef.h): Do not allow header inclusion.
5808
1775babf
AZ
58092014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5810
57f41c40 5811 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 5812
8f630cca
YY
58132014-04-30 Yang Yingliang <yangyingliang@huawei.com>
5814
5815 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5816 Return immediately after lll_futex_wake.
5817
1cdeb237
SP
58182014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5819
bc8f194c
SP
5820 [BZ #16791]
5821 * nscd/nscd-client.h (datahead_init_common): Initialize entire
5822 structure.
5823 (datahead_init_pos): Call datahead_init_common early.
5824 (datahead_init_neg): Likewise.
5825
1cdeb237
SP
5826 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
5827 datahead_init_neg): New functions.
5828 * nscd/aicache.c (addhstaiX): Use them.
5829 * nscd/grpcache.c (cache_addgr): Likewise.
5830 * nscd/hstcache.c (cache_addhst): Likewise.
5831 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5832 * nscd/netgroupcache.c (do_notfound): Likewise.
5833 (addgetnetgrentX): Likewise.
5834 (addinnetgrX): Likewise.
5835 * nscd/pwdcache.c (cache_addpw): Likewise.
5836 * nscd/servicescache.c (cache_addserv): Likewise.
5837
16b293a7
SP
58382014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5839 Atsushi Onoe <atsushi@onoe.org>
5840
5841 [BZ #14308]
5842 [BZ #12994]
5843 [BZ #13651]
5844 * resolv/res_query.c (__libc_res_nsearch): Return if at least
5845 one response is valid.
5846 * resolv/res_send.c (send_dg): Check for validity of other
5847 response if the current response is a referral.
5848
a28a9b94
SE
58492014-04-29 Steve Ellcey <sellcey@mips.com>
5850
5851 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
5852
2ca180e9
SL
58532014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
5854
5855 [BZ #16823]
5856 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
5857 Always divide by positive zero when computing -Inf result.
5858 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5859 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
5860
18f2945a
AZ
58612014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5862
5863 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
5864 FPSCR if value do not change.
5865 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5866 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
5867 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5868 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5869 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
5870 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
5871 function.
5872
5abebba4
CD
58732014-05-29 Carlos O'Donell <carlos@systemhalted.org>
5874
5875 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
5876 * sysdeps/unix/sysv/linux/hppa: Move directory from
5877 ports/systeps/unix/sysv/linux/hppa.
5878 * README: Update listing for hppa-*-linux-gnu.
5879
f7ed60c2
OB
58802014-04-28 Ondřej Bílka <neleai@seznam.cz>
5881
fff763a5
OB
5882 [BZ #16754]
5883 * manual/stdio.texi (Hook functions): Fix types of stream hook
5884 functions.
f7ed60c2
OB
5885 [BZ #16854]
5886 * socket/sys/socket.h: Fix typo in comment.
5887
df639d73
WD
58882014-04-28 Wilco <wdijkstr@arm.com>
5889
f7ed60c2 5890 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
5891 * sysdeps/arm/math_private.h: New file.
5892 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
5893
48332d82
L
58942014-04-25 H.J. Lu <hongjiu.lu@intel.com>
5895
5896 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
5897 with __int128_t.
5898 (La_x86_64_retval): Likewise.
5899
e5e0d9a4
IB
59002014-04-24 Ian Bolton <ian.bolton@arm.com>
5901
5902 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
5903 fpsr if value didn't change.
5904 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
5905 to fpcr if value didn't change.
5906 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
5907 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
5908 fpsr or fpcr if value didn't change.
5909 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5910 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
5911 fpcr if value didn't change.
5912 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
5913 to fpsr if value didn't change.
5914
bacc75f7
SP
59152014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5916
5917 * nptl/tst-sem3.c: Use test-skeleton.c
5918 (main): Rename to do_test. Use return instead of
5919 exit.
5920 * nptl/tst-sem4.c: Use test-skeleton.c
5921 (main): Rename to do_test.
5922
a059d359
DM
59232014-04-22 David S. Miller <davem@davemloft.net>
5924
5925 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
5926 (struct sigaction): New struct member __glibc_reserved0, change
5927 type of sa_flags to int.
5928
ea6c92f3
YZ
59292014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
5930
5931 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
5932 (COUNT_LEADING_ZEROS_0): Define for AArch64.
5933
766c4a36
SP
59342014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5935
5936 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
5937 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
5938
140cc7ab
VK
59392014-04-22 Will Newton <will.newton@linaro.org>
5940 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
5941
5942 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
5943 (__longjmp): Add longjmp and longjmp_target SystemTap
5944 probes.
5945 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
5946 (__sigsetjmp): Add setjmp SystemTap probe.
5947
c54e5cf7
CD
59482014-04-17 Carlos O'Donell <carlos@redhat.com>
5949
5950 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
5951 match manual order.
5952
75ffb047
AZ
59532014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5954
5955 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
5956
2cd925f7
AZ
5957 * sysdeps/powerpc/fpu/fenv_private.h
5958 (libc_feholdexcept_setroundl_ctx): Define to
5959 libc_feholdexcept_setround_ppc_ctx.
5960 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
5961 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
5962 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
5963 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
5964
39e6cd8d
IB
59652014-04-17 Ian Bolton <ian.bolton@arm.com>
5966
5967 * sysdeps/aarch64/math-tests.h: New file.
5968
f9281df9
SY
59692014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
5970
5971 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
5972 New.
5973 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5974 Check and set bit_AVX2_Usable.
5975 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
5976 macro.
5977 (bit_AVX2): Likewise.
5978 (index_AVX2_Usable): Likewise.
5979 (CPUID_AVX2): Likewise.
5980 (HAS_AVX2): Likewise.
5981
37d35007
WN
59822014-04-17 Will Newton <will.newton@linaro.org>
5983
7c677662
WN
5984 * manual/setjmp.texi (System V contexts): Add note that
5985 calling setcontext on a context created by a call to a
5986 signal handler is undefined. Update text to note that
5987 setcontext from a signal handler is possible but not
5988 recommended.
5989
37d35007 5990 [BZ #16629]
e04a4e9d
WN
5991 * stdlib/tst-setcontext.c: Include signal.h.
5992 (main): Check that the signal stack before and
5993 after swapcontext is the same.
5994
37d35007
WN
5995 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
5996 Re-implement to restore registers in user code and avoid
5997 rt_sigreturn system call.
5998
423a7160
W
59992014-04-17 Wilco <wdijkstr@arm.com>
6000
6001 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
6002 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
6003 * math/test-fenv.c: Skip exception trap tests on targets which only
6004 support non-stop mode.
6005
bc93ab29
IB
60062014-04-17 Ian Bolton <ian.bolton@arm.com>
6007 Wilco Dijkstra <wilco.dijkstra@arm.com>
6008
6009 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
6010 (libc_feholdsetround_aarch64_ctx)
6011 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
6012 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
6013 (libc_feresetround_ctx, libc_feresetroundf_ctx)
6014 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
6015 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
6016 (libc_feresetround_noexl_ctx): Define.
6017
95fc5fa3
RH
60182014-04-16 Richard Henderson <rth@redhat.com>
6019
ddb04724
RH
6020 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
6021
d77c0899
RH
6022 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
6023 unwind tables.
6024
a3df56fc
RH
6025 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
6026 const from the non-libc, non-ldso copy.
6027
95fc5fa3
RH
6028 * sysdeps/alpha/libm-test-ulps: Regenerate.
6029
7e0b6763
IB
60302014-04-16 Ian Bolton <ian.bolton@arm.com>
6031 Wilco Dijkstra <wilco.dijkstra@arm.com>
6032
6033 * sysdeps/aarch64/fpu/math_private.h: New file.
6034
a9ea2e0c
MS
60352014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
6036
6037 * sysdeps/aarch64/libm-test-ulps: Regenerate.
6038
ea8ba7cd
IZ
60392014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
6040
6041 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
6042 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
6043 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
6044 Intel MPX bound registers before _dl_profile_fixup.
6045 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
6046 registers after _dl_profile_fixup. Save and restore bound
6047 registers bnd0/bnd1 when calling _dl_call_pltexit.
6048 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
6049 (LR_BND_OFFSET): Likewise.
6050 (LRV_BND0_OFFSET): Likewise.
6051 (LRV_BND1_OFFSET): Likewise.
6052
9f2a4fbc
ST
60532014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6054
6055 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
6056 to...
6057 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
6058 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
6059 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
6060 fields.
9f2a4fbc 6061
fd15a59b
ST
60622014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6063
6064 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
6065
f19dfa0a
SL
60662014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6067
6068 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6069
4fa8bc3b
SL
60702014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6071
6072 [BZ #14770]
6073 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
6074 * sysdeps/s390/configure: Regenerate.
6075
8ea587db
SL
6076 [BZ #16824]
6077 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
6078 Set round-to-nearest internally to reduce error accumulation.
6079
aa5f0ff1
AM
60802014-04-16 Alan Modra <amodra@gmail.com>
6081
6082 [BZ #16740]
6083 [BZ #16619]
6084 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
6085 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 6086 * NEWS: Update fixed bug list.
aa5f0ff1 6087
bb9c256f
SP
60882014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6089
6090 * benchtests/Makefile: Depend on libraries in build directory.
6091 (bench-math): Separate out math tests.
6092 (bench-pthread): Separate out pthread tests.
6093 (bench): Include math and pthread tests.
6094
f737dfd0
CD
60952014-04-14 Carlos O'Donell <carlos@redhat.com>
6096
6097 [BZ #16831]
6098 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
6099 _dl_debug_initialize.
6100
0699f766
CD
6101 * configure.ac: Remove SELinux header check.
6102 * configure: Regenerate.
6103 * nscd/selinux.c (perms): Array of const char* to permission names.
6104 (nscd_request_avc_has_perm): Call security_deny_unknown to find
6105 default policy. Call string_to_security_class and string_to_av_perm to
6106 translate strings. Enforce default policy and call avs_has_perm with
6107 results of translated strings.
6108
809bd45f
DM
61092014-04-13 David S. Miller <davem@davemloft.net>
6110
6111 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6112
89e691f2
AM
61132014-04-12 Allan McRae <allan@archlinux.org>
6114
6115 [BZ #16838]
6116 * manual/string.texi (Collation Functions): Fix qsort argument
6117 order in example.
6118 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6119
9c9daaeb
CM
61202014-04-11 Chris Metcalf <cmetcalf@tilera.com>
6121
6122 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
6123 Make the test a no-op if there are no exceptions defined.
6124
95561fb9
PP
61252014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
6126
fe8d072c 6127 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
6128 enable-hardcoded-path-in-tests
6129
970c602a
WN
61302014-04-11 Will Newton <will.newton@linaro.org>
6131
6132 * benchtests/Makefile (extra-objs): Add json-lib.o.
6133 (bench-func): Tidy up JSON output.
6134 * benchtests/bench-skeleton.c: Include json-lib.h.
6135 (main): Use JSON library functions to do output of
6136 benchmark results.
6137 * benchtests/bench-timing-type.c (main): Output the
6138 timing type simply, leaving formatting to the user.
6139 * benchtests/json-lib.c: New file.
6140 * benchtests/json-lib.h: Likewise.
6141
36875b06
TR
61422014-04-11 Torvald Riegel <triegel@redhat.com>
6143
6144 [BZ #15215]
6145 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
6146 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
6147 memory barriers. Add comments.
6148 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
6149 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
6150 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
6151 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
6152 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
6153 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
6154
579db35a
SL
61552014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6156
6157 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
6158 * sysdeps/s390/s390-64/configure.ac: ... this ...
6159 * sysdeps/s390/configure.ac: ... to here.
6160 * sysdeps/s390/s390-32/configure: Delete file.
6161 * sysdeps/s390/s390-64/configure: Delete file.
6162 * sysdeps/s390/configure: Regenerate.
6163
c12e9f37
JAPH
61642014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
6165
6166 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
6167
439bda32
WN
61682014-04-11 Will Newton <will.newton@linaro.org>
6169
6170 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
6171 to zero if it is not defined elsewhere. (mtrim): Test
6172 the value of MALLOC_DEBUG with #if rather than #ifdef.
6173
6a5d6ea1
TR
61742014-04-10 Torvald Riegel <triegel@redhat.com>
6175
6176 * benchtests/pthread_once-inputs: New file.
6177 * benchtests/pthread_once-source.c: New file.
6178 * benchtests/README: Update documentation.
6179
a4c75cfd
IZ
61802014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
6181 H.J. Lu <hongjiu.lu@intel.com>
6182
6183 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
6184 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
6185 * sysdeps/x86_64/configure: Regenerated.
6186 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
6187 macro.
6188 (REGISTER_SAVE_RAX): Likewise.
6189 (REGISTER_SAVE_RCX): Likewise.
6190 (REGISTER_SAVE_RDX): Likewise.
6191 (REGISTER_SAVE_RSI): Likewise.
6192 (REGISTER_SAVE_RDI): Likewise.
6193 (REGISTER_SAVE_R8): Likewise.
6194 (REGISTER_SAVE_R9): Likewise.
6195 (REGISTER_SAVE_BND0): Likewise.
6196 (REGISTER_SAVE_BND1): Likewise.
6197 (REGISTER_SAVE_BND2): Likewise.
6198 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
6199 bound registers when calling _dl_fixup.
6200
27822ce6
AZ
62012014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6202
6203 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
6204 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
6205 of its definition.
27822ce6
AZ
6206 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
6207 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
6208 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
6209 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
6210 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
6211 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
6212 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
6213
a88ddc90
PTB
62142014-04-09 Peter Brett <peter@peter-b.co.uk>
6215
6216 [BZ #15514]
6217 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
6218 pathconf(_PC_NAME_MAX).
6219
01f8eac2
AZ
62202014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6221
6222 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
6223 Remove macro usage.
6224 (__PTHREAD_SPINS): Move definition to ...
6225 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6226 (__PTHREAD_SPINS): ... here.
6227 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6228 (__PTHREAD_SPIN): Likewise.
6229 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
6230 (__PTHREAD_SPIN): Likewise.
6231 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
6232 (__PTHREAD_SPIN): Likewise.
6233 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
6234 (__PTHREAD_SPIN): Likewise.
6235 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6236 (__PTHREAD_SPIN): Likewise.
6237 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6238 (__PTHREAD_SPIN): Likewise.
6239 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
6240 (__PTHREAD_SPIN): Likewise.
6241 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6242 (__PTHREAD_SPIN): Likewise.
6243 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6244 (__PTHREAD_SPIN): Likewise.
6245 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6246 (__PTHREAD_SPIN): Likewise.
6247 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6248 (__PTHREAD_SPIN): Likewise.
6249 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
6250 (__PTHREAD_SPIN): Likewise.
6251
de21c33c
AZ
6252 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
6253 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
6254 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
6255 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
6256 imply folder.
6257 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
6258 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
6259 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
6260 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
6261 correct imply path.
6262 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
6263 strlen symbol for non multi-arch builds.
6264 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
6265 missing hidden_def and weak_alias.
6266
862c472e
CD
62672014-04-08 Carlos O'Donell <carlos@redhat.com>
6268
6269 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
6270
8667f90e
WN
62712014-04-07 Will Newton <will.newton@linaro.org>
6272
6273 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
6274 and contents. [!_LIBC] Remove #ifndef and contents.
6275 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
6276 * string/memccpy.c (__memccpy): Use ANSI prototype.
6277 * string/memfrob.c (memfrob): Likewise.
6278 * string/strcoll.c (STRCOLL): Likewise.
6279 * string/strlen.c (strlen): Likewise.
6280 * string/strtok.c (STRTOK): Likewise.
6281 * string/strcat.c: Remove unused #include of memcopy.h.
6282 (strcat): Use ANSI prototype.
6283 * string/strchr.c: Remove unused #include of memcopy.h.
6284 (strchr): Use ANSI prototype.
6285 * string/strcmp.c: Remove unused #include of memcopy.h.
6286 (strcmp): Use ANSI prototype.
6287 * string/strcpy.c: Remove unused #include of memcopy.h.
6288 (strcpy): Use ANSI prototype.
6289
7ffa9423
AZ
62902014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6291
6292 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
6293 * config.make.in (config-extra-cppflags): Set it from
6294 libc_extra_cppflags.
6295 * configure.ac (libc_extra_cflags): Make it accumulate over
6296 configure fragments.
6297 (libc_extra_cppflags): New flag.
6298 * configure. Regenerate.
6299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
6300 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
6301 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
6302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6303
8bd70862
AZ
6304 [BZ #16815]
6305 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
6306 result for FE_DOWNWARD rounding mode.
6307 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6308 Likewise.
6309 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6310
d42f3448
CM
63112014-04-04 Chris Metcalf <cmetcalf@tilera.com>
6312
6313 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
6314 in function argument name.
6315
1c21d115
DS
63162014-04-03 David Svoboda <svoboda@cert.org>
6317
6318 [BZ #5666]
6319 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
6320 explicitly.
6321
fcccd512
RM
63222014-04-03 Roland McGrath <roland@hack.frob.com>
6323
6324 * elf/dl-unmap-segments.h: New file.
6325 * sysdeps/generic/ldsodefs.h
6326 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
6327 * elf/dl-close.c: Include <dl-unmap-segments.h>.
6328 * elf/dl-fptr.c: Likewise.
6329 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
6330 * sysdeps/aarch64/tlsdesc.c: Likewise.
6331 * sysdeps/arm/tlsdesc.c: Likewise.
6332 * sysdeps/i386/tlsdesc.c: Likewise.
6333 * sysdeps/tile/dl-runtime.c: Likewise.
6334 * sysdeps/x86_64/tlsdesc.c: Likewise.
6335 * elf/dl-load.h: New file.
6336 * elf/dl-load.c: Include it.
6337 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
6338 Macros moved to dl-load.h.
6339 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
6340 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
6341 Use _dl_unmap_segments in place of __munmap.
6342 Break out segment-mapping loop into ...
6343 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
6344
f6488e2b
WN
63452014-04-03 Will Newton <will.newton@linaro.org>
6346
6347 * elf/dl-lookup.c (do_lookup_x): Remove comment
6348 referring to nested function and move variable
6349 declarations down to before first use.
6350
6f05bafe
JM
63512014-04-02 Joseph Myers <joseph@codesourcery.com>
6352
a84e78c8
JM
6353 [BZ #16799]
6354 [BZ #16800]
6355 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
6356 with 0 numerator.
6357 * math/s_catanf.c (__catanf): Likewise.
6358 * math/s_catanh.c (__catanh): Likewise.
6359 * math/s_catanhf.c (__catanhf): Likewise.
6360 * math/s_catanhl.c (__catanhl): Likewise.
6361 * math/s_catanl.c (__catanl): Likewise.
6362 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
6363 by positive zero when computing -Inf result.
6364 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
6365 (catanh_test): Likewise.
6366 * sysdeps/i386/fpu/libm-test-ulps: Update.
6367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6368
6f05bafe
JM
6369 [BZ #16789]
6370 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
6371 instead of using underflowing value in computing result.
6372 * math/s_clog10.c (__clog10): Likewise.
6373 * math/s_clog10f.c (__clog10f): Likewise.
6374 * math/s_clog10l.c (__clog10l): Likewise.
6375 * math/s_clogf.c (__clogf): Likewise.
6376 * math/s_clogl.c (__clogl): Likewise.
6377 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
6378 (clog10_test): Likewise.
6379 * sysdeps/i386/fpu/libm-test-ulps: Update.
6380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6381
b0abbc21
AM
63822014-04-02 Alan Modra <amodra@gmail.com>
6383
6384 [BZ #16739]
6385 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
6386 output when value is near a power of two. Use int64_t for lx and
6387 remove casts. Use decimal rather than hex exponent constants.
6388 Don't use long double multiplication when double will suffice.
6389 * math/libm-test.inc (nextafter_test_data): Add tests.
6390 * NEWS: Add 16739 and 16786 to bug list.
6391
af6b1797
AM
6392 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
6393
483818d7
AM
6394 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
6395
f6c55796
WN
63962014-04-01 Will Newton <will.newton@linaro.org>
6397
6398 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
6399 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
6400
13f7fe35
FW
64012014-04-01 Florian Weimer <fweimer@redhat.com>
6402
6403 [BZ #13347]
6404 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
6405 * nptl/tst-setuid2.c: New file.
6406 * nptl/Makefile (xtests): Add tst-setuid2.
6407
c859b32e
AM
64082014-04-01 Alan Modra <amodra@gmail.com>
6409
6410 [BZ #16786]
6411 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
6412
54fa2475
JM
64132014-03-31 Joseph Myers <joseph@codesourcery.com>
6414
8795b4a4
JM
6415 [BZ #6803]
6416 [BZ #6804]
6417 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
6418 set errno as appropriate.
6419 * math/w_scalbf.c (__scalbf): Likewise.
6420 * math/w_scalbl.c (__scalbl): Likewise.
6421 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
6422 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
6423 * math/libm-test.inc (scalb_test_data): Add errno expectations.
6424 Add more NaN tests.
6425
54fa2475
JM
6426 [BZ #16349]
6427 * math/w_atan2.c: Include <errno.h>.
6428 (__atan2): Set errno for result underflowing to zero.
6429 * math/w_atan2f.c: Include <errno.h>.
6430 (__atan2f): Set errno for result underflowing to zero.
6431 * math/w_atan2l.c: Include <errno.h>.
6432 (__atan2l): Set errno for result underflowing to zero.
6433 * math/auto-libm-test-in: Don't allow missing errno for some atan2
6434 tests.
6435 * math/auto-libm-test-out: Regenerated.
6436
757d9dd5
AZ
64372014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6438
6439 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6440 Encode instruction correctly in little endian.
6441 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6442 Likewise.
6443 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6444 Likewise.
6445 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6446 Likewise.
6447 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6448 Likewise.
6449
d7a68734
JM
64502014-03-31 Joseph Myers <joseph@codesourcery.com>
6451
47c5adeb
JM
6452 [BZ #9894]
6453 * sysdeps/unix/sysv/linux/kernel-features.h
6454 [__sparc__ && !__arch64__ && !__sparc_v9__]
6455 (__ASSUME_SET_ROBUST_LIST): Do not define.
6456 [__sparc__ && !__arch64__ && !__sparc_v9__]
6457 (__ASSUME_FUTEX_LOCK_PI): Likewise.
6458 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
6459 Likewise.
6460 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6461 (__ASSUME_FUTEX_LOCK_PI): Undefine.
6462 (__ASSUME_REQUEUE_PI): Likewise.
6463 (__ASSUME_SET_ROBUST_LIST): Likewise.
6464 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6465 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
6466 Undefine.
6467 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6468 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
6469 Likewise.
6470 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
6471 Likewise.
6472 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
6473 Likewise.
6474 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6475 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
6476 Undefine.
6477 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
6478 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
6479 Likewise.
6480
d7a68734
JM
6481 [BZ #16648]
6482 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6483 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
6484 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
6485
c760f5c2
WN
64862014-03-31 Will Newton <will.newton@linaro.org>
6487
6488 * benchtests/Makefile (bench): Add ffs and ffsll to list
6489 of tests.
6490 * benchtests/ffs-inputs: New file.
6491 * benchtests/ffsll-inputs: Likewise.
6492
ea6029b1
JM
64932014-03-29 Joseph Myers <joseph@codesourcery.com>
6494
6495 [BZ #16770]
6496 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
6497 too large before casting to int.
6498 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
6499 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
6500 * math/libm-test.inc (scalb_test_data): Add more tests.
6501
cf806aff
SP
65022014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6503
56737508
SP
6504 * benchtests/Makefile (DETAILED_OPT): New make option.
6505 (bench-func): Run benchmark program with -d if DETAILED_OPT is
6506 set.
6507 * benchtests/bench-skeleton.c: Include stdbool.h.
6508 (main): Store and print timings per input.
6509 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
6510 member to each argument value.
6511 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
6512 (_print_arg_data): Initialize per-input timing to 0.
6513
cb5e4aad
SP
6514 * benchtests/Makefile (timing-type): New binary.
6515 (bench-clean): Also remove bench-timing-type.
6516 (bench): New target for timing-type.
6517 (bench-func): Print output in JSON format.
6518 * benchtests/bench-skeleton.c (main): Print output in JSON
6519 format.
6520 * benchtests/bench-timing-type.c: New file.
6521 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
6522 (TIMING_PRINT_STATS): Remove.
6523 * benchtests/scripts/bench.py (_print_arg_data): Store variant
6524 name separately.
6525
cf806aff
SP
6526 * benchtests/bench-modf.c: Remove.
6527 * benchtests/modf-inputs: New inputs file.
6528
289e0779
JM
65292014-03-28 Joseph Myers <joseph@codesourcery.com>
6530
6531 [BZ #16362]
6532 * math/s_clog10.c (M_PI_LOG10E): New macro.
6533 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
6534 imaginary parts are 0.
6535 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
6536 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
6537 imaginary parts are 0.
6538 * math/s_clog10l.c (M_PI_LOG10El): New macro.
6539 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
6540 imaginary parts are 0.
6541 * math/libm-test.inc (clog10_test_data): Update expected results
6542 for when real and imaginary parts are 0.
6543
277ae3f1
PP
65442014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
6545
6546 * elf/dl-load.c: Finish conversion of __builtin_expect into
6547 __glibc_{un}likely.
6548
03a7091f
JM
65492014-03-27 Joseph Myers <joseph@codesourcery.com>
6550
6551 [BZ #16348]
6552 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
6553 1+x for argument with exponent below -67.
6554 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
6555 Likewise.
6556 * math/auto-libm-test-in: Add more tests of exp.
6557 * math/auto-libm-test-out: Regenerated.
6558
ea7d8b95
SP
65592014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6560
dd3022d7
SP
6561 [BZ #16759]
6562 * inet/getnetgrent_r.c (get_nonempty_val): New function.
6563 (nscd_getnetgrent): Use it.
6564
ea7d8b95
SP
6565 [BZ #16760]
6566 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
6567 of stpcpy.
6568
df5b85da
AK
65692014-03-27 Andi Kleen <ak@linux.intel.com>
6570
57f41c40
AS
6571 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
6572 (lll_robust_lock, lll_cond_lock, lll_timedlock)
6573 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6574 (lll_robust_unlock): Remove out of line section. Use cfi
6575 intrinsics.
df5b85da 6576 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
6577 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
6578 (lll_robust_lock, lll_cond_lock, lll_timedlock)
6579 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6580 (lll_robust_unlock): Remove out of line section. Use cfi
6581 intrinsics.
df5b85da
AK
6582 (LLL_STUB_UNWIND_INFO*): Remove.
6583
fbd6b5a4
SP
65842014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6585
6586 [BZ #16758]
6587 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
6588 blank values.
6589
1b26b855
PP
65902014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
6591
6592 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
6593
9be36fb8
JM
65942014-03-26 Joseph Myers <joseph@codesourcery.com>
6595
6596 [BZ #16198]
6597 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
6598 fnstenv.
6599 * math/test-fenv-preserve.c: New file.
6600 * math/Makefile (tests): Add test-fenv-preserve.
6601
60a2f3c1
WN
66022014-03-26 Will Newton <will.newton@linaro.org>
6603
6604 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
6605
a5e5f1e2
RM
66062014-03-25 Roland McGrath <roland@hack.frob.com>
6607
6608 * scripts/versionlist.awk: Partition the version sets and emit all
6609 GLIBC_* (sorted) before all others (sorted).
6610
00f4012a
JM
66112014-03-25 Joseph Myers <joseph@codesourcery.com>
6612
6613 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
6614 GLIBC_2.2.5 version.
6615
7bc5a741
AZ
66162014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6617
6618 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
6619 calls.
6620
7578473b
AZ
6621 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
6622 previous change.
6623
f3f1dab3
AZ
6624 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6625
6da36183
AS
66262014-03-25 Andreas Schwab <schwab@suse.de>
6627
6628 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
6629 label to be used after in6ailist is initialized.
6630
f3f1dab3 66312014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 6632
7578473b 6633 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
6634 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6635
046651c1
JM
66362014-03-25 Joseph Myers <joseph@codesourcery.com>
6637
6638 [BZ #16357]
6639 [BZ #16599]
6640 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
6641 min_plus_half.
6642 (fp_formats): Update initializers.
6643 (init_fp_formats): Initialize new field.
6644 (output_for_one_input_case): Allow underflow for results up to
6645 min_plus_half.
6646 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
6647 * math/auto-libm-test-in: Don't mark some underflows from asin and
6648 atanh as spurious.
6649 * math/auto-libm-test-out: Regenerated.
6650 * sysdeps/i386/fpu/libm-test-ulps: Update.
6651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6652
003e49ed
AS
66532014-03-25 Andreas Schwab <schwab@suse.de>
6654
6655 * libio/Makefile (tst-ftell-partial-wide-ENV)
6656 (tst-ftell-active-handler-ENV): Define.
6657
de031874
SL
66582014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
6659
6660 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
6661
55a81e3b
PP
66622014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6663
6664 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
6665
f3426898
JM
66662014-03-24 Joseph Myers <joseph@codesourcery.com>
6667
6668 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
6669 * sysdeps/x86_64/fpu/multiarch/e_exp.c
6670 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6671
a42faf59
PP
66722014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6673
6674 [BZ #16634]
a42faf59 6675 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
6676 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
6677 (open_path): Change from boolean 'secure' to complete flag 'mode'
6678 (_dl_map_object): Adjust.
a42faf59
PP
6679 * elf/Makefile (tests): Add tst-dlopen-aout.
6680 * elf/tst-dlopen-aout.c: New test.
6681
50936127
SL
66822014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6683
6684 [BZ #16714]
6685 * sysdeps/unix/sysv/linux/s390/bits/stat.h
6686 (struct stat): Rename member pad0 to __glibc_reserved0.
6687
26011b5c
SL
6688 [BZ #16712]
6689 * sysdeps/s390/s390-32/bits/wordsize.h
6690 (__WORDSIZE32_SIZE_ULONG): New define.
6691 * sysdeps/s390/s390-64/bits/wordsize.h
6692 (__WORDSIZE32_SIZE_ULONG): Likewise.
6693 * sysdeps/generic/stdint.h (SIZE_MAX):
6694 Define as UL if __WORDSIZE32_SIZE_ULONG.
6695
a2d86bf1
SL
6696 [BZ #16713]
6697 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
6698 (__glibc_reserved0): New variable.
6699 (sa_flags): Change type to int.
6700
78b6eebc
SL
6701 * posix/Makefile (before-compile): Use += before-compile instead
6702 of a :=.
6703
f1399b5a
SL
6704 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6705 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6706
a071766e
AS
67072014-03-20 Andreas Schwab <schwab@suse.de>
6708
6709 [BZ #16743]
6710 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
6711 non-matching result from nscd.
6712
27c673b8
SP
67132014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6714
6715 * scripts/bench.py: Moved to ...
6716 * benchtests/scripts/bench.py: ... here.
6717 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
6718
44152e4b
AS
67192014-03-24 Andreas Schwab <schwab@suse.de>
6720
6721 [BZ #16002]
6722 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
6723 alloca_account and account alloca use for struct in6ailist.
6724
b376a11a
JM
67252014-03-24 Joseph Myers <joseph@codesourcery.com>
6726
6727 [BZ #16284]
6728 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
6729 rounding mode to recompute results that overflow to infinity or
6730 underflow to zero.
6731 * math/auto-libm-test-in: Don't mark tests as expected to fail for
6732 bug 16284.
6733 * math/auto-libm-test-out: Regenerated.
6734 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
6735 (ccosh_test): Likewise.
6736 (csin_test_data): Use plus_oflow.
6737 (csin_test): Use ALL_RM_TEST.
6738 (csinh_test_data): Use plus_oflow.
6739 (csinh_test): Use ALL_RM_TEST.
6740 * sysdeps/i386/fpu/libm-test-ulps: Update.
6741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6742
f7be7376
JM
67432014-03-21 Joseph Myers <joseph@codesourcery.com>
6744
1ca2d03e
JM
6745 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
6746 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
6747 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
6748
f7be7376
JM
6749 [BZ #16731]
6750 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
6751 when x - 1 is zero.
6752 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
6753 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
6754 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6755 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
6756 argument is 1.
6757 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
6758 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
6759 zero.
6760 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
6761 * sysdeps/i386/fpu/libm-test-ulps: Update.
6762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6763
fdf4534d
SP
67642014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6765
df26ea53
SP
6766 * scripts/bench.pl: Remove file.
6767 * scripts/bench.py: New benchmark script.
6768 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
6769 * benchtests/README: Mention python dependency.
6770 * scripts/pylintrc: New file.
6771 * scripts/pylint: New file.
6772
fdf4534d
SP
6773 * bits/mathdef.h: Use #ifdef instead of #if.
6774 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
6775 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6776 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
6777 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6778 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
6779 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6780
6f23d093
AZ
67812014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6782 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6783
6784 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
6785 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
6786 and strpbrk-ppc64 objects.
6787 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6788 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
6789 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
6790 multiarch strpbrk for POWER7.
6791 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
6792 multiarch strpbrk for PPC64.
6793 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
6794 ifunc selector.
6795 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
6796 strpbrk for POWER7.
6797
8c92dfff
JM
67982014-03-20 Joseph Myers <joseph@codesourcery.com>
6799
6800 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
6801 (atan_test): Likewise.
6802 (atanh_test_data): Use NO_TEST_INLINE for two tests.
6803 (atanh_test): Use ALL_RM_TEST.
6804 (atan2_test_data): Likewise.
6805 (cabs_test): Likewise.
6806 (cacosh_test): Likewise.
6807 (carg_test): Likewise.
6808 (casin_test): Likewise.
6809 (casinh_test): Likewise.
6810 (cbrt_test): Likewise.
6811 (csqrt_test): Likewise.
6812 (erf_test): Likewise.
6813 (erfc_test): Likewise.
6814 (pow10_test): Likewise.
6815 (exp2_test): Likewise.
6816 (hypot_test): Likewise.
6817 (j0_test): Likewise.
6818 (j1_test): Likewise.
6819 (lgamma_test): Likewise.
6820 (gamma_test): Likewise.
6821 (sincos_test): Likewise.
6822 (tanh_test): Likewise.
6823 (y0_test): Likewise.
6824 (y1_test): Likewise.
6825 * sysdeps/i386/fpu/libm-test-ulps: Update.
6826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6827
6eaf95cb
AZ
68282014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6829
a387428c
SP
6830 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
6831 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
6832 and strcspn-ppc64 objects.
6833 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6834 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
6835 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
6836 multiarch strcspn for POWER7.
6837 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
6838 multiarch strcspn for PPC64.
6839 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
6840 ifunc selector.
6841 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
6842 strcspn for POWER7.
6843
ae3a5dff
JM
68442014-03-20 Joseph Myers <joseph@codesourcery.com>
6845
6846 * math/gen-libm-test.pl (generate_testfile): Expect only function
6847 name as argument to AUTO_TESTS_* and pass results for all rounding
6848 modes to parse_args.
6849 (parse_auto_input): Separate inputs of automatic tests from
6850 outputs before storing in %auto_tests.
6851 * math/libm-test.inc (acos_test_data): Update call to
6852 AUTO_TESTS_f_f.
6853 (acos_test): Use ALL_RM_TEST.
6854 (acos_tonearest_test_data): Remove.
6855 (acos_test_tonearest): Likewise.
6856 (acos_towardzero_test_data): Likewise.
6857 (acos_test_towardzero): Likewise.
6858 (acos_downward_test_data): Likewise.
6859 (acos_test_downward): Likewise.
6860 (acos_upward_test_data): Likewise.
6861 (acos_test_upward): Likewise.
6862 (acosh_test_data): Update call to AUTO_TESTS_f_f.
6863 (asin_test_data): Likewise.
6864 (asin_test): Use ALL_RM_TEST.
6865 (asin_tonearest_test_data): Remove.
6866 (asin_test_tonearest): Likewise.
6867 (asin_towardzero_test_data): Likewise.
6868 (asin_test_towardzero): Likewise.
6869 (asin_downward_test_data): Likewise.
6870 (asin_test_downward): Likewise.
6871 (asin_upward_test_data): Likewise.
6872 (asin_test_upward): Likewise.
6873 (asinh_test_data): Update call to AUTO_TESTS_f_f.
6874 (atan_test_data): Likewise.
6875 (atanh_test_data): Likewise.
6876 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
6877 (cabs_test_data): Update call to AUTO_TESTS_c_f.
6878 (carg_test_data): Likewise.
6879 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
6880 (ccos_test_data): Update call to AUTO_TESTS_c_c.
6881 (ccosh_test_data): Likewise.
6882 (cexp_test_data): Likewise.
6883 (clog_test_data): Likewise.
6884 (clog10_test_data): Likewise.
6885 (cos_test_data): Update call to AUTO_TESTS_f_f.
6886 (cos_test): Use ALL_RM_TEST.
6887 (cos_tonearest_test_data): Remove.
6888 (cos_test_tonearest): Likewise.
6889 (cos_towardzero_test_data): Likewise.
6890 (cos_test_towardzero): Likewise.
6891 (cos_downward_test_data): Likewise.
6892 (cos_test_downward): Likewise.
6893 (cos_upward_test_data): Likewise.
6894 (cos_test_upward): Likewise.
6895 (cosh_test_data): Update call to AUTO_TESTS_f_f.
6896 (cosh_test): Use ALL_RM_TEST.
6897 (cosh_tonearest_test_data): Remove.
6898 (cosh_test_tonearest): Likewise.
6899 (cosh_towardzero_test_data): Likewise.
6900 (cosh_test_towardzero): Likewise.
6901 (cosh_downward_test_data): Likewise.
6902 (cosh_test_downward): Likewise.
6903 (cosh_upward_test_data): Likewise.
6904 (cosh_test_upward): Likewise.
6905 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
6906 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
6907 (ctan_test_data): Likewise.
6908 (ctan_test): Use ALL_RM_TEST.
6909 (ctan_tonearest_test_data): Remove.
6910 (ctan_test_tonearest): Likewise.
6911 (ctan_towardzero_test_data): Likewise.
6912 (ctan_test_towardzero): Likewise.
6913 (ctan_downward_test_data): Likewise.
6914 (ctan_test_downward): Likewise.
6915 (ctan_upward_test_data): Likewise.
6916 (ctan_test_upward): Likewise.
6917 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
6918 (ctanh_test): Use ALL_RM_TEST.
6919 (ctanh_tonearest_test_data): Remove.
6920 (ctanh_test_tonearest): Likewise.
6921 (ctanh_towardzero_test_data): Likewise.
6922 (ctanh_test_towardzero): Likewise.
6923 (ctanh_downward_test_data): Likewise.
6924 (ctanh_test_downward): Likewise.
6925 (ctanh_upward_test_data): Likewise.
6926 (ctanh_test_upward): Likewise.
6927 (erf_test_data): Update call to AUTO_TESTS_f_f.
6928 (erfc_test_data): Likewise.
6929 (exp_test_data): Likewise.
6930 (exp_test): Use ALL_RM_TEST.
6931 (exp_tonearest_test_data): Remove.
6932 (exp_test_tonearest): Likewise.
6933 (exp_towardzero_test_data): Likewise.
6934 (exp_test_towardzero): Likewise.
6935 (exp_downward_test_data): Likewise.
6936 (exp_test_downward): Likewise.
6937 (exp_upward_test_data): Likewise.
6938 (exp_test_upward): Likewise.
6939 (exp10_test_data): Update call to AUTO_TESTS_f_f.
6940 (exp10_test): Use ALL_RM_TEST.
6941 (exp10_tonearest_test_data): Remove.
6942 (exp10_test_tonearest): Likewise.
6943 (exp10_towardzero_test_data): Likewise.
6944 (exp10_test_towardzero): Likewise.
6945 (exp10_downward_test_data): Likewise.
6946 (exp10_test_downward): Likewise.
6947 (exp10_upward_test_data): Likewise.
6948 (exp10_test_upward): Likewise.
6949 (exp2_test_data): Update call to AUTO_TESTS_f_f.
6950 (expm1_test_data): Likewise.
6951 (expm1_test): Use ALL_RM_TEST.
6952 (expm1_tonearest_test_data): Remove.
6953 (expm1_test_tonearest): Likewise.
6954 (expm1_towardzero_test_data): Likewise.
6955 (expm1_test_towardzero): Likewise.
6956 (expm1_downward_test_data): Likewise.
6957 (expm1_test_downward): Likewise.
6958 (expm1_upward_test_data): Likewise.
6959 (expm1_test_upward): Likewise.
6960 (fma_test_data): Update call to AUTO_TESTS_fff_f.
6961 (fma_test): Use ALL_RM_TEST.
6962 (fma_towardzero_test_data): Remove.
6963 (fma_test_towardzero): Likewise.
6964 (fma_downward_test_data): Likewise.
6965 (fma_test_downward): Likewise.
6966 (fma_upward_test_data): Likewise.
6967 (fma_test_upward): Likewise.
6968 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
6969 (j0_test_data): Update call to AUTO_TESTS_f_f.
6970 (j1_test_data): Likewise.
6971 (jn_test_data): Update call to AUTO_TESTS_if_f.
6972 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
6973 (log_test_data): Update call to AUTO_TESTS_f_f.
6974 (log10_test_data): Likewise.
6975 (log1p_test_data): Likewise.
6976 (log2_test_data): Likewise.
6977 (pow_test_data): Update call to AUTO_TESTS_ff_f.
6978 (pow_tonearest_test_data): Likewise.
6979 (sin_test_data): Update call to AUTO_TESTS_f_f.
6980 (sin_test): Use ALL_RM_TEST.
6981 (sin_tonearest_test_data): Remove.
6982 (sin_test_tonearest): Likewise.
6983 (sin_towardzero_test_data): Likewise.
6984 (sin_test_towardzero): Likewise.
6985 (sin_downward_test_data): Likewise.
6986 (sin_test_downward): Likewise.
6987 (sin_upward_test_data): Likewise.
6988 (sin_test_upward): Likewise.
6989 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
6990 (sinh_test_data): Update call to AUTO_TESTS_f_f.
6991 (sinh_test): Use ALL_RM_TEST.
6992 (sinh_tonearest_test_data): Remove.
6993 (sinh_test_tonearest): Likewise.
6994 (sinh_towardzero_test_data): Likewise.
6995 (sinh_test_towardzero): Likewise.
6996 (sinh_downward_test_data): Likewise.
6997 (sinh_test_downward): Likewise.
6998 (sinh_upward_test_data): Likewise.
6999 (sinh_test_upward): Likewise.
7000 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
7001 (sqrt_test): Use ALL_RM_TEST.
7002 (sqrt_tonearest_test_data): Remove.
7003 (sqrt_test_tonearest): Likewise.
7004 (sqrt_towardzero_test_data): Likewise.
7005 (sqrt_test_towardzero): Likewise.
7006 (sqrt_downward_test_data): Likewise.
7007 (sqrt_test_downward): Likewise.
7008 (sqrt_upward_test_data): Likewise.
7009 (sqrt_test_upward): Likewise.
7010 (tan_test_data): Update call to AUTO_TESTS_f_f.
7011 (tan_test): Use ALL_RM_TEST.
7012 (tan_tonearest_test_data): Remove.
7013 (tan_test_tonearest): Likewise.
7014 (tan_towardzero_test_data): Likewise.
7015 (tan_test_towardzero): Likewise.
7016 (tan_downward_test_data): Likewise.
7017 (tan_test_downward): Likewise.
7018 (tan_upward_test_data): Likewise.
7019 (tan_test_upward): Likewise.
7020 (tanh_test_data): Update call to AUTO_TESTS_f_f.
7021 (tgamma_test_data): Likewise.
7022 (y0_test_data): Likewise.
7023 (y1_test_data): Likewise.
7024 (yn_test_data): Update call to AUTO_TESTS_if_f.
7025 (main): Do not call removed functions.
7026
d71aeee8
JM
70272014-03-19 Joseph Myers <joseph@codesourcery.com>
7028
7029 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
7030 (ldexp_test_data): Remove.
7031 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
7032 scalbn_test_data.
7033 (scalb_test): Use ALL_RM_TEST.
7034
baaf1ded
AS
70352014-03-19 Andreas Schwab <schwab@suse.de>
7036
7037 * nscd/nscd.service: Also invalidate netgroup cache on reload.
7038
b1115e91
JM
70392014-03-19 Joseph Myers <joseph@codesourcery.com>
7040
7041 [BZ #16649]
7042 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7043 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
7044 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
7045 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7046 (__ASSUME_PREADV): Undefine.
7047 (__ASSUME_PWRITEV): Likewise.
7048
0283ecca
RM
70492014-03-18 Roland McGrath <roland@hack.frob.com>
7050
7d375303
RM
7051 * bits/mman-linux.h: Add comment about non-Linux use.
7052 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
7053 bits/mman-linux.h resting place.
7054
0283ecca
RM
7055 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
7056 * bits/mman-linux.h: ... here.
7057
aebe1003
AZ
70582014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7059
7060 * conform/conformtest.pl: Add standard definition when calling C
7061 preprocessor on data files.
7062 (checknamespace): Remove unused variable.
7063
b29b6bb8
JM
70642014-03-18 Joseph Myers <joseph@codesourcery.com>
7065
7066 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
7067 minus_oflow, plus_uflow and minus_uflow in expected results.
7068 * math/libm-test.inc (scalbn_test_data): Add more tests of
7069 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
7070 minus_uflow.
7071 (scalbn_test): Use ALL_RM_TEST.
7072 (scalbln_test_data): Add more tests of negative arguments. Use
7073 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
7074 (scalbln_test): Use ALL_RM_TEST.
7075
c8f8fa15
RM
70762014-03-18 Roland McGrath <roland@hack.frob.com>
7077
7078 * scripts/abilist.awk: Ignore symbols marked with .hidden.
7079
fede7a5f
WN
70802014-03-18 Will Newton <will.newton@linaro.org>
7081
7082 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
7083 inaccurate comment.
7084
80cf0a58
JM
70852014-03-18 Joseph Myers <joseph@codesourcery.com>
7086
7087 * Makerules [!subdir] (check-abi): Exit with error status if a
7088 test failed.
7089
b3620862
JM
70902014-03-17 Joseph Myers <joseph@codesourcery.com>
7091
7092 * math/libm-test.inc (nearbyint_test_data): Include all tests used
7093 for rint. Include results for all rounding modes.
7094 (nearbyint_test): Use ALL_RM_TEST.
7095 (rint_test_data): Include all tests used for nearbyint.
7096
788bba36
WN
70972014-03-17 Will Newton <will.newton@linaro.org>
7098
04ec140a
WN
7099 * nptl/sysdeps/pthread/pthread.h: Revert previous
7100 change.
7101
7579d8d5
WN
7102 * sysdeps/generic/ldsodefs.h: Revert previous
7103 change.
7104
c15cf13a
WN
7105 * libio/genops.c: Revert previous change.
7106 * libio/libioP.h: Likewise.
7107 * stdio-common/vfprintf.c: Likewise.
7108
d0ac1324
WN
7109 * sysdeps/generic/math_private.h: Revert previous
7110 change.
7111
9290130a
WN
7112 * sysdeps/generic/math_private.h: Check whether
7113 HAVE_RM_CTX is defined with #ifdef rather
7114 than #if.
7115
afb466fc
WN
7116 * argp/argp-fmtstream.h: Check whether
7117 __STRICT_ANSI__ is defined with #ifdef rather
7118 than #if.
7119 * argp/argp.h: Likewise.
7120
f7efd7c3
WN
7121 * libio/genops.c: Check whether
7122 _IO_JUMPS_OFFSET is defined with #ifdef rather
7123 than #if.
7124 * libio/libioP.h: Likewise.
7125 * stdio-common/vfprintf.c: Likewise.
7126
53f1bed3
WN
7127 * sysdeps/generic/ldsodefs.h: Check whether
7128 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
7129 than #if.
7130
788bba36
WN
7131 * nptl/sysdeps/pthread/pthread.h: Check
7132 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
7133 its value.
7134
fcd89ebe
SP
71352014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7136
ae42bbc5
SP
7137 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
7138 setting O_APPEND.
7139 * libio/tst-ftell-active-handler.c (do_append_test): Add a
7140 test case.
7141
ea33158c
SP
7142 [BZ #16680]
7143 * libio/fileops.c (_IO_file_open): Seek to end of file but
7144 don't cache the offset.
7145 (get_file_offset): Remove function.
7146 (do_ftell): Use cached offset when available.
7147 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
7148 don't cache the offset.
7149 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
7150 case.
7151 (do_one_test): Call it.
7152 (do_ftell_test): Fix up expected old offset for a+ mode.
7153 * libio/wfileops.c (do_ftell_wide): Used cached offset when
7154 available.
7155
b1dbb426
SP
7156 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
7157 up test status with function return status.
7158 (do_write_test): Likewise.
7159 (do_append_test): Likewise.
7160
fcd89ebe
SP
7161 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
7162 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
7163 Remove.
7164
9962a2d3
JM
71652014-03-17 Joseph Myers <joseph@codesourcery.com>
7166
7167 * math/gen-libm-test.pl (parse_args): Handle results specified for
7168 each rounding mode separately.
7169 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
7170 tests and results from lrint_tonearest_test_data,
7171 lrint_towardzero_test_data, lrint_downward_test_data and
7172 lrint_upward_test_data.
7173 (lrint_test): Use ALL_RM_TEST.
7174 (lrint_tonearest_test_data): Remove.
7175 (lrint_test_tonearest): Likewise.
7176 (lrint_towardzero_test_data): Likewise.
7177 (lrint_test_towardzero): Likewise.
7178 (lrint_downward_test_data): Likewise.
7179 (lrint_test_downward): Likewise.
7180 (lrint_upward_test_data): Likewise.
7181 (lrint_test_upward): Likewise.
7182 (llrint_test_data): Merge in per-rounding-mode tests and results
7183 from llrint_tonearest_test_data, llrint_towardzero_test_data,
7184 llrint_downward_test_data and llrint_upward_test_data.
7185 (llrint_test): Use ALL_RM_TEST.
7186 (llrint_tonearest_test_data): Remove.
7187 (llrint_test_tonearest): Likewise.
7188 (llrint_towardzero_test_data): Likewise.
7189 (llrint_test_towardzero): Likewise.
7190 (llrint_downward_test_data): Likewise.
7191 (llrint_test_downward): Likewise.
7192 (llrint_upward_test_data): Likewise.
7193 (llrint_test_upward): Likewise.
7194 (rint_test_data): Merge in per-rounding-mode tests and results
7195 from rint_tonearest_test_data, rint_towardzero_test_data,
7196 rint_downward_test_data and rint_upward_test_data. Add
7197 per-rounding-mode results for tests not in those arrays.
7198 (rint_test): Use ALL_RM_TEST.
7199 (rint_tonearest_test_data): Remove.
7200 (rint_test_tonearest): Likewise.
7201 (rint_towardzero_test_data): Likewise.
7202 (rint_test_towardzero): Likewise.
7203 (rint_downward_test_data): Likewise.
7204 (rint_test_downward): Likewise.
7205 (rint_upward_test_data): Likewise.
7206 (rint_test_upward): Likewise.
7207 (main): Don't call removed functions.
7208
5006148e
RM
72092014-03-14 Roland McGrath <roland@hack.frob.com>
7210
7211 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
7212 "Compiled on ..." crapola. It is anti-useful.
7213
d6fe5e58
JM
72142014-03-14 Joseph Myers <joseph@codesourcery.com>
7215
7216 * scripts/evaluate-test.sh: Handle fourth argument to determine
7217 whether test run should stop on failure.
7218 * Makeconfig (stop-on-test-failure): New variable.
7219 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
7220 $(stop-on-test-failure).
7221 * Makefile (tests): Give a summary of results from testing and
7222 exit with failure status if they include an ERROR or FAIL.
7223 (xtests): Likewise.
7224 * manual/install.texi (Configuring and compiling): Mention
7225 stop-on-test-failure=y.
7226 * INSTALL: Regenerated.
7227
498a2233
RM
72282014-03-14 Roland McGrath <roland@hack.frob.com>
7229
22dbc19d
RM
7230 * scripts/versionlist.awk: New file.
7231 * Makerules [$(build-shared) = yes]
7232 (postclean-generated): Add Versions.def, not Versions.def.v and
7233 Versions.def.v.i.
7234 ($(common-objpfx)Versions.def.v.i): Target removed.
7235 ($(common-objpfx)Versions.def): New target.
7236 ($(common-objpfx)Versions.all): Depend on that rather that
7237 $(common-objpfx)Versions.def.v.
7238 * Versions.def: File removed.
7239
498a2233
RM
7240 * Makeconfig (+gccwarn): Add -Wundef.
7241 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
7242 a dl-sysdep.h breaking its contract.
7243 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
7244 * include/stackinfo.h: New file.
7245 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
7246 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
7247 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
7248 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
7249 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
7250 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
7251 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7252 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7253 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7254 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7255 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7256 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
7257 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7258 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7259 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7260
c7de5025
AZ
72612014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7262
7263 [BZ #16707]
7264 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
7265 implementation.
7266 * math/libm-test.inc (round_test_data): Add more tests.
7267
98fb27a3
AZ
7268 [BZ #16706]
7269 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
7270 implementation.
7271 * math/libm-test.inc (nearbyint_test_data): Add more tests.
7272
374f7f61
AZ
7273 [BZ #16701]
7274 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
7275 implementation.
7276 * math/libm-test.inc (ceil_test_data): Add more tests.
7277
4655c291
AZ
7278 * math/libm-test.inc (trunc_test_data): Add more tests related to
7279 BZ#16414.
7280
d7329d4b
RM
72812014-03-14 Roland McGrath <roland@hack.frob.com>
7282
7283 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
7284 with #if rather than #ifdef.
7285 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
7286
aa4de9ce
L
72872014-03-14 H.J. Lu <hongjiu.lu@intel.com>
7288
7289 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
7290 first. Disable AVX-512 GCC support if assembler doesn't support
7291 it.
7292 * sysdeps/x86_64/configure: Regenerated.
7293
2e03fae7
CD
72942014-03-13 Carlos O'Donell <carlos@redhat.com>
7295
7296 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
7297 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
7298 (__old_pthread_attr_setstack): Likewise.
7299 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
7300 [!_STACK_GROWS_DOWN]: Likewise.
7301
43ca83ec
MF
73022014-03-13 Mike Frysinger <vapier@gentoo.org>
7303
7304 * config.make.in (have-bash2): Delete.
7305 * configure.ac (libc_cv_have_bash2): Delete.
7306 * configure: Regenerate.
7307 * elf/Makefile (common-ldd-rewrite): Rename to ...
7308 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
7309 (sh-ldd-rewrite): Delete.
7310 (bash-ldd-rewrite): Delete.
7311 (have-bash2): Delete checks.
57f41c40
AS
7312 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
7313 ldd-rewrite.
c66e48b4
MF
7314
7315 * config.make.in (have-ksh): Delete.
7316 (KSH): Delete.
7317 * configure.ac (libc_cv_have_ksh): Delete.
7318 * configure: Regenerate.
7319
b93834ef
MF
7320 * elf/Makefile: Delete $(have-ksh) check.
7321 ($(objpfx)sotruss): Change KSH to BASH.
7322 * elf/sotruss.ksh: Rename to ...
7323 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
7324 function style to match POSIX. Drop ksh vim mode setting.
7325
f3a4632a
MF
7326 * manual/time.texi (Specifying the Time Zone with TZ): Change
7327 Tuesday to Thursday.
7328
5896c8bd
MF
7329 * debug/tst-longjmp_chk2.c: Update header comment.
7330 (stackoverflow_handler): Add comment. Call assert on pass value.
7331
2d63a517
IZ
73322014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
7333
7334 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
7335 (HAVE_AVX512_ASM_SUPPORT): Likewise.
7336 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
7337 (La_x86_64_vector): Add zmm.
7338 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
7339 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
7340 ($(objpfx)tst-audit10): New target.
7341 ($(objpfx)tst-audit10.out): Likewise.
7342 (tst-audit10-ENV): New.
7343 (AVX512-CFLAGS): Likewise.
7344 (CFLAGS-tst-audit10.c): Likewise.
7345 (CFLAGS-tst-auditmod10a.c): Likewise.
7346 (CFLAGS-tst-auditmod10b.c): Likewise.
7347 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
7348 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
7349 * sysdeps/x86_64/configure: Regenerated.
7350 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
7351 AVX-512 zmm register support.
7352 (_dl_x86_64_save_sse): Likewise.
7353 (_dl_x86_64_restore_sse): Likewise.
7354 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
7355 size vector registers.
7356 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
7357 (ZMM_SIZE): Likewise.
7358 * sysdeps/x86_64/tst-audit10.c: New file.
7359 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
7360 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
7361
44c4e5d5
RM
73622014-03-13 Roland McGrath <roland@hack.frob.com>
7363
7364 * configure.ac (HAVE_EHDR_START): New check.
7365 * configure: Regenerated.
7366 * config.h.in (HAVE_EHDR_START): New #undef.
7367 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
7368 assuming the lowest-addressed segment maps the start of the file.
7369
acd6e389
JM
73702014-03-13 Joseph Myers <joseph@codesourcery.com>
7371
7372 * INSTALL: Regenerated.
7373
6f918f36
WN
73742014-03-13 Will Newton <will.newton@linaro.org>
7375
7376 * manual/setjmp.texi (System V contexts): Improve
7377 clarity and grammar of documentation.
7378
798212a0
PP
73792014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
7380
7381 [BZ #16381]
798212a0 7382 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 7383 (tests-pie): Add tst-pie2.
798212a0
PP
7384 * elf/tst-pie2.c: New file.
7385 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
7386 for ET_EXEC.
7387 * elf/rtld.c (map_doit): Load executable as lt_executable.
7388 (dl_main): Likewise.
7389
abe6d90c
JM
73902014-03-12 Joseph Myers <joseph@codesourcery.com>
7391
7392 [BZ #16642]
7393 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7394 (__ASSUME_PSELECT): Undefine.
7395
dd3946c6
AZ
73962014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7397
7398 [BZ #16689]
7399 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
7400 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
7401 static build.
7402 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
7403 selector for static builds.
7404
c44496df
SP
74052014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7406
7407 [BZ #16695]
7408 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
7409 key in the buffer.
7410
27c7220a
AZ
74112014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7412
57f41c40
AS
7413 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
7414 IFUNC selector for static builds.
27c7220a 7415
600fa361
JM
74162014-03-11 Joseph Myers <joseph@codesourcery.com>
7417
76c96cf7
JM
7418 * sysdeps/mips/math_private.h [__mips_hard_float]
7419 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
7420 libc_feresetround_mips_ctx.
7421 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
7422 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
7423 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
7424
600fa361
JM
7425 [BZ #16677]
7426 * math/s_nextafter.c (__nextafter): Do not return value from
7427 overflowing computation.
7428 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
7429 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
7430 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
7431 Likewise.
7432 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
7433 Likewise.
7434 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
7435 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
7436
d7706c32
RM
74372014-03-11 Roland McGrath <roland@hack.frob.com>
7438
7439 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
7440 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
7441 Move sfi_sp use from the load-multiple (that no longer sets sp) to
7442 the new mov targetting sp.
7443
4facea47
AZ
74442014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7445
7446 [BZ #16683]
7447 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
7448 Define it for static builds as well.
7449 (NO_BZERO_IMPL): Likewise.
7450
e65caf1f
VR
74512014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7452
7453 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
7454 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
7455 multiarch strspn for PPC64.
7456 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
7457 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
7458 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7459 (__libc_ifunc_impl_list): Likewise.
7460 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
7461 multiarch optimizations
7462 * string/strspn.c (strspn): Using macro to redefine symbol name.
7463
ba9cc071
AZ
74642014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7465 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7466
7467 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
7468 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
7469 multiarch strncat for PPC64.
7470 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
7471 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
7472 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7473 (__libc_ifunc_impl_list): Likewise.
7474 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
7475 multiarch optimizations
7476
8b4ff974
SP
74772014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7478
7479 [BZ #16639]
7480 * nscd/nscd.service: Make service type forking.
7481
54b46a4b
AZ
74822014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7483
7484 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
7485 sign in non default rounding modes.
7486 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7487
e9996ef7
JM
74882014-03-08 Joseph Myers <joseph@codesourcery.com>
7489
7490 * math/libm-test.inc (ALL_RM_TEST): New macro.
7491 (ceil_test): Use ALL_RM_TEST.
7492 (cimag_test): Likewise.
7493 (conj_test): Likewise.
7494 (copysign_test): Likewise.
7495 (cproj_test): Likewise.
7496 (creal_test): Likewise.
7497 (fabs_test): Likewise.
7498 (floor_test): Likewise.
7499 (fmax_test): Likewise.
7500 (fmin_test): Likewise.
7501 (fmod_test): Likewise.
7502 (fpclassify_test): Likewise.
7503 (frexp_test): Likewise.
7504 (ilogb_test): Likewise.
7505 (isfinite_test): Likewise.
7506 (finite_test): Likewise.
7507 (isgreater_test): Likewise.
7508 (isgreaterequal_test): Likewise.
7509 (isinf_test): Likewise.
7510 (isless_test): Likewise.
7511 (islessequal_test): Likewise.
7512 (islessgreater_test): Likewise.
7513 (isnan_test): Likewise.
7514 (isnormal_test): Likewise.
7515 (issignaling_test): Likewise.
7516 (isunordered_test): Likewise.
7517 (logb_test): Likewise.
7518 (logb_downward_test_data): Remove.
7519 (logb_test_downward): Likewise.
7520 (lround_test): Use ALL_RM_TEST.
7521 (llround_test): Likewise.
7522 (modf_test): Likewise.
7523 (nexttoward_test): Likewise.
7524 (remainder_test): Likewise.
7525 (drem_test): Likewise.
7526 (remainder_tonearest_test_data): Likewise.
7527 (remainder_test_tonearest): Likewise.
7528 (drem_test_tonearest): Likewise.
7529 (remainder_towardzero_test_data): Likewise.
7530 (remainder_test_towardzero): Likewise.
7531 (drem_test_towardzero): Likewise.
7532 (remainder_downward_test_data): Likewise.
7533 (remainder_test_downward): Likewise.
7534 (drem_test_downward): Likewise.
7535 (remainder_upward_test_data): Likewise.
7536 (remainder_test_upward): Likewise.
7537 (drem_test_upward): Likewise.
7538 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
7539 (round_test): Use ALL_RM_TEST.
7540 (signbit_test): Likewise.
7541 (trunc_test): Likewise.
7542 (significand_test): Likewise.
7543 (main): Don't call removed functions.
7544
bc61d27c
JM
75452014-03-07 Joseph Myers <joseph@codesourcery.com>
7546
5c780849
JM
7547 [BZ #16674]
7548 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
7549 || __USE_XOPEN2K8].
7550 (ILL_ILLOPN): Likewise.
7551 (ILL_ILLADR): Likewise.
7552 (ILL_ILLTRP): Likewise.
7553 (ILL_PRVOPC): Likewise.
7554 (ILL_PRVREG): Likewise.
7555 (ILL_COPROC): Likewise.
7556 (ILL_BADSTK): Likewise.
7557 (FPE_INTDIV): Likewise.
7558 (FPE_INTOVF): Likewise.
7559 (FPE_FLTDIV): Likewise.
7560 (FPE_FLTOVF): Likewise.
7561 (FPE_FLTUND): Likewise.
7562 (FPE_FLTRES): Likewise.
7563 (FPE_FLTINV): Likewise.
7564 (FPE_FLTSUB): Likewise.
7565 (SEGV_MAPERR): Likewise.
7566 (SEGV_ACCERR): Likewise.
7567 (BUS_ADRALN): Likewise.
7568 (BUS_ADRERR): Likewise.
7569 (BUS_OBJERR): Likewise.
7570 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7571 (TRAP_TRACE): Likewise.
7572 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7573 __USE_XOPEN2K8].
7574 (CLD_KILLED): Likewise.
7575 (CLD_DUMPED): Likewise.
7576 (CLD_TRAPPED): Likewise.
7577 (CLD_STOPPED): Likewise.
7578 (CLD_CONTINUED): Likewise.
7579 (POLL_IN): Likewise.
7580 (POLL_OUT): Likewise.
7581 (POLL_MSG): Likewise.
7582 (POLL_ERR): Likewise.
7583 (POLL_PRI): Likewise.
7584 (POLL_HUP): Likewise.
7585 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
7586 Likewise.
7587 (ILL_ILLOPN): Likewise.
7588 (ILL_ILLADR): Likewise.
7589 (ILL_ILLTRP): Likewise.
7590 (ILL_PRVOPC): Likewise.
7591 (ILL_PRVREG): Likewise.
7592 (ILL_COPROC): Likewise.
7593 (ILL_BADSTK): Likewise.
7594 (FPE_INTDIV): Likewise.
7595 (FPE_INTOVF): Likewise.
7596 (FPE_FLTDIV): Likewise.
7597 (FPE_FLTOVF): Likewise.
7598 (FPE_FLTUND): Likewise.
7599 (FPE_FLTRES): Likewise.
7600 (FPE_FLTINV): Likewise.
7601 (FPE_FLTSUB): Likewise.
7602 (SEGV_MAPERR): Likewise.
7603 (SEGV_ACCERR): Likewise.
7604 (BUS_ADRALN): Likewise.
7605 (BUS_ADRERR): Likewise.
7606 (BUS_OBJERR): Likewise.
7607 (BUS_MCEERR_AR): Likewise.
7608 (BUS_MCEERR_AO): Likewise.
7609 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7610 (TRAP_TRACE): Likewise.
7611 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7612 __USE_XOPEN2K8].
7613 (CLD_KILLED): Likewise.
7614 (CLD_DUMPED): Likewise.
7615 (CLD_TRAPPED): Likewise.
7616 (CLD_STOPPED): Likewise.
7617 (CLD_CONTINUED): Likewise.
7618 (POLL_IN): Likewise.
7619 (POLL_OUT): Likewise.
7620 (POLL_MSG): Likewise.
7621 (POLL_ERR): Likewise.
7622 (POLL_PRI): Likewise.
7623 (POLL_HUP): Likewise.
7624 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
7625 (ILL_ILLOPN): Likewise.
7626 (ILL_ILLADR): Likewise.
7627 (ILL_ILLTRP): Likewise.
7628 (ILL_PRVOPC): Likewise.
7629 (ILL_PRVREG): Likewise.
7630 (ILL_COPROC): Likewise.
7631 (ILL_BADSTK): Likewise.
7632 (FPE_INTDIV): Likewise.
7633 (FPE_INTOVF): Likewise.
7634 (FPE_FLTDIV): Likewise.
7635 (FPE_FLTOVF): Likewise.
7636 (FPE_FLTUND): Likewise.
7637 (FPE_FLTRES): Likewise.
7638 (FPE_FLTINV): Likewise.
7639 (FPE_FLTSUB): Likewise.
7640 (SEGV_MAPERR): Likewise.
7641 (SEGV_ACCERR): Likewise.
7642 (BUS_ADRALN): Likewise.
7643 (BUS_ADRERR): Likewise.
7644 (BUS_OBJERR): Likewise.
7645 (BUS_MCEERR_AR): Likewise.
7646 (BUS_MCEERR_AO): Likewise.
7647 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7648 (TRAP_TRACE): Likewise.
7649 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7650 __USE_XOPEN2K8].
7651 (CLD_KILLED): Likewise.
7652 (CLD_DUMPED): Likewise.
7653 (CLD_TRAPPED): Likewise.
7654 (CLD_STOPPED): Likewise.
7655 (CLD_CONTINUED): Likewise.
7656 (POLL_IN): Likewise.
7657 (POLL_OUT): Likewise.
7658 (POLL_MSG): Likewise.
7659 (POLL_ERR): Likewise.
7660 (POLL_PRI): Likewise.
7661 (POLL_HUP): Likewise.
7662 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
7663 Likewise.
7664 (ILL_ILLOPN): Likewise.
7665 (ILL_ILLADR): Likewise.
7666 (ILL_ILLTRP): Likewise.
7667 (ILL_PRVOPC): Likewise.
7668 (ILL_PRVREG): Likewise.
7669 (ILL_COPROC): Likewise.
7670 (ILL_BADSTK): Likewise.
7671 (ILL_BADIADDR): Likewise.
7672 (ILL_BREAK): Likewise.
7673 (FPE_INTDIV): Likewise.
7674 (FPE_INTOVF): Likewise.
7675 (FPE_FLTDIV): Likewise.
7676 (FPE_FLTOVF): Likewise.
7677 (FPE_FLTUND): Likewise.
7678 (FPE_FLTRES): Likewise.
7679 (FPE_FLTINV): Likewise.
7680 (FPE_FLTSUB): Likewise.
7681 (FPE_DECOVF): Likewise.
7682 (FPE_DECDIV): Likewise.
7683 (FPE_DECERR): Likewise.
7684 (FPE_INVASC): Likewise.
7685 (FPE_INVDEC): Likewise.
7686 (SEGV_MAPERR): Likewise.
7687 (SEGV_ACCERR): Likewise.
7688 (SEGV_PSTKOVF): Likewise.
7689 (BUS_ADRALN): Likewise.
7690 (BUS_ADRERR): Likewise.
7691 (BUS_OBJERR): Likewise.
7692 (BUS_MCEERR_AR): Likewise.
7693 (BUS_MCEERR_AO): Likewise.
7694 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7695 (TRAP_TRACE): Likewise.
7696 (TRAP_BRANCH): Likewise.
7697 (TRAP_HWBKPT): Likewise.
7698 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7699 __USE_XOPEN2K8].
7700 (CLD_KILLED): Likewise.
7701 (CLD_DUMPED): Likewise.
7702 (CLD_TRAPPED): Likewise.
7703 (CLD_STOPPED): Likewise.
7704 (CLD_CONTINUED): Likewise.
7705 (POLL_IN): Likewise.
7706 (POLL_OUT): Likewise.
7707 (POLL_MSG): Likewise.
7708 (POLL_ERR): Likewise.
7709 (POLL_PRI): Likewise.
7710 (POLL_HUP): Likewise.
7711 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
7712 (ILL_ILLOPN): Likewise.
7713 (ILL_ILLADR): Likewise.
7714 (ILL_ILLTRP): Likewise.
7715 (ILL_PRVOPC): Likewise.
7716 (ILL_PRVREG): Likewise.
7717 (ILL_COPROC): Likewise.
7718 (ILL_BADSTK): Likewise.
7719 (FPE_INTDIV): Likewise.
7720 (FPE_INTOVF): Likewise.
7721 (FPE_FLTDIV): Likewise.
7722 (FPE_FLTOVF): Likewise.
7723 (FPE_FLTUND): Likewise.
7724 (FPE_FLTRES): Likewise.
7725 (FPE_FLTINV): Likewise.
7726 (FPE_FLTSUB): Likewise.
7727 (SEGV_MAPERR): Likewise.
7728 (SEGV_ACCERR): Likewise.
7729 (BUS_ADRALN): Likewise.
7730 (BUS_ADRERR): Likewise.
7731 (BUS_OBJERR): Likewise.
7732 (BUS_MCEERR_AR): Likewise.
7733 (BUS_MCEERR_AO): Likewise.
7734 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7735 (TRAP_TRACE): Likewise.
7736 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7737 __USE_XOPEN2K8].
7738 (CLD_KILLED): Likewise.
7739 (CLD_DUMPED): Likewise.
7740 (CLD_TRAPPED): Likewise.
7741 (CLD_STOPPED): Likewise.
7742 (CLD_CONTINUED): Likewise.
7743 (POLL_IN): Likewise.
7744 (POLL_OUT): Likewise.
7745 (POLL_MSG): Likewise.
7746 (POLL_ERR): Likewise.
7747 (POLL_PRI): Likewise.
7748 (POLL_HUP): Likewise.
7749 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
7750 (ILL_ILLOPN): Likewise.
7751 (ILL_ILLADR): Likewise.
7752 (ILL_ILLTRP): Likewise.
7753 (ILL_PRVOPC): Likewise.
7754 (ILL_PRVREG): Likewise.
7755 (ILL_COPROC): Likewise.
7756 (ILL_BADSTK): Likewise.
7757 (FPE_INTDIV): Likewise.
7758 (FPE_INTOVF): Likewise.
7759 (FPE_FLTDIV): Likewise.
7760 (FPE_FLTOVF): Likewise.
7761 (FPE_FLTUND): Likewise.
7762 (FPE_FLTRES): Likewise.
7763 (FPE_FLTINV): Likewise.
7764 (FPE_FLTSUB): Likewise.
7765 (SEGV_MAPERR): Likewise.
7766 (SEGV_ACCERR): Likewise.
7767 (BUS_ADRALN): Likewise.
7768 (BUS_ADRERR): Likewise.
7769 (BUS_OBJERR): Likewise.
7770 (BUS_MCEERR_AR): Likewise.
7771 (BUS_MCEERR_AO): Likewise.
7772 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7773 (TRAP_TRACE): Likewise.
7774 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7775 __USE_XOPEN2K8].
7776 (CLD_KILLED): Likewise.
7777 (CLD_DUMPED): Likewise.
7778 (CLD_TRAPPED): Likewise.
7779 (CLD_STOPPED): Likewise.
7780 (CLD_CONTINUED): Likewise.
7781 (POLL_IN): Likewise.
7782 (POLL_OUT): Likewise.
7783 (POLL_MSG): Likewise.
7784 (POLL_ERR): Likewise.
7785 (POLL_PRI): Likewise.
7786 (POLL_HUP): Likewise.
7787 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
7788 (ILL_ILLOPN): Likewise.
7789 (ILL_ILLADR): Likewise.
7790 (ILL_ILLTRP): Likewise.
7791 (ILL_PRVOPC): Likewise.
7792 (ILL_PRVREG): Likewise.
7793 (ILL_COPROC): Likewise.
7794 (ILL_BADSTK): Likewise.
7795 (FPE_INTDIV): Likewise.
7796 (FPE_INTOVF): Likewise.
7797 (FPE_FLTDIV): Likewise.
7798 (FPE_FLTOVF): Likewise.
7799 (FPE_FLTUND): Likewise.
7800 (FPE_FLTRES): Likewise.
7801 (FPE_FLTINV): Likewise.
7802 (FPE_FLTSUB): Likewise.
7803 (SEGV_MAPERR): Likewise.
7804 (SEGV_ACCERR): Likewise.
7805 (BUS_ADRALN): Likewise.
7806 (BUS_ADRERR): Likewise.
7807 (BUS_OBJERR): Likewise.
7808 (BUS_MCEERR_AR): Likewise.
7809 (BUS_MCEERR_AO): Likewise.
7810 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7811 (TRAP_TRACE): Likewise.
7812 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7813 __USE_XOPEN2K8].
7814 (CLD_KILLED): Likewise.
7815 (CLD_DUMPED): Likewise.
7816 (CLD_TRAPPED): Likewise.
7817 (CLD_STOPPED): Likewise.
7818 (CLD_CONTINUED): Likewise.
7819 (POLL_IN): Likewise.
7820 (POLL_OUT): Likewise.
7821 (POLL_MSG): Likewise.
7822 (POLL_ERR): Likewise.
7823 (POLL_PRI): Likewise.
7824 (POLL_HUP): Likewise.
7825 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
7826 (ILL_ILLOPN): Likewise.
7827 (ILL_ILLADR): Likewise.
7828 (ILL_ILLTRP): Likewise.
7829 (ILL_PRVOPC): Likewise.
7830 (ILL_PRVREG): Likewise.
7831 (ILL_COPROC): Likewise.
7832 (ILL_BADSTK): Likewise.
7833 (ILL_DBLFLT): Likewise.
7834 (ILL_HARDWALL): Likewise.
7835 (FPE_INTDIV): Likewise.
7836 (FPE_INTOVF): Likewise.
7837 (FPE_FLTDIV): Likewise.
7838 (FPE_FLTOVF): Likewise.
7839 (FPE_FLTUND): Likewise.
7840 (FPE_FLTRES): Likewise.
7841 (FPE_FLTINV): Likewise.
7842 (FPE_FLTSUB): Likewise.
7843 (SEGV_MAPERR): Likewise.
7844 (SEGV_ACCERR): Likewise.
7845 (BUS_ADRALN): Likewise.
7846 (BUS_ADRERR): Likewise.
7847 (BUS_OBJERR): Likewise.
7848 (BUS_MCEERR_AR): Likewise.
7849 (BUS_MCEERR_AO): Likewise.
7850 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7851 (TRAP_TRACE): Likewise.
7852 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7853 __USE_XOPEN2K8].
7854 (CLD_KILLED): Likewise.
7855 (CLD_DUMPED): Likewise.
7856 (CLD_TRAPPED): Likewise.
7857 (CLD_STOPPED): Likewise.
7858 (CLD_CONTINUED): Likewise.
7859 (POLL_IN): Likewise.
7860 (POLL_OUT): Likewise.
7861 (POLL_MSG): Likewise.
7862 (POLL_ERR): Likewise.
7863 (POLL_PRI): Likewise.
7864 (POLL_HUP): Likewise.
7865 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
7866 (ILL_ILLOPN): Likewise.
7867 (ILL_ILLADR): Likewise.
7868 (ILL_ILLTRP): Likewise.
7869 (ILL_PRVOPC): Likewise.
7870 (ILL_PRVREG): Likewise.
7871 (ILL_COPROC): Likewise.
7872 (ILL_BADSTK): Likewise.
7873 (FPE_INTDIV): Likewise.
7874 (FPE_INTOVF): Likewise.
7875 (FPE_FLTDIV): Likewise.
7876 (FPE_FLTOVF): Likewise.
7877 (FPE_FLTUND): Likewise.
7878 (FPE_FLTRES): Likewise.
7879 (FPE_FLTINV): Likewise.
7880 (FPE_FLTSUB): Likewise.
7881 (SEGV_MAPERR): Likewise.
7882 (SEGV_ACCERR): Likewise.
7883 (BUS_ADRALN): Likewise.
7884 (BUS_ADRERR): Likewise.
7885 (BUS_OBJERR): Likewise.
7886 (BUS_MCEERR_AR): Likewise.
7887 (BUS_MCEERR_AO): Likewise.
7888 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7889 (TRAP_TRACE): Likewise.
7890 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7891 __USE_XOPEN2K8].
7892 (CLD_KILLED): Likewise.
7893 (CLD_DUMPED): Likewise.
7894 (CLD_TRAPPED): Likewise.
7895 (CLD_STOPPED): Likewise.
7896 (CLD_CONTINUED): Likewise.
7897 (POLL_IN): Likewise.
7898 (POLL_OUT): Likewise.
7899 (POLL_MSG): Likewise.
7900 (POLL_ERR): Likewise.
7901 (POLL_PRI): Likewise.
7902 (POLL_HUP): Likewise.
7903 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
7904 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7905
bc61d27c
JM
7906 [BZ #16670]
7907 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
7908 before #include of <time.h>.
7909 [!__USE_XOPEN2K] (__need_timespec): Likewise.
7910 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
7911 (test-xfail-UNIX98/sched.h/conform): Likewise.
7912
302949e2
MS
79132014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
7914
7915 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
7916 error absence of trapping exception support.
7917 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7918
a00f522a
JM
79192014-03-07 Joseph Myers <joseph@codesourcery.com>
7920
6f99f280
JM
7921 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
7922 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
7923 * timezone/Makefile (testdata): Move definition above include of
7924 Rules.
7925 (test-zones): New variable.
7926 (tests-special): Add zone files.
7927 (build-testdata): Use $(evaluate-test).
7928
0b20a9e8
JM
7929 * elf/Makefile (tests-special): Rename tests to end with .out.
7930 ($(objpfx)noload-mem): Likewise.
7931 ($(objpfx)tst-leaks1-mem): Likewise.
7932 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
7933 * iconv/Makefile (xtests-special): Change test-iconvconfig to
7934 $(objpfx)test-iconvconfig.out.
7935 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
7936 set -e inside subshell and redirect output to file.
7937 * iconvdata/Makefile (generated): Rename tests to end with .out.
7938 Correct type.
7939 (tests-special): Rename tests to end with .out.
7940 ($(objpfx)mtrace-tst-loading): Likewise.
7941 * intl/Makefile (generated): Likewise.
7942 (tests-special): Likewise.
7943 ($(objpfx)mtrace-tst-gettext): Likewise.
7944 * misc/Makefile (generated): Likewise.
7945 (tests-special): Likewise.
7946 ($(objpfx)tst-error1-mem): Likewise.
7947 * nptl/Makefile (tests-special): Likewise.
7948 ($(objpfx)tst-stack3-mem): Likewise.
7949 (generated): Likewise.
7950 * posix/Makefile (generated): Likewise.
7951 (tests-special): Likewise.
7952 (xtests-special): Likewise.
7953 ($(objpfx)tst-fnmatch-mem): Likewise.
7954 ($(objpfx)bug-regex2-mem): Likewise.
7955 ($(objpfx)bug-regex14-mem): Likewise.
7956 ($(objpfx)bug-regex21-mem): Likewise.
7957 ($(objpfx)bug-regex31-mem): Likewise.
7958 ($(objpfx)tst-vfork3-mem): Likewise.
7959 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7960 ($(objpfx)tst-pcre-mem): Likewise.
7961 ($(objpfx)tst-boost-mem): Likewise.
7962 ($(objpfx)bug-ga2-mem): Likewise.
7963 ($(objpfx)bug-glob2-mem): Likewise.
7964 * resolv/Makefile (generate): Likewise.
7965 (tests-special): Likewise.
7966 (xtests-special): Likewise.
7967 (generated): Likewise.
7968 ($(objpfx)mtrace-tst-leaks): Likewise.
7969 ($(objpfx)mtrace-tst-leaks2): Likewise.
7970
265d52ab
JM
7971 * scripts/merge-test-results.sh: New file.
7972 * Makefile (tests-special-notdir): New variable.
7973 (tests): Run merge-test-results.sh.
7974 (xtests): Likewise.
7975 * Rules (tests-special-notdir): New variable.
7976 (xtests-special-notdir): Likewise.
7977 (tests): Run merge-test-results.sh
7978 (xtests): Likewise.
7979
54ee292d
JM
7980 * Makeconfig (test-xfail-name): New variable.
7981 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
7982 compute variable name for expected failures.
7983 * conform/Makefile (conformtest-headers-data): New variable.
7984 (conformtest-standards): Likewise.
7985 (conformtest-headers-ISO): Likewise.
7986 (conformtest-headers-ISO99): Likewise.
7987 (conformtest-headers-ISO11): Likewise.
7988 (conformtest-headers-POSIX): Likewise.
7989 (conformtest-headers-XPG3): Likewise.
7990 (conformtest-headers-XPG4): Likewise.
7991 (conformtest-headers-UNIX98): Likewise.
7992 (conformtest-headers-XOPEN2K): Likewise.
7993 (conformtest-headers-POSIX2008): Likewise.
7994 (conformtest-headers-XOPEN2K8): Likewise.
7995 (conformtest-header-list-base): Likewise.
7996 (conformtest-header-list-tests): Likewise.
7997 (conformtest-header-base): Likewise.
7998 (conformtest-header-tests): Likewise.
7999 (tests-special): Add $(conformtest-header-list-tests). If
8000 [$(fast-check) && !$(cross-compiling)], add
8001 $(conformtest-header-tests) instead of
8002 $(objpfx)run-conformtest.out.
8003 (generated): Add $(conformtest-header-list-base). If
8004 [$(fast-check) && !$(cross-compiling)], add
8005 $(conformtest-header-base). Remove previous setting.
8006 ($(conformtest-header-list-tests)): New target.
8007 (test-xfail-run-conformtest): Remove variable.
8008 ($(objpfx)run-conformtest.out): Remove target.
8009 (test-xfail-ISO11/complex.h/conform): New variable.
8010 (test-xfail-ISO11/stdalign.h/conform): Likewise.
8011 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8012 (test-xfail-XPG3/varargs.h/conform): Likewise.
8013 (test-xfail-XPG4/varargs.h/conform): Likewise.
8014 (test-xfail-UNIX98/varargs.h/conform): Likewise.
8015 (test-xfail-XPG4/ndbm.h/conform): Likewise.
8016 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
8017 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
8018 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
8019 (test-xfail-XPG3/fcntl.h/conform): Likewise.
8020 (test-xfail-XPG3/ftw.h/conform): Likewise.
8021 (test-xfail-XPG3/grp.h/conform): Likewise.
8022 (test-xfail-XPG3/langinfo.h/conform): Likewise.
8023 (test-xfail-XPG3/limits.h/conform): Likewise.
8024 (test-xfail-XPG3/pwd.h/conform): Likewise.
8025 (test-xfail-XPG3/search.h/conform): Likewise.
8026 (test-xfail-XPG3/signal.h/conform): Likewise.
8027 (test-xfail-XPG3/stdio.h/conform): Likewise.
8028 (test-xfail-XPG3/stdlib.h/conform): Likewise.
8029 (test-xfail-XPG3/string.h/conform): Likewise.
8030 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
8031 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
8032 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
8033 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
8034 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
8035 (test-xfail-XPG3/sys/types.h/conform): Likewise.
8036 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
8037 (test-xfail-XPG3/termios.h/conform): Likewise.
8038 (test-xfail-XPG3/time.h/conform): Likewise.
8039 (test-xfail-XPG3/unistd.h/conform): Likewise.
8040 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
8041 (test-xfail-XPG4/fcntl.h/conform): Likewise.
8042 (test-xfail-XPG4/langinfo.h/conform): Likewise.
8043 (test-xfail-XPG4/netdb.h/conform): Likewise.
8044 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
8045 (test-xfail-XPG4/signal.h/conform): Likewise.
8046 (test-xfail-XPG4/stdio.h/conform): Likewise.
8047 (test-xfail-XPG4/stdlib.h/conform): Likewise.
8048 (test-xfail-XPG4/stropts.h/conform): Likewise.
8049 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
8050 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
8051 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
8052 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
8053 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
8054 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
8055 (test-xfail-XPG4/sys/time.h/conform): Likewise.
8056 (test-xfail-XPG4/sys/types.h/conform): Likewise.
8057 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
8058 (test-xfail-XPG4/termios.h/conform): Likewise.
8059 (test-xfail-XPG4/ucontext.h/conform): Likewise.
8060 (test-xfail-XPG4/unistd.h/conform): Likewise.
8061 (test-xfail-XPG4/utmpx.h/conform): Likewise.
8062 (test-xfail-POSIX/sched.h/conform): Likewise.
8063 (test-xfail-POSIX/signal.h/conform): Likewise.
8064 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8065 (test-xfail-POSIX/tar.h/conform): Likewise.
8066 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
8067 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
8068 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
8069 (test-xfail-UNIX98/netdb.h/conform): Likewise.
8070 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
8071 (test-xfail-UNIX98/sched.h/conform): Likewise.
8072 (test-xfail-UNIX98/signal.h/conform): Likewise.
8073 (test-xfail-UNIX98/stdio.h/conform): Likewise.
8074 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8075 (test-xfail-UNIX98/stropts.h/conform): Likewise.
8076 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
8077 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
8078 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
8079 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
8080 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
8081 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
8082 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
8083 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
8084 (test-xfail-UNIX98/unistd.h/conform): Likewise.
8085 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
8086 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
8087 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
8088 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
8089 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
8090 (test-xfail-XOPEN2K/math.h/conform): Likewise.
8091 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
8092 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
8093 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
8094 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
8095 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
8096 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
8097 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
8098 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
8099 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
8100 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
8101 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
8102 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
8103 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
8104 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
8105 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
8106 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8107 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
8108 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
8109 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
8110 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
8111 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
8112 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
8113 (test-xfail-POSIX2008/signal.h/conform): Likewise.
8114 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
8115 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
8116 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
8117 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
8118 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
8119 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
8120 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8121 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
8122 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
8123 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
8124 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
8125 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
8126 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
8127 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
8128 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
8129 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
8130 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
8131 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
8132 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
8133 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
8134 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
8135 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8136 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
8137 (conformtest-cc-flags): Likewise.
8138 ($(conformtest-header-tests): New target.
8139 * conform/check-header-lists.sh: New file.
8140 * conform/run-conformtest.sh: Remove.
8141
a00f522a
JM
8142 * conform/conformtest.pl: Allow ' and \ in values given for
8143 constants.
8144 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
8145 inclusion.
8146 [POSIX] (sys/types.h): Likewise.
8147 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
8148 inclusion.
8149 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
8150 inclusion.
8151 * conform/data/signal.h-data (SIGIO): Remove expectation.
8152 [XPG3] (SIGBUS): Do not expect.
8153 [POSIX || XPG3] (SIGPOLL): Likewise.
8154 [POSIX || XPG3] (SIGPROF): Likewise.
8155 [POSIX || XPG3] (SIGSYS): Likewise.
8156 [XPG3] (SIGTRAP): Likewise.
8157 [POSIX || XPG3] (SIGURG): Likewise.
8158 [POSIX || XPG3] (SIGVTALRM): Likewise.
8159 [POSIX || XPG3] (SIGXCPU): Likewise.
8160 [POSIX || XPG3] (SIGXFSZ): Likewise.
8161 [POSIX] (SA_SIGINFO): Expect.
8162 [XPG3] (siginfo_t): Do not expect type or contents.
8163 [POSIX] (si_pid): Do not expect element.
8164 [POSIX] (si_uid): Likewise.
8165 [POSIX] (si_addr): Likewise.
8166 [POSIX] (si_status): Likewise.
8167 [POSIX] (si_band): Likewise.
8168 [XPG4] (si_value): Likewise.
8169 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
8170 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
8171 [POSIX || XPG3] (ILL_ILLADR): Likewise.
8172 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
8173 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
8174 [POSIX || XPG3] (ILL_PRVREG): Likewise.
8175 [POSIX || XPG3] (ILL_COPROC): Likewise.
8176 [POSIX || XPG3] (ILL_BADSTK): Likewise.
8177 [POSIX || XPG3] (FPE_INTDIV): Likewise.
8178 [POSIX || XPG3] (FPE_INTOVF): Likewise.
8179 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
8180 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
8181 [POSIX || XPG3] (FPE_FLTUND): Likewise.
8182 [POSIX || XPG3] (FPE_FLTRES): Likewise.
8183 [POSIX || XPG3] (FPE_FLTINV): Likewise.
8184 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
8185 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
8186 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
8187 [POSIX || XPG3] (BUS_ADRALN): Likewise.
8188 [POSIX || XPG3] (BUS_ADRERR): Likewise.
8189 [POSIX || XPG3] (BUS_OBJERR): Likewise.
8190 [POSIX || XPG3] (CLD_EXITED): Likewise.
8191 [POSIX || XPG3] (CLD_KILLED): Likewise.
8192 [POSIX || XPG3] (CLD_DUMPED): Likewise.
8193 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
8194 [POSIX || XPG3] (CLD_STOPPED): Likewise.
8195 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
8196 [POSIX || XPG3] (POLL_IN): Likewise.
8197 [POSIX || XPG3] (POLL_OUT): Likewise.
8198 [POSIX || XPG3] (POLL_MSG): Likewise.
8199 [POSIX || XPG3] (POLL_ERR): Likewise.
8200 [POSIX || XPG3] (POLL_PRI): Likewise.
8201 [POSIX || XPG3] (POLL_HUP): Likewise.
8202 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
8203 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
8204 (SIG*): Do not allow.
8205 [XPG3] (si_*): Likewise.
8206 [XPG3] (SI_*): Likewise.
8207 [XPG3 || XPG4] (sigev_*): Likewise.
8208 [XPG3 || XPG4] (SIGEV_*): Likewise.
8209 [XPG3 || XPG4] (sival_*): Likewise.
8210 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
8211 [POSIX || XPG3] (BUS_*): Likewise.
8212 [POSIX || XPG3] (CLD_*): Likewise.
8213 [POSIX || XPG3] (FPE_*): Likewise.
8214 [POSIX || XPG3] (ILL_*): Likewise.
8215 [POSIX || XPG3] (POLL_*): Likewise.
8216 [POSIX || XPG3] (SEGV_*): Likewise.
8217 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
8218 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
8219 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
8220 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
8221 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
8222 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
8223 Specify type and value.
8224 (TVERSLEN): Likewise.
8225 (REGTYPE): Likewise.
8226 (AREGTYPE): Likewise.
8227 (LNKTYPE): Likewise.
8228 (SYMTYPE): Likewise.
8229 (CHRTYPE): Likewise.
8230 (BLKTYPE): Likewise.
8231 (DIRTYPE): Likewise.
8232 (FIFOTYPE): Likewise.
8233 (CONTTYPE): Likewise.
8234 (TSUID): Likewise.
8235 (TSGID): Likewise.
8236 (TSVTX): Likewise.
8237 (TUREAD): Likewise.
8238 (TUWRITE): Likewise.
8239 (TUEXEC): Likewise.
8240 (TGREAD): Likewise.
8241 (TGWRITE): Likewise.
8242 (TGEXEC): Likewise.
8243 (TOREAD): Likewise.
8244 (TOWRITE): Likewise.
8245 (TOEXEC): Likewise.
8246 [POSIX] (TSVTX): Expect constant.
8247
aa97dee1
JM
82482014-03-06 Joseph Myers <joseph@codesourcery.com>
8249
f214606a
JM
8250 * Makefile (tests): Change dependencies to ....
8251 (tests-special): ... additions to this variable.
8252 (tests): Depend on $(tests-special).
8253 * Makerules (check-abi-list): New variable.
8254 (check-abi): Depend on $(check-abi-list).
8255 [$(subdir) = elf] (tests-special): Add
8256 $(objpfx)check-abi-libc.out.
8257 [$(build-shared) = yes && subdir] (tests-special): Add
8258 $(check-abi-list).
8259 [$(build-shared) = yes && subdir] (tests): Do not depend on
8260 check-abi.
8261 * Rules (tests): Depend on $(tests-special).
8262 (xtests): Depend on $(xtests-special).
8263 * catgets/Makefile (tests): Change dependencies to ....
8264 (tests-special): ... additions to this variable.
8265 * conform/Makefile (tests): Change dependencies to ....
8266 (tests-special): ... additions to this variable.
8267 * elf/Makefile (tests): Change dependencies to ....
8268 (tests-special): ... additions to this variable.
8269 * grp/Makefile (tests): Change dependencies to ....
8270 (tests-special): ... additions to this variable.
8271 * iconv/Makefile (xtests): Change dependencies to ....
8272 (xtests-special): ... additions to this variable.
8273 * iconvdata/Makefile (tests): Change dependencies to ....
8274 (tests-special): ... additions to this variable.
8275 * intl/Makefile (tests): Change dependencies to ....
8276 (tests-special): ... additions to this variable. Also add
8277 $(objpfx)tst-gettext.out.
8278 * io/Makefile (tests): Change dependencies to ....
8279 (tests-special): ... additions to this variable.
8280 * libio/Makefile (tests): Change dependencies to ....
8281 (tests-special): ... additions to this variable.
8282 * malloc/Makefile (tests): Change dependencies to ....
8283 (tests-special): ... additions to this variable.
8284 * misc/Makefile (tests): Change dependencies to ....
8285 (tests-special): ... additions to this variable.
8286 * nptl/Makefile (tests): Change dependencies to ....
8287 (tests-special): ... additions to this variable.
8288 * nptl_db/Makefile (tests): Change dependencies to ....
8289 (tests-special): ... additions to this variable.
8290 * posix/Makefile (tests): Change dependencies to ....
8291 (tests-special): ... additions to this variable.
8292 (xtests): Change dependencies to ....
8293 (xtests-special): ... additions to this variable.
8294 * resolv/Makefile (tests): Change dependencies to ....
8295 (tests-special): ... additions to this variable.
8296 (xtests): Change dependencies to ....
8297 (xtests-special): ... additions to this variable.
8298 * stdio-common/Makefile (tests): Change dependencies to ....
8299 (tests-special): ... additions to this variable.
8300 (do-tst-unbputc): Remove target.
8301 (do-tst-printf): Likewise.
8302 * stdlib/Makefile (tests): Change dependencies to ....
8303 (tests-special): ... additions to this variable.
8304 * string/Makefile (tests): Change dependencies to ....
8305 (tests-special): ... additions to this variable.
8306 * sysdeps/x86/Makefile (tests): Change dependencies to ....
8307 (tests-special): ... additions to this variable.
8308
81700b53
JM
8309 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
8310 whole file.
8311 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
8312 whole file.
8313 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
8314 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
8315
2ea18461
JM
8316 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
8317 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
8318 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
8319 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
8320 * conform/data/libgen.h-data [XPG3]: Likewise.
8321 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
8322 * conform/data/ndbm.h-data [XPG3]: Likewise.
8323 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8324 * conform/data/netdb.h-data [XPG3]: Likewise.
8325 * conform/data/netinet/in.h-data [XPG3]: Likewise.
8326 * conform/data/poll.h-data [XPG3]: Likewise.
8327 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8328 * conform/data/strings.h-data [XPG3]: Likewise.
8329 * conform/data/stropts.h-data [XPG3]: Likewise.
8330 * conform/data/sys/mman.h-data [XPG3]: Likewise.
8331 * conform/data/sys/resource.h-data [XPG3]: Likewise.
8332 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
8333 Likewise.
8334 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
8335 * conform/data/sys/time.h-data [XPG3]: Likewise.
8336 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
8337 * conform/data/sys/uio.h-data [XPG3]: Likewise.
8338 * conform/data/sys/un.h-data [XPG3]: Likewise.
8339 * conform/data/syslog.h-data [XPG3]: Likewise.
8340 * conform/data/ucontext.h-data [XPG3]: Likewise.
8341 * conform/data/utmpx.h-data [XPG3]: Likewise.
8342 * conform/data/varargs.h-data [UNIX98]: Enable file.
8343
355bc986
JM
8344 * manual/Makefile (INSTALL_INFO): Remove variable setting.
8345
215db402
JM
8346 * math/libm-test.inc (struct test_f_f_data): Move expected results
8347 into structure for each rounding mode.
8348 (struct test_ff_f_data): Likewise.
8349 (struct test_ff_f_data_nexttoward): Likewise.
8350 (struct test_fi_f_data): Likewise.
8351 (struct test_fl_f_data): Likewise.
8352 (struct test_if_f_data): Likewise.
8353 (struct test_fff_f_data): Likewise.
8354 (struct test_c_f_data): Likewise.
8355 (struct test_f_f1_data): Likewise.
8356 (struct test_fF_f1_data): Likewise.
8357 (struct test_ffI_f1_data): Likewise.
8358 (struct test_c_c_data): Likewise.
8359 (struct test_cc_c_data): Likewise.
8360 (struct test_f_i_data): Likewise.
8361 (struct test_ff_i_data): Likewise.
8362 (struct test_f_l_data): Likewise.
8363 (struct test_f_L_data): Likewise.
8364 (struct test_fFF_11_data): Likewise.
8365 (RM_): New macro.
8366 (RM_FE_DOWNWARD): Likewise.
8367 (RM_FE_TONEAREST): Likewise.
8368 (RM_FE_TOWARDZERO): Likewise.
8369 (RM_FE_UPWARD): Likewise.
8370 (RUN_TEST_LOOP_f_f): Update references to expected results.
8371 (RUN_TEST_LOOP_2_f): Likewise.
8372 (RUN_TEST_LOOP_fff_f): Likewise.
8373 (RUN_TEST_LOOP_c_f): Likewise.
8374 (RUN_TEST_LOOP_f_f1): Likewise.
8375 (RUN_TEST_LOOP_fF_f1): Likewise.
8376 (RUN_TEST_LOOP_fI_f1): Likewise.
8377 (RUN_TEST_LOOP_ffI_f1): Likewise.
8378 (RUN_TEST_LOOP_c_c): Likewise.
8379 (RUN_TEST_LOOP_cc_c): Likewise.
8380 (RUN_TEST_LOOP_f_i): Likewise.
8381 (RUN_TEST_LOOP_f_i_tg): Likewise.
8382 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8383 (RUN_TEST_LOOP_f_b): Likewise.
8384 (RUN_TEST_LOOP_f_b_tg): Likewise.
8385 (RUN_TEST_LOOP_f_l): Likewise.
8386 (RUN_TEST_LOOP_f_L): Likewise.
8387 (RUN_TEST_LOOP_fFF_11): Likewise.
8388 * math/gen-libm-test.pl (parse_args): Output four copies of
8389 expected results for each test.
8390
67737b8f
JM
8391 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8392 (__ASSUME_UTIMES): Remove.
8393 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8394 (__ASSUME_UTIMES): Likewise.
8395
aa97dee1
JM
8396 * math/gen-auto-libm-tests.c: Update comment on output format.
8397 (output_for_one_input_case): Generate before-rounding and
8398 after-rounding information as conditions on output flags not
8399 floating-point format.
8400 * math/auto-libm-test-out: Regenerated.
8401 * math/gen-libm-test.pl (cond_value): New function.
8402 (or_cond_value): Use cond_value.
8403 (generate_testfile): Handle conditional exceptions.
8404
e6b6a857
JM
84052014-03-05 Joseph Myers <joseph@codesourcery.com>
8406
2f0a0f44
JM
8407 * math/libm-test.inc (max_valid_error): New variable.
8408 (init_max_error): Take new argument specifying whether function
8409 results are exactly determined. Set max_valid_error and bound
8410 other variables for errors based on this argument.
8411 (set_max_error): Do not record results above max_valid_error.
8412 (check_float_internal): Only accept errors of up to 0.5ulps if
8413 also at most max_valid_error.
8414 (START): Take new argument EXACT and pass it to init_max_error.
8415 (acos_test): Update call to START.
8416 (acos_test_tonearest): Likewise.
8417 (acos_test_towardzero): Likewise.
8418 (acos_test_downward): Likewise.
8419 (acos_test_upward): Likewise.
8420 (acosh_test): Likewise.
8421 (asin_test): Likewise.
8422 (asin_test_tonearest): Likewise.
8423 (asin_test_towardzero): Likewise.
8424 (asin_test_downward): Likewise.
8425 (asin_test_upward): Likewise.
8426 (asinh_test): Likewise.
8427 (atan_test): Likewise.
8428 (atanh_test): Likewise.
8429 (atan2_test): Likewise.
8430 (cabs_test): Likewise.
8431 (cacos_test): Likewise.
8432 (cacosh_test): Likewise.
8433 (carg_test): Likewise.
8434 (casin_test): Likewise.
8435 (casinh_test): Likewise.
8436 (catan_test): Likewise.
8437 (catanh_test): Likewise.
8438 (cbrt_test): Likewise.
8439 (ccos_test): Likewise.
8440 (ccosh_test): Likewise.
8441 (ceil_test): Likewise.
8442 (cexp_test): Likewise.
8443 (cimag_test): Likewise.
8444 (clog_test): Likewise.
8445 (clog10_test): Likewise.
8446 (conj_test): Likewise.
8447 (copysign_test): Likewise.
8448 (cos_test): Likewise.
8449 (cos_test_tonearest): Likewise.
8450 (cos_test_towardzero): Likewise.
8451 (cos_test_downward): Likewise.
8452 (cos_test_upward): Likewise.
8453 (cosh_test): Likewise.
8454 (cosh_test_tonearest): Likewise.
8455 (cosh_test_towardzero): Likewise.
8456 (cosh_test_downward): Likewise.
8457 (cosh_test_upward): Likewise.
8458 (cpow_test): Likewise.
8459 (cproj_test): Likewise.
8460 (creal_test): Likewise.
8461 (csin_test): Likewise.
8462 (csinh_test): Likewise.
8463 (csqrt_test): Likewise.
8464 (ctan_test): Likewise.
8465 (ctan_test_tonearest): Likewise.
8466 (ctan_test_towardzero): Likewise.
8467 (ctan_test_downward): Likewise.
8468 (ctan_test_upward): Likewise.
8469 (ctanh_test): Likewise.
8470 (ctanh_test_tonearest): Likewise.
8471 (ctanh_test_towardzero): Likewise.
8472 (ctanh_test_downward): Likewise.
8473 (ctanh_test_upward): Likewise.
8474 (erf_test): Likewise.
8475 (erfc_test): Likewise.
8476 (exp_test): Likewise.
8477 (exp_test_tonearest): Likewise.
8478 (exp_test_towardzero): Likewise.
8479 (exp_test_downward): Likewise.
8480 (exp_test_upward): Likewise.
8481 (exp10_test): Likewise.
8482 (exp10_test_tonearest): Likewise.
8483 (exp10_test_towardzero): Likewise.
8484 (exp10_test_downward): Likewise.
8485 (exp10_test_upward): Likewise.
8486 (pow10_test): Likewise.
8487 (exp2_test): Likewise.
8488 (expm1_test): Likewise.
8489 (expm1_test_tonearest): Likewise.
8490 (expm1_test_towardzero): Likewise.
8491 (expm1_test_downward): Likewise.
8492 (expm1_test_upward): Likewise.
8493 (fabs_test): Likewise.
8494 (fdim_test): Likewise.
8495 (floor_test): Likewise.
8496 (fma_test): Likewise.
8497 (fma_test_towardzero): Likewise.
8498 (fma_test_downward): Likewise.
8499 (fma_test_upward): Likewise.
8500 (fmax_test): Likewise.
8501 (fmin_test): Likewise.
8502 (fmod_test): Likewise.
8503 (fpclassify_test): Likewise.
8504 (frexp_test): Likewise.
8505 (hypot_test): Likewise.
8506 (ilogb_test): Likewise.
8507 (isfinite_test): Likewise.
8508 (finite_test): Likewise.
8509 (isgreater_test): Likewise.
8510 (isgreaterequal_test): Likewise.
8511 (isinf_test): Likewise.
8512 (isless_test): Likewise.
8513 (islessequal_test): Likewise.
8514 (islessgreater_test): Likewise.
8515 (isnan_test): Likewise.
8516 (isnormal_test): Likewise.
8517 (issignaling_test): Likewise.
8518 (isunordered_test): Likewise.
8519 (j0_test): Likewise.
8520 (j1_test): Likewise.
8521 (jn_test): Likewise.
8522 (ldexp_test): Likewise.
8523 (lgamma_test): Likewise.
8524 (gamma_test): Likewise.
8525 (lrint_test): Likewise.
8526 (lrint_test_tonearest): Likewise.
8527 (lrint_test_towardzero): Likewise.
8528 (lrint_test_downward): Likewise.
8529 (lrint_test_upward): Likewise.
8530 (llrint_test): Likewise.
8531 (llrint_test_tonearest): Likewise.
8532 (llrint_test_towardzero): Likewise.
8533 (llrint_test_downward): Likewise.
8534 (llrint_test_upward): Likewise.
8535 (log_test): Likewise.
8536 (log10_test): Likewise.
8537 (log1p_test): Likewise.
8538 (log2_test): Likewise.
8539 (logb_test): Likewise.
8540 (logb_test_downward): Likewise.
8541 (lround_test): Likewise.
8542 (llround_test): Likewise.
8543 (modf_test): Likewise.
8544 (nearbyint_test): Likewise.
8545 (nextafter_test): Likewise.
8546 (nexttoward_test): Likewise.
8547 (pow_test): Likewise.
8548 (pow_test_tonearest): Likewise.
8549 (pow_test_towardzero): Likewise.
8550 (pow_test_downward): Likewise.
8551 (pow_test_upward): Likewise.
8552 (remainder_test): Likewise.
8553 (drem_test): Likewise.
8554 (remainder_test_tonearest): Likewise.
8555 (drem_test_tonearest): Likewise.
8556 (remainder_test_towardzero): Likewise.
8557 (drem_test_towardzero): Likewise.
8558 (remainder_test_downward): Likewise.
8559 (drem_test_downward): Likewise.
8560 (remainder_test_upward): Likewise.
8561 (drem_test_upward): Likewise.
8562 (remquo_test): Likewise.
8563 (rint_test): Likewise.
8564 (rint_test_tonearest): Likewise.
8565 (rint_test_towardzero): Likewise.
8566 (rint_test_downward): Likewise.
8567 (rint_test_upward): Likewise.
8568 (round_test): Likewise.
8569 (scalb_test): Likewise.
8570 (scalbn_test): Likewise.
8571 (scalbln_test): Likewise.
8572 (signbit_test): Likewise.
8573 (sin_test): Likewise.
8574 (sin_test_tonearest): Likewise.
8575 (sin_test_towardzero): Likewise.
8576 (sin_test_downward): Likewise.
8577 (sin_test_upward): Likewise.
8578 (sincos_test): Likewise.
8579 (sinh_test): Likewise.
8580 (sinh_test_tonearest): Likewise.
8581 (sinh_test_towardzero): Likewise.
8582 (sinh_test_downward): Likewise.
8583 (sinh_test_upward): Likewise.
8584 (sqrt_test): Likewise.
8585 (sqrt_test_tonearest): Likewise.
8586 (sqrt_test_towardzero): Likewise.
8587 (sqrt_test_downward): Likewise.
8588 (sqrt_test_upward): Likewise.
8589 (tan_test): Likewise.
8590 (tan_test_tonearest): Likewise.
8591 (tan_test_towardzero): Likewise.
8592 (tan_test_downward): Likewise.
8593 (tan_test_upward): Likewise.
8594 (tanh_test): Likewise.
8595 (tgamma_test): Likewise.
8596 (trunc_test): Likewise.
8597 (y0_test): Likewise.
8598 (y1_test): Likewise.
8599 (yn_test): Likewise.
8600 (significand_test): Likewise.
8601
e6b6a857
JM
8602 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
8603 individual tests in comment.
8604 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
8605 (prev_max_error): New variable.
8606 (prev_real_max_error): Likewise.
8607 (prev_imag_max_error): Likewise.
8608 (compare_ulp_data): Don't refer to test names in comment.
8609 (find_test_ulps): Remove function.
8610 (find_function_ulps): Likewise.
8611 (find_complex_function_ulps): Likewise.
8612 (init_max_error): Take function name as argument. Look up ulps
8613 for that function.
8614 (print_ulps): Remove function.
8615 (print_max_error): Use prev_max_error instead of calling
8616 find_function_ulps.
8617 (print_complex_max_error): Use prev_real_max_error and
8618 prev_imag_max_error instead of calling find_complex_function_ulps.
8619 (check_float_internal): Take max_ulp parameter instead of calling
8620 find_test_ulps. Don't call print_ulps.
8621 (check_float): Update call to check_float_internal.
8622 (check_complex): Update calls to check_float_internal.
8623 (START): Pass argument to init_max_error.
8624 * math/gen-libm-test.pl (%results): Don't include "kind"
8625 information.
8626 (parse_ulps): Don't handle ulps of individual tests.
8627 (print_ulps_file): Likewise.
8628 (output_ulps): Likewise.
8629 * math/README.libm-test: Update.
8630 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
8631 individual tests.
8632 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
8633 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
8634 * sysdeps/arm/libm-test-ulps: Likewise.
8635 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
8636 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
8637 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
8638 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
8639 * sysdeps/microblaze/libm-test-ulps: Likewise.
8640 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8641 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8642 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8643 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8644 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8645 * sysdeps/sh/libm-test-ulps: Likewise.
8646 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8647 * sysdeps/tile/libm-test-ulps: Likewise.
8648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8649
45adef3c
JM
86502014-03-04 Joseph Myers <joseph@codesourcery.com>
8651
8652 * math/libm-test.inc (print_complex_max_error): Check separately
8653 whether real and imaginary errors are within allowed range and
8654 pass 0 to print_complex_function_ulps instead of value within
8655 allowed range.
8656
000232b9
SP
86572014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8658
d4b17258
SP
8659 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
8660 formatting.
8661 (get_handles_fopen): Likewise.
8662 (do_write_test): Likewise.
8663
091eff71
SP
8664 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
8665
fa3cd248
SP
8666 * libio/fileops.c (do_ftell): Use cached offset when
8667 available.
8668 * libio/iofwide.c (do_ftell_wide): Likewise.
8669 * libio/iofdopen.c (_IO_new_fdopen): Don't use
8670 _IO_file_attach.
8671 * libio/wfileops.c (_IO_fwide): Don't cache offset.
8672
000232b9
SP
8673 [BZ #16532]
8674 * libio/libioP.h (get_file_offset): New function.
8675 * libio/fileops.c (get_file_offset): Likewise.
8676 (do_ftell): Likewise.
8677 (_IO_new_file_seekoff): Split out ftell logic.
8678 * libio/wfileops.c (do_ftell_wide): Likewise.
8679 (_IO_wfile_seekoff): Split out ftell logic.
8680 * libio/tst-ftell-active-handler.c: New test case.
8681 * libio/Makefile (tests): Add it.
8682
116f4d1a
RM
86832014-03-03 Roland McGrath <roland@hack.frob.com>
8684
8685 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
8686 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
8687
532a6035
SP
86882014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8689
8690 [BZ #16639]
8691 * nscd/connections.c (nscd_init): Call do_exit.
8692 (start_threads): Call do_exit and notify_parent.
8693 (begin_drop_privileges): Call do_exit.
8694 (finish_drop_privileges): Likewise.
8695 * nscd/selinux.c (preserve_capabilities): Likewise.
8696 (install_real_capabilities): Likewise.
8697 (nscd_selinux_enabled): Likewise.
8698 (avc_create_thread): Likewise.
8699 (avc_alloc_lock): Likewise.
8700 (nscd_avc_init): Likewise.
8701 * nscd/nscd.c (parent_fd): New static variable.
8702 (main): Create a pipe between parent and child processes.
8703 Skip closing parent_fd.
8704 (monitor_child): New function.
8705 (do_exit): Likewise.
8706 (notify_parent): Likewise.
8707 * nscd/nscd.h (notify_parent): Likewise.
8708 (do_exit): Likewise.
8709
d6285c9f
CD
87102014-03-03 Carlos O'Donell <carlos@redhat.com>
8711
8712 * malloc/malloc.c (__libc_calloc): Revert last change.
8713
2b85d2a0
AZ
87142014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8715
8716 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8717
c7debbdf
RS
87182014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8719
8720 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
8721 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
8722 implementation.
8723 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8724 (__libc_ifunc_impl_list): Likewise.
8725 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
8726 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
8727 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
8728 * string/strrchr.c: Define STRRCHR.
8729
235eed86
OB
87302014-02-28 Ondřej Bílka <neleai@seznam.cz>
8731
8732 * benchtest/bench-strtok.c (simple_strtok): Delete.
8733 (strtok_string): Use as benchmark.
8734 * string/strtok (STRTOK): New macro.
8735
8e25d1e7
CD
87362014-02-28 Carlos O'Donell <carlos@redhat.com>
8737
ef563f92
CD
8738 * manual/threads.texi: Add header and standard comments to all
8739 functions.
8740
8e25d1e7
CD
8741 * elf/dl-lookup.c (check_match): New function.
8742 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
8743 (do_lookup_x): Remove nested function check_match. Use non-nested
8744 function check_match.
8745
ff71cc37
RM
87462014-02-28 Roland McGrath <roland@hack.frob.com>
8747
f08e9a26
RM
8748 * csu/Makefile (generated, before-compile): Use += rather than =.
8749 * catgets/Makefile (generated, generated-dirs): Likewise.
8750 * debug/Makefile (generated): Likewise.
8751 * dlfcn/Makefile (generated): Likewise.
8752 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
8753 * iconvdata/Makefile (before-compile, generated): Likewise.
8754 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
8755 * libio/Makefile (generated): Likewise.
8756 * malloc/Makefile (generated): Likewise.
8757 * manual/Makefile (generated, generated-dirs): Likewise.
8758 * misc/Makefile (generated): Likewise.
8759 * posix/Makefile (generated): Likewise.
8760 * resolv/Makefile (generated): Likewise.
8761 * sunrpc/Makefile (generated, generated-dirs): Likewise.
8762 * timezone/Makefile (generated, generated-dirs): Likewise.
8763
ff71cc37
RM
8764 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
8765
fe13a20c
AZ
87662014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8767
57f41c40
AS
8768 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8769 power8 implementation.
8770 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
8771 file: POWER8 llround ifunc implementation.
8772 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
8773 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
8774 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
8775 POWER8 llround implementation.
8776
57f41c40
AS
8777 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
8778 power8 implementation.
8779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
8780 file: POWER8 llrint ifunc implementation.
8781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
8782 Add POWER8 implementation.
1ad8950a
AZ
8783 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
8784 POWER8 llrint implementation.
8785
57f41c40
AS
8786 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
8787 power8 implementation.
8788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
8789 file: POWER8 finite ifunc implementation.
8790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
8791 Add POWER8 implementation.
cac626d6
AZ
8792 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
8793 Likewise.
8794 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
8795 POWER8 finite implementation.
8796 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
8797
57f41c40
AS
8798 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
8799 power8 implementation.
8800 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
8801 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
8802 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
8803 POWER8 implementation.
8804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
8805 Likewise.
57f41c40
AS
8806 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
8807 isinf implementation.
4393fc11
AZ
8808 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
8809
57f41c40
AS
8810 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
8811 (INIT_ARCH): Add hwcap2 initialization.
8812 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8813 power8 implementation.
8814 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
8815 file: POWER8 isnan ifunc implementation.
487972ae
AZ
8816 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
8817 POWER8 implementation.
8818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
8819 Likewise.
57f41c40
AS
8820 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
8821 isnan implementation.
487972ae
AZ
8822 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
8823
7d92b787
JY
88242014-02-27 Joey Ye <joey.ye@arm.com>
8825
8826 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8827 (_FP_NANFRAC_Q): Set to zero.
8828
1cadc858
SP
88292014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8830
8831 [BZ #16623]
8832 * math/auto-libm-test-in: New test inputs.
8833 * math/auto-libm-test-out: Regenerate.
8834 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
8835 and DA.
8836 (__cos): Likewise.
8837 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8838
f8c17e79
JM
88392014-02-27 Joseph Myers <joseph@codesourcery.com>
8840
8841 * scripts/evaluate-test.sh: Take new argument indicating whether
8842 failure is expected.
8843 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
8844 indicating whether failure is expected.
8845 * conform/Makefile (test-xfail-run-conformtest): New variable.
8846 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
8847 level.
8848 * posix/Makefile (test-xfail-annexc): New variable.
8849 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
8850
a5f891ac
JM
88512014-02-26 Joseph Myers <joseph@codesourcery.com>
8852
8853 * argp/Makefile: Include Makeconfig immediately after defining
8854 subdir.
8855 * assert/Makefile: Likewise.
8856 * benchtests/Makefile: Likewise.
8857 * catgets/Makefile: Likewise.
8858 * conform/Makefile: Likewise.
8859 * crypt/Makefile: Likewise.
8860 * csu/Makefile: Likewise.
8861 (all): Remove target.
8862 * ctype/Makefile: Include Makeconfig immediately after defining
8863 subdir.
8864 * debug/Makefile: Likewise.
8865 * dirent/Makefile: Likewise.
8866 * dlfcn/Makefile: Likewise.
8867 * gmon/Makefile: Likewise.
8868 * gnulib/Makefile: Likewise.
8869 * grp/Makefile: Likewise.
8870 * gshadow/Makefile: Likewise.
8871 * hesiod/Makefile: Likewise.
8872 * hurd/Makefile: Likewise.
8873 (all): Remove target.
8874 * iconvdata/Makefile: Include Makeconfig immediately after
8875 defining subdir.
8876 * inet/Makefile: Likewise.
8877 * intl/Makefile: Likewise.
8878 * io/Makefile: Likewise.
8879 * libio/Makefile: Likewise.
8880 (all): Remove target.
8881 * locale/Makefile: Include Makeconfig immediately after defining
8882 subdir.
8883 * login/Makefile: Likewise.
8884 * mach/Makefile: Likewise.
8885 (all): Remove target.
8886 * malloc/Makefile: Include Makeconfig immediately after defining
8887 subdir.
8888 (all): Remove target.
8889 * manual/Makefile: Include Makeconfig immediately after defining
8890 subdir.
8891 * math/Makefile: Likewise.
8892 * misc/Makefile: Likewise.
8893 * nis/Makefile: Likewise.
8894 * nss/Makefile: Likewise.
8895 * po/Makefile: Likewise.
8896 (all): Remove target.
8897 * posix/Makefile: Include Makeconfig immediately after defining
8898 subdir.
8899 * pwd/Makefile: Likewise.
8900 * resolv/Makefile: Likewise.
8901 * resource/Makefile: Likewise.
8902 * rt/Makefile: Likewise.
8903 * setjmp/Makefile: Likewise.
8904 * shadow/Makefile: Likewise.
8905 * signal/Makefile: Likewise.
8906 * socket/Makefile: Likewise.
8907 * soft-fp/Makefile: Likewise.
8908 * stdio-common/Makefile: Likewise.
8909 * stdlib/Makefile: Likewise.
8910 * streams/Makefile: Likewise.
8911 * string/Makefile: Likewise.
8912 * sunrpc/Makefile: Likewise.
8913 (all): Remove target.
8914 * sysvipc/Makefile: Include Makeconfig immediately after defining
8915 subdir.
8916 * termios/Makefile: Likewise.
8917 * time/Makefile: Likewise.
8918 * timezone/Makefile: Likewise.
8919 (all): Remove target.
8920 * wcsmbs/Makefile: Include Makeconfig immediately after defining
8921 subdir.
8922 * wctype/Makefile: Likewise.
8923
5b456e9d
SE
89242014-02-26 Steve Ellcey <sellcey@mips.com>
8925
8926 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
8927 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
8928 (libc_feholdexcept_setround_mips): Ditto.
8929 (libc_feholdsetround): New.
8930 (libc_feholdsetroundf): New.
8931 (libc_feholdsetroundl): New.
8932 (libc_feupdateenv_test_mips): New.
8933 (libc_feupdateenv_test): New.
8934 (libc_feupdateenv_testf): New.
8935 (libc_feupdateenv_testl): New.
8936 (libc_feresetround): New.
8937 (libc_feresetroundf): New.
8938 (libc_feresetroundl): New.
8939 (libc_fetestexcept_mips): New.
8940 (libc_fetestexcept): New.
8941 (libc_fetestexceptf): New.
8942 (libc_fetestexceptl): New.
8943 (HAVE_RM_CTX): New.
8944 (libc_feholdexcept_setround_mips_ctx): New.
8945 (libc_feholdexcept_setround_ctx): New.
8946 (libc_feholdexcept_setroundf_ctx): New.
8947 (libc_feholdexcept_setroundl_ctx): New.
8948 (libc_fesetenv_mips_ctx): New.
8949 (libc_fesetenv_ctx): New.
8950 (libc_fesetenv_ctxf): New.
8951 (libc_fesetenv_ctxl): New.
8952 (libc_feupdateenv_mips_ctx): New.
8953 (libc_feupdateenv_ctx): New.
8954 (libc_feupdateenvf_ctx): New.
8955 (libc_feupdateenvl_ctx): New.
8956 (libc_feholdsetround_mips_ctx): New.
8957 (libc_feholdsetround_ctx): New.
8958 (libc_feholdsetroundf_ctx): New.
8959 (libc_feholdsetroundl_ctx): New.
8960 (libc_feresetround_mips_ctx): New.
8961 (libc_feresetround_ctx): New.
8962 (libc_feresetroundf_ctx): New.
8963 (libc_feresetroundl_ctx): New.
8964
085d0e35
CD
89652014-02-26 Carlos O'Donell <carlos@redhat.com>
8966
f067bf1f
CD
8967 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
8968
085d0e35
CD
8969 * manual/ipc.texi: New file.
8970 * manual/Makefile (chapters): Add ipc.
8971 * manual/job.texi: Add "Inter-Process Communication" to next.
8972 * manual/process.texi: Add "Inter-Process Communication" to prev.
8973
86e58c08
AZ
89742014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8975
8976 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8977
4248f0da
OB
89782014-02-26 Ondřej Bílka <neleai@seznam.cz>
8979
8980 * malloc/malloc.c (__libc_calloc): Simplify implementation.
8981
cf822e3c
OB
8982 * manual/arith.texi: Fix spaces after sentences.
8983 * manual/charset.texi: Likewise.
8984 * manual/errno.texi: Likewise.
8985 * manual/install.texi: Likewise.
8986 * manual/llio.texi: Likewise.
8987 * manual/locale.texi: Likewise.
8988 * manual/maint.texi: Likewise.
8989 * manual/math.texi: Likewise.
8990 * manual/memory.texi: Likewise.
8991 * manual/message.texi: Likewise.
8992 * manual/probes.texi: Likewise.
8993 * manual/resource.texi: Likewise.
8994 * manual/signal.texi: Likewise.
8995 * manual/socket.texi: Likewise.
8996 * manual/stdio.texi: Likewise.
8997 * manual/string.texi: Likewise.
8998 * manual/time.texi: Likewise.
8999 * manual/users.texi: Likewise.
9000
ade40b10
CD
90012014-02-25 Carlos O'Donell <carlos@redhat.com>
9002
9003 [BZ #16632]
9004 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
9005 _DEFAULT_SOURCE is defined.
9006
d0503676
CD
90072014-02-25 Ulrich Drepper <drepper@gmail.com>
9008 Carlos O'Donell <carlos@redhat.com>
9009
9010 [BZ #16613]
9011 * elf/dl-tls.c (_dl_count_modids): New function.
9012 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
9013 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
9014 audit library and increment generation counter.
9015 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
9016 * elf/tst-audit9.c: New file.
9017 * elf/tst-auditmod9a.c: New file.
9018 * elf/tst-auditmod9b.c: New file.
9019 * elf/Makefile: Add rules to build and run tst-audit9.
9020
4cbf380c
FW
90212014-02-25 Florian Weimer <fweimer@redhat.com>
9022
9023 [BZ #15347]
9024 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
9025
80a56cc3
WN
90262014-02-25 Will Newton <will.newton@linaro.org>
9027
9028 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
9029 (__longjmp): Restore sp and lr before restoring callee
9030 saved registers. Add longjmp and longjmp_target
9031 SystemTap probe point.
9032 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
9033 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
9034 Define to zero to match jmpbuf layout.
9035 * sysdeps/arm/setjmp.S: Include stap-probe.h.
9036 (__sigsetjmp): Save sp and lr before saving callee
9037 saved registers. Add setjmp SystemTap probe point.
9038
3ea0f74e
SL
90392014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
9040
9041 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9042
b04acb26
AS
90432014-02-24 Andreas Schwab <schwab@suse.de>
9044
9045 [BZ #15804]
9046 * elf/pldd.c (wait_for_ptrace_stop): New function.
9047 (main): Call it after attaching.
9048
098ad55c
RM
90492014-02-22 Roland McGrath <roland@hack.frob.com>
9050
d4ec6ae1
RM
9051 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
9052 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
9053 Versions files is now verboten.
9054 * hurd/Versions (libc: GLIBC_2.0):
9055 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
9056 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
9057 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
9058 * mach/Versions: Likewise.
9059
098ad55c
RM
9060 * csu/Versions: Remove unused %include.
9061 * resolv/Versions: Likewise.
9062
acd7f096
JM
90632014-02-21 Joseph Myers <joseph@codesourcery.com>
9064
f0881698
JM
9065 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
9066 ($(objpfx)check-local-headers.out): Likewise.
9067 ($(objpfx)begin-end-check.out): Likewise.
9068 * Makerules (check-abi-%.out): Likewise.
9069 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
9070 ($(objpfx)test2.cat): Likewise.
9071 ($(objpfx)de/libc.cat): Likewise.
9072 ($(objpfx)test-gencat.out): Likewise.
9073 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
9074 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
9075 ($(objpfx)noload-mem): Likewise.
9076 ($(objpfx)tst-pathopt.out): Likewise.
9077 ($(objpfx)tst-rtld-load-self.out): Likewise.
9078 ($(objpfx)tst-array1-cmp.out): Likewise.
9079 ($(objpfx)tst-array1-static-cmp.out): Likewise.
9080 ($(objpfx)tst-array2-cmp.out): Likewise.
9081 ($(objpfx)tst-array3-cmp.out): Likewise.
9082 ($(objpfx)tst-array4-cmp.out): Likewise.
9083 ($(objpfx)tst-array5-cmp.out): Likewise.
9084 ($(objpfx)tst-array5-static-cmp.out): Likewise.
9085 ($(objpfx)check-textrel.out): Likewise.
9086 ($(objpfx)check-execstack.out): Likewise.
9087 ($(objpfx)check-localplt.out): Likewise.
9088 ($(objpfx)order2-cmp.out): Likewise.
9089 ($(objpfx)tst-leaks1-mem): Likewise.
9090 ($(objpfx)tst-leaks1-static-mem): Likewise.
9091 ($(objpfx)tst-initorder-cmp.out): Likewise.
9092 ($(objpfx)tst-initorder2-cmp.out): Likewise.
9093 ($(objpfx)tst-unused-dep.out): Likewise.
9094 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
9095 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
9096 * iconv/Makefile (test-iconvconfig): Likewise.
9097 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
9098 ($(objpfx)iconv-test.out): Likewise.
9099 ($(objpfx)tst-tables.out): Likewise.
9100 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
9101 ($(objpfx)tst-gettext.out): Likewise.
9102 ($(objpfx)tst-translit.out): Likewise.
9103 ($(objpfx)tst-gettext2.out): Likewise.
9104 ($(objpfx)tst-gettext4.out): Likewise.
9105 ($(objpfx)tst-gettext6.out): Likewise.
9106 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
9107 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
9108 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
9109 ($(objpfx)tst-fopenloc-mem.out): Likewise.
9110 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
9111 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
9112 * posix/Makefile ($(objpfx)globtest.out): Likewise.
9113 ($(objpfx)wordexp-tst.out): Likewise.
9114 ($(objpfx)annexc.out): Likewise.
9115 ($(objpfx)tst-fnmatch-mem): Likewise.
9116 ($(objpfx)bug-regex2-mem): Likewise.
9117 ($(objpfx)bug-regex14-mem): Likewise.
9118 ($(objpfx)bug-regex21-mem): Likewise.
9119 ($(objpfx)bug-regex31-mem): Likewise.
9120 ($(objpfx)tst-vfork3-mem): Likewise.
9121 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9122 ($(objpfx)tst-pcre-mem): Likewise.
9123 ($(objpfx)tst-boost-mem): Likewise.
9124 ($(objpfx)tst-getconf.out): Likewise.
9125 ($(objpfx)bug-ga2-mem): Likewise.
9126 ($(objpfx)bug-glob2-mem): Likewise.
9127 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
9128 ($(objpfx)mtrace-tst-leaks2): Likewise.
9129 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
9130 ($(objpfx)tst-printf.out): Likewise.
9131 ($(objpfx)tst-setvbuf1.out): Likewise.
9132 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
9133 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
9134 ($(objpfx)tst-fmtmsg.out): Likewise.
9135 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
9136 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
9137
acd7f096
JM
9138 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
9139 * bits/sigaction.h [__USE_MISC]: Likewise.
9140 * bits/waitstatus.h: Update #endif comments.
9141 * ctype/ctype.h: Likewise.
9142 * dirent/dirent.h: Likewise.
9143 [__USE_MISC]: Remove redundant conditionals.
9144 * grp/grp.h: Update #endif comments.
9145 [__USE_GNU]: Remove redundant conditionals.
9146 [__USE_MISC]: Likewise.
9147 * inet/netinet/in.h [__USE_GNU]: Likewise.
9148 * io/sys/stat.h [__USE_MISC]: Likewise.
9149 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
9150 * libio/bits/stdio.h: Update #endif comments.
9151 [__USE_MISC]: Remove redundant conditionals.
9152 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
9153 * libio/stdio.h: Update #endif comments.
9154 [__USE_MISC]: Remove redundant conditionals.
9155 * math/bits/math-finite.h [__USE_MISC]: Likewise.
9156 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
9157 * math/math.h: Update #else and #endif comments.
9158 [__USE_MISC]: Remove redundant conditionals.
9159 * misc/sys/uio.h: Update #endif comments.
9160 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
9161 * posix/glob.h [__USE_MISC]: Likewise.
9162 * posix/sys/types.h: Update #endif comments.
9163 [__USE_MISC]: Remove redundant conditionals.
9164 * posix/sys/wait.h: Update #endif comments.
9165 [__USE_MISC]: Remove redundant conditionals.
9166 * posix/unistd.h: Update #endif comments.
9167 [__USE_MISC]: Remove redundant conditionals.
9168 * pwd/pwd.h [__USE_GNU]: Likewise.
9169 [__USE_MISC]: Likewise.
9170 * resolv/netdb.h [__USE_GNU]: Likewise.
9171 * signal/signal.h: Update #endif comments.
9172 [__USE_MISC]: Remove redundant conditionals.
9173 * stdlib/stdlib.h: Update #else and #endif comments.
9174 [__USE_MISC]: Remove redundant conditionals.
9175 [__USE_GNU]: Likewise.
9176 * string/bits/string2.h [__USE_MISC]: Likewise.
9177 * string/string.h: Update #endif comments.
9178 [__USE_MISC]: Remove redundant conditionals.
9179 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
9180 Likewise.
9181 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
9182 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
9183 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
9184 Likewise.
9185 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
9186 Likewise.
9187 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
9188 comments.
9189 [__USE_MISC]: Remove redundant conditionals.
9190 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
9191 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
9192 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
9193 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
9194 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
9195 Likewise.
9196 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
9197 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
9198 Likewise.
9199 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
9200 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
9201 Likewise.
9202 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
9203 Likewise.
9204 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
9205 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
9206 Likewise.
9207 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
9208 Likewise.
9209 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
9210 * sysdeps/x86/bits/string.h: Update #endif comments.
9211 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
9212 conditionals.
9213 * time/sys/time.h: Update #endif comments.
9214 * time/time.h: Likewise.
9215 [__USE_MISC]: Remove redundant conditionals.
9216
a5d82e4e
YG
92172014-02-21 Yury Gribov <y.gribov@samsung.com>
9218
9219 [BZ #16600]
9220 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
9221
9a80491d
AS
92222014-02-21 Andreas Schwab <schwab@linux-m68k.org>
9223
9224 * Versions.def (librt): Add GLIBC_2.17.
9225
105fa381
AC
92262014-02-21 Adam Conrad <adconrad@0c3.net>
9227
9228 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
9229 synonym for _SYS_AUXV_H to allow direct inclusion.
9230 * sysdeps/sparc/bits/hwcap.h: Likewise.
9231 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
9232 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
9233 * sysdeps/sparc/sysdep.h: Likewise.
9234
b8cd1c4e
SP
92352014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9236
9237 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
9238
bd939d23
RS
92392014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9240
9241 * benchtests/bench-strrchr.c: Print length instead of position.
9242
5d7b57ca
JM
92432014-02-20 Joseph Myers <joseph@codesourcery.com>
9244
bc688c10
JM
9245 [BZ #16611]
9246 * sysdeps/unix/sysv/linux/kernel-features.h
9247 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
9248 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
9249 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
9250 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
9251 Likewise.
9252 [__i386__ || __powerpc__ || __sh__ || __sparc__]
9253 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9254 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
9255 (__ASSUME_SENDMMSG): Define instead of using previous
9256 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
9257 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9258 (__ASSUME_SENDMMSG_SYSCALL): Define.
9259 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9260 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
9261 Likewise.
9262 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9263 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9264 Likewise.
9265 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9266 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9267 Likewise.
9268 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
9269 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9270 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9271 [__ASSUME_SENDMMSG]: Change conditionals to
9272 [__ASSUME_SENDMMSG_SOCKETCALL].
9273 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9274 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
9275 Define.
9276 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9277 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
9278 Likewise.
9279 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
9280 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9281 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9282 [!__ASSUME_SENDMMSG]: Change conditional to
9283 [!__ASSUME_SENDMMSG_SOCKETCALL].
9284 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9285 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9286 Define.
9287
0e31b18c
JM
9288 [BZ #16610]
9289 * sysdeps/unix/sysv/linux/kernel-features.h
9290 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
9291 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
9292 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
9293 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
9294 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9295 [__i386__ || __sparc__]
9296 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9297 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
9298 (__ASSUME_RECVMMSG): Define instead of using previous
9299 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
9300 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9301 (__ASSUME_RECVMMSG_SYSCALL): Define.
9302 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9303 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9304 Likewise.
9305 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9306 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9307 Likewise.
9308 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9309 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9310 Likewise.
9311 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
9312 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9313 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9314 [__ASSUME_RECVMMSG]: Change condition to
9315 [__ASSUME_RECVMMSG_SOCKETCALL].
9316 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9317 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9318 Define.
9319 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9320 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9321 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9322 Likewise.
9323 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
9324 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9325 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9326 [!__ASSUME_RECVMMSG]: Change condition to
9327 [!__ASSUME_RECVMMSG_SOCKETCALL].
9328 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9329 (__ASSUME_RECVMMSG_SYSCALL): Define.
9330
dd481ccf
JM
9331 [BZ #16609]
9332 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
9333 __powerpc__ || __s390__ || __sh__ || __sparc__]
9334 (__ASSUME_SOCKETCALL): Define.
9335 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
9336 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
9337 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
9338 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
9339 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9340 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
9341 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
9342 (__ASSUME_ACCEPT4): Define instead of using previous
9343 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
9344 __powerpc__ || __sparc__ || __s390__)] condition.
9345 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9346 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9347 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
9348 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9349 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9350 [!__ASSUME_ACCEPT4]: Change condition to
9351 [!__ASSUME_ACCEPT4_SOCKETCALL].
9352 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9353 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
9354 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
9355 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9356 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
9357 __ASSUME_ACCEPT4_SYSCALL.
9358 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
9359 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
9360 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9361 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
9362 __ASSUME_ACCEPT4_SYSCALL.
9363 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
9364 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9365 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9366 [__ASSUME_ACCEPT4]: Change condition to
9367 [__ASSUME_ACCEPT4_SOCKETCALL].
9368 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9369 (__ASSUME_SOCKETCALL): Define.
9370 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
9371 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9372 (__ASSUME_SOCKETCALL): Define.
9373 (__ASSUME_ACCEPT4): Remove.
9374 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
9375 Define.
9376 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9377 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
9378 Likewise.
9379 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9380 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9381
5d7b57ca
JM
9382 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
9383 macro.
9384 (HWCAP_ARM_LPAE): Likewise.
9385 (HWCAP_ARM_EVTSTRM): Likewise.
9386 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
9387 Add vpfd32, lpae and evtstrm.
9388 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
9389 Increase to 22.
9390
63689d61
JM
93912014-02-19 Joseph Myers <joseph@codesourcery.com>
9392
9393 * math/auto-libm-test-in: Add tests of clog10.
9394 * math/auto-libm-test-out: Regenerated.
9395 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
9396 * sysdeps/i386/fpu/libm-test-ulps: Update.
9397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9398
ab09bf61
AS
93992014-02-18 Andreas Schwab <schwab@suse.de>
9400
9401 [BZ #16574]
9402 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
9403 Store non-zero if the second buffer was newly allocated.
9404 (send_dg): Likewise.
9405 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
9406 to send_vc and send_dg.
9407 (res_nsend): Pass NULL for ansp2_malloced.
9408 * resolv/res_query.c (__libc_res_nquery): Add parameter
9409 answerp2_malloced and pass it down to __libc_res_nsend.
9410 (res_nquery): Pass additional NULL to __libc_res_nquery.
9411 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
9412 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
9413 second answer buffer if answerp2_malloced was set.
9414 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
9415 (__libc_res_nquerydomain): Add parameter
9416 answerp2_malloced and pass it down to __libc_res_nquery.
9417 (res_nquerydomain): Pass additional NULL to
9418 __libc_res_nquerydomain.
9419 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
9420 additional NULL to __libc_res_nsend and __libc_res_nquery.
9421 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
9422 additional NULL to __libc_res_nsearch.
9423 (_nss_dns_gethostbyname4_r): Revert last change. Use new
9424 parameter of __libc_res_nsearch to check for separately allocated
9425 second buffer.
9426 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
9427 __libc_res_nquery.
9428 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
9429 additional NULL to __libc_res_nquery.
9430 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
9431 __libc_res_nsearch.
9432 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
9433 * include/resolv.h: Update prototypes of __libc_res_nquery,
9434 __libc_res_nsearch, __libc_res_nsend.
9435
a4fb7861
JM
94362014-02-18 Joseph Myers <joseph@codesourcery.com>
9437
c6af2d89
JM
9438 * math/auto-libm-test-in: Add tests of fma.
9439 * math/auto-libm-test-out: Regenerated.
9440 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
9441 (fma_towardzero_test_data): Likewise.
9442 (fma_downward_test_data): Likewise.
9443 (fma_upward_test_data): Likewise.
9444 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
9445 mpc_mode.
9446 (rounding_modes): Add values for new field.
9447 (func_calc_method): Add value mpfr_fff_f.
9448 (func_calc_desc): Add mpfr_fff_f union field.
9449 (test_function): Add field exact_args.
9450 (FUNC): Add macro argument EXACT_ARGS.
9451 (FUNC_mpfr_f_f): Update call to FUNC.
9452 (FUNC_mpfr_f_f): Likewise.
9453 (FUNC_mpfr_ff_f): Likewise.
9454 (FUNC_mpfr_if_f): Likewise.
9455 (FUNC_mpc_c_f): Likewise.
9456 (FUNC_mpc_c_c): Likewise.
9457 (test_functions): Add fma. Update calls to FUNC.
9458 (handle_input_arg): Add argument exact_args.
9459 (add_test): Update call to handle_input_arg.
9460 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
9461 (output_for_one_input_case): Update call to calc_generic_results.
9462 Recalculate exact zero results in each rounding mode.
9463
a4fb7861
JM
9464 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
9465 non-negative before setting low bit.
9466 * math/auto-libm-test-in: Mark one asin test possibly having
9467 spurious underflow.
9468 * math/auto-libm-test-out: Regenerated.
9469 * sysdeps/i386/fpu/libm-test-ulps: Update.
9470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9471
ef114eaf
DH
94722014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
9473
2b7f4f2c
SP
9474 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
9475 * sysdeps/unix/sysv/linux/microblaze: Move directory from
9476 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
9477 * README: Add missing listing for microblaze*-*-linux-gnu.
9478
c70a4b1d
MF
94792014-02-16 Mike Frysinger <vapier@gentoo.org>
9480
9481 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
9482 * sysdeps/unix/sysv/linux/ia64: Move directory from
9483 ports/sysdeps/unix/sysv/linux/ia64.
9484 * README: Update listing for ia64-*-linux-gnu.
9485
591aeaf7
TD
94862014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
9487 Joseph Myers <joseph@codesourcery.com>
9488
9489 * Makeconfig (test-name): New variable.
9490 (evaluate-test): Likewise.
9491 * Makerules (do-test-clean): Remove .test-result files.
9492 (common-mostlyclean): Likewise.
9493 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
9494 * scripts/evaluate-test.sh: New file.
9495
6e89caf1
JM
94962014-02-14 Joseph Myers <joseph@codesourcery.com>
9497
7f98f180
JM
9498 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
9499 separate $(objpfx)tst-fopenloc-cmp.out and
9500 $(objpfx)tst-fopenloc-mem.out targets.
9501 (tests): Update dependencies.
9502 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
9503 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
9504 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
9505 (tst-rxspencer-no-utf8-ARGS): New variable.
9506 (tst-rxspencer-no-utf8-ENV): Likewise.
9507 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
9508 instead of $(objpfx)tst-rxspencer-mem.
9509 ($(objpfx)tst-rxspencer-mem): Change target to
9510 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
9511 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
9512 * posix/tst-rxspencer-no-utf8.c: New file.
9513
6e89caf1
JM
9514 * elf/Makefile ($(objpfx)order.out): Remove rule.
9515 [$(run-built-tests) = yes] (tests): Depend on
9516 $(objpfx)order-cmp.out.
9517 ($(objpfx)order-cmp.out): New rule.
9518 [$(run-built-tests) = yes] (tests): Depend on
9519 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
9520 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
9521 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
9522 $(objpfx)tst-array5-static-cmp.out.
9523 ($(objpfx)tst-array1.out): Remove rule.
9524 ($(objpfx)tst-array1-cmp.out): New rule.
9525 ($(objpfx)tst-array1-static.out): Remove rule.
9526 ($(objpfx)tst-array1-static-cmp.out): New rule.
9527 ($(objpfx)tst-array2.out): Remove rule.
9528 ($(objpfx)tst-array2-cmp.out): New rule.
9529 ($(objpfx)tst-array3.out): Remove rule.
9530 ($(objpfx)tst-array3-cmp.out): New rule.
9531 ($(objpfx)tst-array4.out): Remove rule.
9532 ($(objpfx)tst-array4-cmp.out): New rule.
9533 ($(objpfx)tst-array5.out): Remove rule.
9534 ($(objpfx)tst-array5-cmp.out): New rule.
9535 ($(objpfx)tst-array5-static.out): Remove rule.
9536 ($(objpfx)tst-array5-static-cmp.out): New rule.
9537 [$(run-built-tests) = yes] (tests): Depend on
9538 $(objpfx)order2-cmp.out.
9539 ($(objpfx)order2.out): Remove rule.
9540 ($(objpfx)order2-cmp.out): New rule.
9541 ($(objpfx)tst-initorder.out): Remove rule.
9542 [$(run-built-tests) = yes] (tests): Depend on
9543 $(objpfx)tst-initorder-cmp.out.
9544 ($(objpfx)tst-initorder-cmp.out): New rule.
9545 ($(objpfx)tst-initorder2.out): Remove rule.
9546 [$(run-built-tests) = yes] (tests): Depend on
9547 $(objpfx)tst-initorder2-cmp.out.
9548 ($(objpfx)tst-initorder2-cmp.out): New rule.
9549 [$(run-built-tests) = yes] (tests): Depend on
9550 $(objpfx)tst-unused-dep-cmp.out.
9551 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
9552 ($(objpfx)tst-unused-dep-cmp.out): New rule.
9553 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
9554 on $(objpfx)tst-setvbuf1-cmp.out.
9555 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
9556 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
9557 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
9558 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
9559 ($(objpfx)tst-svc.out): Remove rule.
9560 ($(objpfx)tst-svc-cmp.out): New rule.
9561
ed9a38e2
JM
95622014-02-13 Joseph Myers <joseph@codesourcery.com>
9563
9564 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
9565 * ctype/ctype.h [__USE_MISC]: Likewise.
9566 * dirent/dirent.h [__USE_MISC]: Likewise.
9567 * grp/grp.h [__USE_MISC]: Likewise.
9568 * io/fcntl.h [__USE_MISC]: Likewise.
9569 * io/sys/stat.h [__USE_MISC]: Likewise.
9570 * libio/stdio.h [__USE_MISC]: Likewise.
9571 * posix/unistd.h [__USE_MISC]: Likewise.
9572 * pwd/pwd.h [__USE_MISC]: Likewise.
9573 * stdlib.h [__USE_MISC]: Likewise.
9574 * string/bits/string2.h [__USE_MISC]: Likewise.
9575 * string/string.h [__USE_MISC]: Likewise.
9576 * time/time.h [__USE_MISC]: Likewise.
9577
d6680619
AS
95782014-02-13 Andreas Schwab <schwab@suse.de>
9579
9580 [BZ #16574]
9581 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
9582 second answer buffer if it was separately allocated.
9583
ace614b8
JM
95842014-02-12 Joseph Myers <joseph@codesourcery.com>
9585
743151ae
JM
9586 * sysdeps/mips/math-tests.h: Include <features.h>.
9587 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9588 (ROUNDING_TESTS_long_double): Do not define.
9589 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9590 (EXCEPTION_TESTS_long_double): Likewise.
9591 * sysdeps/mips/mips64/libm-test-ulps: Update.
9592
498afc54
JM
9593 * include/features.h (__USE_BSD): Remove macro definitions.
9594 (__USE_SVID): Likewise.
9595 (_BSD_SOURCE): Likewise.
9596 (_SVID_SOURCE): Likewise.
9597 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
9598 from definition of _DEFAULT_SOURCE.
9599 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
9600 [_DEFAULT_SOURCE].
9601 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
9602 * bits/mman.h [__USE_BSD]: Likewise.
9603 * bits/termios.h [__USE_BSD]: Likewise.
9604 * bits/waitstatus.h [__USE_BSD]: Likewise.
9605 * ctype/ctype.h [__USE_SVID]: Likewise.
9606 * dirent/dirent.h [__USE_BSD]: Likewise.
9607 * grp/grp.h [__USE_SVID]: Likewise.
9608 [__USE_BSD]: Likewise.
9609 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
9610 * io/fcntl.h [__USE_BSD]: Likewise.
9611 * io/ftw.h [__USE_BSD]: Likewise.
9612 * io/sys/stat.h [__USE_BSD]: Likewise.
9613 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
9614 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
9615 * libio/stdio.h [__USE_SVID]: Likewise.
9616 [__USE_BSD]: Likewise.
9617 * math/math.h [__USE_SVID]: Likewise.
9618 [__USE_BSD]: Likewise.
9619 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
9620 * misc/bits/syslog.h [__USE_BSD]: Likewise.
9621 * misc/search.h [__USE_SVID]: Likewise.
9622 * misc/sys/mman.h [__USE_BSD]: Likewise.
9623 * misc/sys/syslog.h [__USE_BSD]: Likewise.
9624 * misc/sys/uio.h [__USE_BSD]: Likewise.
9625 * posix/bits/unistd.h [__USE_BSD]: Likewise.
9626 * posix/glob.h [__USE_BSD]: Likewise.
9627 * posix/regex.h [__USE_BSD]: Likewise.
9628 * posix/sys/types.h [__USE_BSD]: Likewise.
9629 [__USE_SVID]: Likewise.
9630 * posix/sys/utsname.h [__USE_SVID]: Likewise.
9631 * posix/sys/wait.h [__USE_BSD]: Likewise.
9632 [__USE_SVID]: Likewise.
9633 * posix/unistd.h [__USE_BSD]: Likewise.
9634 [__USE_SVID]: Likewise.
9635 * pwd/pwd.h [__USE_SVID]: Likewise.
9636 * resolv/netdb.h [__USE_BSD]: Likewise.
9637 * setjmp/setjmp.h [__USE_BSD]: Likewise.
9638 * signal/signal.h [__USE_BSD]: Likewise.
9639 [__USE_SVID]: Likewise.
9640 * socket/sys/socket.h [__USE_BSD]: Likewise.
9641 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
9642 * stdlib/stdlib.h [__USE_BSD]: Likewise.
9643 [__USE_SVID]: Likewise.
9644 * string/bits/string2.h [__USE_BSD]: Likewise.
9645 [__USE_SVID]: Likewise.
9646 * string/bits/string3.h [__USE_BSD]: Likewise.
9647 * string/endian.h [__USE_BSD]: Likewise.
9648 * string/string.h [__USE_SVID]: Likewise.
9649 [__USE_BSD]: Likewise.
9650 * string/strings.h [__USE_BSD]: Likewise.
9651 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
9652 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
9653 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
9654 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
9655 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
9656 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
9657 Likewise.
9658 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
9659 Likewise.
9660 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
9661 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
9662 Likewise.
9663 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
9664 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
9665 Likewise.
9666 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
9667 Likewise.
9668 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
9669 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
9670 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
9671 Likewise.
9672 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
9673 Likewise.
9674 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
9675 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
9676 * termios/termios.h [__USE_BSD]: Likewise.
9677 * time/sys/time.h [__USE_BSD]: Likewise.
9678 * time/time.h [__USE_BSD]: Likewise.
9679 [__USE_SVID]: Likewise.
9680
dd7b064c
JM
9681 * Makefile (subdir_targets): Remove subdir_lint.out.
9682
a2c4c199
JM
9683 * stdio-common/Makefile (do-tst-unbputc): Remove target.
9684 (do-tst-printf): Likewise.
9685 (tests): Depend directly on $(objpfx)tst-unbputc.out and
9686 $(objpfx)tst-printf.out.
9687
8756f740
JM
9688 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
9689
1b6dd3f1
JM
9690 * Makerules (check-abi-%): Change target to
9691 $(objpfx)check-abi-%.out.
9692 (check-abi target): Update dependencies.
9693 (check-abi-pattern variable): Redirect output of diff to $@.
9694 (check-abi variable): Likewise.
9695 * elf/Makefile (check-abi): Update dependencies.
9696
ace614b8
JM
9697 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
9698 unused.
9699 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
9700 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
9701 subnormal range.
9702 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
9703 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
9704 value has largest subnormal exponent.
9705 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
9706 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
9707 * sysdeps/aarch64/soft-fp/sfp-machine.h
9708 (_FP_TININESS_AFTER_ROUNDING): New macro.
9709 * sysdeps/alpha/soft-fp/sfp-machine.h
9710 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9711 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9712 Likewise.
9713 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
9714 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9715 * sysdeps/mips/soft-fp/sfp-machine.h
9716 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9717 * sysdeps/powerpc/soft-fp/sfp-machine.h
9718 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9719 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9720 Likewise.
9721 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9722 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9723 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9724 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9725 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9726 Likewise.
9727
fbfdf9cb
DAS
97282014-02-12 Dylan Alex Simon <dylan@dylex.net>
9729
9730 [BZ #16545]
9731 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
9732 model 1.
9733
68b7efaa
RH
97342014-02-12 Richard Henderson <rth@redhat.com>
9735
c70a4b1d 9736 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
9737 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
9738 * sysdeps/unix/sysv/linux/alpha: Move directory from
9739 ports/sysdeps/unix/sysv/linux/alpha.
9740 * README: Update listing for alpha-*-linux-gnu.
9741
cb4a2928
JM
97422014-02-11 Joseph Myers <joseph@codesourcery.com>
9743
c941736c
JM
9744 * include/features.h: Update comment documenting feature test
9745 macros.
9746 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
9747 _DEFAULT_SOURCE.
9748 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
9749 (_SVID_SOURCE): Likewise.
9750 (_DEFAULT_SOURCE): Update description of default features.
9751 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
9752 with _GNU_SOURCE.
9753 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
9754 (S_ISVTX): Likewise.
9755 * manual/math.texi (Mathematical Constants): Likewise.
9756 * manual/signal.texi (Interrupted Primitives): Likewise.
9757 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
9758 * math/test-matherr.c (_SVID_SOURCE): Do not define.
9759 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
9760 Don't refer to _SVID_SOURCE in warning text.
9761
e8d8d7ec
JM
9762 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9763
cb4a2928
JM
9764 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
9765 already defined.
9766 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
9767 * sysdeps/mips/dl-lookup.c: Remove.
9768 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
9769
7e6424e3
AK
97702014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9771
9772 [BZ #16447]
9773 * math/auto-libm-test-in: Add testcase for expl.
9774 * math/auto-libm-test-out: Regenerate.
9775 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
9776 calculation of unsafe.
9777 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
9778
75eff3fe
MS
97792014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
9780
9781 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
9782 * sysdeps/unix/sysv/linux/aarch64: Move directory from
9783 ports/sysdeps/unix/sysv/linux/aarch64.
9784 * README: Update listing for aarch64*-*-linux-gnu.
9785
d35f1e80
WN
97862014-02-11 Will Newton <will.newton@linaro.org>
9787
9788 * manual/probes.texi (Mathematical Function Probes): Use
9789 "triggered" instead of "hit".
9790
7b3436d4
WN
9791 * manual/probes.texi (Internal Probes): Add documentation
9792 of setjmp, longjmp and longjmp_target probes.
9793
b4f12ca3
WN
9794 * include/stap-probe.h: Add comment about probe argument
9795 format.
9796
c13a72b7
WN
9797 * malloc/mtrace.c (attribute_hidden): Remove unused macro
9798 definition. (tr_where, tr_freehook, tr_mallochook,
9799 tr_reallochook, tr_memalignhook): Use ANSI protoype.
9800
195b8165
DM
98012014-02-11 David S. Miller <davem@davemloft.net>
9802
9803 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
9804 processing int_tests.
9805
2ad7600b
JM
98062014-02-10 Joseph Myers <joseph@codesourcery.com>
9807
9808 * sysdeps/mips: Move directory from ports/sysdeps/mips.
9809 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
9810 * sysdeps/unix/sysv/linux/mips: Move directory from
9811 ports/sysdeps/unix/sysv/linux/mips.
9812 * README: Update listing for mips-*-linux-gnu and
9813 mips64-*-linux-gnu.
9814
73588a72
AS
98152014-02-10 Andreas Schwab <schwab@linux-m68k.org>
9816
9817 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
9818 * sysdeps/unix/sysv/linux/m68k: Move directory from
9819 ports/sysdeps/unix/sysv/linux/m68k.
9820 * README: Update listing for m68k-*-linux-gnu.
9821
4372980f
CM
98222014-02-10 Chris Metcalf <cmetcalf@tilera.com>
9823
9824 * sysdeps/tile: Move directory from ports/sysdeps/tile.
9825 * sysdeps/unix/sysv/linux/generic: Move directory from
9826 ports/sysdeps/unix/sysv/linux/generic.
9827 * sysdeps/unix/sysv/linux/tile: Move directory from
9828 ports/sysdeps/unix/sysv/linux/tile.
9829 * README: Update listing for tile*-*-linux-gnu.
9830
a1ffb40e
OB
98312014-02-10 Ondřej Bílka <neleai@seznam.cz>
9832
57f41c40
AS
9833 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
9834 __builtin_expect.
a1ffb40e
OB
9835 * benchtests/bench-memmem.c (simple_memmem): Likewise.
9836 * catgets/open_catalog.c (__open_catalog): Likewise.
9837 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
9838 * debug/confstr_chk.c: Likewise.
9839 * debug/fread_chk.c (__fread_chk): Likewise.
9840 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
9841 * debug/getgroups_chk.c: Likewise.
9842 * debug/mbsnrtowcs_chk.c: Likewise.
9843 * debug/mbsrtowcs_chk.c: Likewise.
9844 * debug/mbstowcs_chk.c: Likewise.
9845 * debug/memcpy_chk.c: Likewise.
9846 * debug/memmove_chk.c: Likewise.
9847 * debug/mempcpy_chk.c: Likewise.
9848 * debug/memset_chk.c: Likewise.
9849 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9850 * debug/strcat_chk.c (__strcat_chk): Likewise.
9851 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
9852 * debug/strncat_chk.c (__strncat_chk): Likewise.
9853 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
9854 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
9855 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
9856 * debug/wcpncpy_chk.c: Likewise.
9857 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9858 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
9859 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
9860 * debug/wcsncpy_chk.c: Likewise.
9861 * debug/wcsnrtombs_chk.c: Likewise.
9862 * debug/wcsrtombs_chk.c: Likewise.
9863 * debug/wcstombs_chk.c: Likewise.
9864 * debug/wmemcpy_chk.c: Likewise.
9865 * debug/wmemmove_chk.c: Likewise.
9866 * debug/wmempcpy_chk.c: Likewise.
9867 * debug/wmemset_chk.c: Likewise.
9868 * dirent/scandirat.c (SCANDIRAT): Likewise.
9869 * dlfcn/dladdr1.c (dladdr1): Likewise.
9870 * dlfcn/dladdr.c (dladdr): Likewise.
9871 * dlfcn/dlclose.c (dlclose_doit): Likewise.
9872 * dlfcn/dlerror.c (__dlerror): Likewise.
9873 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
9874 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
9875 * dlfcn/dlopen.c (dlopen_doit): Likewise.
9876 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
9877 * dlfcn/dlsym.c (dlsym_doit): Likewise.
9878 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
9879 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
9880 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
9881 Likewise.
9882 * elf/dl-conflict.c: Likewise.
9883 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
9884 * elf/dl-dst.h: Likewise.
9885 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
9886 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
9887 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
9888 * elf/dl-init.c (call_init, _dl_init): Likewise.
9889 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
9890 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
9891 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
9892 Likewise.
a1ffb40e
OB
9893 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
9894 Likewise.
9895 * elf/dl-minimal.c (__libc_memalign): Likewise.
9896 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
9897 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9898 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
9899 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
9900 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
9901 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
9902 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
9903 * elf/dl-writev.h (_dl_writev): Likewise.
9904 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
9905 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
9906 (dl_main): Likewise.
a1ffb40e
OB
9907 * elf/setup-vdso.h (setup_vdso): Likewise.
9908 * grp/compat-initgroups.c (compat_call): Likewise.
9909 * grp/fgetgrent.c (fgetgrent): Likewise.
9910 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
9911 * grp/putgrent.c (putgrent): Likewise.
9912 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9913 Likewise.
9914 * hurd/hurdinit.c: Likewise.
9915 * iconvdata/8bit-gap.c (struct): Likewise.
9916 * iconvdata/ansi_x3.110.c : Likewise.
9917 * iconvdata/big5.c : Likewise.
9918 * iconvdata/big5hkscs.c : Likewise.
9919 * iconvdata/cp1255.c: Likewise.
9920 * iconvdata/cp1258.c : Likewise.
9921 * iconvdata/cp932.c : Likewise.
9922 * iconvdata/euc-cn.c: Likewise.
9923 * iconvdata/euc-jisx0213.c : Likewise.
9924 * iconvdata/euc-jp.c: Likewise.
9925 * iconvdata/euc-jp-ms.c : Likewise.
9926 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
9927 * iconvdata/gb18030.c : Likewise.
9928 * iconvdata/gbbig5.c (const): Likewise.
9929 * iconvdata/gbgbk.c: Likewise.
9930 * iconvdata/gbk.c : Likewise.
9931 * iconvdata/ibm1364.c : Likewise.
9932 * iconvdata/ibm930.c : Likewise.
9933 * iconvdata/ibm932.c: Likewise.
9934 * iconvdata/ibm933.c : Likewise.
9935 * iconvdata/ibm935.c : Likewise.
9936 * iconvdata/ibm937.c : Likewise.
9937 * iconvdata/ibm939.c : Likewise.
9938 * iconvdata/ibm943.c: Likewise.
9939 * iconvdata/iso_11548-1.c: Likewise.
9940 * iconvdata/iso-2022-cn.c : Likewise.
9941 * iconvdata/iso-2022-cn-ext.c : Likewise.
9942 * iconvdata/iso-2022-jp-3.c: Likewise.
9943 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
9944 * iconvdata/iso-2022-kr.c : Likewise.
9945 * iconvdata/iso646.c (gconv_end): Likewise.
9946 * iconvdata/iso_6937-2.c : Likewise.
9947 * iconvdata/iso_6937.c : Likewise.
9948 * iconvdata/iso8859-1.c: Likewise.
9949 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
9950 * iconvdata/shift_jisx0213.c : Likewise.
9951 * iconvdata/sjis.c : Likewise.
9952 * iconvdata/t.61.c : Likewise.
9953 * iconvdata/tcvn5712-1.c : Likewise.
9954 * iconvdata/tscii.c: Likewise.
9955 * iconvdata/uhc.c : Likewise.
9956 * iconvdata/unicode.c (gconv_end): Likewise.
9957 * iconvdata/utf-16.c (gconv_end): Likewise.
9958 * iconvdata/utf-32.c (gconv_end): Likewise.
9959 * iconvdata/utf-7.c (base64): Likewise.
9960 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
9961 * iconv/gconv_close.c (__gconv_close): Likewise.
9962 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
9963 * iconv/gconv_simple.c (internal_ucs4_loop_single)
9964 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
9965 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
9966 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
9967 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
9968 * iconv/iconv.c (iconv): Likewise.
9969 * iconv/iconv_close.c: Likewise.
9970 * iconv/loop.c (SINGLE): Likewise.
9971 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
9972 * include/atomic.h: Likewise.
9973 * inet/inet6_option.c (option_alloc): Likewise.
9974 * intl/bindtextdom.c (set_binding_values): Likewise.
9975 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
9976 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
9977 * intl/localealias.c (read_alias_file): Likewise.
9978 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
9979 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
9980 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
9981 * libio/fmemopen.c (fmemopen): Likewise.
9982 * libio/iofgets.c (_IO_fgets): Likewise.
9983 * libio/iofgets_u.c (fgets_unlocked): Likewise.
9984 * libio/iofgetws.c (fgetws): Likewise.
9985 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
9986 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
9987 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
9988 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
9989 * locale/findlocale.c (_nl_find_locale): Likewise.
9990 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
9991 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
9992 Likewise.
9993 * locale/setlocale.c (setlocale): Likewise.
9994 * login/programs/pt_chown.c (main): Likewise.
9995 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
9996 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
9997 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
9998 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
9999 * math/e_exp2l.c: Likewise.
10000 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
10001 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
10002 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
10003 * math/s_catan.c (__catan): Likewise.
10004 * math/s_catanf.c (__catanf): Likewise.
10005 * math/s_catanh.c (__catanh): Likewise.
10006 * math/s_catanhf.c (__catanhf): Likewise.
10007 * math/s_catanhl.c (__catanhl): Likewise.
10008 * math/s_catanl.c (__catanl): Likewise.
10009 * math/s_ccosh.c (__ccosh): Likewise.
10010 * math/s_ccoshf.c (__ccoshf): Likewise.
10011 * math/s_ccoshl.c (__ccoshl): Likewise.
10012 * math/s_cexp.c (__cexp): Likewise.
10013 * math/s_cexpf.c (__cexpf): Likewise.
10014 * math/s_cexpl.c (__cexpl): Likewise.
10015 * math/s_clog10.c (__clog10): Likewise.
10016 * math/s_clog10f.c (__clog10f): Likewise.
10017 * math/s_clog10l.c (__clog10l): Likewise.
10018 * math/s_clog.c (__clog): Likewise.
10019 * math/s_clogf.c (__clogf): Likewise.
10020 * math/s_clogl.c (__clogl): Likewise.
10021 * math/s_csin.c (__csin): Likewise.
10022 * math/s_csinf.c (__csinf): Likewise.
10023 * math/s_csinh.c (__csinh): Likewise.
10024 * math/s_csinhf.c (__csinhf): Likewise.
10025 * math/s_csinhl.c (__csinhl): Likewise.
10026 * math/s_csinl.c (__csinl): Likewise.
10027 * math/s_csqrt.c (__csqrt): Likewise.
10028 * math/s_csqrtf.c (__csqrtf): Likewise.
10029 * math/s_csqrtl.c (__csqrtl): Likewise.
10030 * math/s_ctan.c (__ctan): Likewise.
10031 * math/s_ctanf.c (__ctanf): Likewise.
10032 * math/s_ctanh.c (__ctanh): Likewise.
10033 * math/s_ctanhf.c (__ctanhf): Likewise.
10034 * math/s_ctanhl.c (__ctanhl): Likewise.
10035 * math/s_ctanl.c (__ctanl): Likewise.
10036 * math/w_pow.c: Likewise.
10037 * math/w_powf.c: Likewise.
10038 * math/w_powl.c: Likewise.
10039 * math/w_scalb.c (sysv_scalb): Likewise.
10040 * math/w_scalbf.c (sysv_scalbf): Likewise.
10041 * math/w_scalbl.c (sysv_scalbl): Likewise.
10042 * misc/error.c (error_tail): Likewise.
10043 * misc/pselect.c (__pselect): Likewise.
10044 * nis/nis_callback.c (__nis_create_callback): Likewise.
10045 * nis/nis_call.c (__nisfind_server): Likewise.
10046 * nis/nis_creategroup.c (nis_creategroup): Likewise.
10047 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
10048 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
10049 * nis/nis_getservlist.c (nis_getservlist): Likewise.
10050 * nis/nis_lookup.c (nis_lookup): Likewise.
10051 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
10052 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
10053 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 10054 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
10055 * nis/nss_compat/compat-grp.c (getgrent_next_file)
10056 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
10057 * nis/nss_compat/compat-initgroups.c (add_group)
10058 (internal_getgrent_r): Likewise.
10059 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
10060 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
10061 * nis/nss_compat/compat-spwd.c (getspent_next_file)
10062 (internal_getspnam_r): Likewise.
10063 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
10064 (_nss_nis_getaliasbyname_r): Likewise.
10065 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
10066 (_nss_nis_getntohost_r): Likewise.
10067 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
10068 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
10069 (_nss_nis_getgrgid_r): Likewise.
10070 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
10071 (internal_nis_gethostent_r, internal_gethostbyname2_r)
10072 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
10073 (_nss_nis_gethostbyname4_r): Likewise.
10074 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
10075 (initgroups_netid): Likewise.
a1ffb40e 10076 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
10077 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
10078 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
10079 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
10080 (_nss_nis_getprotobynumber_r): Likewise.
10081 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
10082 (_nss_nis_getsecretkey): Likewise.
10083 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
10084 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
10085 (_nss_nis_getpwuid_r): Likewise.
10086 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
10087 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
10088 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
10089 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
10090 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
10091 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
10092 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
10093 Likewise.
57f41c40
AS
10094 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
10095 (_nss_nisplus_getntohost_r): Likewise.
10096 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
10097 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
10098 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
10099 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 10100 Likewise.
57f41c40
AS
10101 * nis/nss_nisplus/nisplus-initgroups.c
10102 (_nss_nisplus_initgroups_dyn): Likewise.
10103 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
10104 (_nss_nisplus_getnetbyaddr_r): Likewise.
10105 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
10106 (_nss_nisplus_getprotobynumber_r): Likewise.
10107 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
10108 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
10109 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
10110 Likewise.
57f41c40
AS
10111 * nis/nss_nisplus/nisplus-service.c
10112 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
10113 (_nss_nisplus_getservbyport_r): Likewise.
10114 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
10115 (_nss_nisplus_getspnam_r): Likewise.
10116 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
10117 Likewise.
a1ffb40e
OB
10118 * nscd/aicache.c (addhstaiX): Likewise.
10119 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
10120 * nscd/connections.c (register_traced_file, send_ro_fd)
10121 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
10122 (main_loop_epoll): Likewise.
a1ffb40e
OB
10123 * nscd/grpcache.c (addgrbyX): Likewise.
10124 * nscd/hstcache.c (addhstbyX): Likewise.
10125 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10126 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
10127 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
10128 (addinnetgrX): Likewise.
10129 * nscd/nscd-client.h (__nscd_acquire_maplock)
10130 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
10131 * nscd/nscd_getai.c (__nscd_getai): Likewise.
10132 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10133 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
10134 Likewise.
10135 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
10136 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
10137 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
10138 (__nscd_get_map_ref): Likewise.
a1ffb40e 10139 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
10140 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
10141 Likewise.
a1ffb40e
OB
10142 * nscd/pwdcache.c (addpwbyX): Likewise.
10143 * nscd/selinux.c (preserve_capabilities): Likewise.
10144 * nscd/servicescache.c (addservbyX): Likewise.
10145 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
10146 * posix/fnmatch.c (fnmatch): Likewise.
10147 * posix/getopt.c (_getopt_internal_r): Likewise.
10148 * posix/glob.c (glob, glob_in_dir): Likewise.
10149 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
10150 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
10151 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
10152 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
10153 * resolv/res_init.c: Likewise.
10154 * resolv/res_mkquery.c (res_nmkquery): Likewise.
10155 * resolv/res_query.c (__libc_res_nquery): Likewise.
10156 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
10157 Likewise.
10158 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
10159 * stdio-common/perror.c (perror): Likewise.
10160 * stdio-common/printf_fp.c (___printf_fp): Likewise.
10161 * stdio-common/tmpnam.c (tmpnam): Likewise.
10162 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10163 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
10164 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10165 Likewise.
a1ffb40e
OB
10166 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10167 * stdlib/putenv.c (putenv): Likewise.
10168 * stdlib/setenv.c (__add_to_environ): Likewise.
10169 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10170 * stdlib/strtol_l.c (INTERNAL): Likewise.
10171 * string/memmem.c (memmem): Likewise.
10172 * string/strerror.c (strerror): Likewise.
10173 * string/strnlen.c (__strnlen): Likewise.
10174 * string/test-memmem.c (simple_memmem): Likewise.
10175 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
10176 * sunrpc/pm_getport.c (__get_socket): Likewise.
10177 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
10178 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
10179 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
10180 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
10181 Likewise.
10182 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10183 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10184 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
10185 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
10186 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
10187 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
10188 Likewise.
10189 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
10190 Likewise.
a1ffb40e
OB
10191 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
10192 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
10193 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10194 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10195 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10196 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
10197 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10198 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
10199 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
10200 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10201 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10202 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
10203 Likewise.
10204 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
10205 Likewise.
10206 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
10207 Likewise.
10208 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
10209 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10210 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
10211 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
10212 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10213 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
10214 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10215 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
10216 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
10217 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
10218 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
10219 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10220 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10221 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
10222 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
10223 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10224 Likewise.
a1ffb40e
OB
10225 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
10226 Likewise.
10227 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
10228 Likewise.
10229 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
10230 Likewise.
10231 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10232 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10233 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
10234 Likewise.
10235 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
10236 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
10237 * sysdeps/posix/opendir.c (__opendirat): Likewise.
10238 * sysdeps/posix/sleep.c: Likewise.
10239 * sysdeps/posix/tempname.c: Likewise.
10240 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
10241 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10242 Likewise.
57f41c40
AS
10243 * sysdeps/powerpc/powerpc32/dl-machine.h
10244 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
10245 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10246 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10247 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
10248 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
10249 Likewise.
10250 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
10251 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
10252 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10253 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
10254 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
10255 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
10256 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
10257 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
10258 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10259 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
10260 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
10261 (elf_machine_lazy_rel): Likewise.
a1ffb40e 10262 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
10263 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
10264 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
10265 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
10266 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
10267 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
10268 * sysdeps/unix/grantpt.c (grantpt): Likewise.
10269 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
10270 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
10271 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
10272 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10273 Likewise.
10274 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10275 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10276 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
10277 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
10278 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10279 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10280 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
10281 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
10282 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
10283 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10284 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10285 Likewise.
10286 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
10287 (__posix_fallocate64_l64): Likewise.
10288 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
10289 (posix_fallocate): Likewise.
57f41c40
AS
10290 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
10291 Likewise.
a1ffb40e 10292 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
10293 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
10294 (getifaddrs_internal): Likewise.
a1ffb40e
OB
10295 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
10296 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
10297 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10298 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
10299 * sysdeps/unix/sysv/linux/posix_fallocate64.c
10300 (__posix_fallocate64_l64): Likewise.
10301 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
10302 Likewise.
10303 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
10304 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
10305 (__get_clockfreq): Likewise.
a1ffb40e
OB
10306 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
10307 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
10308 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
10309 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10310 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10311 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
10312 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
10313 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
10314 Likewise.
10315 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
10316 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
10317 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
10318 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
10319 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10320 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
10321 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
10322 Likewise.
10323 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10324 (posix_fallocate): Likewise.
10325 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10326 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
10327 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
10328 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
10329 (elf_machine_rela, elf_machine_rela_relative)
10330 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
10331 * time/asctime.c (asctime_internal): Likewise.
10332 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
10333 * time/tzset.c (__tzset_parse_tz): Likewise.
10334 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10335 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
10336 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
10337 * wcsmbs/wcsmbsload.h: Likewise.
10338
f3d338c9
OB
10339 [BZ #15894]
10340 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
10341
57f41c40
AS
10342 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
10343 (arena_get2): Remove THREAD_STATS conditionals.
10344 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
10345 (__malloc_stats, int): Likewise.
bdfe308a 10346
d674667c
MF
103472014-02-08 Mike Frysinger <vapier@gentoo.org>
10348
10349 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
10350 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
10351
6349768c
MF
10352 * manual/setjmp.texi: Fix typos/grammar errors.
10353
0b7c7473
MF
10354 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
10355 Only return early when n is <= 0. Delete unused return statement.
10356
ac8cc9e3
MF
10357 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
10358 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
10359 * debug/tst-longjmp_chk3.c: New file.
10360
c5bb8e23
MF
10361 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
10362 (test_main): Replace code with set_fortify_handler call.
10363 * debug/test-strcpy_chk.c: Likewise.
10364 * debug/tst-chk1.c: Likewise.
10365 * debug/tst-longjmp_chk.c: Likewise.
10366 * test-skeleton.c: Include fcntl.h & paths.h
10367 (set_fortify_handler): Define.
10368
10444e42
MF
10369 * debug/tst-longjmp_chk.c: Add header comment and include
10370 ../test-skeleton.c.
10371 (do_test): Mark static.
10372 (TEST_FUNCTION): Define.
10373
1e805e8d
MF
10374 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
10375 (IP_PMTUDISC_INTERFACE): Likewise.
10376 (IP_MULTICAST_IF): Likewise.
10377 (IP_MULTICAST_TTL): Likewise.
10378 (IP_MULTICAST_LOOP): Likewise.
10379 (IP_ADD_MEMBERSHIP): Likewise.
10380 (IP_DROP_MEMBERSHIP): Likewise.
10381 (IP_UNBLOCK_SOURCE): Likewise.
10382 (IP_BLOCK_SOURCE): Likewise.
10383 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
10384 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
10385 (IP_MSFILTER): Likewise.
10386 (MCAST_JOIN_GROUP): Likewise.
10387 (MCAST_BLOCK_SOURCE): Likewise.
10388 (MCAST_UNBLOCK_SOURCE): Likewise.
10389 (MCAST_LEAVE_GROUP): Likewise.
10390 (MCAST_JOIN_SOURCE_GROUP): Likewise.
10391 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
10392 (MCAST_MSFILTER): Likewise.
10393 (IP_MULTICAST_ALL): Likewise.
10394 (IP_UNICAST_IF): Likewise.
10395
73f79bb7
MF
10396 * timezone/Makefile: Delete $(have-ksh) check.
10397 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
10398 * timezone/tzselect.ksh: Add +x mode bits.
10399
8da79b60
MF
10400 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
10401 (ANON_INODE_FS_MAGIC): Likewise.
10402 (BDEVFS_MAGIC): Likewise.
10403 (BINFMTFS_MAGIC): Likewise.
10404 (BTRFS_TEST_MAGIC): Likewise.
10405 (CRAMFS_MAGIC_WEND): Likewise.
10406 (DEBUGFS_MAGIC): Likewise.
10407 (ECRYPTFS_SUPER_MAGIC): Likewise.
10408 (EXT3_SUPER_MAGIC): Likewise.
10409 (EXT4_SUPER_MAGIC): Likewise.
10410 (FUTEXFS_SUPER_MAGIC): Likewise.
10411 (HOSTFS_SUPER_MAGIC): Likewise.
10412 (HUGETLBFS_MAGIC): Likewise.
10413 (MINIX3_SUPER_MAGIC): Likewise.
10414 (MTD_INODE_FS_MAGIC): Likewise.
10415 (NILFS_SUPER_MAGIC): Likewise.
10416 (OPENPROM_SUPER_MAGIC): Likewise.
10417 (PIPEFS_MAGIC): Likewise.
10418 (PSTOREFS_MAGIC): Likewise.
10419 (QNX6_SUPER_MAGIC): Likewise.
10420 (RAMFS_MAGIC): Likewise.
10421 (REISERFS_SUPER_MAGIC_STRING): Likewise.
10422 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
10423 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
10424 (SECURITYFS_MAGIC): Likewise.
10425 (SELINUX_MAGIC): Likewise.
10426 (SMACK_MAGIC): Likewise.
10427 (SOCKFS_MAGIC): Likewise.
10428 (SQUASHFS_MAGIC): Likewise.
10429 (STACK_END_MAGIC): Likewise.
10430 (TMPFS_MAGIC): Likewise.
10431 (USBDEVICE_SUPER_MAGIC): Likewise.
10432 (V9FS_MAGIC): Likewise.
10433 (XENFS_SUPER_MAGIC): Likewise.
10434 (CRAMFS_MAGIC): Fix typo in comment.
10435 (EXT2_SUPER_MAGIC): Update comment.
10436 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
10437
464263cc
JM
104382014-02-08 Joseph Myers <joseph@codesourcery.com>
10439
c6bfe5c4
JM
10440 * sysdeps/arm: Move directory from ports/sysdeps/arm.
10441 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
10442 * sysdeps/unix/sysv/linux/arm: Move directory from
10443 ports/sysdeps/unix/sysv/linux/arm.
10444 * README: Update listing for arm-*-linux-gnueabi.
10445
464263cc
JM
10446 * README: Remove mention of am33.
10447
32749f6c
RM
104482014-02-07 Roland McGrath <roland@hack.frob.com>
10449
10450 * bits/sigset.h (__sigemptyset): Use a statement expression rather
10451 than the comma operator, to avoid "rhs of comma has no effect"
10452 compiler warnings.
10453 (__sigfillset, __sigandset, __sigorset): Likewise.
10454 * include/signal.h (__sigemptyset): Likewise.
10455 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
10456
d5b396c1
AM
104572014-02-07 Allan McRae <allan@archlinux.org>
10458
10459 * version.h (RELEASE): Set to "development".
10460 (VERSION): Set to "2.19.90"
10461 * NEWS: Add 2.20 section.
10462
3bfff2ed
CD
104632014-02-06 Carlos O'Donell <carlos@redhat.com>
10464
10465 [BZ #16529]
10466 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
10467
ee7cc385
SP
104682014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10469
10470 * manual/contrib.texi: Update entry for Carlos O'Donell,
10471 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
10472
f877c4f2
CD
104732014-02-05 Carlos O'Donell <carlos@rehdat.com>
10474
27e839f6
CD
10475 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
10476
f877c4f2
CD
10477 * sysdeps/unix/sysv/linux/kernel-features.h
10478 [__LINUX_KERNEL_VERSION >= 0x020621]
10479 (__ASSUME_PROC_PID_TASK_COMM): Define.
10480
68159946
SP
104812014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10482
ba17cdbd
SP
10483 [BZ #16398]
10484 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
10485 conversion when destination buffer does not have enough space.
10486 * libio/tst-ftell-partial-wide.c: New test case.
10487 * libio/Makefile (tests): Add tst-ftell-partial-wide.
10488
68159946
SP
10489 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
10490 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
10491 Leonard and Allan McRae.
10492
2b528732
DM
104932014-02-04 David S. Miller <davem@davemloft.net>
10494
10495 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
10496 32-bit.
10497
0ff82463
AZ
104982014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10499
57f41c40
AS
10500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10501 New file
c01603f7
AZ
10502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10503 New file
57f41c40
AS
10504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10505 New file.
10506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10507 New file.
c01603f7
AZ
10508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10509 New file.
57f41c40
AS
10510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10511 New file.
10512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10513 New file.
c01603f7
AZ
10514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10515 New file.
10516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10517 New file.
10518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10519 New file.
10520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10521 New file.
10522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10523 New file.
10524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10525 New file.
10526
105272014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10528
0ff82463
AZ
10529 * nptl/shlib-versions: Change powerpc*le start to 2.17.
10530 * shlib-versions: Likewise.
10531
1695c773
AZ
105322014-02-04 Roland McGrath <roland@hack.frob.com>
10533 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10534
10535 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
10536 (abilist-pattern): New variable, set to %-le.abilist.
10537
10538 * Makerules (abilist-pattern): New variable.
10539 (vpath): Use $(abilist-pattern) in place of %.abilist.
10540 (check-abi-% pattern rule): Likewise.
10541 (check-abi, update-abi): Likewise.
10542
6c0ce4b4
EW
105432014-02-04 Eric Wong <normalperson@yhbt.net>
10544
10545 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10546
481e3524
CD
105472014-02-03 Carlos O'Donell <carlos@redhat.com>
10548
10549 * manual/startup.texi: Add next, previous, and top entries for
10550 the `Program Arguments' and `Environment Variables' nodes.
10551
375592d3
AO
105522014-02-03 Alexandre Oliva <aoliva@redhat.com>
10553
10554 * manual/macros.texi: Add comments before MTASC-safety macros.
10555
f54838ba
AO
10556 * manual/users.texi: Document MTASC-safety properties.
10557
57f41c40
AS
10558 * manual/threads.texi (pthread_key_create, pthread_key_delete)
10559 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
10560 @deftypefun, and add @safety note.
10561 * manual/signal.texi: Move comments that analyze the above
10562 functions to their home place.
10563
fd3daba4
AM
105642014-02-03 Allan McRae <allan@archlinux.org>
10565
10566 * po/sl.po: Update Slovenian translation from translation project.
10567
597636d7
AO
105682014-02-02 Alexandre Oliva <aoliva@redhat.com>
10569
10570 * manual/time.texi (timegm): Add missing blank after @c.
10571 Reported by Joseph Myers <joseph@codesourcery.com>.
10572
ee196e3c
AO
105732014-02-01 Alexandre Oliva <aoliva@redhat.com>
10574
10575 * manual/check-safety.sh: New.
10576 * manual/Makefile ($(objpfx)stamp-summary): Run it.
10577
f8d529d5
AO
10578 * manual/terminal.texi: Document MTASC-safety properties.
10579
de55fdf4
AO
10580 * manual/filesys.texi: Document MTASC-safety properties.
10581
c3299c08
AO
10582 * manual/errno.texi: Document MTASC-safety properties.
10583
06e90b14
AO
10584 * manual/intro.texi: Document safety identifiers and
10585 conditionals.
10586
1acd4371
AO
10587 * manual/string.texi (wcstok): Fix prototype.
10588 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
10589
23e5b8cb
AO
10590 * manual/time.texi: Document MTASC-safety properties.
10591
11087373
AO
10592 * manual/string.texi: Document MTASC-safety properties.
10593
5da2c93d
AO
10594 * manual/threads.texi: Document MTASC-safety properties.
10595
171e9210
AO
10596 * manual/stdio.texi: Document MTASC-safety properties.
10597
d9e02532
AO
10598 * manual/syslog.texi: Document MTASC-safety properties.
10599
6af8bab7
AO
10600 * manual/sysinfo.texi: Document MTASC-safety properties.
10601
663b02d7
AO
10602 * manual/startup.texi: Document MTASC-safety properties.
10603
973f180b
AO
10604 * manual/socket.texi: Document MTASC-safety properties.
10605
8f3c25c8
AO
10606 * manual/signal.texi: Document MTASC-safety properties.
10607
542210fb
AO
106082014-01-31 Alexandre Oliva <aoliva@redhat.com>
10609
10610 * manual/setjmp.texi: Document MTASC-safety properties.
10611
433c45a2
AO
10612 * manual/search.texi: Document MTASC-safety properties.
10613
c8ce789c
AO
10614 * manual/resource.texi: Document MTASC-safety properties.
10615
19f5d29c
AO
10616 * manual/process.texi: Document MTASC-safety properties.
10617
e2dfb7f4
AO
10618 * manual/platform.texi: Document MTASC-safety properties.
10619
8c1413f5
AO
10620 * manual/pipe.texi: Document MTASC-safety properties.
10621
03483ada
AO
10622 * manual/pattern.texi: Document MTASC-safety properties.
10623
29e7e2df
AO
10624 * manual/message.texi: Document MTASC-safety properties.
10625
9f529d7c
AO
10626 [BZ #12751]
10627 * manual/memory.texi: Document MTASC-safety properties.
10628
27aaa791
AO
10629 * manual/math.texi: Document MTASC-safety properties.
10630
f2d58726
AO
10631 * manual/locale.texi: Document MTASC-safety properties.
10632
2cc3615c
AO
10633 * manual/llio.texi: Document MTASC-safety properties.
10634
d9f0ec97
AO
10635 * manual/libdl.texi: New.
10636
e7c4409a
AO
10637 * manual/lang.texi: Document MTASC-safety properties.
10638
27bdc63c
AO
10639 * manual/job.texi: Document MTASC-safety properties.
10640
a7b90ea9
AO
10641 * manual/getopt.texi: Document MTASC-safety properties.
10642
c49130e3
AO
10643 * manual/ctype.texi: Document MTASC-safety properties.
10644
0d23a5c1
MR
106452014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
10646
10647 [BZ #16046]
10648 * csu/libc-tls.c (static_map): Remove variable.
10649 (__libc_setup_tls): Use main executable's link map for TLS data.
10650 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
10651 casing for LM_ID_BASE and GL(dl_nns).
10652 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
10653 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
10654 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
10655 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
10656 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
10657 member.
10658 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
10659 l_phnum members.
10660
0037bb60
AO
106612014-01-30 Alexandre Oliva <aoliva@redhat.com>
10662
10663 * manual/debug.texi: Document MTASC-safety properties.
10664
409e00bd
L
106652014-01-29 H.J. Lu <hongjiu.lu@intel.com>
10666
10667 [BZ #16510]
10668 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
10669 of __x86_64__ when disabling x87 inline functions.
10670
86e60666
AO
106712014-01-29 Alexandre Oliva <aoliva@redhat.com>
10672
10673 * manual/charset.texi: Document MTASC-safety properties.
10674
76167637
AO
10675 * manual/crypt.texi: Document MTASC-safety properties.
10676
e567f2a0
AO
10677 * manual/conf.texi: Document MTASC-safety properties.
10678
b719dafd
AO
10679 * manual/arith.texi: Document MTASC-safety properties.
10680
4a16c662
AO
10681 * manual/argp.texi: Document MTASC-safety properties.
10682
0a57b83e
AO
10683 * manual/macros.texi: Introduce macros to document multi
10684 thread, asynchronous signal and asynchronous cancellation
10685 safety properties.
10686 * manual/intro.texi: Introduce the properties themselves.
10687
feab2397
KK
106882014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10689
10690 * sysdeps/sh/sh4/Makefile: New file.
10691
1c0d11bc
AS
106922014-01-27 Andreas Schwab <schwab@linux-m68k.org>
10693
10694 * math/gen-libm-test.pl ($srcdir): New variable.
10695 ($auto_input): Use it.
10696
af37a8a3
SP
106972014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10698
d7b00f98
SP
10699 [BZ #16506]
10700 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
10701 access beyond array bounds when parsing netgroups file.
10702
af37a8a3
SP
10703 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
10704 the old buffer before realloc.
10705
0c00f062
AM
107062014-01-27 Allan McRae <allan@archlinux.org>
10707
10708 * po/fr.po: Update French translation from translation project.
10709
7d69a1b0
KK
107102014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10711
10712 * sysdeps/sh/libm-test-ulps: Regenerate.
10713
6e697ff7
DM
107142014-01-24 David S. Miller <davem@davemloft.net>
10715
10716 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
10717
9cadb35c
KK
107182014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10719
10720 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
10721 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
10722
5d41dadf
SP
107232013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10724
10725 [BZ #16474]
10726 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
10727 string pointers after reallocation.
10728
0bad441c
KK
107292014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10730
10731 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
10732 __SH4A__ instead of __SH_FPU_ANY__.
10733
7007c661
KK
107342014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10735
10736 * sysdeps/sh/fpu_control.h: New file.
10737 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
10738 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
10739 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
10740 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
10741 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
10742 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
10743 * sysdeps/sh/sys/ucontext.h: Remove.
10744 * sysdeps/sh/sys: Remove directory.
10745
0f0c35e4
AK
107462014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10747
10748 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
10749 s390/sys/ucontext.h.
10750 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
10751 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
10752
4959e284
L
107532014-01-20 H.J. Lu <hongjiu.lu@intel.com>
10754
10755 [BZ #15605]
10756 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
10757
d98720e0
AZ
107582014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10759
10760 [BZ#16431]
10761 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10762 Adjust the vDSO correctly for internal calls.
10763 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
10764
91cbd0bc
AM
107652014-01-20 Allan McRae <allan@archlinux.org>
10766
10767 * po/ca.po: Update Catalan translation from translation project.
10768
7a02cfad
MF
107692014-01-16 Mike Frysinger <vapier@gentoo.org>
10770
10771 * sysdeps/s390/sotruss-lib.c: New file.
10772
736c304a
AZ
107732014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10774
10775 [BZ#16430]
6e077ee5 10776 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
10777 (__GI___gettimeofday): Alias for a different internal symbol to avoid
10778 local calls issues by not having a PLT stub required for IFUNC calls.
10779 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
10780
94d0cea0
JM
107812014-01-16 Joseph Myers <joseph@codesourcery.com>
10782
10783 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
10784 * math/test-fpucw-static.c: Likewise.
10785
980cb518
SP
107862013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10787
10788 [BZ #16453]
10789 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
10790
2393fc01
AZ
107912014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10792
10793 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
10794 implementation for powerpc.
10795
d359bcc2
OB
107962014-01-15 Ondřej Bílka <neleai@seznam.cz>
10797
10798 [BZ #14782]
10799 * sysdeps/posix/system.c (__libc_system): Do not enable
10800 asynchronous cancellation.
10801
7beb48cb
AK
108022014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10803
10804 [BZ #16427]
10805 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
10806 handling only for numbers special also in the IEEE case.
10807
c20d5bf5
AK
108082014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10809
10810 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10811
e83bd4ee
AM
108122014-01-11 Allan McRae <allan@archlinux.org>
10813
76d0ea69
AM
10814 * po/bg.po: Update Bulgarian translation from translation project.
10815
e83bd4ee
AM
10816 * po/de.po: Update German translation from translation project.
10817
bc2ba20a
RM
108182014-01-10 Roland McGrath <roland@hack.frob.com>
10819
10820 * sysdeps/generic/gcc-compat.h: New file.
10821
649ecea2
SP
108222014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10823
10824 * benchtests/asin-inputs: Correct slow inputs.
10825 * benchtests/acos-inputs: Likewise.
10826
1b19c006
AM
108272014-01-10 Allan McRae <allan@archlinux.org>
10828
a46dab08
AM
10829 * po:sv.po: Update Swedish translation from translation project.
10830
421df74a
AM
10831 * po/vi.po: Update Vietnamese translation from translation project.
10832
d61c51a7
AM
10833 * po/eo.po: Update Esperanto translation from translation project.
10834
0339a319
AM
10835 * po/cs.po: Update Czech translation from translation project.
10836
94ad3e99
AM
10837 * po/nl.po: Update Dutch translation from translation project.
10838
e349ca71
AM
10839 * po/pl.po: Update Polish translation from translation project.
10840
ddf930c1
AM
10841 * po/ru.po: Update Russian translation from translation project.
10842
1b19c006
AM
10843 * po/uk.po: Update Ukrainian translation from translation project.
10844
9f236c49
BM
108452014-01-08 Brooks Moses <bmoses@google.com>
10846
10847 * elf/dl-load.c: Fix comment typo.
10848
cd6701cf
CD
108492014-01-08 Carlos O'Donell <carlos@redhat.com>
10850
10851 * po/header.pot: Rename to...
10852 * po/pot.header: ... this.
10853 * po/Makefile: Use pot.header.
10854
66671c84
YK
108552014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
10856 Maxim Kuvyrkov <maxim@kugelworks.com>
10857
10858 [BZ #16394]
cd6701cf
CD
10859 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
10860 SRC and DEST against LEN.
66671c84 10861
38f34581
AZ
108622014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10863
10864 [BZ #16414]
10865 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
10866 implementation.
10867 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
10868
108692014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
10870
10871 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10872
4c327f2a
JM
108732014-01-08 Joseph Myers <joseph@codesourcery.com>
10874
10875 [BZ #16408]
10876 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
10877 for large positive arguments.
10878
b821f414
JM
108792014-01-07 Joseph Myers <joseph@codesourcery.com>
10880
1f0f2067
JM
10881 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10882
a5a326f6
JM
10883 * math/auto-libm-test-in: Mark various tests with
10884 xfail-rounding:ldbl-128ibm.
10885 * math/auto-libm-test-out: Regenerated.
10886
b821f414
JM
10887 [BZ #16407]
10888 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10889 Increase overflow threshold.
10890
94c8a4bc
OB
108912014-01-07 Ondřej Bílka <neleai@seznam.cz>
10892
10893 [BZ #14286]
10894 * stdio-common/vfprintf.c: Check for integer overflow.
10895
87ded0c3
AK
108962014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10897
10898 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
10899 the first argument and return value of __tls_get_addr_internal.
10900
c5eebdd0
AK
109012014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10902
10903 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
10904 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
10905
05d138ef
AK
109062014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10907
10908 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
10909 * sysdeps/s390/rtld-global-offsets.sym: New file.
10910 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
10911 GLIBC_2.19 symbol.
10912 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
10913 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
10914 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10915 ... this.
10916 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
10917 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10918 ... this.
10919 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10920 Regenerate.
10921 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10922 Regenerate.
10923 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
10924 halfs of GPRs for high_gprs contexts.
10925 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
10926 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
10927 field.
10928 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
10929 uc_flags field.
10930 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
10931 64 bit versions:
10932 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
10933 for high GPRs (uc_high_gprs) and for future extensions
10934 (__reserved).
10935 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
10936 for future extensions (__reserved).
10937 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
10938 64 bit versions:
10939 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
10940 SC_HIGHGPRS offset definition.
10941 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
10942 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
10943
93a45ff1
AK
10944 * Versions.def: Add GLIBC_2.19 for libpthread.
10945 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
10946 siglongjmp for libpthread with GLIBC_2.19 symver.
10947 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
10948 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
10949 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
10950 * sysdeps/s390/__longjmp.c: New file.
10951 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
10952 * sysdeps/s390/longjmp.c: New file.
10953 * sysdeps/s390/setjmp.S: New file.
10954 * sysdeps/s390/sigjmp.S: New file.
10955 * sysdeps/s390/v1-longjmp.c: New file.
10956 * sysdeps/s390/v1-setjmp.h: New file.
10957 * sysdeps/s390/v1-sigjmp.c: New file.
10958 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
10959 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
10960 GLIBC_2.19 version.
10961 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
10962 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
10963 versioned symbols for ____longjmp_chk.
10964 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10965 Likewise.
10966 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10967 Regenerate.
10968 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10969 Regenerate.
10970 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10971 Regenerate.
10972 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10973 Regenerate.
10974 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
10975 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
10976 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
10977 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
10978 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
10979 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
10980 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
10981 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
10982 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
10983 * sysdeps/s390/rtld-__longjmp.c: New file.
10984 * sysdeps/s390/rtld-setjmp.S: New file.
10985
eb3fc44b
JM
109862014-01-06 Joseph Myers <joseph@codesourcery.com>
10987
10988 [BZ #16400]
10989 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10990 Return -__logl (x) for small positive arguments without evaluating
10991 a polynomial.
10992
9341dde4
MF
109932014-01-06 Mike Frysinger <vapier@gentoo.org>
10994
10995 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
10996 Rename to ...
10997 (__ptrace_peeksiginfo_args): ... this.
10998 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10999 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11000 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11001
4cff0293
AM
110022014-01-06 Allan McRae <allan@archlinux.org>
11003
11004 * inet/netinet/in.h: Fix typo in comment.
11005
75595dcf
AJ
110062014-01-05 Andreas Jaeger <aj@suse.de>
11007
11008 * sysdeps/i386/fpu/libm-test-ulps: Update.
11009
79c1e109
AM
110102014-01-05 Allan McRae <allan@archlinux.org>
11011
dd804818
AM
11012 * po/libc.pot: Regenerated.
11013
79c1e109
AM
11014 * malloc/memusagestat.c: Fix gettext call formatting.
11015
0c813d1f
SK
110162014-01-04 Sami Kerola <kerolasa@iki.fi>
11017
11018 * nscd/nscd.c: Improve usage() output.
11019
20f4a8d9
MF
110202014-01-04 Mike Frysinger <vapier@gentoo.org>
11021
11022 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
11023 * sysdeps/unix/sysv/linux/configure: Regenerated.
11024 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
11025 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
11026
22562bb2
JM
110272014-01-03 Joseph Myers <joseph@codesourcery.com>
11028
11029 [BZ #16390]
11030 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11031 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
11032
d7ad2d9b
AZ
110332014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11034
11035 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
11036 extra tokens at end of #undef directive.
11037 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
11038 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
11039 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11040
7dd009d8
JM
110412014-01-03 Joseph Myers <joseph@codesourcery.com>
11042
24db925a
JM
11043 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11044
7dd009d8
JM
11045 * math/auto-libm-test-in: Mark various tests with
11046 xfail-rounding:ldbl-128ibm.
11047 * math/auto-libm-test-out: Regenerated.
11048
396e3ecf
JM
110492014-01-02 Joseph Myers <joseph@codesourcery.com>
11050
819e5d50
JM
11051 [BZ #16386]
11052 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
11053 numbers with subnormal high part when calculating exponent.
11054
90b6a1e5
JM
11055 [BZ #16385]
11056 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
11057 fabs.
11058
396e3ecf
JM
11059 [BZ #16384]
11060 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
11061 M_LN2l.
11062 (__ieee754_acoshl): Use __log1pl not __log1p.
11063
6c8dbf00
OB
110642013-01-02 Ondřej Bílka <neleai@seznam.cz>
11065
57f41c40
AS
11066 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
11067 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
11068 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
11069 (grow_heap, heap_trim, _int_new_arena, get_free_list)
11070 (reused_arena, arena_get2): Convert to GNU style.
11071 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
11072 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
11073 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 11074 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
11075 * malloc/malloc.c (__malloc_assert, malloc_init_state)
11076 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
11077 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
11078 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
11079 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
11080 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 11081 * malloc/malloc.h: Likewise.
57f41c40
AS
11082 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
11083 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 11084 * malloc/mcheck.h: Likewise.
57f41c40
AS
11085 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
11086 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
11087 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
11088 * malloc/morecore.c (__default_morecore): Likewise.
11089 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
11090 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
11091 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
11092 (print_and_abort): Likewise.
6c8dbf00
OB
11093 * malloc/obstack.h: Likewise.
11094 * malloc/set-freeres.c (__libc_freeres): Likewise.
11095 * malloc/tst-mallocstate.c (main): Likewise.
11096 * malloc/tst-mtrace.c (main): Likewise.
11097 * malloc/tst-realloc.c (do_test): Likewise.
11098
d4124212
SP
110992013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11100
9a3c6a6f
SP
11101 [BZ #16366]
11102 * nscd/netgroupcache.c (do_notfound): New function.
11103 (addgetnetgrentX): Use it.
11104
d4124212
SP
11105 [BZ # 16365]
11106 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
11107 NSS_STATUS_NOTFOUND.
11108
97b9a009
JM
111092014-01-01 Joseph Myers <joseph@codesourcery.com>
11110
11111 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11113
d4697bc9
AM
111142014-01-01 Allan McRae <allan@archlinux.org>
11115
ddb3687f
AM
11116 * scripts/update-copyrights: Update configure input file suffix.
11117
88726d48
AM
11118 * NEWS: Update copyright year.
11119 * catgets/gencat.c: Likewise.
11120 * csu/version.c: Likewise.
11121 * debug/catchsegv.sh: Likewise.
11122 * debug/pcprofiledump.c: Likewise.
11123 * debug/xtrace.sh: Likewise.
11124 * elf/ldconfig.c: Likewise.
11125 * elf/ldd.bash.in: Likewise.
11126 * elf/pldd.c: Likewise.
11127 * elf/sotruss.ksh: Likewise.
11128 * elf/sprof.c: Likewise.
11129 * iconv/iconv_prog.c: Likewise.
11130 * iconv/iconvconfig.c: Likewise.
11131 * locale/programs/locale.c: Likewise.
11132 * locale/programs/localedef.c: Likewise.
11133 * login/programs/pt_chown.c: Likewise.
11134 * malloc/memusage.sh: Likewise.
11135 * malloc/memusagestat.c: Likewise.
11136 * malloc/mtrace.pl: Likewise.
11137 * manual/libc.texinfo: Likewise.
11138 * nscd/nscd.c: Likewise.
11139 * nss/getent.c: Likewise.
11140 * nss/makedb.c: Likewise.
11141 * posix/getconf.c: Likewise.
11142 * scripts/test-installation.pl: Likewise.
11143
d4697bc9
AM
11144 * All files with FSF copyright notices: Update copyright dates
11145 using scripts/update-copyrights.
11146 * intl/plural.c: Regenerated.
11147 * locale/programs/charmap-kw.h: Likewise.
11148 * locale/programs/locfile-kw.h: Likewise.
11149
c8590f9d
MF
111502013-12-31 Mike Frysinger <vapier@gentoo.org>
11151
11152 * sysdeps/unix/sysv/linux/configure: Regenerated.
11153 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
11154 the linux/fanotify.h header.
11155 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
11156 HAVE_LINUX_FANOTIFY_H is defined.
11157
b19221b9
SP
111582013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11159
dd1d85e5
SP
11160 * benchtests/cos-inputs: New inputs.
11161 * benchtests/sin-inputs: Likewise.
11162
1acbb90f
SP
11163 * benchtests/atan-inputs: New inputs. Fix name of multiple
11164 precision fallback inputs.
11165
4c012ed3
SP
11166 * benchtests/atanh-inputs: New inputs.
11167 * benchtests/tanh-inputs: Likewise.
11168
eff98324
SP
11169 * benchtests/acosh-inputs: New inputs.
11170 * benchtests/asinh-inputs: Likewise.
11171
ce641152
SP
11172 * benchtests/cosh-inputs: New inputs.
11173 * benchtests/sinh-inputs: Likewise.
11174
b19221b9
SP
11175 * benchtests/acos-inputs: Add more inputs.
11176 * benchtests/asin-inputs: Likewise.
11177
030a4976 111782013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 11179
030a4976 11180 [BZ #16375]
9dcc8f11
VS
11181 * manual/arith.texi: Fix spelling.
11182 * manual/charset.texi: Likewise.
11183 * manual/errno.texi: Likewise.
11184 * manual/filesys.texi: Likewise.
11185 * manual/lang.texi: Likewise.
11186 * manual/llio.texi: Likewise.
11187 * manual/locale.texi: Likewise.
11188 * manual/message.texi: Likewise.
11189 * manual/resource.texi: Likewise.
11190 * manual/search.texi: Likewise.
11191 * manual/setjmp.texi: Likewise.
11192 * manual/stdio.texi: Likewise.
11193 * manual/string.texi: Likewise.
11194 * manual/sysinfo.texi: Likewise.
11195 * manual/time.texi: Likewise.
11196
11520a57
CD
111972013-12-27 Carlos O'Donell <carlos@redhat.com>
11198
11199 * po/sl.po: New file.
11200
471103ae
MF
112012013-12-27 Mike Frysinger <vapier@gentoo.org>
11202
11203 * .gitignore: Add core/.gdbinit/.gdb_history.
11204
6c9642ed
AM
112052013-12-27 Allan McRae <allan@archlinux.org>
11206
11207 [BZ #16369]
11208 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
11209 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
11210
3f637079
BM
112112013-12-24 Brooks Moses <bmoses@google.com>
11212
11213 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
11214 all compilers that claim C++98 compliance, not just GCC.
11215 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
11216 Likewise.
11217
abc26e99
MK
112182013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11219
11220 * NEWS: Restore accidentally deleted bug-fix entries.
11221
362b47fe
MK
112222013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11223 Ondřej Bílka <neleai@seznam.cz>
11224
11225 [BZ #15073]
11226 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 11227 have_lock.
362b47fe 11228
b9bcbbcb
OB
112292013-12-23 Ondřej Bílka <neleai@seznam.cz>
11230
11231 [BZ #12986]
11232 * manual/stdio.texi (String Input Conversions): Clarify that character
11233 classes are not supported.
11234
fb55fcd2
AZ
112352013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11236
11237 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11238
ef7344f0
JM
112392013-12-22 Joseph Myers <joseph@codesourcery.com>
11240
4f40e4b3
JM
11241 [BZ #16337]
11242 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11243 Calculate results for small negative arguments directly rather
11244 than using reflection formula with special underflow handling.
11245
ef7344f0
JM
11246 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
11247 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
11248 sysdeps/unix/bsd/bsd4.4/syscalls.list.
11249 (fchflags): Likewise.
11250 (revoke): Likewise.
11251 (setlogin): Likewise.
11252 (sigaltstack): Likewise.
11253 (wait4): Likewise.
11254 (sigblock): Remove.
11255 (sigsetmask): Likewise.
11256 (wait3): Likewise.
11257 (waitpid): Likewise.
11258 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
11259 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
11260 file.
11261 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
11262 * sysdeps/unix/bsd/Makefile: ... here.
11263 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
11264 * sysdeps/unix/bsd/Versions: ... here.
11265 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
11266 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
11267 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
11268 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
11269 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
11270 * sysdeps/unix/bsd/sigblock.c: ... here.
11271 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
11272 * sysdeps/unix/bsd/sigsetmask.c: ... here.
11273 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
11274 * sysdeps/unix/bsd/sigvec.c: ... here.
11275 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
11276 * sysdeps/unix/bsd/tcdrain.c: ... here.
11277 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
11278 * sysdeps/unix/bsd/tcgetattr.c: ... here.
11279 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
11280 * sysdeps/unix/bsd/tcsetattr.c: ... here.
11281 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
11282 * sysdeps/unix/bsd/wait.c: ... here.
11283 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
11284 * sysdeps/unix/bsd/wait3.c: ... here.
11285 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
11286 * sysdeps/unix/bsd/waitpid.c: ... here.
11287
5b0626b9
JM
112882013-12-21 Joseph Myers <joseph@codesourcery.com>
11289
11290 [BZ #16356]
11291 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
11292 round-to-nearest for [!USE_AS_EXPM1L].
11293 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
11294 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
11295 more tests of exp and exp10. Expect some exp10 tests to miss
11296 exceptions or fail in directed rounding modes.
11297 * math/auto-libm-test-out: Regenerated.
11298 * math/libm-test.inc (exp10_tonearest_test_data): New array.
11299 (exp10_test_tonearest): New function.
11300 (exp10_towardzero_test_data): New array.
11301 (exp10_test_towardzero): New function.
11302 (exp10_downward_test_data): New array.
11303 (exp10_test_downward): New function.
11304 (exp10_upward_test_data): New array.
11305 (exp10_test_upward): New function.
11306 (main): Call the new functions.
11307 * sysdeps/i386/fpu/libm-test-ulps: Update.
11308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11309
7fda5682
JM
113102013-12-20 Joseph Myers <joseph@codesourcery.com>
11311
31e3a405
JM
11312 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11313 asinh, atan, atan2, atanh, cbrt, cos and cosh.
11314 * math/auto-libm-test-out: Regenerated.
11315 * math/libm-test.inc (acosh_test_data): Add more tests.
11316 (atanh_test_data): Likewise.
11317 (ceil_test_data): Likewise.
11318 (copysign_test_data): Likewise.
11319 * sysdeps/i386/fpu/libm-test-ulps: Update.
11320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11321
85bff96a
JM
11322 * timezone/checktab.awk: Update from tzcode 2013i.
11323 * timezone/private.h: Likewise.
11324 * timezone/scheck.c: Likewise.
11325 * timezone/tzfile.h: Likewise.
11326 * timezone/tzselect.ksh: Likewise.
11327 * timezone/zdump.c: Likewise.
11328 * timezone/zic.c: Likewise.
11329
b7867a3b
JM
11330 * math/auto-libm-test-in: Add tests of cpow.
11331 * math/auto-libm-test-out: Regenerated.
11332 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 11333 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
11334 mpc_cc_c.
11335 (func_calc_desc): Add mpc_cc_c union field.
11336 (test_functions): Add cpow.
11337 (special_fill_2pi): New function.
11338 (special_real_inputs): Add 2pi.
11339 (calc_generic_results): Handle mpc_cc_c.
11340 * sysdeps/i386/fpu/libm-test-ulps: Update.
11341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11342
7fda5682
JM
11343 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
11344 csqrt, ctan and ctanh.
11345 * math/auto-libm-test-out: Regenerated.
11346 * math/libm-test.inc (TEST_COND_x86_64): New macro.
11347 (TEST_COND_x86): Likewise.
11348 (ccos_test_data): Use AUTO_TESTS_c_c.
11349 (ccosh_test_data): Likewise.
11350 (cexp_test_data): Likewise.
11351 (clog_test_data): Likewise.
11352 (csqrt_test_data): Likewise.
11353 (ctan_test_data): Likewise.
11354 (ctan_tonearest_test_data): Likewise.
11355 (ctan_towardzero_test_data): Likewise.
11356 (ctan_downward_test_data): Likewise.
11357 (ctan_upward_test_data): Likewise.
11358 (ctanh_test_data): Likewise.
11359 (ctanh_tonearest_test_data): Likewise.
11360 (ctanh_towardzero_test_data): Likewise.
11361 (ctanh_downward_test_data): Likewise.
11362 (ctanh_upward_test_data): Likewise.
11363 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11364 mpc_c_c.
11365 (func_calc_desc): Add mpc_c_c union field.
11366 (FUNC_mpc_c_c): New macro.
11367 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
11368 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
11369 ctanh.
11370 (special_fill_min_subnorm_p120): New function.
11371 (special_real_inputs): Add min_subnorm_p120.
11372 (calc_generic_results): Handle mpc_c_c.
11373 * sysdeps/i386/fpu/libm-test-ulps: Update.
11374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11375
5ff8d60e
SP
113762013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11377
57f41c40
AS
11378 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
11379 (do_sin_slow): New functions.
11380 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
11381 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 11382
84ba214c
SP
11383 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
11384 Use M to change sign of result instead of X. Assume X is
11385 positive.
11386 (csloww1): Likewise.
11387 (__sin): Adjust.
11388 (__cos): Adjust.
11389
975195e4
SP
11390 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
11391 arguments A and DA.
11392 (__sin): Adjust.
11393 (__cos): Likewise.
11394
5ff8d60e
SP
11395 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
11396 (__cos): Likewise.
11397 (sloww1): Don't adjust sign of DX.
11398 (csloww1): Likewise.
11399 (sloww2): Use X directly and don't adjust sign of DX.
11400 (csloww2): Likewise.
11401
eb983568
JM
114022013-12-19 Joseph Myers <joseph@codesourcery.com>
11403
64a17f1a
JM
11404 * math/auto-libm-test-in: Add tests of cabs and carg.
11405 * math/auto-libm-test-out: Regenerated.
11406 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
11407 (carg_test_data): Likewise.
11408 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11409 mpc_c_f.
11410 (func_calc_desc): Add mpc_c_f union field.
11411 (test_functions): Add cabs and carg.
11412 (calc_generic_results): Handle mpc_c_f.
11413
eb983568
JM
11414 * sysdeps/powerpc/powerpc32/libgcc-compat.S
11415 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
11416 as a macro and a compat symbol.
11417 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11418 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11419 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11420 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11421 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
11422 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
11423 not use .hidden.
11424 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
11425 Likewise.
11426 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
11427 Likewise.
11428 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
11429 Likewise.
11430 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
11431 Likewise.
11432 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
11433 Likewise.
11434 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
11435 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
11436 from GLIBC_2.3.2.
11437
6eeb678a
AZ
114382013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11439
11440 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11441
6f6fc482
JM
114422013-12-19 Joseph Myers <joseph@codesourcery.com>
11443
21fea2e2
JM
11444 * manual/texinfo.tex: Update to version 2013-11-26.10 with
11445 trailing whitespace removed.
11446 * scripts/config.guess: Update to version 2013-11-29.
11447 * scripts/config.sub: Update to version 2013-10-01.
11448
6f6fc482
JM
11449 * math/auto-libm-test-in: Add tests of sincos.
11450 * math/auto-libm-test-out: Regenerated.
11451 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
11452 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11453 mpfr_f_11.
11454 (func_calc_desc): Add mpfr_f_11 union field.
11455 (test_functions): Add sincos.
11456 (calc_generic_results): Handle mpfr_f_11.
11457 * sysdeps/i386/fpu/libm-test-ulps: Update.
11458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11459
83f5c32d
AS
114602013-12-19 Andreas Schwab <schwab@suse.de>
11461
11462 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
11463 CALL_MCOUNT.
11464 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11465 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
11466 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
11467
c688b419
JM
114682013-12-19 Joseph Myers <joseph@codesourcery.com>
11469
335ee092
JM
11470 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
11471 * sysdeps/i386/fpu/libm-test-ulps: Update.
11472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11473
f88acd39
JM
11474 [BZ #16293]
11475 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
11476 round-to-nearest mode when using frndint.
11477 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
11478 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11479 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11480 Likewise.
11481 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
11482 sinh test to fail.
11483 * math/auto-libm-test-out: Regenerated.
11484 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
11485 (TEST_COND_x86): Likewise.
11486 (expm1_tonearest_test_data): New array.
11487 (expm1_test_tonearest): New function.
11488 (expm1_towardzero_test_data): New array.
11489 (expm1_test_towardzero): New function.
11490 (expm1_downward_test_data): New array.
11491 (expm1_test_downward): New function.
11492 (expm1_upward_test_data): New array.
11493 (expm1_test_upward): New function.
11494 (main): Run the new test functions.
11495 * sysdeps/i386/fpu/libm-test-ulps: Update.
11496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11497
c688b419
JM
11498 * include/features.h: Update comment documenting feature test
11499 macros. Mention _DEFAULT_SOURCE in comment.
11500 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
11501 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
11502 _BSD_SOURCE and _SVID_SOURCE.
11503 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
11504 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
11505 !_SVID_SOURCE]: Likewise.
11506 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11507 (__USE_POSIX_IMPLICITLY): Define.
11508 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11509 (_POSIX_SOURCE): Undefine and redefine.
11510 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11511 (_POSIX_C_SOURCE): Likewise.
11512 * manual/creature.texi (_DEFAULT_SOURCE): Document.
11513 (Feature Test Macros): Update documentation of default features.
11514
9f6e964c
RS
115152013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11516
11517 * benchtests/Makefile: Add bench-strtok.
11518 * benchtests/bench-strtok.c: New file: strtok benchtest.
11519
ee0a148a
AM
115202013-12-19 Allan McRae <allan@archlinux.org>
11521
11522 * manual/install.texi: Suppress menu for plain text output.
11523 * INSTALL: Regenerated.
11524
b9ab448f
BM
115252013-12-18 Brooks Moses <bmoses@google.com>
11526
11527 [BZ #15846]
11528 * misc/getauxval.c: Include errno.h.
11529 (__getauxval): Set errno to ENOENT if the requested type is not
11530 found.
11531 * misc/sys/auxv.h (getauxval): Document that it may set errno;
11532 don't declare with __attribute_const__.
11533 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
11534 * manual/startup.texi: Document that getauxval sets errno.
11535
23776487
JM
115362013-12-18 Joseph Myers <joseph@codesourcery.com>
11537
f889953b
JM
11538 * math/auto-libm-test-in: Add tests of jn and yn.
11539 * math/auto-libm-test-out: Regenerated.
11540 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
11541 (yn_test_data): Likewise.
11542 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11543 mpfr_if_f.
11544 (func_calc_desc): Add mpfr_if_f union field.
11545 (FUNC_mpfr_if_f): New macro.
11546 (test_functions): Add jn and yn.
11547 (calc_generic_results): Assert type of second input for
11548 mpfr_ff_f. Handle mpfr_if_f.
11549 (output_for_one_input_case): Disable all checking for arguments
11550 fitting floating-point types in case of an integer argument.
11551 * sysdeps/i386/fpu/libm-test-ulps: Update.
11552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11553
23776487
JM
11554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11555 Don't expect fegetround reference in libm.so.
11556
cb756c6d
MS
115572013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11558
11559 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
11560 $(config-cflags-nofma).
11561
2dec468f
JM
115622013-12-18 Joseph Myers <joseph@codesourcery.com>
11563
5953eb3a
JM
11564 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
11565 * math/auto-libm-test-out: Regenerated.
11566
2dec468f
JM
11567 [BZ #16338]
11568 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
11569 to determine exponent and adjust argument to have exponent of -1.
11570 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
11571 log2.
11572 * math/auto-libm-test-out: Regenerated.
11573 * sysdeps/i386/fpu/libm-test-ulps: Update.
11574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11575
4d84e6ad
OB
115762013-12-18 Ondřej Bílka <neleai@seznam.cz>
11577
11578 * manual/probes.texi: Remove cases when per-thread arenas are
11579 disabled.
11580
1818483b
AS
115812013-12-18 Andreas Schwab <schwab@suse.de>
11582
11583 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
11584 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
11585 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
11586 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
11587 * sysdeps/i386/i686/multiarch/Makefile: Update.
11588 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
11589
25de95bf
JM
115902013-12-17 Joseph Myers <joseph@codesourcery.com>
11591
11592 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
11593 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
11594
674762d9
PE
115952013-12-17 Paul Eggert <eggert@cs.ucla.edu>
11596
ed27ed83 11597 [BZ #15968]
0748546f
PE
11598 Support TZ transition times < 00:00:00.
11599 This is needed for version-3 tz-format files; it supports time
11600 stamps past 2037 for America/Godthab (the only entry in the tz
11601 database for which this change is relevant).
11602 * manual/time.texi (TZ Variable): Document transition times
11603 from -167:59:59 through -00:00:01.
11604 * time/tzset.c (tz_rule): Time of day is now signed.
11605 (__tzset_parse_tz): Parse negative time of day.
11606
4480e934
PE
11607 Document TZ transition times >= 25:00:00.
11608 * manual/time.texi (TZ Variable): Document transition times from
11609 25:00:00 through 167:59:59. These are already supported, and this
11610 support will help with version-3 tz-format files.
11611
69947401
PE
11612 * manual/time.texi (TZ Variable): Modernize North America example
11613 to reflect current (i.e., 2007-and-later) daylight saving rules.
11614
674762d9
PE
11615 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
11616
7011c262
JM
116172013-12-17 Joseph Myers <joseph@codesourcery.com>
11618
2fc6557e
JM
11619 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
11620 * sysdeps/unix/bsd/bits/stat.h: Likewise.
11621 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
11622 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11623 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
11624 * sysdeps/unix/bsd/bsdstat.h: Likewise.
11625 * sysdeps/unix/bsd/clock.c: Likewise.
11626 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
11627 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
11628 * sysdeps/unix/bsd/init-posix.c: Likewise.
11629 * sysdeps/unix/bsd/poll.c: Likewise.
11630 * sysdeps/unix/bsd/ptsname.c: Likewise.
11631 * sysdeps/unix/bsd/seekdir.c: Likewise.
11632 * sysdeps/unix/bsd/setegid.c: Likewise.
11633 * sysdeps/unix/bsd/seteuid.c: Likewise.
11634 * sysdeps/unix/bsd/setgid.c: Likewise.
11635 * sysdeps/unix/bsd/setrgid.c: Likewise.
11636 * sysdeps/unix/bsd/setruid.c: Likewise.
11637 * sysdeps/unix/bsd/setsid.c: Likewise.
11638 * sysdeps/unix/bsd/setuid.c: Likewise.
11639 * sysdeps/unix/bsd/sigaction.c: Likewise.
11640 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
11641 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
11642 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
11643 * sysdeps/unix/bsd/telldir.c: Likewise.
11644 * sysdeps/unix/bsd/times.c: Likewise.
11645 * sysdeps/unix/bsd/usleep.c: Likewise.
11646
029c7b25
JM
11647 * misc/Makefile (install-lib): Remove libbsd-compat.a.
11648 ($(objpfx)libbsd-compat.a): Remove rule.
11649
7011c262
JM
11650 * include/features.h (__FAVOR_BSD): Do not define.
11651 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
11652 features conflicting with POSIX.
11653 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
11654 (_BSD_SOURCE): Remove description of not being a subset of other
11655 feature test macros.
11656 * manual/job.texi (getpgrp): Do not document BSD version.
11657 (getpgid): Do not document by reference to BSD getpgrp.
11658 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
11659 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
11660 * signal/signal.h [__FAVOR_BSD]: Likewise.
11661 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
11662 instead of making contents conditional on [__FAVOR_BSD].
11663 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
11664
affb6f78
AZ
116652013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11666
11667 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11668
c88769dd
JM
116692013-12-17 Joseph Myers <joseph@codesourcery.com>
11670
6432a540
JM
11671 [BZ #16314]
11672 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
11673 values below 2**-450, not 2**-500.
11674 * math/auto-libm-test-in: Don't allow spurious underflow from
11675 hypot.
11676 * math/auto-libm-test-out: Regenerated.
11677
c88769dd
JM
11678 [BZ #16316]
11679 [BZ #16330]
11680 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
11681 values of ha and hb and sort them after adjusting subnormal
11682 arguments.
11683 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11684 Likewise.
11685 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
11686 values of ea and eb and sort them after adjusting subnormal
11687 arguments.
11688 * math/auto-libm-test-in: Do not expect some hypot tests of
11689 subnormals to fail. Add more hypot tests.
11690 * math/auto-libm-test-out: Regenerated.
11691
29618f6b
KK
116922013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11693
11694 [BZ #13304]
11695 * sysdeps/sh/s_fma.c: New file.
11696 * sysdeps/sh/s_fmaf.c: New file.
11697 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
11698 version.
11699 * sysdeps/sh/Implies: Add sh/soft-fp.
11700
eacfdfbf
RM
117012013-12-16 Roland McGrath <roland@hack.frob.com>
11702
11703 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
11704 level of indirection to members `objname', `errstring', `malloced'.
11705 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
11706 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
11707 it as the __longjmp argument (just pass 1 instead).
11708 (_dl_catch_error): Initialize C with argument pointers and address of
11709 volatile local ERRCODE rather than copying values out of C at return.
11710
ff362e5b
JM
117112013-12-16 Joseph Myers <joseph@codesourcery.com>
11712
11713 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
11714 * math/auto-libm-test-out: Regenerated.
11715 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
11716 (hypot_test_data): Likewise.
11717 (pow_test_data): Likewise.
11718 (pow_tonearest_test_data): Likewise.
11719 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11720 mpfr_ff_f.
11721 (func_calc_desc): Add mpfr_ff_f union field.
11722 (FUNC_mpfr_ff_f): New macro.
11723 (test_functions): Add atan2, hypot and pow.
11724 (special_fill_min): New function.
11725 (special_fill_minus_min): Likewise.
11726 (special_fill_min_subnorm): Likewise.
11727 (special_fill_minus_min_subnorm): Likewise.
11728 (special_real_inputs): Add min, -min, min_subnorm and
11729 -min_subnorm.
11730 (calc_generic_results): Handle mpfr_ff_f.
11731 * sysdeps/i386/fpu/libm-test-ulps: Update.
11732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11733
5764c27f
WN
117342013-12-16 Will Newton <will.newton@linaro.org>
11735
11736 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
11737 (Aligned Memory Blocks): Add documentation for aligned_alloc
11738 and suggest it as an alternative to posix_memalign.
11739 (Hooks for Malloc): Document __memalign_hook is also called
11740 for aligned_alloc. (Summary of Malloc): Add summary for
11741 aligned alloc. Document __memalign_hook is also called
11742 for aligned_alloc.
11743
0a096e44
WN
117442013-12-16 Will Newton <will.newton@linaro.org>
11745
11746 * manual/memory.texi (Malloc Examples): Clarify default
11747 alignment documentation. Suggest posix_memalign rather
11748 than memalign or valloc.
11749 (Aligned Memory Blocks): Remove suggestion to use memalign
11750 or valloc. Remove obsolete comment about BSD.
11751 Document memalign errno values and mark the function obsolete.
11752 Document posix_memalign returned error codes. Mark valloc
11753 as obsolete. (Hooks for Malloc): __memalign_hook is also
11754 called for posix_memalign and valloc.
11755 (Summary of Malloc): Add posix_memalign to function summary.
11756 __memalign_hook is also called for posix_memalign and valloc.
11757
8d561986
SP
117582013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11759
11760 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
11761 TAYLOR_SIN.
11762 (__sin): Adjust.
11763 (__cos): Likewise.
11764 (sloww): Use mynumber union. Expand ternary operator into
11765 if-else statements.
11766 (cslow): use mynumber union.
11767
73616a74
AM
117682013-12-16 Allan McRae <allan@archlinux.org>
11769
9e8ac24b
AM
11770 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
11771 * configure: Regenerated.
11772
6f8e37eb
AM
11773 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
11774
8894bad3
AM
11775 [BZ #14120]
11776 * configure.ac: Added --enable-maintainer-mode. Check for
11777 autoconf when enabled.
11778 * configure: Regenerated.
11779
73616a74
AM
11780 * nscd/nscd.service: New file.
11781 * nscd/nscd.tmpfiles: New file.
11782
584b18eb
OB
117832013-12-14 Ondřej Bílka <neleai@seznam.cz>
11784
11785 [BZ #12100]
11786 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
11787 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
11788 * sysdeps/x86_64/multiarch/strstr.c: ... here.
11789 (strstr): Add __strstr_sse2_unaligned ifunc.
11790 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
11791 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
11792 (strcasestr): Remove __strcasestr_sse42 ifunc.
11793 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
11794 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11795 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11796
8a5c7897
KK
117972013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11798
11799 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
11800 * sysdeps/sh/bits/fenv.h: ... here.
11801 * sysdeps/sh/sh4/fpu/bits: Remove directory.
11802
fd712ef3
AZ
118032013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11804
11805 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
11806
42fcb46c
AZ
11807 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
11808 hypotf multiarch implementations.
11809 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
11810 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
11811 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
11812 multiarch hypot for PPC64.
11813 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
11814 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
11815 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
11816 multiarch hypotf for PPC64.
11817
83efded4
AZ
11818 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
11819 modff multiarch implementations.
11820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
11821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
11822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
11823 multiarch modf for PPC64.
11824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
11825 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
11826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
11827 multiarch modff for PPC64.
11828
43e246d2
AZ
11829 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
11830 and logl multiarch implementations.
11831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
11832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
11833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
11834 multiarch logb for PPC64.
11835 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
11836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
11837 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
11838 multiarch logb for PPC64.
11839 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
11840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
11841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
11842 multiarch logb for PPC64.
11843
8fdad123
AZ
11844 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
11845 isinff multiarch implementation.
11846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
11847 file.
11848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
11849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
11850 multiarch isinf for PPC64.
11851 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
11852 file.
11853 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
11854 multiarch isinff for PPC64.
11855
1481d706
AZ
11856 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
11857 finitef multiarch implementation.
11858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
11859 file.
11860 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
11861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
11862 multiarch finite for PPC64.
11863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
11864 file.
11865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
11866 multiarch finitef for PPC64.
11867
5ccd5fc8
AZ
11868 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
11869 lrint multiarch implementation.
11870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
11871 file.
11872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
11873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
11874 multiarch llrint for PPC64.
11875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
11876 multiarch lrint for PPC64.
11877
2568f3fa
AZ
11878 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
11879 copysignf multiarch implementation.
11880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
11881 file.
11882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
11883 file.
11884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
11885 multiarch copysign for PPC64.
11886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
11887 multiarch copysignf for PPC64.
11888
1cb341fd
AZ
11889 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
11890 multiarch implementation.
11891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
11892 file.
11893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
11894 file.
11895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
11896 file.
11897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
11898 file.
11899 multiarch llround for PPC64.
11900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
11901 multiarch trunc for PPC64.
11902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
11903 multiarch truncf for PPC64.
11904
59a3e194
AZ
11905 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
11906 multiarch implementation.
11907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
11908 file.
11909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
11910 file.
11911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
11912 file.
11913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
11914 file.
11915 multiarch llround for PPC64.
11916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
11917 multiarch round for PPC64.
11918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
11919 multiarch roundf for PPC64.
11920
357fd3b4
AZ
11921 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
11922 multiarch implementation.
11923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
11924 file.
11925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
11926 file.
11927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
11928 file.
11929 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
11930 file.
11931 multiarch llround for PPC64.
11932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
11933 multiarch floor for PPC64.
11934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
11935 multiarch floorf for PPC64.
11936
96770f12
AZ
11937 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
11938 multiarch implementation.
11939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
11940 file.
11941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
11942 file.
11943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
11944 file.
11945 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
11946 file.
11947 multiarch llround for PPC64.
11948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
11949 multiarch ceil for PPC64.
11950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
11951 multiarch ceilf for PPC64.
11952
c3627f6e
AZ
11953 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11954 multiarch implementation.
11955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
11956 file.
11957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
11958 file.
11959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
11960 file.
11961 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
11962 multiarch llround for PPC64.
11963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
11964 multiarch lround for PPC64.
11965
b2284ad7
AZ
11966 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11967 multiarch implementation.
11968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
11969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
11970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
11971 file.
11972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
11973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
11974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
11975 multiarch isnan for PPC64.
11976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
11977 multiarch isnanf for PPC64.
11978
69bbc63d
AZ
11979 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
11980 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
11981 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
11982 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
11983 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
11984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
11985
c24517c9
AZ
11986 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
11987 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11988 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11989 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11990
a52374e8
AZ
11991 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
11992 multiarch implementations.
11993 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11994 (__libc_ifunc_impl_list): Likewise.
11995 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
11996 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
11997 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
11998 multiarch stpcpy for PPC64.
11999
7f5ec113
AZ
12000 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
12001 multiarch implementations.
12002 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12003 (__libc_ifunc_impl_list): Likewise.
12004 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
12005 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
12006 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
12007 multiarch strcpy for PPC64.
12008
e28bcd42
AZ
12009 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
12010 redefine function name.
12011 (_wordcopy_fwd_dest_aligned): Likewise.
12012 (_wordcopy_bwd_aligned): Likewise.
12013 (_wordcopy_bwd_dest_aligned): Likewise.
12014 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
12015 multiarch implementations.
12016 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12017 (__libc_ifunc_impl_list): Likewise.
12018 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
12019 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
12020 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
12021 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
12022 multiarch wcscpy for PPC64.
12023
92cacfce
AZ
12024 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
12025 multiarch implementations.
12026 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12027 (__libc_ifunc_impl_list): Likewise.
12028 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
12029 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
12030 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
12031 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
12032 multiarch wcscpy for PPC64.
12033
7b714620
AZ
12034 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
12035 multiarch implementations.
12036 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12037 (__libc_ifunc_impl_list): Likewise.
12038 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
12039 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
12040 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
12041 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
12042 multiarch wcsrchr for PPC64.
12043
16fd2ae3
AZ
12044 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
12045 multiarch implementations.
12046 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12047 (__libc_ifunc_impl_list): Likewise.
12048 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
12049 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
12050 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
12051 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
12052 multiarch wcschr for PPC64.
12053
9ee2969b
AZ
12054 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
12055 multiarch implementations.
12056 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12057 (__libc_ifunc_impl_list): Likewise.
12058 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
12059 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
12060 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
12061 multiarch strchrnul for PPC64.
12062
372dc060
AZ
12063 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
12064 implementations.
12065 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12066 (__libc_ifunc_impl_list): Likewise.
12067 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
12068 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
12069 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
12070 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
12071 strchr for PPC64.
12072
24c2c3b9
AZ
12073 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
12074 implementations.
12075 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12076 (__libc_ifunc_impl_list): Likewise.
12077 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
12078 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
12079 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
12080 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
12081 strncmp for PPC64.
12082
1c92d9a0
AZ
12083 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
12084 multiarch implementations.
12085 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12086 (__libc_ifunc_impl_list): Likewise.
12087 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
12088 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
12089 strncasecmp for PPC64.
12090 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
12091 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
12092 multiarch strncasecmp_l for PPC64.
12093
17de3ee3
AZ
12094 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
12095 multiarch implementations.
12096 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12097 (__libc_ifunc_impl_list): Likewise.
12098 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
12099 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
12100 multiarch strcasecmp for PPC64.
12101 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
12102 file.
12103 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
12104 multiarch strcasecmp_l for PPC64.
12105
62982bf9
AZ
12106 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
12107 implementations.
12108 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12109 (__libc_ifunc_impl_list): Likewise.
12110 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
12111 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
12112 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
12113 strnlen for PPC64.
12114
a65f4904
AZ
12115 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
12116 implementations.
12117 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12118 (__libc_ifunc_impl_list): Likewise.
12119 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
12120 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
12121 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
12122 strlen for PPC64.
12123
1fd005ad
AZ
12124 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
12125 implementations.
12126 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12127 (__libc_ifunc_impl_list): Likewise.
12128 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
12129 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
12130 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
12131 rawmemrchr for PPC64.
12132
cd05ba91
AZ
12133 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
12134 implementation.
12135 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12136 (__libc_ifunc_impl_list): Likewise.
12137 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
12138 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
12139 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
12140 memrchr for PPC64.
12141
870f8676
AZ
12142 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
12143 implementation.
12144 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12145 (__libc_ifunc_impl_list): Likewise.
12146 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
12147 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
12148 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
12149 memchr for PPC64.
12150
f00be62b
AZ
12151 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
12152 implementation.
12153 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12154 (__libc_ifunc_impl_list): Likewise.
12155 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
12156 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
12157 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
12158 mempcpy for PPC64.
12159
8a29a3d0
AZ
12160 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
12161 avoid cretion of __bzero symbol.
12162 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
12163 Likewise.
12164 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
12165 Likewise.
12166 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
12167 Likewise.
12168 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
12169 multiarch implementations.
12170 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12171 (__libc_ifunc_impl_list): Likewise.
12172 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
12173 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
12174 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
12175 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
12176 bzero for PPC32.
12177 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
12178 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
12179 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
12180 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
12181 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
12182 memset for PPC64.
12183 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
12184
07253fcf
AZ
12185 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
12186 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
12187 implementations.
12188 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12189 (__libc_ifunc_impl_list): Likewise.
12190 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
12191 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
12192 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
12193 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
12194 memcmp for PPC64.
12195
b5beafbc
AZ
12196 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
12197 multiarch for POWER/PPC64.
12198 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
12199 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
12200 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
12201 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
12202 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
12203 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
12204 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
12205 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
12206 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
12207 memcpy for PPC64.
12208
5e6a4d4b
AZ
12209 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
12210 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
12211 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
12212 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
12213 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
12214 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
12215 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
12216 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
12217 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
12218 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
12219 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
12220 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
12221 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
12222 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
12223 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
12224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
12225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
12226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
12227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
12228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
12229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
12230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
12231
ddfab6dc
KK
122322013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12233
12234 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
12235
19b5525e
SP
122362013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12237
12238 * benchtests/Makefile (bench): Add exp2 and log2.
12239 (LDLIBS-bench-exp2): Add -lm.
12240 (LDLIBS-bench-log2): Likewise.
12241 * benchtests/exp2-inputs: New inputs file.
12242 * benchtests/log2-inputs: New inputs file.
12243 * benchtests/log-inputs: Add new inputs.
12244 * benchtests/tan-inputs: Likewise.
12245
196f7f5d
SP
122462013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12247
7a74607f
SP
12248 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
12249 definition...
57f41c40
AS
12250 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
12251 (csloww2): ... from here.
7a74607f 12252
196f7f5d
SP
12253 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
12254 instead of structures.
12255 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
12256 (POLYNOMIAL): Likewise.
12257 (TAYLOR_SLOW): Likewise.
12258 (__sin): Likewise.
12259 (__cos): Likewise.
12260 (slow1): Likewise.
12261 (slow2): Likewise.
12262 (sloww): Likewise.
12263 (sloww1); Likewise.
12264 (sloww2): Likewise.
12265 (bsloww1): Likewise.
12266 (bsloww2): Likewise.
12267 (cslow2): Likewise.
12268 (csloww): Likewise.
12269 (csloww1): Likewise.
12270 (csloww2): Likewise.
12271
0dfa665c
OB
122722013-12-10 Ondřej Bílka <neleai@seznam.cz>
12273
12274 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
12275 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
12276 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
12277 * malloc/hooks.c (realloc_check): Likewise.
12278
5782a80f
OB
12279 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
12280 * malloc/arena.c: Remove PER_THREAD conditional.
12281 [!PER_THREAD]: Remove code.
12282 (ptmalloc_unlock_all2): Likewise.
12283 (ptmalloc_init): Likewise.
12284 (_int_new_arena): Likewise.
12285 (arena_get2): Likewise.
12286 * malloc/hooks.c (__malloc_get_state): Likewise.
12287 (__malloc_set_state): Likewise.
12288 * malloc/malloc.c: Likewise.
12289 (struct malloc_state): Likewise.
12290 (struct malloc_par): Likewise.
12291 (__libc_realloc): Likewise.
12292 (__libc_mallopt): Likewise.
12293
aeb95445
AZ
122942013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12295
12296 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
12297
e8349efd
OB
122982013-12-09 Ondřej Bílka <neleai@seznam.cz>
12299
12300 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
12301 macro to a function. Check for zero perturb_byte.
12302 (_int_malloc, _int_free): Remove zero perturb_byte checks.
12303
f3eeb3fc 12304 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
12305 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
12306 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
12307 force_reg by atomic_forced_read.
12308 * malloc/arena.c (ptmalloc_init): Likewise.
12309 * malloc/hooks.c (top_check): Likewise.
12310
be2f9009
AZ
123112013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12312
12313 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12314
e7b914bd
MT
123152013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
12316
12317 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12318
9f0be4f8
JM
123192013-12-08 Joseph Myers <joseph@codesourcery.com>
12320
12321 * math/auto-libm-test-in: Add tests of lgamma.
12322 * math/auto-libm-test-out: Regenerated.
12323 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
12324 (M_LOG_2_SQRT_PIl): Likewise.
12325 (lgamma_test_data): Use AUTO_TESTS_f_f1.
12326 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12327 mpfr_f_f1.
12328 (func_calc_desc): Add mpfr_f_f1 union field.
12329 (ARGS1): New macro.
12330 (ARGS2): Likewise.
12331 (ARGS3): Likewise.
12332 (ARGS4): Likewise.
12333 (RET1): Likewise.
12334 (RET2): Likewise.
12335 (CALC): Likewise.
12336 (FUNC): Likewise.
12337 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
12338 (test_functions): Add lgamma.
12339 (calc_generic_results): Handle mpfr_f_f1.
12340 * sysdeps/i386/fpu/libm-test-ulps: Update.
12341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12342
24eeafdb
AZ
123432013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12344
12345 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
12346 __mpn_add_n for PowerPC64/POWER7.
12347 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
12348 __mpn_sub_n for PowerPC64/POWER7.
12349
4a2c0fd4
AZ
12350 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
12351 __mpn_addmul_1 for PowerPC64.
12352 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
12353 __mpn_submul_1 for PowerPC64.
12354 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
12355 for PowerPC64.
12356 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
12357 for PowerPC64.
12358
4b5b548c
FS
123592013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
12360
12361 [BZ #15089]
12362 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
12363
0a3ac0aa
AZ
123642013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12365
12366 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
12367
ccdc8438
AZ
12368 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
12369 add multiarch folders.
12370 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
12371 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
12372 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
12373 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
12374 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
12375 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
12376 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
12377 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
12378 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
12379 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
12380 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
12381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
12382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
12383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
12384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
12385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
12386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
12387
2e973d99
AZ
12388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12389 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
12390 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
12391 New file.
12392 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
12393 New file.
12394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
12395 multiarch __ieee754_hypot for PowerPC32.
12396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
12397 New file.
12398 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
12399 New file.
12400 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
12401 multiarch __ieee754_hypotf for PowerPC32.
12402
2d9470b2
AZ
12403 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
12404 long_double_symbol only if __logbl is defined.
12405 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
12406 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
12407 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
12408 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
12409 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
12410 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
12411 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
12412 path for implementation.
12413 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
12414 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
12415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
12416 logb, and logbl multiarch implementations for PowerPC32.
12417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
12418 file.
12419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
12420 file.
12421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
12422 multiarch logb for PowerPC32.
12423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
12424 file.
12425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
12426 file.
12427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
12428 multiarch logbf for PowerPC32.
12429 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
12430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
12431 file.
12432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
12433 multiarch logbl implementation for PowerPC32.
12434
5212ffce
AZ
12435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
12436 and modff multiarch implementations.
12437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
12438 New file.
12439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
12440 New file.
12441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
12442 multiarch modf for PowerPC32.
12443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
12444 New file.
12445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
12446 New file.
12447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
12448 multiarch modff for PowerPC32.
12449
79dccf31
AZ
12450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
12451 and lrintf multiarch implementations.
12452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
12453 New file.
12454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
12455 New file.
12456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
12457 multiarch lrint for PowerPC32.
12458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
12459 file: multiarch lrintf for PowerPC32.
12460
deb66480
AZ
12461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
12462 and lroundf multiarch implementations.
12463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
12464 New file.
12465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
12466 New file.
12467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
12468 New file.
12469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
12470 multiarch lround for PowerPC32.
12471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
12472 file: multiarch lroundf for PowerPC32.
12473
264b036b
AZ
12474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12475 copysign and copysignf multiarch implementations.
12476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
12477 New file.
12478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
12479 New file.
12480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
12481 file: multiarch copysign for PowerPC32.
12482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
12483 file: multiarch copysignf for PowerPC32.
12484
d47db6c9
AZ
12485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
12486 and truncf multiarch implementations.
12487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
12488 New file.
12489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
12490 file.
12491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
12492 multiarch trunc for PowerPC32.
12493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
12494 New file.
12495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
12496 New file.
12497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
12498 multiarch truncf for PowerPC32.
12499
ddb60b5a
AZ
12500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
12501 and roundf multiarch implementations.
12502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
12503 New file.
12504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
12505 file.
12506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
12507 multiarch round for PowerPC32.
12508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
12509 New file.
12510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
12511 New file.
12512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
12513 multiarch roundf for PowerPC32.
12514
bedcf49b
AZ
12515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
12516 and floorf multiarch implementations.
12517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
12518 New file.
12519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
12520 file.
12521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
12522 multiarch floor for PowerPC32.
12523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
12524 New file.
12525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
12526 New file.
12527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
12528 multiarch floorf for PowerPC32.
12529
35ae5b40
AZ
12530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
12531 and ceilf multiarch implementations.
12532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
12533 New file.
12534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
12535 file.
12536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
12537 multiarch ceil for PowerPC32.
12538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
12539 New file.
12540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
12541 file.
12542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
12543 multiarch ceilf for PowerPC32.
12544
ae1a4cd9
AZ
12545 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
12546 is defined.
12547 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
12548 FINITEF is defined.
12549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
12550 and finitef multiarch implementations.
12551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
12552 New file.
12553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
12554 file.
12555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
12556 multiarch finite for PowerPC32.
12557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
12558 New file.
12559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
12560 file: multiarch finitef for PowerPC32.
12561
64fffd65
AZ
12562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
12563 and isinff multiarch implementations.
12564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
12565 file.
12566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
12567 file.
12568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
12569 multiarch isinf for PowerPC32.
12570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
12571 New file.
12572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
12573 multiarch isinff for PowerPC32.
12574
8e4e7ba2
AZ
12575 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
12576 alias when __isnan is defined.
12577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
12578 and isnanf multiarch implementations.
12579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
12580 file.
12581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
12582 file.
12583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
12584 file.
12585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
12586 file.
12587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
12588 multiarch isnan for PowerPC32.
12589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
12590 New file.
12591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
12592 New file.
12593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
12594 multiarch isnanf for PowerPC32.
12595
ddba588e
AZ
12596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
12597 and sqrtf multiarch implementations.
12598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
12599 file.
12600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
12601 file.
12602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
12603 multiarch sqrt for PowerPC32.
12604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
12605 file.
12606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
12607 file.
12608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
12609 multiarch sqrtf for PowerPC32.
12610
0f96a2f0
AZ
12611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
12612 and llroundf multiarch implementations.
12613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
12614 New file.
12615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
12616 New file.
12617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
12618 New file.
12619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
12620 file: multiarch llround for PowerPC32.
12621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
12622 file: multiarch llroundf for PowerPC32.
12623
c9b5d79e
AZ
12624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
12625 multiarch PowerPC32 fpu implementations.
12626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
12627 New file.
12628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
12629 New file.
12630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
12631 multiarch llrint for PowerPC32.
12632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
12633 New file.
12634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
12635 New file.
12636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
12637 file.
12638
9cbb3aab
AZ
12639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
12640
ea5a72f8
AZ
12641 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
12642 file.
12643 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
12644 file.
12645 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
12646 file.
12647 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
12648 multiarch wordcopy for PPC32.
12649 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12650 wordcopy objects.
12651 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12652 (__libc_ifunc_impl_list): Likewise.
12653 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
12654 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
12655 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
12656 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
12657 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
12658 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
12659
93be09e7
AZ
12660 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
12661 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
12662 file.
12663 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
12664 file.
12665 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
12666 file.
12667 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
12668 multiarch wcscpy for PPC32.
12669 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12670 multiarch objects.
12671 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12672 (__libc_ifunc_impl_list): Likewise.
12673 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12674 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12675 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
12676 sysdeps/powerpc/power6/wcscpy.c.
12677
bb04e529
AZ
12678 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
12679 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
12680 file.
12681 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
12682 file.
12683 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
12684 file.
12685 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
12686 multiarch wcsrchr for PPC32.
12687 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12688 multiarch objects.
12689 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12690 (__libc_ifunc_impl_list): Likewise.
12691 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12692 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12693 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
12694 sysdeps/powerpc/power6/wcsrchr.c.
12695
05b5cd1c
AZ
12696 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
12697 file.
12698 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
12699 file.
12700 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
12701 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
12702 multiarch wcschr for PPc32.
12703 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12704 multiarch objects.
12705 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12706 (__libc_ifunc_impl_list): Likewise.
12707 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
12708 * sysdeps/powerpc/power6/wcschr.c: ... to here.
12709 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
12710 sysdeps/powerpc/power6/wcschr.c.
12711
ba964147
AZ
12712 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
12713 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
12714 file.
12715 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
12716 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
12717 file: multiarch strchr for PPC32.
12718 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
12719 multiarch objects.
12720 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12721 (__libc_ifunc_impl_list): Likewise.
12722
31c81aaa
AZ
12723 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
12724 name.
12725 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
12726 file.
12727 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
12728 file.
12729 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
12730 multiarch strchrnul for PPC32.
12731 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
12732 multiarch objects.
12733 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12734 (__libc_ifunc_impl_list): Likewise.
12735
0d0607d9
AZ
12736 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
12737 file.
12738 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
12739 multiarch strncasecmp for PPC32.
12740 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
12741 file.
12742 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
12743 multiarch strncasecmp_l for PPC32.
12744 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
12745 strncasecmp multiarch objects.
12746 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12747 (__libc_ifunc_impl_list): Likewise.
12748
4dfd5c86
AZ
12749 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
12750 file.
12751 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
12752 multiarch strncasecmp for PPC32.
12753 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12754 New file.
12755 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
12756 multiarch strcasecmp_l for PPC32.
12757 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
12758 multiarch objects.
12759 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12760 (__libc_ifunc_impl_list): Likewise.
12761
a19e01a3
AZ
12762 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
12763 file.
12764 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
12765 file.
12766 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
12767 multiarch strncmp for PPC32.
12768 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
12769 multiarch objects.
12770 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12771 (__libc_ifunc_impl_list): Likewise.
12772
ae9cf7a2
AZ
12773 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
12774 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
12775 file.
12776 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
12777 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
12778 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
12779 multiarch objects.
12780 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12781 (__libc_ifunc_impl_list): Likewise.
12782
3148bb7d
AZ
12783 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
12784 file.
12785 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
12786 file.
12787 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
12788 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
12789 multiarch objects.
12790 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12791 (__libc_ifunc_impl_list): Likewise.
12792
7af8b946
AZ
12793 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
12794 file.
12795 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
12796 file.
12797 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
12798 multiarch rawmemchr for PPC32.
12799 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
12800 multiarch objects.
12801 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12802 (__libc_ifunc_impl_list): Likewise.
12803
03a6aa6a
AZ
12804 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
12805 file.
12806 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
12807 file.
12808 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
12809 file: memrchr multiarch for PPC32.
12810 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
12811 multiarch objects.
12812 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12813 (__libc_ifunc_impl_list): Likewise.
12814
1c62e6d9
AZ
12815 * string/memchr.c (__memchr): Using macro to redefine symbol name.
12816 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
12817 file.
12818 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
12819 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
12820 multiarch memchr for PPC32.
12821 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
12822 multiarch objects.
12823 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12824 (__libc_ifunc_impl_list): Likewise.
12825
87da8bdb
AZ
12826 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
12827 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
12828 file.
12829 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
12830 file.
12831 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
12832 file: multiarch mempcpy for PPC32.
12833 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
12834 multiarch objects.
12835 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12836 (__libc_ifunc_impl_list): Likewise.
12837
20ed4714
AZ
12838 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
12839 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
12840 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
12841 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
12842 multiarch bzero for PPC32.
12843 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
12844 file.
12845 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
12846 file.
12847 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
12848 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
12849 file: multiarch memset for PPC32.
12850 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
12851 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
12852 memset multiarch objects.
12853 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12854 (__libc_ifunc_impl_list): Likewise.
12855
ab3e3a46
AZ
12856 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
12857 file.
12858 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
12859 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
12860 memcmp for PPC32.
12861 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
12862 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
12863 multiarch objects.
12864 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12865 (__libc_ifunc_impl_list): Likewise.
12866
930de6f0
AZ
12867 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
12868 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
12869 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
12870 file.
12871 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
12872 file.
12873 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
12874 file.
12875 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
12876 multiarch memcpy for PPC32.
12877 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
12878 multiarch objects.
12879 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12880 (__libc_ifunc_impl_list): Likewise.
12881
4c628e00
AZ
12882 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
12883 support multiarch for POWER/PPC32.
12884 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
12885 Likewise.
12886 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
12888 Implies file to make multiarch folder appers before the fpu and
12889 default folder for power4 configuration.
12890
f4479220
SP
128912013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12892
12893 * scripts/bench.pl: Append volatile keyword to type.
12894
8517800f
KK
128952013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12896
12897 * sysdeps/sh/sotruss-lib.c: New file.
12898 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
12899
180138f1
AZ
129002013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12901
12902 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12903
bbf37bdc
JM
129042013-12-05 Joseph Myers <joseph@codesourcery.com>
12905
e47cc4e0
JM
12906 [BZ #6810]
12907 * math/w_tgamma.c: Include <errno.h>.
12908 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
12909 * math/w_tgammaf.c: Include <errno.h>.
12910 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
12911 * math/w_tgammal.c: Include <errno.h>.
12912 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
12913 * math/auto-libm-test-in: Do not allow missing errno on tgamma
12914 underflow. Add more tgamma tests.
12915 * math/auto-libm-test-out: Regenerated.
12916 * sysdeps/i386/fpu/libm-test-ulps: Update.
12917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12918
bbf37bdc
JM
12919 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
12920 sin, sinh, tan, tanh, tgamma, y0 and y1.
12921 * math/auto-libm-test-out: Regenerated.
12922 * math/libm-test.inc (TEST_COND_x86_64): New macro.
12923 (TEST_COND_x86): Likewise.
12924 (M_E2l): Remove macro.
12925 (M_E3l): Likewise.
12926 (M_2_SQRT_PIl): Likewise.
12927 (M_SQRT_PIl): Likewise.
12928 (M_1_DIV_El): Likewise.
12929 (log_test_data): Use AUTO_TESTS_f_f.
12930 (log10_test_data): Likewise.
12931 (log1p_test_data): Likewise.
12932 (log2_test_data): Likewise.
12933 (sin_test_data): Likewise.
12934 (sin_tonearest_test_data): Likewise.
12935 (sin_towardzero_test_data): Likewise.
12936 (sin_downward_test_data): Likewise.
12937 (sin_upward_test_data): Likewise.
12938 (sinh_test_data): Likewise.
12939 (sinh_tonearest_test_data): Likewise.
12940 (sinh_towardzero_test_data): Likewise.
12941 (sinh_downward_test_data): Likewise.
12942 (sinh_upward_test_data): Likewise.
12943 (tan_test_data): Likewise.
12944 (tan_tonearest_test_data): Likewise.
12945 (tan_towardzero_test_data): Likewise.
12946 (tan_downward_test_data): Likewise.
12947 (tan_upward_test_data): Likewise.
12948 (tanh_test_data): Likewise.
12949 (tgamma_test_data): Likewise.
12950 (y0_test_data): Likewise.
12951 (y1_test_data): Likewise.
12952 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
12953 (special_real_inputs): Add pi/4.
12954 * sysdeps/i386/fpu/libm-test-ulps: Update.
12955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12956
eb5ad6b9
AZ
129572013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12958
12959 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
12960 "longjmp_target" static probes.
12961 (__longjmp): Rename to __longjmp_symbol.
12962 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12963 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
12964 on which longjmp to generate.
12965 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12966 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
12967 probe.
12968 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12969 (__sigjmp_save): Rename to __sigjmp_save_symbol.
12970 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12971 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
12972 and __sigjmp_save_symbol based on which sigsetjmp to generated.
12973 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
12974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
12975 __longjmp_symbol based on which __longjmp to generate.
12976 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
12977 probe.
12978 (setjmp): Rename to setjmp_symbol.
12979 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12980 (_setjmp): Rename to _setjmp_symbol.
12981 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12982 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
12983 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
12984 which setjmp to generate.
12985 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
12986 "longjmp_target" static probes.
12987
d136c6dc
SP
129882013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12989
9298ecba
SP
12990 * benchtests/README: Add note about output arguments.
12991 * benchtests/bench-sincos.c: Remove file.
12992 * benchtests/sincos-inputs: New file.
12993 * scripts/bench.pl: Identify output arguments and define
12994 static variables for them.
12995
232983e9
SP
12996 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
12997
d136c6dc
SP
12998 [BZ #15941]
12999 * Makefile (INSTALL): Add install-plain.texi as the primary
13000 dependency.
13001 * manual/install-plain.texi: New file.
13002 * manual/install.texi: Include node directive only for
13003 non-plaintext output.
13004
699ff837
JM
130052013-12-04 Joseph Myers <joseph@codesourcery.com>
13006
ab07cea8
JM
13007 * stdlib/longlong.h: Update from GCC.
13008
699ff837
JM
13009 [BZ #6807]
13010 [BZ #15901]
13011 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
13012 * math/w_j0f.c (y0f): Likewise.
13013 * math/w_j0l.c (__y0l): Likewise.
13014 * math/w_j1.c (y1): Likewise.
13015 * math/w_j1f.c (y1f): Likewise.
13016 * math/w_j1l.c (__y1l): Likewise
13017 * math/w_jn.c (yn): Likewise.
13018 * math/w_jnf.c (ynf): Likewise.
13019 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
13020 Bessel function pole errors in _POSIX_ mode. Use NAN as return
13021 value for Bessel function domain errors outside _SVID_ mode.
13022 Adjust sign of return value for yn (negative integer, 0).
13023 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
13024 by zero in return for negative x and set sign appropriately for
13025 negative n.
13026 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
13027 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13028 * math/libm-test.inc (y0_test_data): Add more tests and adjust
13029 expectations in error cases.
13030 (y1_test_data): Likewise.
13031 (yn_test_data): Likewise.
13032 * sysdeps/i386/fpu/libm-test-ulps: Update.
13033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13034
5b118558
UW
130352013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13036
13037 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
13038 "64" to "64-v1". Add "64-v2".
13039 (abi-64-options): Rename to ...
13040 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
13041 (abi-64-condition): Rename to ...
13042 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
13043 (abi-64-ld-soname): Rename to ...
13044 (abi-64-v1-ld-soname): ... this.
13045 (abi-64-v2-options): Define.
13046 (abi-64-v2-condition): Likewise.
13047 (abi-64-v2-ld-soname): Likewise.
13048 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
13049 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
13050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
13051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
13052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
13053
61cd8fe4
UW
130542013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13055 Alan Modra <amodra@gmail.com>
13056
13057 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
13058 New versions for use with the ELFv2 ABI.
13059 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
13060 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
13061 declaration.
13062 (struct La_ppc64v2_retval): Likewise.
13063 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
13064 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
13065 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
13066 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
13067 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
13068 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13069 Do not save or restore CR.
13070 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
13071 (_dl_profile_resolve): Do no save or restore CR. Support extended
13072 return values for ELFv2 ABI. Fix location of FPR return registers.
13073 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
13074 updated values for _CALL_ELF == 2.
13075 (La_regs, La_retval, int_retval): Likewise.
13076
8b8a692c
UW
130772013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13078
13079 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
13080 (FRAME_MIN_SIZE_PARM): Likewise.
13081 (FRAME_BACKCHAIN): Likewise.
13082 (FRAME_CR_SAVE): Likewise.
13083 (FRAME_LR_SAVE): Likewise.
13084 (FRAME_TOC_SAVE): Likewise.
13085 (FRAME_PARM_SAVE): Likewise.
13086 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
13087 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
13088 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13089 (call_mcount_parm_offset): New macro.
13090 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
13091 (PROF): Use symbolic stack frame offsets.
13092 (TAIL_CALL_SYSCALL_ERROR): Likewise.
13093 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
13094 Redefine in terms of FRAME_MIN_SIZE.
13095 (_dl_runtime_resolve): Use symbolic stack frame offsets.
13096 (_dl_profile_resolve): Likewise. Update comment.
13097 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
13098 symbols stack frame offsets.
13099 (__sigsetjmp): Likewise.
13100 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
13101 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
13102 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
13103 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
13104
13105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
13106 (FRAME_BACKCHAIN): Remove.
13107 (FRAME_CR_SAVE): Likewise.
13108 (FRAME_LR_SAVE): Likewise.
13109 (FRAME_COMPILER_DW): Likewise.
13110 (FRAME_LINKER_DW): Likewise.
13111 (FRAME_TOC_SAVE): Likewise.
13112 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
13113 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
13114 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
13115 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
13116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
13117 (CHECK_SP): Use symbolic stack frame offsets.
13118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
13119 zone" instead of caller's parameter save area for temp storage.
13120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13121 Likewise. Also, use symbolic stack frame offsets.
13122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
13123 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
13124 our own stack frame instead of the caller's.
13125 (__socket): Use symbolic stack frame offsets.
13126
122b66de
UW
131272013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13128 Alan Modra <amodra@gmail.com>
13129
13130 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
13131 Define.
57f41c40
AS
13132 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
13133 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
13134 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
13135 New function.
13136 (elf_machine_fixup_plt): Call it.
13137 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
13138 reloc arguments.
13139 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
13140 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13141 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
13142 r2 before calling target.
13143
696caf1d
UW
131442013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13145 Alan Modra <amodra@gmail.com>
13146
13147 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
13148 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
13149 versions of macros to support ELFv2 ABI.
13150 (LOCALENTRY): New macro.
13151 (ENTRY, EALIGN): Use it.
13152 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
13153 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
13154 fall through into ENTRY entry point.
13155 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
13156 Only define if _CALL_ELF != 2.
13157
13158 (elf_machine_matches_host): Verify ABI version matches.
13159 (RTLD_START): Use LOCALENTRY.
13160 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
13161 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
13162 (PLT_ENTRY_WORDS): New macro.
13163 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
13164 (elf_machine_runtime_setup): Support ELFv2 ABI.
13165 (elf_machine_fixup_plt): Likewise.
13166 (elf_machine_plt_conflict): Likewise.
13167 (resolve_ifunc): Likewise.
13168 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13169 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13170 Likewise.
13171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
13172 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
13173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13174 (makecontext): Support ELFv2 ABI.
13175 * elf/elf.h (EF_PPC64_ABI): Define.
13176
d31beafa
UW
131772013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13178
57f41c40
AS
13179 * sysdeps/powerpc/powerpc64/sysdep.h
13180 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
13181 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
13182 (ENTRY) [ASSEMBLER]: ... but instead here ...
13183 (EALIGN) [ASSEMBLER]: ... and here.
13184 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
13185 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
13186 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
13187 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
13188 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
13189 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13190 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
13191 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
13192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
13193 Use PPC64_LOAD_FUNCPTR.
13194
b525166b
UW
13195 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
13196
7ec07d9a
AM
131972013-12-04 Alan Modra <amodra@gmail.com>
13198
13199 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
13200 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
13201 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
13202 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
13203
13204 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
13205 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
13206 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
13207 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
13208 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
13209 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
13210
5162e7dd
UW
132112013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13212
13213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13214 (__makecontext): Fix incorrect CFI when backtracing out of
13215 context created via makecontext.
13216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
13217 (__setcontext): Fix incorrect CFI during switch to new context.
13218 (__novec_setcontext): Likewise.
13219
19e3372b
OB
132202013-12-04 Ondřej Bílka <neleai@seznam.cz>
13221
13222 [BZ #4772]
13223 * time/strptime_l.c (__strptime_internal): Allow modifiers
13224 in strptime.
13225 * time/tst-strptime.c (day_tests): Add testcase.
13226
ecaf142d
SP
132272013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13228
13229 * scripts/bench.pl: Skip over blank lines.
13230
fbf964ae
PE
132312013-12-04 Paul Eggert <eggert@cs.ucla.edu>
13232
13233 [BZ #926]
13234 * manual/time.texi (Calendar Time): Clarify what timezone functions
13235 use.
13236
fa60a674
AZ
132372013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13238
13239 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13240
d674f0ef
OB
132412013-12-04 Ondřej Bílka <neleai@seznam.cz>
13242
13243 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
13244 implementation.
13245 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
13246 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
13247 * debug/memset_chk.c (__memset_chk): Likewise.
13248 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
13249 * debug/strncpy_chk.c: Likewise.
13250
17dea188
JM
132512013-12-03 Joseph Myers <joseph@codesourcery.com>
13252
749008ff
JM
13253 [BZ #15268]
13254 [BZ #15425]
13255 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
13256 (__ieee754_exp): For possibly underflowing results, check size of
13257 result and force underflow exception if required.
13258 * math/auto-libm-test-in: Add more tests of exp.
13259 * math/auto-libm-test-out: Regenerated.
13260 * sysdeps/i386/fpu/libm-test-ulps: Update.
13261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13262
17dea188
JM
13263 [BZ #16283]
13264 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
13265 * math/w_exp2f.c (__exp2f): Likewise.
13266 * math/w_exp2l.c (__exp2l): Likewise.
13267 * math/auto-libm-test-in: Do not allow missing errno on exp2
13268 underflow.
13269 * math/auto-libm-test-out: Regenerated.
13270
b20de2c3
OB
132712013-12-03 Ondřej Bílka <neleai@seznam.cz>
13272
13273 [BZ #16274]
13274 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
13275 handle filename validation.
13276 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
13277 (do_open): Delete.
13278
d8e2dbe3
JM
132792013-12-03 Joseph Myers <joseph@codesourcery.com>
13280
34e16df5
JM
13281 [BZ #6786]
13282 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
13283 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
13284 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
13285 <float.h>.
13286 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
13287 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
13288 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13289 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
13290 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13291 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
13292 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13293 * math/auto-libm-test-in: Don't allow missing errno from erfc.
13294 Add more erfc tests.
13295 * math/auto-libm-test-out: Regenerated.
13296 * sysdeps/i386/fpu/libm-test-ulps: Update.
13297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13298
d8e2dbe3
JM
13299 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
13300 exp2, expm1, j0 and j1.
13301 * math/auto-libm-test-out: Regenerated.
13302 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
13303 (erfc_test_data): Likewise.
13304 (exp_test_data): Likewise.
13305 (exp_tonearest_test_data): Likewise.
13306 (exp_towardzero_test_data): Likewise.
13307 (exp_downward_test_data): Likewise.
13308 (exp_upward_test_data): Likewise.
13309 (exp10_test_data): Likewise.
13310 (exp2_test_data): Likewise.
13311 (expm1_test_data): Likewise.
13312 (j0_test_data): Likewise.
13313 (j1_test_data): Likewise.
13314 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
13315 (input_flag_type): Add flag_xfail_rounding.
13316 (input_flags): Add xfail-rounding.
13317 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
13318 (output_for_one_input_case): Handle flag_xfail_rounding.
13319 * sysdeps/i386/fpu/libm-test-ulps: Update.
13320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13321
18d14251
AJ
133222013-12-03 Aurelien Jarno <aurelien@aurel32.net>
13323
3d2e6075 13324 [BZ #16289]
18d14251
AJ
13325 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
13326 division by 0.
13327
520d437b
SP
133282013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13329
13330 [BZ #16195]
13331 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
13332 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
13333 (STAP_PROBE0): New macro.
13334 (STAP_PROBE1): Likewise.
13335 (STAP_PROBE2): Likewise.
13336 (STAP_PROBE3): Likewise.
13337 (STAP_PROBE4): Likewise.
13338
416e0145
OB
133392013-12-02 Ondřej Bílka <neleai@seznam.cz>
13340
13341 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
13342
9d17796a
SE
133432013-12-02 Steve Ellcey <sellcey@mips.com>
13344
13345 * benchtests/Makefile (bench): Add sqrt.
13346 (LDLIBS-bench-sqrt): New.
13347 * benchtests/sqrt-input: New.
13348
f524d6a8
PS
133492013-12-02 Pavel Simerda <psimerda@redhat.com>
13350
639a0ef8
PS
13351 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
13352 (GAIH_EAI): Likewise.
13353 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
13354 (gaih_inet): Likewise.
13355 (getaddrinfo): Don't use GAIH_EAI.
13356
f524d6a8
PS
13357 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
13358 (struct gaih): Remove definition.
13359
df3aedaf
SP
133602013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13361
13362 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
13363 Use HERRNOP directly.
13364
1ab19dec
AZ
133652013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13366
b42ad38d 13367 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 13368
176b0c79
JM
133692013-11-30 Joseph Myers <joseph@codesourcery.com>
13370
13371 * math/gen-auto-libm-tests.c (test_functions): Add more
13372 single-argument functions.
13373 (special_fill_pi_2): New function.
13374 (special_fill_minus_pi_2): Likewise.
13375 (special_fill_pi_6): Likewise.
13376 (special_fill_minus_pi_6): Likewise.
13377 (special_fill_pi_3): Likewise.
13378 (special_fill_2pi_3): Likewise.
13379 (special_fill_e): Likewise.
13380 (special_fill_1_e): Likewise.
13381 (special_fill_e_minus_1): Likewise.
13382 (special_real_inputs): Add more special inputs.
13383 (output_for_one_input_case): Do not require ERANGE on underflow to
13384 zero if round-to-nearest result does not underflow to zero, unless
13385 exact results required.
13386 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
13387 atan, atanh, cbrt, cos and cosh.
13388 * math/auto-libm-test-out: Regenerated.
13389 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
13390 (acos_tonearest_test_data): Likewise.
13391 (acos_towardzero_test_data): Likewise.
13392 (acos_downward_test_data): Likewise.
13393 (acos_upward_test_data): Likewise.
13394 (acosh_test_data): Likewise.
13395 (asin_test_data): Likewise.
13396 (asin_tonearest_test_data): Likewise.
13397 (asin_towardzero_test_data): Likewise.
13398 (asin_upward_test_data): Likewise.
13399 (asinh_test_data): Likewise.
13400 (atan_test_data): Likewise.
13401 (atanh_test_data): Likewise.
13402 (cbrt_test_data): Likewise.
13403 (cos_test_data): Likewise.
13404 (cos_tonearest_test_data): Likewise.
13405 (cos_towardzero_test_data): Likewise.
13406 (cos_downward_test_data): Likewise.
13407 (cos_upward_test_data): Likewise.
13408 (cosh_test_data): Likewise.
13409 (cosh_tonearest_test_data): Likewise.
13410 (cosh_towardzero_test_data): Likewise.
13411 (cosh_downward_test_data): Likewise.
13412 (cosh_upward_test_data): Likewise.
13413 * sysdeps/i386/fpu/libm-test-ulps: Update.
13414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13415
ffb536d0
JM
134162013-11-29 Joseph Myers <joseph@codesourcery.com>
13417
2a77a467
JM
13418 [BZ #6787]
13419 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
13420 * math/w_exp10f.c (__exp10f): Likewise.
13421 * math/w_exp10l.c (__exp10l): Likewise.
13422 * math/libm-test.inc (exp10_test_data): Add more tests and expect
13423 errno settings in existing tests.
13424
ea3bc4e8
JM
13425 [BZ #14032]
13426 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
13427 precision control set to double precision.
13428 * sysdeps/i386/fpu/w_sqrt.c: New file.
13429 * math/auto-libm-test-in: Add more tests.
13430 * math/auto-libm-test-out: Update.
13431
0712c9d8
JM
13432 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
13433 (sqrt_test_tonearest): New function.
13434 (sqrt_towardzero_test_data): New variable.
13435 (sqrt_test_towardzero): New function.
13436 (sqrt_downward_test_data): New variable.
13437 (sqrt_test_downward): New function.
13438 (sqrt_upward_test_data): New variable.
13439 (sqrt_test_upward): New function.
13440 (main): Call the new functions.
13441
ffb536d0
JM
13442 * math/gen-auto-libm-tests.c: New file.
13443 * math/auto-libm-test-in: Likewise.
13444 * math/auto-libm-test-out: New generated file.
13445 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
13446 variables.
13447 (%beautify): Add generated representations of zero.
13448 (top level): Set $auto_input and call parse_auto_input.
13449 (beautify): Remove trailing "f" from hex float constants.
13450 (parse_args): Handle XFAIL_TEST.
13451 (convert_condition): New function.
13452 (or_value): Likewise.
13453 (or_cond_value): Likewise.
13454 (generate_testfile): Handle AUTO_TESTS_* lines.
13455 (parse_auto_input): New function.
13456 * math/libm-test.inc (XFAIL_TEST): New macro.
13457 (ERRNO_UNCHANGED): Update value.
13458 (ERRNO_EDOM): Likewise.
13459 (ERRNO_ERANGE): Likewise.
13460 (IGNORE_RESULT): Likewise.
13461 (TEST_COND_flt_32): New macro.
13462 (TEST_COND_dbl_64): Likewise.
13463 (TEST_COND_ldbl_96_intel): Likewise.
13464 (TEST_COND_ldbl_96_m68k): Likewise.
13465 (TEST_COND_ldbl_128): Likewise.
13466 (TEST_COND_ldbl_128ibm): Likewise.
13467 (TEST_COND_long32): Likewise.
13468 (TEST_COND_long64): Likewise.
13469 (TEST_COND_before_rounding): Likewise.
13470 (TEST_COND_after_rounding): Likewise.
13471 (enable_test): Handle XFAIL_TEST flag.
13472 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
13473 with finite results.
13474 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
13475 auto-libm-test-out.
13476
acd98a8e
AK
134772013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13478 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13479
13480 [BZ #16214]
13481 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
13482 __tls_get_addr_internal instead of __tls_get_offset in order to
13483 avoid GOT pointer dependency. Make rtld export
13484 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
13485 __tls_get_addr since we are a __tls_get_offset platform.
13486 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
13487 GOT pointer being set up before.
13488 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
13489
3c1c46a6
JM
134902013-11-28 Joseph Myers <joseph@codesourcery.com>
13491
7475aef5
JM
13492 * manual/math.texi (Errors in Math Functions): Document accuracy
13493 goals.
13494
8bca7cd8
JM
13495 [BZ #15004]
13496 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
13497 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
13498 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13499 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13500 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13501 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13502 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13503 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13504 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13505 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13506 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13507 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13508 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13509 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13510 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13511 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13512
91a1f3fe
JM
13513 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
13514 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
13515 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
13516 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
13517 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
13518 Likewise.
13519 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
13520 Likewise.
13521 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
13522 Likewise.
13523 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
13524 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
13525 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
13526 atomic-feupdateenv and flt-rounds.
13527 * sysdeps/powerpc/nofpu/Versions (libc): Add
13528 __atomic_feholdexcept, __atomic_feclearexcept,
13529 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
13530 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
13531 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
13532 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
13533 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
13534 here.
13535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
13536 Update.
13537
c5df7609
JM
13538 * manual/arith.texi (FP Exceptions): Document that exceptions may
13539 not be raised when matherr is used.
13540 (Math Error Reporting): Document overflow in directed rounding
13541 modes. Document that errno may not be set when finite values are
13542 returned on overflow. Document intent to set errno on underflow
13543 only for underflow to zero.
13544
3c1c46a6
JM
13545 [BZ #16271]
13546 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
13547 round-to-nearest then adjust result for other rounding modes.
13548 * include/fenv.h (fegetround): Use libm_hidden_proto.
13549 * math/fegetround.c (fegetround): Use libm_hidden_def.
13550 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
13551 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
13552 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13553 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
13554 Likewise.
13555 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
13556 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13557 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
13558 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
13559
5a4c6d53
SP
135602013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13561
13562 [BZ #16077]
13563 * nss/Versions (libnss_files): Add
13564 _nss_files_gethostbyname3_r.
13565 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
13566 New function.
13567 (HOST_DB_LOOKUP): Remove macro.
13568 (_nss_files_gethostbyname_r): Implement function without the
13569 HOST_DB_LOOKUP macro.
13570 (_nss_files_gethostbyname2_r): Likewise.
13571
897b98ba
OB
135722013-11-28 Ondřej Bílka <neleai@seznam.cz>
13573
13574 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
13575
6f476861
UB
135762013-11-26 Uros Bizjak <ubizjak@gmail.com>
13577
13578 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
13579 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
13580 warning.
13581
bd12ab55
AZ
135822013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13583
13584 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
13585 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
13586 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13587 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
13588 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
13589 __fe_nomask_env_priv and attribute_hidden.
13590 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
13591 (libc_feupdateenv_test_ppc): Likewise.
13592 (libc_feresetround_ppc): Likewise.
13593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13594 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
13595 compat_symbol macro.
13596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13597 (__fe_nomask_env): Likewise.
13598 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
13599
52bb6543
OB
136002013-11-26 Ondřej Bílka <neleai@seznam.cz>
13601
13602 * string/Makefile: Remove ifunc tests.
13603 * string/test-string.h: Define TEST_IFUNC.
13604 * string/test-bcopy-ifunc.c: Remove.
13605 * string/test-bzero-ifunc.c: Likewise.
13606 * string/test-memccpy-ifunc.c: Likewise.
13607 * string/test-memchr-ifunc.c: Likewise.
13608 * string/test-memcmp-ifunc.c: Likewise.
13609 * string/test-memcpy-ifunc.c: Likewise.
13610 * string/test-memmem-ifunc.c: Likewise.
13611 * string/test-memmove-ifunc.c: Likewise.
13612 * string/test-mempcpy-ifunc.c: Likewise.
13613 * string/test-memrchr-ifunc.c: Likewise.
13614 * string/test-memset-ifunc.c: Likewise.
13615 * string/test-rawmemchr-ifunc.c: Likewise.
13616 * string/test-stpcpy-ifunc.c: Likewise.
13617 * string/test-stpncpy-ifunc.c: Likewise.
13618 * string/test-strcasecmp-ifunc.c: Likewise.
13619 * string/test-strcasestr-ifunc.c: Likewise.
13620 * string/test-strcat-ifunc.c: Likewise.
13621 * string/test-strchr-ifunc.c: Likewise.
13622 * string/test-strchrnul-ifunc.c: Likewise.
13623 * string/test-strcmp-ifunc.c: Likewise.
13624 * string/test-strcpy-ifunc.c: Likewise.
13625 * string/test-strcspn-ifunc.c: Likewise.
13626 * string/test-strlen-ifunc.c: Likewise.
13627 * string/test-strncasecmp-ifunc.c: Likewise.
13628 * string/test-strncat-ifunc.c: Likewise.
13629 * string/test-strncmp-ifunc.c: Likewise.
13630 * string/test-strncpy-ifunc.c: Likewise.
13631 * string/test-strnlen-ifunc.c: Likewise.
13632 * string/test-strpbrk-ifunc.c: Likewise.
13633 * string/test-strrchr-ifunc.c: Likewise.
13634 * string/test-strspn-ifunc.c: Likewise.
13635 * string/test-strstr-ifunc.c: Likewise.
13636
ab260039 136372013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
13638
13639 * benchtests/Makefile: Remove ifunc tests.
13640 * benchtests/bench-string.h: Define TEST_IFUNC.
13641 * benchtests/bench-bcopy-ifunc.c: Remove.
13642 * benchtests/bench-bzero-ifunc.c: Likewise.
13643 * benchtests/bench-memccpy-ifunc.c: Likewise.
13644 * benchtests/bench-memchr-ifunc.c: Likewise.
13645 * benchtests/bench-memcmp-ifunc.c: Likewise.
13646 * benchtests/bench-memcpy-ifunc.c: Likewise.
13647 * benchtests/bench-memmem-ifunc.c: Likewise.
13648 * benchtests/bench-memmove-ifunc.c: Likewise.
13649 * benchtests/bench-mempcpy-ifunc.c: Likewise.
13650 * benchtests/bench-memrchr-ifunc.c: Likewise.
13651 * benchtests/bench-memset-ifunc.c: Likewise.
13652 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
13653 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
13654 * benchtests/bench-stpcpy-ifunc.c: Likewise.
13655 * benchtests/bench-stpncpy-ifunc.c: Likewise.
13656 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
13657 * benchtests/bench-strcasestr-ifunc.c: Likewise.
13658 * benchtests/bench-strcat-ifunc.c: Likewise.
13659 * benchtests/bench-strchr-ifunc.c: Likewise.
13660 * benchtests/bench-strchrnul-ifunc.c: Likewise.
13661 * benchtests/bench-strcmp-ifunc.c: Likewise.
13662 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
13663 * benchtests/bench-strcpy-ifunc.c: Likewise.
13664 * benchtests/bench-strcspn-ifunc.c: Likewise.
13665 * benchtests/bench-strlen-ifunc.c: Likewise.
13666 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
13667 * benchtests/bench-strncat-ifunc.c: Likewise.
13668 * benchtests/bench-strncmp-ifunc.c: Likewise.
13669 * benchtests/bench-strncpy-ifunc.c: Likewise.
13670 * benchtests/bench-strnlen-ifunc.c: Likewise.
13671 * benchtests/bench-strpbrk-ifunc.c: Likewise.
13672 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 13673 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
13674 * benchtests/bench-strspn-ifunc.c: Likewise.
13675 * benchtests/bench-strstr-ifunc.c: Likewise.
13676
136772013-11-26 Ondřej Bílka <neleai@seznam.cz>
13678
ab260039
OB
13679 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
13680
d1d9eaf4 136812013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 13682
d1d9eaf4
OB
13683 * resolv/netdb.h: Use __glibc_reserved instead __unused.
13684 * rt/aio.h: Likewise.
13685 * sysdeps/gnu/bits/utmp.h: Likewise.
13686 * sysdeps/gnu/bits/utmpx.h: Likewise.
13687 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13688 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
13689 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
13690 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
13691 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
13692 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
13693 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
13694 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
13695 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
13696 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
13697 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
13698 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
13699 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
13700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
13701 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13702 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
13703 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
13704 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
13705 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
13706 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
13707 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
13708 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
13709 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
13710 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13711 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
13712 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13713 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
13714 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
13715 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
13716 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
13717 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
13718 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
13719 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
13720 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13721 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
13722 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
13723 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
13724 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
13725 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
13726 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
13727 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
13728 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13729
a7624ed9
CD
137302013-11-25 Carlos O'Donell <carlos@redhat.com>
13731
13732 [BZ #16245]
13733 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
13734 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
13735
63cfe52b
JM
137362013-11-25 Joseph Myers <joseph@codesourcery.com>
13737
13738 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
13739 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
13740 Likewise.
13741
41e8926a
AZ
137422013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13743
13744 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
13745 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
13746 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
13747 (__fesetround): Remove define.
13748 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
13749 rounding and exceptions handling.
13750 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
13751 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
13752 (__fe_nomask_env): Likewise.
13753 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
13754 __fegetround instead of fegetround.
13755 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13756 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
13757
6851bd4d
RM
137582013-11-21 Roland McGrath <roland@hack.frob.com>
13759
070906ff
RM
13760 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
13761 it's there.
13762
6851bd4d
RM
13763 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
13764
84ae135d
MI
137652013-11-21 Meador Inge <meadori@codesourcery.com>
13766
13767 [BZ #11157]
13768 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
13769 (encrypt_r): Likewise.
13770 * malloc/obstack.h (obstack_free): Likewise.
13771 * posix/unistd.h (encrypt): Likewise.
13772
daf75146
GM
137732013-11-21 Guy Martin <gmsoft@tuxicoman.be>
13774
13775 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
13776 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
13777 DL_CALL_DT_FINI() that call the functions directly.
13778 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
13779 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
13780 * elf/dl-fini.c: Likewise.
13781
10ad46bc
OB
137822013-11-20 Ondřej Bílka <neleai@seznam.cz>
13783
13784 * malloc/hooks.c (memalign_check): Add alignment rounding.
13785 * malloc/malloc.c (_mid_memalign): New function.
13786 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
13787 Implement by calling _mid_memalign.
13788 * manual/probes.texi (Memory Allocation Probes): Remove
13789 memory_valloc_retry and memory_pvalloc_retry.
13790
f3fd2628
SP
137912013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13792
4712799f
SP
13793 * locale/programs/locarchive.c (open_archive): Add const
13794 qualifier to ARCHIVEFNAME and copy default fname to
13795 DEFAULT_FNAME.
13796
0417b20f
SP
13797 [BZ #15601]
13798 * libio/tst-widetext.input: Rename Oriya to Odia.
13799 * locale/iso-639.def: Likewise.
13800
f3fd2628
SP
13801 * manual/probes.texi (Mathematical Function Probes): Add
13802 documentation for sin, cos, asin and acos probes.
13803 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
13804 (__sin32): Add slowasin probe.
13805 (__cos32): Add slowacos probe.
13806 (__mpsin): Add slowsin probe.
13807 (__mpcos): Add slowcos probe.
13808
73c1ce4f
JM
138092013-11-19 Joseph Myers <joseph@codesourcery.com>
13810
13811 [BZ #15483]
13812 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
13813 thread-local __sim_exceptions_thread and global
13814 __sim_exceptions_global.
13815 (__sim_disabled_exceptions): Change to thread-local
13816 __sim_disabled_exceptions_thread and global
13817 __sim_disabled_exceptions_global.
13818 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13819 and global __sim_round_mode_global.
13820 (__simulate_exceptions): Use thread-local floating-point state and
13821 set global state from it as needed.
13822 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
13823 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
13824 __sim_round_mode_thread.
13825 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
13826 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
13827 and global __sim_exceptions_global.
13828 (__sim_disabled_exceptions): Change to thread-local
13829 __sim_disabled_exceptions_thread and global
13830 __sim_disabled_exceptions_global.
13831 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13832 and global __sim_round_mode_global.
13833 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
13834 (SIM_SET_GLOBAL): Likewise.
13835 * sysdeps/powerpc/soft-fp/sfp-machine.h
13836 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
13837 __sim_round_mode_thread.
13838 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
13839 __sim_disabled_exceptions_thread.
13840 (__sim_exceptions): Change to __sim_exceptions_thread.
13841 (__sim_disabled_exceptions): Change to
13842 __sim_disabled_exceptions_thread.
13843 (__sim_round_mode): Change to __sim_round_mode_thread.
13844 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
13845 thread-local floating-point state and set global state from it as
13846 needed.
13847 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
13848 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
13849 (__sim_disabled_exceptions): Remove extern declaration.
13850 (feenableexcept): Use thread-local floating-point state and set
13851 global state from it as needed.
13852 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
13853 extern declaration.
13854 (__sim_disabled_exceptions): Likewise.
13855 (__sim_round_mode): Likewise.
13856 (__fegetenv): Use thread-local floating-point state.
13857 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
13858 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13859 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
13860 floating-point state and set global state from it as needed.
13861 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
13862 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13863 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
13864 Likewise.
13865 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
13866 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
13867 Likewise.
13868 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
13869 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
13870 Use __sim_round_mode_thread.
13871 * math/test-fenv-tls.c: New file.
13872 * math/Makefile (tests): Add test-fenv-tls.
13873 ($(objpfx)test-fenv-tls): Depend on
13874 $(common-objpfx)nptl/libpthread.so.
13875
b5449b12
AS
138762013-11-19 Andreas Schwab <schwab@suse.de>
13877
13878 * locale/programs/locale.c (show_info): Decode wordarray elements.
13879 * locale/categories.def (LC_MONETARY): Add element for
13880 _NL_MONETARY_CRNCYSTR.
13881 * locale/C-monetary.c (conversion_rate): New variable.
13882 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
13883 element.
13884
e186536b
CM
138852013-11-18 Chris Metcalf <cmetcalf@tilera.com>
13886
13887 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
13888 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
13889
5c349950
PP
138902013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13891
13892 * elf/Makefile (tst-auxv): New test.
13893 * elf/tst-auxv.c: New
13894 * elf/rtld.c (dl_main): Adjust AT_EXECFN
13895
699df45b
JM
138962013-11-18 Joseph Myers <joseph@codesourcery.com>
13897
13898 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
13899 (hidden_proto): Caller changed.
13900 (hidden_tls_proto): New macro.
13901 (libc_hidden_tls_proto): Likewise.
13902 (rtld_hidden_tls_proto): Likewise.
13903 (libm_hidden_tls_proto): Likewise.
13904 (libresolv_hidden_tls_proto): Likewise.
13905 (librt_hidden_tls_proto): Likewise.
13906 (libdl_hidden_tls_proto): Likewise.
13907 (libnss_files_hidden_tls_proto): Likewise.
13908 (libnsl_hidden_tls_proto): Likewise.
13909 (libnss_nisplus_hidden_tls_proto): Likewise.
13910 (libutil_hidden_tls_proto): Likewise.
13911
b7589107
OB
139122013-11-18 Ondřej Bílka <neleai@seznam.cz>
13913
13914 [BZ #10253]
13915 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
13916 (decompose_rpath): Defer expansion to fillin_rpath.
13917 (_dl_init_paths): Pass linkmap to fillin_rpath.
13918
250c23bd
RS
139192013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13920
13921 * benchtests/Makefile: Add strsep.
13922 * benchtests/bench-strsep.c: New file: strsep benchtest.
13923 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
13924
a7931fcf
AS
139252013-11-18 Andreas Schwab <schwab@suse.de>
13926
13927 * locale/programs/locale.c (show_info) [case byte]: Check for
13928 '\377' instead of '\177'.
13929 * locale/C-monetary.c (not_available): Always use "\377".
13930 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
13931 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
13932 detect unavailable sign_posn locale elements.
13933 * locale/localeconv.c (__localeconv): For grouping and
13934 mon_grouping handle "\177" and "\377" like no grouping.
13935 (INT_ELEM): New macro. Use it to set all numeric members.
13936 * locale/programs/ld-monetary.c (monetary_read)
13937 <tok_mon_grouping>: Normalize single -1 to the empty string.
13938 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
13939 Likewise.
13940
728dab0e
OB
139412013-11-07 Ondřej Bílka <neleai@seznam.cz>
13942
13943 [BZ #16055]
13944 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
13945 when we match (nil).
13946 * stdio-common/tst-sscanf.c (struct test): Add testcase.
13947
66294491
JM
139482013-11-16 Joseph Myers <joseph@codesourcery.com>
13949
ce665817
JM
13950 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
13951 (NO_TEST_INLINE): Update value.
13952 (ERRNO_UNCHANGED): Likewise.
13953 (ERRNO_EDOM): Likewise.
13954 (ERRNO_ERANGE): Likewise.
13955 (IGNORE_RESULT): Likewise.
13956 (check_float_internal): Check signs of NaN results if
13957 TEST_NAN_SIGN used.
13958 (check_complex): Pass TEST_NAN_SIGN flag through to second
13959 check_float_internal call.
13960 (copysign_test_data): Add tests with quiet NaNs as second
13961 argument. Use TEST_NAN_SIGN.
13962 (fabs_test_data): Add test of negative quiet NaN argument. Use
13963 TEST_NAN_SIGN.
13964 (signbit_test_data): Add tests of quiet NaN argument.
13965 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
13966
ee1466a9
JM
13967 * math/gen-libm-test.pl (show_exceptions): Take extra argument
13968 $ignore_result.
13969 (parse_args): Handle function results specified as IGNORE.
13970 * math/libm-test.inc (IGNORE_RESULT): New macro.
13971 (check_float_internal): Do not check numerical result if flag
13972 IGNORE_RESULT set.
13973 (check_complex): Pass through IGNORE_RESULT to second
13974 check_float_internal call.
13975 (check_int): Do not check numerical result if flag IGNORE_RESULT
13976 set.
13977 (check_long): Likewise.
13978 (check_bool): Likewise.
13979 (check_longlong): Likewise.
13980 (lrint_test_data): Add tests of infinite and NaN arguments.
13981 (lrint_tonearest_test_data): Likewise.
13982 (lrint_towardzero_test_data): Likewise.
13983 (lrint_downward_test_data): Likewise.
13984 (lrint_upward_test_data): Likewise.
13985 (llrint_test_data): Likewise.
13986 (llrint_tonearest_test_data): Likewise.
13987 (llrint_towardzero_test_data): Likewise.
13988 (llrint_downward_test_data): Likewise.
13989 (llrint_upward_test_data): Likewise.
13990 (lround_test_data): Likewise.
13991 (llround_test_data): Likewise.
13992
14407b7e
JM
13993 * math/libm-test.inc (NO_TEST_INLINE): New macro.
13994 (ERRNO_UNCHANGED): Update value.
13995 (ERRNO_EDOM): Likewise.
13996 (ERRNO_ERANGE): Likewise.
13997 (NO_TEST_INLINE_FLOAT): New macro.
13998 (NO_TEST_INLINE_DOUBLE): Likewise.
13999 (enable_test): New function.
14000 (RUN_TEST_f_f): Check enable_test before running test.
14001 (RUN_TEST_2_f): Likewise.
14002 (RUN_TEST_fff_f): Likewise.
14003 (RUN_TEST_c_f): Likewise.
14004 (RUN_TEST_f_f1): Likewise.
14005 (RUN_TEST_fF_f1): Likewise.
14006 (RUN_TEST_fI_f1): Likewise.
14007 (RUN_TEST_ffI_f1): Likewise.
14008 (RUN_TEST_c_c): Likewise.
14009 (RUN_TEST_cc_c): Likewise.
14010 (RUN_TEST_f_i): Likewise.
14011 (RUN_TEST_f_i_tg): Likewise.
14012 (RUN_TEST_ff_i_tg): Likewise.
14013 (RUN_TEST_f_b): Likewise.
14014 (RUN_TEST_f_b_tg): Likewise.
14015 (RUN_TEST_f_l): Likewise.
14016 (RUN_TEST_f_L): Likewise.
14017 (RUN_TEST_fFF_11): Likewise.
14018 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
14019 conditionals.
14020 (cosh_test_data): Likewise.
14021 (exp_test_data): Likewise.
14022 (expm1_test_data): Likewise.
14023 (hypot_test_data): Likewise.
14024 (pow_test_data): Likewise.
14025 (sinh_test_data): Likewise.
14026 (tanh_test_data): Likewise.
14027 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
14028 flags argument.
14029
ca07f197
JM
14030 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
14031 tests with quiet NaN input and output.
14032 (acosh_test_data): Likewise.
14033 (asin_test_data): Likewise.
14034 (asinh_test_data): Likewise.
14035 (atan_test_data): Likewise.
14036 (atanh_test_data): Likewise.
14037 (atan2_test_data): Likewise.
14038 (cbrt_test_data): Likewise.
14039 (cos_test_data): Likewise.
14040 (cosh_test_data): Likewise.
14041 (erf_test_data): Likewise.
14042 (erfc_test_data): Likewise.
14043 (exp_test_data): Likewise.
14044 (exp10_test_data): Likewise.
14045 (exp2_test_data): Likewise.
14046 (expm1_test_data): Likewise.
14047 (hypot_test_data): Likewise.
14048 (j0_test_data): Likewise.
14049 (j1_test_data): Likewise.
14050 (jn_test_data): Likewise.
14051 (lgamma_test_data): Likewise.
14052 (log_test_data): Likewise.
14053 (log10_test_data): Likewise.
14054 (log1p_test_data): Likewise.
14055 (log2_test_data): Likewise.
14056 (pow_test_data): Likewise.
14057 (scalb_test_data): Likewise.
14058 (sin_test_data): Likewise.
14059 (sincos_test_data): Likewise.
14060 (sinh_test_data): Likewise.
14061 (tan_test_data): Likewise.
14062 (tanh_test_data): Likewise.
14063 (tgamma_test_data): Likewise.
14064 (y0_test_data): Likewise.
14065 (y1_test_data): Likewise.
14066 (yn_test_data): Likewise.
14067
66294491
JM
14068 [BZ #16167]
14069 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
14070 argument being NaN and avoid computations with second argument in
14071 that case.
14072 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14073 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14074 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14075
1820b143
CL
140762013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
14077
14078 * locale/iso-639.def: Add Chitwani Tharu (the).
14079
714bd261
AS
140802013-11-14 Andreas Schwab <schwab@suse.de>
14081
14082 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
14083 word instead of empty string.
14084
7ab44563
AZ
140852013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14086
14087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14088 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
14089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14090 (__fe_nomask_env): Likewise.
14091
e8470ea2
SE
140922013-11-13 Steve Ellcey <sellcey@mips.com>
14093
14094 * benchtests/bench-timing.h: Include time.h.
14095
17c1d9f0
L
140962013-11-13 H.J. Lu <hongjiu.lu@intel.com>
14097
14098 [BZ #15997]
14099 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
14100 to 3.4.0 for x32.
14101 * sysdeps/unix/sysv/linux/configure: Regenerated.
14102
9310c284
JM
141032013-11-13 Joseph Myers <joseph@codesourcery.com>
14104
14105 [BZ #16151]
14106 * stdlib/strtod_l.c (round_and_return): Do not consider
14107 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
14108 exponent one less than half the least subnormal exponent.
14109 * stdlib/test-strtod-round-data: Add more tests.
14110 * stdlib/tst-strtod-round.c (tests): Regenerated.
14111
7a2ad8cf
AZ
141122013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14113
14114 [BZ #14143]
14115 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
14116 (__fe_mask_env): Likewise.
14117 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
14118 libm_hidden_proto and add function prototype.
14119 (__fe_mask_env): Add function prototype.
14120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14121 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
14122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14123 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
14124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14125 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
14126
50727aa7
MS
141272013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14128
b2f386c1 14129 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
14130 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
14131
a615be46
MS
141322013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14133
14134 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
14135 of htab_find_slot().
14136
7ddace62
DM
141372013-11-11 David S. Miller <davem@davemloft.net>
14138
14139 [BZ #16150]
14140 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
14141 symbol in the non-vis3 case in static builds.
14142 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
14143 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
14144 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
14145 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
14146
9182aa67
JK
141472013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14148
14149 [BZ #387]
14150 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
14151 it is empty.
14152
450a2e2d
AZ
141532013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14154
b2f386c1
SP
14155 * benchtests/Makefile: Add bench-strtod.
14156 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 14157
8ec3f656
AS
141582013-11-11 Andreas Schwab <schwab@suse.de>
14159
14160 [BZ #16153]
14161 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
14162 terminating NUL in key length.
14163
76a9b998
AZ
141642013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14165
14166 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14167 Add artificial ODP entry for vDSO symbol for PPC64.
14168 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
14169 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14170
e4368156
OB
141712013-11-07 Ondřej Bílka <neleai@seznam.cz>
14172
14173 [BZ #15374]
14174 * nss/getent.c (services_keys): Recognize services starting with digit.
14175
8d6bb57c
DM
141762013-11-06 David S. Miller <davem@davemloft.net>
14177
14178 [BZ #15985]
14179 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
14180 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
14181
e256c421
WN
141822013-11-06 Will Newton <will.newton@linaro.org>
14183
14184 * manual/memory.texi (Malloc Examples): Remove register
14185 keyword from examples.
14186
f6e12daa 141872013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 14188
f6e12daa 14189 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 14190
9d880655
AS
141912013-11-04 Joseph Myers <joseph@codesourcery.com>
14192
fd2f9486 14193 [BZ #6981]
9d880655
AS
14194 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
14195 depending on [__GCC_IEC_559 > 0].
14196 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
14197 depending on [__GCC_IEC_559_COMPLEX > 0].
14198
ae129d3c
CL
141992013-11-03 Chris Leonard <cjl@sugarlabs.org>
14200
14201 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
14202 to iso-639.def.
14203
4a15c2a4 142042013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
14205
14206 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
14207
8b35e35d
OB
142082013-11-01 Ondřej Bílka <neleai@seznam.cz>
14209
14210 [BZ #16112]
14211 * malloc/malloc (malloc_info): Do not handle first bin as
14212 special case.
14213
1d70fd6c
CL
142142013-11-01 Chris Leonard <cjl@sugarlabs.org>
14215
14216 * locale/iso-639.def: Add Central Nahuatl (nhn).
14217
8c5c2600
BH
142182013-11-01 Bruno Haible <bruno@clisp.org>
14219
14220 [BZ #7003]
14221 * manual/math.texi (BSD Random): Specify range upper bound as
14222 in POSIX.
14223
da5579c2
CL
142242013-10-31 Chris Leonard <cjl@sugarlabs.org>
14225
14226 * locale/iso-639.def: Add Meadow Mari (mhr).
14227
5d30d853
OB
142282013-10-31 Ondřej Bílka <neleai@seznam.cz>
14229
14230 [BZ #14752], [BZ #15763]
14231 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
14232 Validate name.
14233 * rt/tst_shm.c: Add test for escaping directory.
14234
a4966c61
AS
142352013-10-31 Andreas Schwab <schwab@suse.de>
14236
8a43e768 14237 [BZ #15917]
a4966c61
AS
14238 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
14239 followed by 'x' as part of digit sequence.
14240 * stdio-common/tst-sscanf.c (double_tests2): New tests.
14241
28d708c4
MAP
142422013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
14243
14244 [BZ #16037]
14245 * configure.ac: allow GNU Make 4.0 and greater.
14246 * configure: Regenerated.
14247
a56ee40b
WN
142482013-10-30 Will Newton <will.newton@linaro.org>
14249
14250 [BZ #16038]
14251 * malloc/hooks.c (memalign_check): Limit alignment to the
14252 maximum representable power of two.
14253 * malloc/malloc.c (__libc_memalign): Likewise.
14254 * malloc/tst-memalign.c (do_test): Add test for very
14255 large alignment values.
14256 * malloc/tst-posix_memalign.c (do_test): Likewise.
14257
c6e4925d
OB
142582013-10-30 Ondřej Bílka <neleai@seznam.cz>
14259
14260 [BZ #11087]
14261 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
14262 (munmap_chunk): Likewise.
14263 (mremap_chunk): Likewise.
14264
142652013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 14266
8a43e768 14267 [BZ #15799]
bbea82f7
OB
14268 * stdlib/div.c (div): Remove obsolete code.
14269 * stdlib/ldiv.c (ldiv): Likewise.
14270 * stdlib/lldiv.c (lldiv): Likewise.
14271
977f4b31
SP
142722013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14273
14274 [BZ #16071]
14275 * nss/nss_files/files-XXX.c (get_contents_ret): New
14276 enumerator.
14277 (get_contents): New function.
14278 (internal_getent): Use it. Expand size of LINEBUFLEN.
14279
cb8a6dbd
MF
142802013-10-30 Mike Frysinger <vapier@gentoo.org>
14281
14282 * configure.in: Moved to ...
14283 * configure.ac: ... here. Change reference to configure.in
14284 to configure.ac.
14285 * sysdeps/arm/preconfigure.ac: ... here.
14286 configure.in to configure.ac.
14287 * sysdeps/gnu/configure.in: Moved to ...
14288 * sysdeps/gnu/configure.ac: ... here.
14289 * sysdeps/i386/configure.in: Moved to ...
14290 * sysdeps/i386/configure.ac: ... here.
14291 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
14292 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
14293 * sysdeps/mach/configure.in: Moved to ...
14294 * sysdeps/mach/configure.ac: ... here.
14295 * sysdeps/mach/hurd/configure.in: Moved to ...
14296 * sysdeps/mach/hurd/configure.ac: ... here.
14297 * sysdeps/powerpc/configure.in: Moved to ...
14298 * sysdeps/powerpc/configure.ac: ... here.
14299 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
14300 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
14301 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
14302 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
14303 * sysdeps/s390/s390-32/configure.in: Moved to ...
14304 * sysdeps/s390/s390-32/configure.ac: ... here.
14305 * sysdeps/s390/s390-64/configure.in: Moved to ...
14306 * sysdeps/s390/s390-64/configure.ac: ... here.
14307 * sysdeps/sh/configure.in: Moved to ...
14308 * sysdeps/sh/configure.ac: ... here.
14309 * sysdeps/sparc/configure.in: Moved to ...
14310 * sysdeps/sparc/configure.ac: ... here.
14311 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
14312 * sysdeps/unix/sysv/linux/configure.ac: ... here.
14313 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
14314 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
14315 * sysdeps/x86_64/configure.in: Moved to ...
14316 * sysdeps/x86_64/configure.ac: ... here.
14317 * sysdeps/x86_64/preconfigure.in: Moved to ...
14318 * sysdeps/x86_64/preconfigure.ac: ... here.
14319 * aclocal.m4: Change reference to configure.in to configure.ac.
14320 * config.h.in: Likewise.
14321 * manual/install.texi: Likewise.
14322 * manual/maint.texi: Likewise.
14323 * Makefile: Likewise.
14324 * malloc/Makefile: Likewise.
14325 * nscd/Makefile: Likewise.
14326 * Makeconfig: Change reference to configure.in and
14327 preconfigure.in to configure.ac and preconfigure.ac
14328 respectively.
14329 * INSTALL: Regenerated.
14330 * configure: Likewise.
14331 * sysdeps/gnu/configure: Likewise.
14332 * sysdeps/i386/configure: Likewise.
14333 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
14334 * sysdeps/mach/configure: Likewise.
14335 * sysdeps/mach/hurd/configure: Likewise.
14336 * sysdeps/powerpc/configure: Likewise.
14337 * sysdeps/powerpc/powerpc32/configure: Likewise.
14338 * sysdeps/powerpc/powerpc64/configure: Likewise.
14339 * sysdeps/s390/s390-32/configure: Likewise.
14340 * sysdeps/s390/s390-64/configure: Likewise.
14341 * sysdeps/sh/configure: Likewise.
14342 * sysdeps/sparc/configure: Likewise.
14343 * sysdeps/unix/sysv/linux/configure: Likewise.
14344 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
14345 * sysdeps/x86_64/configure: Likewise.
14346 * sysdeps/x86_64/preconfigure: Likewise.
14347
36a4953a
AS
143482013-10-29 Andreas Schwab <schwab@suse.de>
14349
14350 * stdio-common/Makefile (tst-swscanf-ENV): Define.
14351
c79a1204
SP
143522013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14353
dfa1b402
SP
14354 * benchtests/pow-inputs: Add new inputs.
14355
54f73d9c
SP
14356 * benchtests/exp-inputs: Add new inputs.
14357
c79a1204
SP
14358 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
14359 conditional check for return value.
14360 (__cos32): Likewise.
14361
67beb545 143622013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
14363
14364 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
14365 to provide a boost for large inputs with word alignment.
14366 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
14367 implementation based on optimized PPC64 strcpy.
14368 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
14369 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
14370 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
14371 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
14372
151659f6
OB
143732013-10-25 Ondřej Bílka <neleai@seznam.cz>
14374
482a077e 14375 [BZ #2801]
151659f6
OB
14376 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
14377
10b0f26b
OB
143782013-10-25 Ondřej Bílka <neleai@seznam.cz>
14379
14380 [BZ #14876]
14381 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
14382 * time/tst-strptime.c (day_tests): Add testcase.
14383
ca42d35e
OB
143842013-10-25 Ondřej Bílka <neleai@seznam.cz>
14385
482a077e 14386 [BZ #14029]
ca42d35e
OB
14387 * manual/pattern.texi: Acknowledge that fnmatch can fail.
14388
52e6d801
FB
143892013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
14390
14391 [BZ #16074]
14392 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
14393 MAP_FAILED on error.
14394
7cbcdb36
SP
143952013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14396
14397 [BZ #16072]
14398 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
14399 heap for large requests.
14400
894f3f10
AM
144012013-10-25 Aurelien Jarno <aurelien@aurel32.net>
14402
14403 [BZ #9954]
14404 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
14405 result if the result has no associated interface.
14406 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
14407 interface for all 127.X.Y.Z addresses.
14408
b85545a6
CL
144092013-10-24 Chris Leonard <cjl@sugarlabs.org>
14410
14411 * locale/iso-639.def: Add Ligurian (lij)
14412
d1f23d46
OB
144132013-10-21 Ondřej Bílka <neleai@seznam.cz>
14414
14415 [BZ #15825]
14416 * sunrpc/rpc_main.c: Document rpcgen -5.
14417
4db5b08f
MS
144182013-10-19 Michael Stahl <mstahl@redhat.com>
14419
14420 * elf/rtld.c (do_preload): Print the reason why preloading failed.
14421
a471e96a
OB
144222013-10-19 Ondřej Bílka <neleai@seznam.cz>
14423
d1f23d46 14424 [BZ #10278]
a471e96a
OB
14425 * posix/glob.c: Match only directories when trailing slash is present.
14426 * posix/tst-gnuglob.c (my_opendir): Do not open files.
14427 (main): Add testcase.
14428
45c30c61
OB
144292013-10-19 Ondřej Bílka <neleai@seznam.cz>
14430
14431 [BZ #15670]
14432 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
14433
484c12fb
CD
144342013-10-18 Carlos O'Donell <carlos@redhat.com>
14435
3d7dc513
CD
14436 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
14437 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
14438 AUTH_DES and cindex for FIPS 140-2.
14439 (DES Encryption): Add cindex FIPS 46-3.
14440
484c12fb
CD
14441 * locale/locarchive.h (struct locarhandle): Add fname.
14442 * locale/programs/localedef.c (main): Pass ARGV[remaining]
14443 if an optional argument was specified to --list-archive,
14444 otherwise NULL.
14445 * locale/programs/locarchive.c (show_archive_content): Take new
14446 argument fname and pass it via ah.fname to open_archive.
14447 * locale/programs/localedef.h: Update decl.
14448 (open_archive): If AH->fname is non-null, open that file
14449 rather than the default file name, and don't ignore ENOENT.
14450 (create_archive): Set AH.fname to NULL.
14451 (delete_locales_from_archive): Likewise.
14452 (add_locales_to_archive): Likewise.
14453 * locale/programs/locfile.c (write_all_categories): Likewise.
14454
3c8325fb
JM
144552013-10-18 Joseph Myers <joseph@codesourcery.com>
14456 Aldy Hernandez <aldyh@redhat.com>
14457
14458 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
14459 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
14460 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
14461 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
14462 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
14463 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
14464 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
14465 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
14466 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
14467 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
14468 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
14469 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
14470 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
14471 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
14472 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
14473 Likewise.
14474 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
14475 Likewise.
14476 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
14477 Likewise.
14478 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
14479 Likewise.
14480 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
14481 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
14482 Likewise.
14483 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
14484 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
14485 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
14486 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
14487 Likewise.
14488 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
14489 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
14490 * sysdeps/powerpc/preconfigure: Likewise.
14491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
14492 Likewise.
14493 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
14494 Replace contents of file by #include of <fenv_libc.h>.
14495 * sysdeps/powerpc/soft-fp/sfp-machine.h
14496 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
14497 and <sys/prctl.h>.
14498 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
14499 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
14500 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
14501 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
14502 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
14503 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
14504 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
14505 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
14506 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
14507 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
14508 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
14509 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
14510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14511 Allow copysignl PLT reference to be missing.
14512
5abe0682
RS
145132013-10-18 Richard Sandiford <richard@codesourcery.com>
14514 Joseph Myers <joseph@codesourcery.com
14515
14516 [BZ #15948]
14517 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
14518 single character.
14519 (add_to_tablewc): Assert sequence of wide characters is nonempty.
14520
c7738d08
SP
145212013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14522
14523 * elf/tst-tls-dlinfo.c: Don't include tls.h.
14524 * elf/tst-tls1.c: Likewise.
14525 * elf/tst-tls10.h: Likewise.
14526 * elf/tst-tls14.c: Likewise.
14527 * elf/tst-tls2.c: Likewise.
14528 * elf/tst-tls3.c: Likewise.
14529 * elf/tst-tls4.c: Likewise.
14530 * elf/tst-tls5.c: Likewise.
14531 * elf/tst-tls6.c: Likewise.
14532 * elf/tst-tls7.c: Likewise.
14533 * elf/tst-tls8.c: Likewise.
14534 * elf/tst-tls9.c: Likewise.
14535 * elf/tst-tlsmod1.c: Likewise.
14536 * elf/tst-tlsmod13.c: Likewise.
14537 * elf/tst-tlsmod13a.c: Likewise.
14538 * elf/tst-tlsmod14a.c: Likewise.
14539 * elf/tst-tlsmod16a.c: Likewise.
14540 * elf/tst-tlsmod16b.c: Likewise.
14541 * elf/tst-tlsmod2.c: Likewise.
14542 * elf/tst-tlsmod3.c: Likewise.
14543 * elf/tst-tlsmod4.c: Likewise.
14544 * elf/tst-tlsmod5.c: Likewise.
14545 * elf/tst-tlsmod6.c: Likewise.
14546
0bfcf2c7
OB
145472013-10-18 Ondřej Bílka <neleai@seznam.cz>
14548
14549 [BZ #12486]
14550 * malloc/malloc.c: remove checks for statistics.
14551
264aad1e
OB
145522013-10-17 Ondřej Bílka <neleai@seznam.cz>
14553
14554 [BZ #15277]
14555 * inet/inet_net.c (inet_network): Detect additional invalid strings.
14556 * inet/tst-network.c: Add testcase.
14557
b957ced8
AS
145582013-10-17 Andreas Schwab <schwab@suse.de>
14559
14560 [BZ #15218]
14561 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
14562 to determine canonical name.
14563
c5d5d574
OB
145642013-10-17 Ondřej Bílka <neleai@seznam.cz>
14565
14566 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
14567 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
14568 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14569 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14570 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14571 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14572 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14573 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14574 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14575 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14576 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14577 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14578 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14579 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14580 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14581 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14582 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14583 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14584 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14585 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14586 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14587 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14588 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14589 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
14590 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
14591 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14592 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14593 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
14594 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14595 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
14596 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14597 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14598 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14599 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14600 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14601 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14602 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14603 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14604 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14605 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14606 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14607 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14608 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14609 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14610 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14611 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14612 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14613 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14614 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14615 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14616 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14617 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14618 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14619 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14620 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14621 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14622 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14623 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14624
e5c2c2d0
JM
146252013-10-17 Joseph Myers <joseph@codesourcery.com>
14626
14627 [BZ #16041]
14628 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
14629 make result into a quiet NaN.
14630
51ca9e29
JM
146312013-10-16 Joseph Myers <joseph@codesourcery.com>
14632
14633 * soft-fp/adddf3.c: Fix horizontal whitespace.
14634 * soft-fp/addsf3.c: Likewise.
14635 * soft-fp/addtf3.c: Likewise.
14636 * soft-fp/divdf3.c: Likewise.
14637 * soft-fp/divsf3.c: Likewise.
14638 * soft-fp/divtf3.c: Likewise.
14639 * soft-fp/double.h: Likewise.
14640 * soft-fp/eqdf2.c: Likewise.
14641 * soft-fp/eqsf2.c: Likewise.
14642 * soft-fp/eqtf2.c: Likewise.
14643 * soft-fp/extenddftf2.c: Likewise.
14644 * soft-fp/extended.h: Likewise.
14645 * soft-fp/extendsfdf2.c: Likewise.
14646 * soft-fp/extendsftf2.c: Likewise.
14647 * soft-fp/extendxftf2.c: Likewise.
14648 * soft-fp/fixdfdi.c: Likewise.
14649 * soft-fp/fixdfsi.c: Likewise.
14650 * soft-fp/fixdfti.c: Likewise.
14651 * soft-fp/fixsfdi.c: Likewise.
14652 * soft-fp/fixsfsi.c: Likewise.
14653 * soft-fp/fixsfti.c: Likewise.
14654 * soft-fp/fixtfdi.c: Likewise.
14655 * soft-fp/fixtfsi.c: Likewise.
14656 * soft-fp/fixtfti.c: Likewise.
14657 * soft-fp/fixunsdfdi.c: Likewise.
14658 * soft-fp/fixunsdfsi.c: Likewise.
14659 * soft-fp/fixunsdfti.c: Likewise.
14660 * soft-fp/fixunssfdi.c: Likewise.
14661 * soft-fp/fixunssfsi.c: Likewise.
14662 * soft-fp/fixunssfti.c: Likewise.
14663 * soft-fp/fixunstfdi.c: Likewise.
14664 * soft-fp/fixunstfsi.c: Likewise.
14665 * soft-fp/fixunstfti.c: Likewise.
14666 * soft-fp/floatdidf.c: Likewise.
14667 * soft-fp/floatdisf.c: Likewise.
14668 * soft-fp/floatditf.c: Likewise.
14669 * soft-fp/floatsidf.c: Likewise.
14670 * soft-fp/floatsisf.c: Likewise.
14671 * soft-fp/floatsitf.c: Likewise.
14672 * soft-fp/floattidf.c: Likewise.
14673 * soft-fp/floattisf.c: Likewise.
14674 * soft-fp/floattitf.c: Likewise.
14675 * soft-fp/floatundidf.c: Likewise.
14676 * soft-fp/floatundisf.c: Likewise.
14677 * soft-fp/floatunditf.c: Likewise.
14678 * soft-fp/floatunsidf.c: Likewise.
14679 * soft-fp/floatunsisf.c: Likewise.
14680 * soft-fp/floatunsitf.c: Likewise.
14681 * soft-fp/floatuntidf.c: Likewise.
14682 * soft-fp/floatuntisf.c: Likewise.
14683 * soft-fp/floatuntitf.c: Likewise.
14684 * soft-fp/fmadf4.c: Likewise.
14685 * soft-fp/fmasf4.c: Likewise.
14686 * soft-fp/fmatf4.c: Likewise.
14687 * soft-fp/gedf2.c: Likewise.
14688 * soft-fp/gesf2.c: Likewise.
14689 * soft-fp/getf2.c: Likewise.
14690 * soft-fp/ledf2.c: Likewise.
14691 * soft-fp/lesf2.c: Likewise.
14692 * soft-fp/letf2.c: Likewise.
14693 * soft-fp/muldf3.c: Likewise.
14694 * soft-fp/mulsf3.c: Likewise.
14695 * soft-fp/multf3.c: Likewise.
14696 * soft-fp/negdf2.c: Likewise.
14697 * soft-fp/negsf2.c: Likewise.
14698 * soft-fp/negtf2.c: Likewise.
14699 * soft-fp/op-1.h: Likewise.
14700 * soft-fp/op-2.h: Likewise.
14701 * soft-fp/op-4.h: Likewise.
14702 * soft-fp/op-8.h: Likewise.
14703 * soft-fp/op-common.h: Likewise.
14704 * soft-fp/quad.h: Likewise.
14705 * soft-fp/single.h: Likewise.
14706 * soft-fp/soft-fp.h: Likewise.
14707 * soft-fp/sqrtdf2.c: Likewise.
14708 * soft-fp/sqrtsf2.c: Likewise.
14709 * soft-fp/sqrttf2.c: Likewise.
14710 * soft-fp/subdf3.c: Likewise.
14711 * soft-fp/subsf3.c: Likewise.
14712 * soft-fp/subtf3.c: Likewise.
14713 * soft-fp/truncdfsf2.c: Likewise.
14714 * soft-fp/trunctfdf2.c: Likewise.
14715 * soft-fp/trunctfsf2.c: Likewise.
14716 * soft-fp/trunctfxf2.c: Likewise.
14717 * soft-fp/unorddf2.c: Likewise.
14718 * soft-fp/unordsf2.c: Likewise.
14719 * soft-fp/unordtf2.c: Likewise.
14720
9ebb0332
JM
147212013-10-15 Joseph Myers <joseph@codesourcery.com>
14722
14723 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
14724 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
14725
4b1a6d8b
OB
147262013-10-15 Ondřej Bílka <neleai@seznam.cz>
14727
14728 * elf/dl-libc.c: Clear initfini list after freeing.
14729
1e145589
JM
147302013-10-14 Joseph Myers <joseph@codesourcery.com>
14731
14732 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
14733 * soft-fp/addsf3.c: Likewise.
14734 * soft-fp/addtf3.c: Likewise.
14735 * soft-fp/divdf3.c: Likewise.
14736 * soft-fp/divsf3.c: Likewise.
14737 * soft-fp/divtf3.c: Likewise.
14738 * soft-fp/double.h: Likewise.
14739 * soft-fp/eqdf2.c: Likewise.
14740 * soft-fp/eqsf2.c: Likewise.
14741 * soft-fp/eqtf2.c: Likewise.
14742 * soft-fp/extenddftf2.c: Likewise.
14743 * soft-fp/extended.h: Likewise.
14744 * soft-fp/extendsfdf2.c: Likewise.
14745 * soft-fp/extendsftf2.c: Likewise.
14746 * soft-fp/extendxftf2.c: Likewise.
14747 * soft-fp/fixdfdi.c: Likewise.
14748 * soft-fp/fixdfsi.c: Likewise.
14749 * soft-fp/fixdfti.c: Likewise.
14750 * soft-fp/fixsfdi.c: Likewise.
14751 * soft-fp/fixsfsi.c: Likewise.
14752 * soft-fp/fixsfti.c: Likewise.
14753 * soft-fp/fixtfdi.c: Likewise.
14754 * soft-fp/fixtfsi.c: Likewise.
14755 * soft-fp/fixtfti.c: Likewise.
14756 * soft-fp/fixunsdfdi.c: Likewise.
14757 * soft-fp/fixunsdfsi.c: Likewise.
14758 * soft-fp/fixunsdfti.c: Likewise.
14759 * soft-fp/fixunssfdi.c: Likewise.
14760 * soft-fp/fixunssfsi.c: Likewise.
14761 * soft-fp/fixunssfti.c: Likewise.
14762 * soft-fp/fixunstfdi.c: Likewise.
14763 * soft-fp/fixunstfsi.c: Likewise.
14764 * soft-fp/fixunstfti.c: Likewise.
14765 * soft-fp/floatdidf.c: Likewise.
14766 * soft-fp/floatdisf.c: Likewise.
14767 * soft-fp/floatditf.c: Likewise.
14768 * soft-fp/floatsidf.c: Likewise.
14769 * soft-fp/floatsisf.c: Likewise.
14770 * soft-fp/floatsitf.c: Likewise.
14771 * soft-fp/floattidf.c: Likewise.
14772 * soft-fp/floattisf.c: Likewise.
14773 * soft-fp/floattitf.c: Likewise.
14774 * soft-fp/floatundidf.c: Likewise.
14775 * soft-fp/floatundisf.c: Likewise.
14776 * soft-fp/floatunsidf.c: Likewise.
14777 * soft-fp/floatunsisf.c: Likewise.
14778 * soft-fp/floatuntidf.c: Likewise.
14779 * soft-fp/floatuntisf.c: Likewise.
14780 * soft-fp/floatuntitf.c: Likewise.
14781 * soft-fp/fmadf4.c: Likewise.
14782 * soft-fp/fmasf4.c: Likewise.
14783 * soft-fp/fmatf4.c: Likewise.
14784 * soft-fp/gedf2.c: Likewise.
14785 * soft-fp/gesf2.c: Likewise.
14786 * soft-fp/getf2.c: Likewise.
14787 * soft-fp/ledf2.c: Likewise.
14788 * soft-fp/lesf2.c: Likewise.
14789 * soft-fp/letf2.c: Likewise.
14790 * soft-fp/muldf3.c: Likewise.
14791 * soft-fp/mulsf3.c: Likewise.
14792 * soft-fp/multf3.c: Likewise.
14793 * soft-fp/negdf2.c: Likewise.
14794 * soft-fp/negsf2.c: Likewise.
14795 * soft-fp/negtf2.c: Likewise.
14796 * soft-fp/op-1.h: Likewise.
14797 * soft-fp/op-2.h: Likewise.
14798 * soft-fp/op-4.h: Likewise.
14799 * soft-fp/op-8.h: Likewise.
14800 * soft-fp/op-common.h: Likewise.
14801 * soft-fp/quad.h: Likewise.
14802 * soft-fp/single.h: Likewise.
14803 * soft-fp/soft-fp.h: Likewise.
14804 * soft-fp/sqrtdf2.c: Likewise.
14805 * soft-fp/sqrtsf2.c: Likewise.
14806 * soft-fp/sqrttf2.c: Likewise.
14807 * soft-fp/subdf3.c: Likewise.
14808 * soft-fp/subsf3.c: Likewise.
14809 * soft-fp/subtf3.c: Likewise.
14810 * soft-fp/truncdfsf2.c: Likewise.
14811 * soft-fp/trunctfdf2.c: Likewise.
14812 * soft-fp/trunctfsf2.c: Likewise.
14813 * soft-fp/trunctfxf2.c: Likewise.
14814 * soft-fp/unorddf2.c: Likewise.
14815 * soft-fp/unordsf2.c: Likewise.
14816 * soft-fp/unordtf2.c: Likewise.
14817
17c48a60
OB
148182013-10-14 Ondřej Bílka <neleai@seznam.cz>
14819
14820 [BZ #15672]
14821 * misc/error.c (error_tail): Fix possible buffer overflow.
14822
cabba934
OB
148232013-10-14 Aurelien Jarno <aurelien@aurel32.net>
14824
14825 [BZ #13028]
14826 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
14827 address.
14828
94bf958a
PM
148292013-10-14 P. J. McDermott <pj@pehjota.net>
14830
14831 [BZ #832]
14832 * elf/ldd.bash.in (try_trace): New function. Delete previous code
14833 testing pipefail option.
14834
71b4dea7
JM
148352013-10-12 Joseph Myers <joseph@codesourcery.com>
14836
14837 * soft-fp/double.h: Indent preprocessor directives inside #if.
14838 * soft-fp/extended.h: Likewise.
14839 * soft-fp/op-2.h: Likewise.
14840 * soft-fp/op-4.h: Likewise.
14841 * soft-fp/op-common.h: Likewise.
14842 * soft-fp/quad.h: Likewise.
14843 * soft-fp/single.h: Likewise.
14844 * soft-fp/soft-fp.h: Likewise.
14845
55602758
YC
148462013-10-12 Yuri Chornoivan <yurchor@ukr.net>
14847
14848 * iconv/iconv_prog.c: Fix typos.
14849 * stdio-common/psiginfo-data.h: Likewise.
14850
9cd83302
RT
148512013-10-12 Reuben Thomas <rrt@sc3d.org>
14852
14853 [BZ #15764]
14854 * locale/setlocale.c: Fix typo.
14855
99fd9f47
JM
148562013-10-12 Joseph Myers <joseph@codesourcery.com>
14857
b7ea74f0
JM
14858 [BZ #16036]
14859 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
14860 signaling NaN arguments.
14861 * soft-fp/unordsf2.c (__unordsf2): Likewise.
14862 * soft-fp/unordtf2.c (__unordtf2): Likewise.
14863
8a509447
JM
14864 [BZ #14910]
14865 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
14866 unordered operands.
14867 * soft-fp/gesf2.c (__gesf2): Likewise.
14868 * soft-fp/getf2.c (__getf2): Likewise.
14869 * soft-fp/ledf2.c (__ledf2): Likewise.
14870 * soft-fp/lesf2.c (__lesf2): Likewise.
14871 * soft-fp/letf2.c (__letf2): Likewise.
14872
98998e9f
JM
14873 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
14874 * soft-fp/eqsf2.c (__eqsf2): Likewise.
14875 * soft-fp/eqtf2.c (__eqtf2): Likewise.
14876 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
14877 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
14878 * soft-fp/fixdfti.c (__fixdfti): Likewise.
14879 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
14880 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
14881 * soft-fp/fixsfti.c (__fixsfti): Likewise.
14882 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
14883 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
14884 * soft-fp/fixtfti.c (__fixtfti): Likewise.
14885 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
14886 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
14887 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
14888 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
14889 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
14890 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
14891 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
14892 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
14893 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
14894 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
14895 * soft-fp/floatdisf.c (__floatdisf): Likewise.
14896 * soft-fp/floatsisf.c (__floatsisf): Likewise.
14897 * soft-fp/floattidf.c (__floattidf): Likewise.
14898 * soft-fp/floattisf.c (__floattisf): Likewise.
14899 * soft-fp/floattitf.c (__floattitf): Likewise.
14900 * soft-fp/floatundidf.c (__floatundidf): Likewise.
14901 * soft-fp/floatundisf.c (__floatundisf): Likewise.
14902 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
14903 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
14904 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
14905 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
14906 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
14907 * soft-fp/gesf2.c (__gesf2): Likewise.
14908 * soft-fp/getf2.c (__getf2): Likewise.
14909 * soft-fp/ledf2.c (__ledf2): Likewise.
14910 * soft-fp/lesf2.c (__lesf2): Likewise.
14911 * soft-fp/letf2.c (__letf2): Likewise.
14912
8edc4a11
JM
14913 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
14914 Undefine and redefine.
14915 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
14916 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
14917 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
14918 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
14919 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14920 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
14921 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14922 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
14923 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14924 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
14925 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14926 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
14927 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14928 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
14929 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14930
8399acaf
JM
14931 [BZ #16032]
14932 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
14933 without decrementing exponent if mantissa >= that for the
14934 denominator, not >.
14935 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
14936 denominator, not >. Decrement exponent in < case instead of
14937 incrementing in >= case.
14938 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
14939 without decrementing exponent if mantissa >= that for the
14940 denominator, not >.
14941
99fd9f47
JM
14942 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
14943 computing saturated result for unsigned overflow.
14944
10e1cf6b
SP
149452013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14946 Jeff Law <law@redhat.com>
14947
14948 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
14949 (atan2Mp): Add systemtap probe marker.
14950 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
14951 (__ieee754_log): Add systemtap probe marker.
14952 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
14953 (atanMp): Add systemtap probe marker.
14954 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
14955 (tanMp): Add systemtap probe marker.
14956 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
14957 (__slowexp): Add systemtap probe marker.
14958 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
14959 (__slowpow): Add systemtap probe marker.
14960 * manual/probes.texi: Document probes.
14961
3d110c7c
EB
149622013-10-11 Eric Biggers <ebiggers3@gmail.com>
14963
14964 [BZ #15362]
14965 * libio/fileops.c (_IO_new_file_write): Return count of bytes
14966 written.
14967 (_IO_new_file_xsputn): Don't return EOF if nothing has been
14968 written.
14969 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
14970 written to buffer but not flushed.
14971 * libio/iofwrite_u.c: Likewise.
14972 * libio/iopadn.c: Return bytes returned even if EOF was
14973 encountered.
14974 * libio/iowpadn.c: Likewise.
14975 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
14976 if _IO_padn does not write the whole buffer.
14977 [!COMPILE_WPRINTF] (PAD): Likewise.
14978
75b4202a
DM
149792013-10-10 David S. Miller <davem@davemloft.net>
14980
14981 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
14982 directory block.
14983
6c6352e6
JM
149842013-10-10 Joseph Myers <joseph@codesourcery.com>
14985
33b853c3
JM
14986 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
14987 instead of FSF address.
14988 * soft-fp/fixdfti.c: Likewise.
14989 * soft-fp/fixsfti.c: Likewise.
14990 * soft-fp/fixtfti.c: Likewise.
14991 * soft-fp/fixunsdfti.c: Likewise.
14992 * soft-fp/fixunssfti.c: Likewise.
14993 * soft-fp/fixunstfti.c: Likewise.
14994 * soft-fp/floattidf.c: Likewise.
14995 * soft-fp/floattisf.c: Likewise.
14996 * soft-fp/floattitf.c: Likewise.
14997 * soft-fp/floatuntidf.c: Likewise.
14998 * soft-fp/floatuntisf.c: Likewise.
14999 * soft-fp/floatuntitf.c: Likewise.
15000 * soft-fp/trunctfxf2.c: Likewise.
15001
6c6352e6
JM
15002 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
15003 * soft-fp/fixdfti.c: Likewise.
15004 * soft-fp/fixsfti.c: Likewise.
15005 * soft-fp/fixtfti.c: Likewise.
15006 * soft-fp/fixunsdfti.c: Likewise.
15007 * soft-fp/fixunssfti.c: Likewise.
15008 * soft-fp/fixunstfti.c: Likewise.
15009 * soft-fp/floattidf.c: Likewise.
15010 * soft-fp/floattisf.c: Likewise.
15011 * soft-fp/floattitf.c: Likewise.
15012 * soft-fp/floatuntidf.c: Likewise.
15013 * soft-fp/floatuntisf.c: Likewise.
15014 * soft-fp/floatuntitf.c: Likewise.
15015 * soft-fp/trunctfxf2.c: Likewise.
15016
3bf78b71
DM
150172013-10-10 David S. Miller <davem@davemloft.net>
15018
15019 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15020
6f10289e
JM
150212013-10-10 Joseph Myers <joseph@codsourcery.com>
15022
bd878fc0
JM
15023 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15024 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
15025 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
15026 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
15027 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
15028 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
15029 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
15030
6f10289e
JM
15031 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
15032 for NaNs before doing comparisons on argument.
15033 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
15034 Likewise.
15035
321e2684
WN
150362013-10-10 Will Newton <will.newton@linaro.org>
15037
15038 * malloc/hooks.c (memalign_check): Ensure the value of bytes
15039 passed to _int_memalign does not overflow.
15040
40fefba1
TR
150412013-10-10 Torvald Riegel <triegel@redhat.com>
15042
15043 * scripts/bench.pl: Add include-sources directive.
15044 * benchtests/README: Update documentation.
15045
2ae21ed2
JM
150462013-10-10 Joseph Myers <joseph@codesourcery.com>
15047
dcc2dd3f
JM
15048 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
15049 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
15050 instead of FP_INIT_ROUNDMODE.
15051 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
15052 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
15053
2ae21ed2
JM
15054 [BZ #16034]
15055 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
15056 copy class of input value.
15057 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
15058 not handle exceptions.
15059 * soft-fp/negsf2.c (__negsf2): Likewise.
15060 * soft-fp/negtf2.c (__negtf2): Likewise.
15061 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
15062
cb8f9562
JM
150632013-10-09 Joseph Myers <joseph@codesourcery.com>
15064
15065 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
15066 semicolon. From Linux kernel.
15067
5b60c59d
AB
150682013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
15069
15070 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
15071
b86835ca
YC
150722013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
15073
15074 [BZ #156]
15075 * manual/socket.texi: Added statement about buffer
15076 for gethostbyname2_r.
15077
e7044ea7
OB
150782013-10-08 Ondřej Bílka <neleai@seznam.cz>
15079
15080 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
15081 Use .p2align directive instead, throughout.
15082 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15083 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
15084 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
15085 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15086 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15087 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15088 * sysdeps/x86_64/strchr.S: Likewise.
15089 * sysdeps/x86_64/strrchr.S: Likewise.
15090
09544cbc
SP
150912013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15092
88576635
SP
15093 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
15094
e7b2d1dd
SP
15095 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
15096
09544cbc
SP
15097 * sysdeps/generic/math_private.h (__mpsin1): Remove
15098 declaration.
15099 (__mpcos1): Likewise.
15100 (__mpsin): New argument __range_reduce.
15101 (__mpcos): Likewise.
15102 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15103 (slow): Use __mpsin and __mpcos.
15104 (slow1): Likewise.
15105 (slow2): Likewise.
15106 (sloww): Likewise.
15107 (sloww1): Likewise.
15108 (sloww2): Likewise.
15109 (bsloww): Likewise.
15110 (bsloww1): Likewise.
15111 (bsloww2): Likewise.
15112 (cslow2): Likewise.
15113 (csloww): Likewise.
15114 (csloww1): Likewise.
15115 (csloww2): Likewise.
15116 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
15117 range_reduce. Merge in __mpsin1.
15118 (__mpcos): Likewise.
15119 (__mpsin1): Remove.
15120 (__mpcos1): Likewise.
15121
7602d070
JM
151222013-10-07 Joseph Myers <joseph@codesourcery.com>
15123
15124 * locale/loadlocale.c (_nl_intern_locale_data): Use
15125 LOCFILE_ALIGNED_P.
15126 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
15127 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
15128 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
15129 obstack data is appropriately aligned.
15130 (obstack_int32_grow_fast): Likewise.
15131 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
15132 * locale/programs/locfile.c (add_locale_uint32): Likewise.
15133 (add_locale_uint32_array): Likewise.
15134
a357259b
SP
151352013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15136
15137 * benchtests/Makefile: Remove ARGLIST and RET variables.
15138 ($(objpfx)bench-%.c): Pass only function name to the script.
15139 * benchtests/README: Update documentation.
15140 * benchtests/acos-inputs: Add new directives.
15141 * benchtests/acosh-inputs: Likewise.
15142 * benchtests/asin-inputs: Likewise.
15143 * benchtests/asinh-inputs: Likewise.
15144 * benchtests/atan-inputs: Likewise.
15145 * benchtests/atanh-inputs: Likewise.
15146 * benchtests/cos-inputs: Likewise.
15147 * benchtests/cosh-inputs: Likewise.
15148 * benchtests/exp-inputs: Likewise.
15149 * benchtests/log-inputs: Likewise.
15150 * benchtests/pow-inputs: Likewise.
15151 * benchtests/rint-inputs: Likewise.
15152 * benchtests/sin-inputs: Likewise.
15153 * benchtests/sinh-inputs: Likewise.
15154 * benchtests/tan-inputs: Likewise.
15155 * benchtests/tanh-inputs: Likewise.
15156 * scripts/bench.pl: Add support for new directives.
15157
9ec1b13d
AM
151582013-10-07 Alan Modra <amodra@gmail.com>
15159
15160 * README: Fix careless merge.
15161
8b7d57cd
AM
151622013-10-05 Alan Modra <amodra@gmail.com>
15163
15164 * NEWS: Mention powerpc64le support and bugs fixed.
15165 * README: Both big-endian and little-endian powerpc64 supported.
15166
7b7bab13
ST
151672013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15168
57f41c40
AS
15169 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
15170 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
15171 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
15172 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
15173
d39baad1
RA
151742013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
15175
15176 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
15177 match prototype.
15178
cd78f7e7
JM
151792013-10-04 Joseph Myers <joseph@codesourcery.com>
15180
29d73d86
JM
15181 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
15182 Move -mhard-float appending from
15183 ports/sysdeps/powerpc/powerpc32/Makefile.
15184 [$(with-fp) = yes] (ASFLAGS): Likewise.
15185 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
15186 * sysdeps/powerpc/nofpu: Move directory from
15187 ports/sysdeps/powerpc/nofpu.
15188 * sysdeps/powerpc/soft-fp: Move directory from
15189 ports/sysdeps/powerpc/soft-fp.
15190 * sysdeps/powerpc/powerpc32/405: Move directory from
15191 ports/sysdeps/powerpc/powerpc32/405.
15192 * sysdeps/powerpc/powerpc32/440: Move directory from
15193 ports/sysdeps/powerpc/powerpc32/440.
15194 * sysdeps/powerpc/powerpc32/464: Move directory from
15195 ports/sysdeps/powerpc/powerpc32/464.
15196 * sysdeps/powerpc/powerpc32/476: Move directory from
15197 ports/sysdeps/powerpc/powerpc32/476.
15198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
15199 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
15200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
15201 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
15202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
15203 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
15204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
15205 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
15206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
15207 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
15208 * README: Update for powerpc-*-linux-gnu software floating point
15209 support in libc.
15210
e246b347
JM
15211 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
15212 case to powerpc/powerpc32*.
15213 * sysdeps/unix/sysv/linux/configure: Regenerated.
15214
89c2003e
JM
15215 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
15216 (_FPU_MASK_OM): Define as 0x04.
15217 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
15218 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
15219 0x00c10080.
15220 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
15221 0x0000003c.
15222 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
15223
cd78f7e7
JM
15224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
15225 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15226 getcontext_e500.
15227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
15228 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15229 setcontext_e500.
15230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
15231 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
15232 and setcontext_e500.
15233
c755294d
CL
152342013-10-04 Chris Leonard <cjl@sugarlabs,.org>
15235
15236 * locale/iso-3166.def: Update iso-1366.def and related occurrences
15237
e16d221c
SP
152382013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15239
15240 * manual/threads.texi (Default Thread Attributes): Fix typo.
15241
215c7d43
WN
152422013-10-04 Will Newton <will.newton@linaro.org>
15243
15244 * malloc/Makefile: Add tst-memalign.
15245 * malloc/tst-memalign.c: New file.
15246
27d0461b
WN
15247 * malloc/tst-posix_memalign.c: Add comments.
15248 (do_test): Add comments and call free on all potentially
15249 allocated pointers. Add space after cast.
15250
1bc92709
WN
15251 * malloc/tst-pvalloc.c: Add comments.
15252 (do_test): Add comments and call free on all potentially
15253 allocated pointers. Remove duplicate check for NULL pointer.
15254 Add space after cast.
15255
66a9be9d
WN
15256 * malloc/tst-valloc.c: Add comments.
15257 (do_test): Add comments and call free on all potentially
15258 allocated pointers. Remove duplicate check for NULL pointer.
15259 Add space after cast.
15260
4cb81307
AM
152612013-10-04 Alan Modra <amodra@gmail.com>
15262
15263 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15264 Use stdint types in rather than __attribute__((mode())).
15265 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15266
f8e3e9f3
AM
152672013-10-04 Alan Modra <amodra@gmail.com>
15268
15269 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15270 Correct handling of unaligned relocs for little-endian.
15271 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15272
8f9ebb08
AM
152732013-10-04 Alan Modra <amodra@gmail.com>
15274
15275 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
15276 * configure: Regenerate.
15277 * nptl/shlib-versions: Powerpc*le starts at 2.18.
15278 * shlib-versions: Likewise.
15279
0edf96c2
AM
152802013-10-04 Alan Modra <amodra@gmail.com>
15281
15282 * string/tester.c (test_memrchr): Increment reported test cycle.
15283
e0f7a380
AM
152842013-10-04 Alan Modra <amodra@gmail.com>
15285
15286 * string/test-memcpy.c (do_one_test): When reporting errors, print
15287 string address and don't overrun end of string.
15288
466b0393
AM
152892013-10-04 Alan Modra <amodra@gmail.com>
15290
15291 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
15292 insrdi. Make better use of reg selection to speed exit slightly.
15293 Schedule entry path a little better. Remove useless "are we done"
15294 checks on entry to main loop. Handle wrapping around zero address.
15295 Correct main loop count. Handle single left-over word from main
15296 loop inline rather than by using loop_small. Remove extra word
15297 case in loop_small caused by wrong loop count. Add little-endian
15298 support.
15299 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15300 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
15301 cache hint.
15302 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15303 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
15304 support. Avoid rlwimi.
15305 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
15306
3be87c77
AM
153072013-10-04 Alan Modra <amodra@gmail.com>
15308
15309 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 15310 insrdi. Formatting.
3be87c77
AM
15311 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
15312 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15313 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
15314 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15315 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15316 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
15317
759cfef3
AM
153182013-10-04 Alan Modra <amodra@gmail.com>
15319
15320 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
15321 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15322 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15323 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
15324 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15325 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15326 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15327 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15328 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
15329 use of regs. Use power7 mtocrf. Tidy function tails.
15330
fe6e95d7
AM
153312013-10-04 Alan Modra <amodra@gmail.com>
15332
15333 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
15334 Formatting. Consistently use rXXX register defines or rN defines.
15335 Use early exit labels that avoid restoring unused non-volatile regs.
15336 Make cr field use more consistent with rWORDn compares. Rename
15337 regs used as shift registers for unaligned loop, using rN defines
15338 for short lifetime/multiple use regs.
15339 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15340 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
15341 addi 1,1,64 to pop stack frame. Simplify return value code.
15342 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15343
664318c3
AM
153442013-10-04 Alan Modra <amodra@gmail.com>
15345
15346 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
15347 support. Correct typos, formatting. Optimize tail. Use insrdi
15348 rather than rlwimi.
15349 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
15350 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
15351 little-endian support. Correct typos.
15352 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
15353 rather than rlwimi.
15354 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
15355 in loop and entry code to keep "and." results.
15356 (strchr): Add little-endian support. Comment. Move cntlzd
15357 earlier in tail.
15358 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
15359
43b84013
AM
153602013-10-04 Alan Modra <amodra@gmail.com>
15361
15362 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
15363 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
15364 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
15365 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
15366
8a7413f9
AM
153672013-10-04 Alan Modra <amodra@gmail.com>
15368
15369 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
15370 (rTMP): Define as r11.
15371 (strcmp): Add little-endian support. Optimise tail.
15372 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
15373 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15374 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15375 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15376 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15377 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15378 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15379
33ee81de
AM
153802013-10-04 Alan Modra <amodra@gmail.com>
15381
15382 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
15383 little-endian support. Remove unnecessary "are we done" tests.
15384 Handle "s" wrapping around zero and extremely large "size".
15385 Correct main loop count. Handle single left-over word from main
15386 loop inline rather than by using small_loop. Correct comments.
15387 Delete "zero" tail, use "end_max" instead.
15388 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
15389
db9b4570
AM
153902013-10-04 Alan Modra <amodra@gmail.com>
15391
15392 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
15393 support. Don't branch over align.
15394 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
15395 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
15396 support. Rearrange tmp reg use to suit. Comment.
15397 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
15398
f7c399cf
AM
153992013-10-04 Alan Modra <amodra@gmail.com>
15400
15401 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
15402
0b2c2ace
AM
154032013-10-04 Alan Modra <amodra@gmail.com>
15404
15405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
15406 conditional form of branch and link when obtaining pc.
15407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
15408
02f04a6c
AM
154092013-10-04 Alan Modra <amodra@gmail.com>
15410
15411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
15412 HIWORD/LOWORD.
15413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
15414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
15415
9b874b2f
AM
154162013-10-04 Alan Modra <amodra@gmail.com>
15417
15418 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
15419 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
15420 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
15421 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
15422 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15423 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15424 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
15425 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15426 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
15427 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
15428
be1e5d31
AB
154292013-10-04 Anton Blanchard <anton@au1.ibm.com>
15430 Alistair Popple <alistair@ozlabs.au.ibm.com>
15431 Alan Modra <amodra@gmail.com>
15432
15433 [BZ #15723]
15434 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
15435 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
15436 _dl_hwcap access for little-endian.
15437 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
15438 destroy vmx regs when saving unaligned.
15439 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
15440 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
15441 destroy vmx regs when saving unaligned.
15442
fef13a78
AM
154432013-10-04 Alan Modra <amodra@gmail.com>
15444
15445 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
15446 Don't use a union to pack hi/low value.
15447
76a66d51
AB
154482013-10-04 Anton Blanchard <anton@au1.ibm.com>
15449
15450 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
15451 for little-endian.
15452 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15453 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
15454 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15455 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15456 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15457
6a31fe7f
AM
154582013-10-04 Alan Modra <amodra@gmail.com>
15459
15460 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
15461 constants to usual value for .cst8 section, and remove redundant
15462 high address load.
15463 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
15464 constant for 0x1p52. Load little-endian words of double from
15465 correct stack offsets.
15466
7b88401f
AM
154672013-10-04 Alan Modra <amodra@gmail.com>
15468
15469 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
15470 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
15471 words of double from correct stack offsets.
15472 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
15473 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
15474 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15475 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15476 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15477 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15478 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15479 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
15480 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
15481 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15482 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15483 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15484 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15485 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15486 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15487 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
15488 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
15489
9c008155
AM
154902013-10-04 Alan Modra <amodra@gmail.com>
15491
15492 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
15493 64-bit int/double union.
15494 (_FPU_SETCW): Likewise.
15495 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
15496 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
15497
da13146d
AM
154982013-10-04 Alan Modra <amodra@gmail.com>
15499
15500 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
15501 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
15502
603e8410
AM
155032013-10-04 Alan Modra <amodra@gmail.com>
15504
15505 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
15506 use vector int constants.
15507 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
15508
4a28b3ca
AB
155092013-10-04 Anton Blanchard <anton@au1.ibm.com>
15510
15511 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
15512 array with long long.
15513 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
15514 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
15515 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
15516 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
15517 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
15518 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
15519 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
15520 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
15521 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
15522 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
15523 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
15524 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
15525 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
15526
2ca85d2b
AB
155272013-10-04 Anton Blanchard <anton@au1.ibm.com>
15528
15529 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
15530 (__signbit): Likewise. Correct for little-endian.
15531 (__signbitl): Call __signbit.
15532 (lrint): Correct for little-endian.
15533 (lrintf): Call lrint.
15534
62a728ae
AM
155352013-10-04 Alan Modra <amodra@gmail.com>
15536
15537 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
15538 union 32-bit int array member with 64-bit int array.
15539 (t515, tm256): Double rather than long double.
15540 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
15541
32c301df
AM
155422013-10-04 Alan Modra <amodra@gmail.com>
15543
15544 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
15545 Delete.
15546 (IEEE854_LONG_DOUBLE_BIAS): Delete.
15547 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
15548 version of math_ldbl.h.
15549
650ef4bd
AM
155502013-10-04 Alan Modra <amodra@gmail.com>
15551
15552 [BZ #15734], [BZ #15735]
15553 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
15554 all uses of ieee875 long double macros and unions. Simplify test
15555 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
15556 ldbl_extract_mantissa value for ix,iy exponents. Properly
15557 normalize after ldbl_extract_mantissa, and don't add hidden bit
15558 already handled. Don't treat low word of ieee854 mantissa like
15559 low word of IBM long double and mask off bit when testing for
15560 zero.
15561 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
15562 all uses of ieee875 long double macros and unions. Simplify tests
15563 for 0.0L and inf. Correct double adjustment of k. Delete dead code
15564 adjusting ha,hb. Simplify code setting kld. Delete two600 and
15565 two1022, instead use their values. Recognise that tests for large
15566 "a" and small "b" are mutually exclusive. Rename vars. Comment.
15567 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
15568 Rewrite all uses of ieee875 long double macros and unions. Simplify
15569 test for 0.0L and nan. Correct negation.
15570 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
15571 ieee875 long double macros and unions. Correct output for large
15572 magnitude x. Correct absolute value calculation.
15573 (__erfcl): Likewise.
15574 * math/libm-test.inc: Add tests for errors discovered in IBM long
15575 double versions of fmodl, remainderl, erfl and erfcl.
15576
765714ca
AM
155772013-10-04 Alan Modra <amodra@gmail.com>
15578
15579 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
15580 all uses of ieee854 long double macros and unions. Simplify tests
15581 for long doubles that are fully specified by the high double.
15582 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15583 Likewise.
15584 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
15585 Remove dead code too.
15586 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15587 (__ieee754_ynl): Likewise.
15588 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
15589 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
15590 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15591 Remove dead code too.
15592 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
15593 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
15594 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
15595 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
15596 Simplify.
15597 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
15598 Simplify.
15599 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
15600 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
15601 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
15602 Comment on variable precision.
15603 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
15604 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15605 Likewise.
15606 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15607 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15608 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15609 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
15610 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
15611
4ebd120c
AM
156122013-10-04 Alan Modra <amodra@gmail.com>
15613
15614 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
15615 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
15616 all uses of ieee854 long double macros and unions.
15617 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
15618 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15619 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
15620 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
15621 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
15622 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15623 Likewise.
15624 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
15625 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15626 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
15627 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15628 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
15629 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
15630 Simplify sign and nan test too.
15631 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
15632 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
15633 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
15634 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
15635 Likewise.
15636 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15637 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
15638 Likewise.
15639 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15640 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15641 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
15642 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
15643 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
15644 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
15645
1b6adf88
AM
156462013-10-04 Alan Modra <amodra@gmail.com>
15647
15648 * stdio-common/printf_size.c (__printf_size): Don't use
15649 union ieee854_long_double in fpnum union.
15650 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
15651 signbit macro to retrieve sign from long double.
15652 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
15653 retrieve sign from long double.
15654 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
15655 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
15656 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
15657 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15658 * math/test-misc.c (main): Don't use union ieee854_long_double.
15659
4cf69995
AM
156602013-10-04 Alan Modra <amodra@gmail.com>
15661
15662 [BZ #15680]
15663 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
15664 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
15665 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
15666 calculation. Remove unnecessary test for denormal exponent.
15667 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
15668 Correct handling of denormals. Avoid undefined shift behaviour.
15669 Correct normalisation of low mantissa when low double is denormal.
15670 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
15671 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
15672 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
15673 Correct normalisation of low mantissa. Test for overflow of high
15674 mantissa and normalise.
15675 (ldbl_nearbyint): Use more readable constant for two52.
15676 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
15677 (__mpn_construct_long_double): Fix test for overflow of high
15678 mantissa and correct normalisation. Avoid undefined shift.
15679
9605ca6c
AM
156802013-10-04 Alan Modra <amodra@gmail.com>
15681
15682 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15683 (union ibm_extended_long_double): Define as an array of ieee754_double.
15684 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
15685 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
15686 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
15687 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15688 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15689 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
15690 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15691 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15692 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15693 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
15694 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15695
975569d0
JM
156962013-10-03 Joseph Myers <joseph@codesourcery.com>
15697
d3d23756
JM
15698 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
15699 page size instead of calling getpagesize.
15700
975569d0
JM
15701 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
15702 (LOCFILE_ALIGN_MASK): Likewise.
15703 (LOCFILE_ALIGN_UP): Likewise.
15704 (LOCFILE_ALIGNED_P): Likewise.
15705 * locale/programs/ld-collate.c (collate_output): Use the new
15706 macros instead of __alignof__ (int32_t).
15707 * locale/weight.h (findidx): Likewise.
15708
b1fe1f2b
OB
157092013-10-03 Ondřej Bílka <neleai@seznam.cz>
15710
15711 [BZ #431]
15712 * manual/string.texi: Fix strncat and wcsncat.
15713
5f855e35
BM
157142013-10-03 Brooks Moses <bmoses@google.com>
15715
15716 [BZ #15915]
15717 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
15718 * Makerules: ...here, and adjust associated comments.
15719
3cef6009
WN
157202013-10-02 Will Newton <will.newton@linaro.org>
15721
15722 * malloc/Makefile: Add tst-pvalloc.
15723 * malloc/tst-pvalloc.c: New file.
15724
7815420b
WN
157252013-10-02 Will Newton <will.newton@linaro.org>
15726
15727 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
15728 improve test coverage.
15729
4868b204
WN
157302013-10-02 Will Newton <will.newton@linaro.org>
15731
15732 * malloc/Makefile: Add tst-posix_memalign.
15733 * malloc/tst-posix_memalign.c: New file.
15734
29c793b3
EB
157352013-10-01 Eric Blake <eblake@redhat.com>
15736
15737 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
15738 Use __THROWNL rather than __THROW on static functions.
15739
fd967522
PM
157402013-09-30 Petr Machata <pmachata@redhat.com>
15741
15742 * elf/elf.h (R_AARCH64_ABS16): New macro.
15743 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
15744 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
15745 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
15746 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
15747 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
15748 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
15749 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
15750 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
15751 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
15752 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
15753 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
15754 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
15755 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
15756 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
15757 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
15758 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
15759 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
15760 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
15761 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
15762 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
15763 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
15764 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
15765 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
15766 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
15767 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
15768 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
15769 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
15770 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
15771 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
15772 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
15773 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
15774 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
15775 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
15776 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
15777 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
15778 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
15779 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
15780 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
15781 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
15782 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
15783 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
15784 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
15785 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
15786 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
15787 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
15788 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
15789 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
15790 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
15791 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
15792 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
15793 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
15794 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
15795 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
15796 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
15797 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
15798 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
15799 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
15800 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
15801 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
15802 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
15803 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
15804 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
15805 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
15806 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
15807 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
15808 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
15809 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
15810 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
15811 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
15812 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
15813 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
15814 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
15815 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
15816 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
15817 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
15818 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
15819 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
15820 (R_AARCH64_TLSDESC_LDR): Likewise.
15821 (R_AARCH64_TLSDESC_ADD): Likewise.
15822 (R_AARCH64_TLSDESC_CALL): Likewise.
15823
b2179107
AS
158242013-09-30 Andreas Schwab <schwab@suse.de>
15825
15826 [BZ #15048]
15827 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
15828 the nss database lookup.
15829 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15830 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15831
47f28d0a
MF
158322013-09-28 Mike Frysinger <vapier@gentoo.org>
15833
15834 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
15835
158362013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
15837
15838 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
15839 ${Bash-specific parameter/pattern/string} parameter expansion.
15840 * sysdeps/unix/make-syscalls.sh: Likewise.
15841
f4518a17
KK
158422013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15843
15844 * sysdeps/sh/stackguard-macros.h: New file.
15845
dc1a95c7
OB
158462013-09-26 Ondřej Bílka <neleai@seznam.cz>
15847
15848 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15849 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
15850 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
15851 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
15852 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15853 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
15854
5ebbff8f
AZ
158552013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15856
15857 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
15858 Fix thread ID register.
15859
4fd2cf9f
JM
158602013-09-25 Joseph Myers <joseph@codesourcery.com>
15861
15862 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
15863 [POSIX || UNIX98]: Require rather than permitting all symbols from
15864 <time.h>.
15865 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
15866 element of struct sched_param.
15867 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
15868 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
15869 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
15870 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
15871 constant.
15872
12c22bc4
OL
158732013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
15874
15875 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
15876 argument calculation.
15877
a03d8ea7
JM
158782013-09-24 Joseph Myers <joseph@codesourcery.com>
15879
15880 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
15881 Expect macro.
15882 [POSIX] (pthread_attr_t): Do not require type.
15883 [POSIX] (pthread_cond_t): Likewise.
15884 [POSIX] (pthread_condattr_t): Likewise.
15885 [POSIX] (pthread_key_t): Likewise.
15886 [POSIX] (pthread_mutex_t): Likewise.
15887 [POSIX] (pthread_mutexattr_t): Likewise.
15888 [POSIX] (pthread_once_t): Likewise.
15889 [POSIX] (pthread_t): Likewise.
15890 [POSIX-based standards] (pthread_atfork): Expect function.
15891
6055173a
JM
158922013-09-24 Joseph Myers <joseph@codesourcery.com>
15893 Richard Sandiford <richard@codesourcery.com>
15894
15895 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
15896 (swap_endianness_p): New extern variable.
15897 (set_big_endian): New inline function.
15898 (maybe_swap_uint32): Likewise.
15899 (maybe_swap_uint32_array): Likewise.
15900 (maybe_swap_uint32_obstack): Likewise.
15901 * locale/programs/locfile.c: Include <stdbool.h>.
15902 (swap_endianness_p): New variable.
15903 (add_locale_uint32): Call maybe_swap_uint32.
15904 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
15905 (write_locale_data): Call maybe_swap_uint32_array.
15906 * locale/programs/ld-collate.c (obstack_int32_grow): Call
15907 maybe_swap_uint32.
15908 (obstack_int32_grow_fast): Likewise.
15909 (output_weightwc): Call maybe_swap_uint32_obstack.
15910 (collate_output): Likewise.
15911 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
15912 (OPT_LITTLE_ENDIAN): Likewise.
15913 (options): Add --little-endian and --big-endian options.
15914 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
15915 * locale/programs/locarchive.c: Include "locfile.h".
15916 (GET): New macro.
15917 (SET): Likewise.
15918 (INC): Likewise.
15919 (create_archive): Use the new macros to access fields of
15920 structures directly mapped from or written to locale archives.
15921 (oldlocrecentcmp): Likewise.
15922 (enlarge_archive): Likewise.
15923 (insert_name): Likewise.
15924 (add_alias): Likewise.
15925 (add_locale): Likewise.
15926 (delete_locales_from_archive): Likewise.
15927 (show_archive_content): Likewise.
15928 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
15929 locale data.
15930
39bf0bb4
RM
159312013-09-24 Roland McGrath <roland@hack.frob.com>
15932
15933 * manual/freemanuals.texi: Updated from (newly) canonical copy at
15934 http://www.gnu.org/doc/freemanuals.texi.
15935 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
15936
f02eed10
WN
159372013-09-24 Will Newton <will.newton@linaro.org>
15938
15939 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
15940 macro.
15941
a3a6c312
JM
159422013-09-23 Joseph Myers <joseph@codesourcery.com>
15943
15944 * locale/hashval.h (compute_hashval): Interpret bytes of key as
15945 unsigned char.
15946
107375ac
MR
159472013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
15948
15949 * manual/threads.texi (POSIX Threads): Fix a typo.
15950
141f3a77
SP
159512013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15952
303e567a
SP
15953 [BZ #14547]
15954 * string/tst-strcoll-overflow.c: New test case.
15955 * string/Makefile (xtests): Add tst-strcoll-overflow.
15956 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
15957 cache if string sizes may cause integer overflow.
15958
141f3a77
SP
15959 [BZ #14547]
15960 * string/strcoll_l.c (coll_seq): New members rule, idx,
15961 save_idx and back_us.
15962 (get_next_seq_nocache): New function.
15963 (do_compare_nocache): New function.
15964 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
15965 when malloc fails.
15966
c61b4d41
CD
159672013-09-23 Carlos O'Donell <carlos@redhat.com>
15968
0b1f8e35
CD
15969 [BZ #15754]
15970 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
15971 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
15972 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
15973
c61b4d41
CD
15974 [BZ #15754]
15975 * elf/Makefile (tests): Add tst-ptrguard1.
15976 (tests-static): Add tst-ptrguard1-static.
15977 (tst-ptrguard1-ARGS): Define.
15978 (tst-ptrguard1-static-ARGS): Define.
15979 * elf/tst-ptrguard1.c: New file.
15980 * elf/tst-ptrguard1-static.c: New file.
15981 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
15982 * sysdeps/i386/stackguard-macros.h: Likewise.
15983 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
15984 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
15985 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15986 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15987 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
15988 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
15989
159902013-09-23 Hector Marco <hecmargi@upv.es>
15991 Ismael Ripoll <iripoll@disca.upv.es>
15992 Carlos O'Donell <carlos@redhat.com>
15993
15994 [BZ #15754]
15995 * sysdeps/generic/stackguard-macros.h: Define
15996 __pointer_chk_guard_local and POINTER_CHK_GUARD.
15997 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
15998 Define __pointer_chk_guard_local.
15999 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
16000 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
16001
f5f4e7b4
VV
160022013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
16003
16004 [BZ #15859]
16005 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
16006
5bb43a43
AS
160072013-09-20 Andreas Schwab <schwab@linux-m68k.org>
16008
16009 * include/string.h (__ffs): Declare as hidden.
16010 * string/ffs.c (__ffs): Define as hidden.
16011 * sysdeps/i386/ffs.c (__ffs): Likewise.
16012 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
16013 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
16014 * sysdeps/s390/ffs.c (__ffs): Likewise.
16015 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
16016
3ea5be54
AO
160172013-09-20 Alexandre Oliva <aoliva@redhat.com>
16018
ffb89e53
AO
16019 * NEWS: Mention malloc probes.
16020
322dea08
AO
16021 * malloc/arena.c (new_heap): New memory_heap_new probe.
16022 (grow_heap): New memory_heap_more probe.
16023 (shrink_heap): New memory_heap_less probe.
16024 (heap_trim): New memory_heap_free probe.
16025 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
16026 (systrim): New memory_sbrk_less probe.
16027 * manual/probes.texi: Document them.
16028
655673f3
AO
16029 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
16030 * manual/probes.texi: Document it.
16031
35fed6f1
AO
16032 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
16033 (__libc_realloc): Add memory_realloc_retry probe.
16034 (__libc_memalign): Add memory_memalign_retry probe.
16035 (__libc_valloc): Add memory_valloc_retry probe.
16036 (__libc_pvalloc): Add memory_pvalloc_retry probe.
16037 (__libc_calloc): Add memory_calloc_retry probe.
16038 * manual/probes.texi: Document them.
16039
6999d38c
AO
16040 * malloc/arena.c (get_free_list): Add probe
16041 memory_arena_reuse_free_list.
16042 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
16043 and memory_arena_reuse.
16044 (arena_get2) [!PER_THREAD]: Likewise.
16045 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
16046 memory_arena_reuse_realloc.
16047 * manual/probes.texi: Document them.
16048
0653427f
AO
16049 * malloc/malloc.c (__libc_free): Add
16050 memory_mallopt_free_dyn_thresholds probe.
16051 (__libc_mallopt): Add multiple memory_mallopt probes.
16052 * manual/probes.texi: Document them.
16053
3ea5be54
AO
16054 * malloc/malloc.c: Include stap-probe.h.
16055 (__libc_mallopt): Add memory_mallopt probe.
16056 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
16057 * manual/probes.texi: New.
16058 * manual/Makefile (chapters): Add probes.
16059 * manual/threads.texi: Set next node.
16060
e35696c3 160612013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 16062
e35696c3
CL
16063 [BZ #15963, #13985]
16064 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
16065 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
16066 Add `Chinese' to `nan' entry name.
16067
4aafb73c
SP
160682013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16069
16070 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
16071 (POLYNOMIAL): Likewise.
16072 (TAYLOR_SINCOS): Likewise.
16073 (TAYLOR_SLOW): Likewise.
16074 (__sin): Use TAYLOR_SINCOS.
16075 (__cos): Likewise.
16076 (slow): Use TAYLOR_SLOW.
16077 (sloww): Likewise.
16078 (bsloww): Likewise.
16079 (csloww): Likewise.
16080
d84f25c7
LD
160812013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16082
16083 * stdlib/strtod_l.c: Fix buffer overrun.
16084
5eea0404
SP
160852013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16086
7849ff93
SP
16087 * benchtests/Makefile (bench): Add sincos.
16088 * benchtests/bench-sincos.c: New file.
16089
cfa3c886
SP
16090 * math/libm-test.inc (cos_test_data): New test inputs.
16091 (sin_test_data): Likewise.
16092
b348e1e3
SP
16093 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
16094 macro.
16095 (__sin): Use it.
16096 (__cos): Likewise.
16097 (slow1): Likewise.
16098 (slow2): Likewise.
16099 (sloww1): Likewise.
16100 (sloww2): Likewise.
16101 (bsloww1): Likewise.
16102 (bsloww2): Likewise.
16103 (cslow2): Likewise.
16104 (csloww1): Likewise.
16105 (csloww2): Likewise.
16106
6cce25f8
SP
16107 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
16108 function.
16109 (__sin): Use it.
16110 (__cos): Likewise.
16111
5eea0404
SP
16112 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
16113 gotos.
16114 (__cos): Likewise.
16115
9c21573c
MR
161162013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
16117
16118 * config.h.in (HAVE_MIPS_NAN2008): New macro.
16119 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
16120 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
16121 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
16122 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
16123 * elf/cache.c (print_entry): Handle the new cache flags.
16124
24d22e65
JM
161252013-09-18 Joseph Myers <joseph@codesourcery.com>
16126 Aldy Hernandez <aldyh@redhat.com>
16127
16128 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
16129 Change condition to [_SOFT_FLOAT].
16130 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
16131 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
16132 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
16133 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
16134 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
16135 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
16136 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
16137 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
16138 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
16139 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
16140 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
16141 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
16142 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
16143 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
16144 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
16145 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
16146 declaration.
16147
d13ef066
JM
161482013-09-18 Joseph Myers <joseph@codesourcery.com>
16149
2e071de0
JM
16150 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
16151 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16152 (__longjmp): Use LOAD_GP to load saved GPRs.
16153 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
16154 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16155 (__sigsetjmp): Use SAVE_GP to save GPRs.
16156
d13ef066
JM
16157 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
16158 Do not append -msoft-float.
16159 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
16160
97a0650b
SP
161612013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16162
16163 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
16164
11ca09e9
JM
161652013-09-17 Joseph Myers <joseph@codesourcery.com>
16166
16167 [BZ #15966]
16168 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
16169 (_FPU_GETCW): Use initial "__" on variable and field names but not
16170 on macro parameter name.
16171 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
16172 parentheses around reference to macro parameter.
16173
08ffcf34
RS
161742013-09-13 Richard Sandiford <richard@codesourcery.com>
16175
16176 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
16177 prototype.
16178 (ctype_startup): Use uint32_t in cast and sizeof for
16179 ctype->charnames.
16180
ae7080d3
JL
161812013-09-11 Jia Liu <proljc@gmail.com>
16182
16183 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
16184 __daddr_t_defined.
16185 [__FreeBSD__]: Likewise.
16186
5905e7b3
OB
161872013-09-11 Ondřej Bílka <neleai@seznam.cz>
16188
16189 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16190 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
16191 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
16192 (strchr): Remove __strchr_sse42 ifunc selection.
16193 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
16194 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
16195
b987c776
WN
161962013-09-11 Will Newton <will.newton@linaro.org>
16197
16198 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
16199 parameter to RES. Remove hardcoded 1000 value.
16200 * benchtests/bench-skeleton.c (main): Pass RES parameter
16201 to TIMING_INIT and multiply result by 1000.
16202
ddf985af
AZ
162032013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16204
16205 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16206
ffdd3181
AS
162072013-09-11 Andreas Schwab <schwab@suse.de>
16208
16209 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16210 if not defined.
16211 (O_TMPFILE) [__USE_GNU]: Define.
16212 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
16213 Define.
16214
b73ed247
WN
162152013-09-11 Will Newton <will.newton@linaro.org>
16216
16217 [BZ #15857]
16218 * malloc/malloc.c (__libc_memalign): Check the value of bytes
16219 does not overflow.
16220
55e17aad
WN
162212013-09-11 Will Newton <will.newton@linaro.org>
16222
16223 [BZ #15856]
16224 * malloc/malloc.c (__libc_valloc): Check the value of bytes
16225 does not overflow.
16226
1159a193
WN
162272013-09-11 Will Newton <will.newton@linaro.org>
16228
16229 [BZ #15855]
16230 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
16231 does not overflow.
16232
5905e7b3 162332013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
16234
16235 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
16236 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16237 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16238 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16239 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16240
cdfc721b
AM
162412013-09-10 Allan McRae <allan@archlinux.org>
16242
aa04af00
AM
16243 [BZ #15748]
16244 * manual/arith.texi (Parsing of Floats): Clarify
16245 cross-reference.
16246
cdfc721b
AM
16247 [BZ #15849]
16248 * manual/install.texi (Running make install): Mention
16249 --enable-pt-chown.
16250 * INSTALL: Regenerated.
16251
95e7cf29
MR
162522013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16253
16254 * csu/init-first.c (_init): Remove the !SHARED condition around
16255 FPU control word initialization.
16256 * elf/dl-support.c (_dl_fpu_control): New variable.
16257 (_dl_aux_init) <AT_FPUCW>: Initialize it.
16258 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
16259 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
16260 * math/test-fpucw-static.c: New file.
16261 * math/test-fpucw-ieee.c: New file.
16262 * math/test-fpucw-ieee-static.c: New file.
16263 * math/Makefile (tests): Add `test-fpucw-ieee' and
16264 `$(tests-static)'.
16265 (tests-static): New variable.
16266 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
16267 dependency to...
16268 [($(build-shared),yes)]
16269 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16270 ... this.
16271 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
16272 New dependency.
16273
83e43bf0
AM
162742013-09-09 Allan McRae <allan@archlinux.org>
16275
a9f5ce09
AM
16276 [BZ #15939]
16277 * manual/string.texi (Collation Functions): Fix typo in
16278 strcoll example.
16279 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
16280
34829bc2
AM
16281 [BZ #15893]
16282 * stdlib/isomac.c (get_null_defines): Fix memory leak.
16283
3932737d
AM
16284 [BZ #15892]
16285 * libio/memstream.c (open_memstream): Fix memory leak.
16286 * libio/wmemstream.c (open_wmemstream): Likewise.
16287
83e43bf0
AM
16288 [BZ #15895]
16289 * nscd/netgroupcache.c: Fix nesting of ifdefs.
16290
0c66b8e9
WN
162912013-09-09 Will Newton <will.newton@linaro.org>
16292
16293 * malloc/Makefile: Add tst-realloc to tests.
16294 * malloc/tst-realloc.c: New file.
16295
f6b00fd1
AM
162962013-09-09 Allan McRae <allan@archlinux.org>
16297
16298 [BZ #15844]
16299 * COPYING: Update from GNU website to fix FSF address.
16300 * COPYING.LIB: Likewise.
16301
eec55e16
DM
163022013-09-06 David S. Miller <davem@davemloft.net>
16303
16304 * po/zh_TW.po: Update Chinese (traditional) translation from
16305 translation project.
16306
1ecbb381
RS
163072013-09-06 Richard Sandiford <richard@codesourcery.com>
16308 Joseph Myers <joseph@codesourcery.com>
16309
16310 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
16311 "localeinfo.h".
16312 (obstack_chunk_alloc): New macro.
16313 (obstack_chunk_free): Likewise.
16314 (record_offset): New function.
16315 (init_locale_data): Likewise.
16316 (align_locale_data): Likewise.
16317 (add_locale_empty): Likewise.
16318 (add_locale_raw_data): Likewise.
16319 (add_locale_raw_obstack): Likewise.
16320 (add_locale_string): Likewise.
16321 (add_locale_wstring): Likewise.
16322 (add_locale_uint32): Likewise.
16323 (add_locale_uint32_array): Likewise.
16324 (add_locale_char): Likewise.
16325 (start_locale_structure): Likewise.
16326 (end_locale_structure): Likewise.
16327 (start_locale_prelude): Likewise.
16328 (end_locale_prelude): Likewise.
16329 (write_locale_data): Take locale_file structure rather than an
16330 iovec.
16331 * locale/programs/locfile.h: Include "obstack.h".
16332 (struct locale_file): Change to store locale file contents instead
16333 of header.
16334 (init_locale_data): New prototype.
16335 (align_locale_data): Likewise.
16336 (add_locale_empty): Likewise.
16337 (add_locale_raw_data): Likewise.
16338 (add_locale_raw_obstack): Likewise.
16339 (add_locale_string): Likewise.
16340 (add_locale_wstring): Likewise.
16341 (add_locale_uint32): Likewise.
16342 (add_locale_uint32_array): Likewise.
16343 (add_locale_char): Likewise.
16344 (start_locale_structure): Likewise.
16345 (end_locale_structure): Likewise.
16346 (start_locale_prelude): Likewise.
16347 (end_locale_prelude): Likewise.
16348 (write_locale_data): Update prototype.
16349 * locale/programs/3level.h (struct TABLE): Remove result field.
16350 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
16351 Use new locale_file interface.
16352 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
16353 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
16354 * locale/programs/ld-address.c (address_output): Use new
16355 locale_file interface.
16356 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
16357 NO_ADD_LOCALE.
16358 (collate_finish): Don't call collseq_table_finalize.
16359 (collate_output): Use new locale_file interface.
16360 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
16361 in file.
16362 (NO_FINALIZE): Change to NO_ADD_LOCALE.
16363 (TABLE): Move defines earlier in file.
16364 (ELEMENT): Likewise.
16365 (DEFAULT): Likewise.
16366 (wctrans_table_add): Move macro and inline function earlier in
16367 file.
16368 (struct wctype_table): Move type earlier in file.
16369 (add_locale_wctype_table): New static prototype.
16370 (struct locale_ctype_t): Use logical types instead of struct iovec
16371 pointers for members.
16372 (ctype_output): Use new locale_file interface.
16373 (wctype_table_finalize): Change to add_locale_wctype_table. Use
16374 new locale_file interface.
16375 (allocate_arrays): Update for use of new locale_file interface.
16376 * locale/programs/ld-identification.c (identification_output): Use
16377 new locale_file interface.
16378 * locale/programs/ld-measurement.c (measurement_output): Likewise.
16379 * locale/programs/ld-messages.c (messages_output): Likewise.
16380 * locale/programs/ld-monetary.c (monetary_output): Likewise.
16381 * locale/programs/ld-name.c (name_output): Likewise.
16382 * locale/programs/ld-numeric.c (numeric_output): Likewise.
16383 * locale/programs/ld-paper.c (paper_output): Likewise.
16384 * locale/programs/ld-telephone.c (telephone_output): Likewise.
16385 * locale/programs/ld-time.c (time_output): Likewise.
16386
e029e2e5
AZ
163872013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16388
16389 * benchtests/Makefile: Add memrchr benchmark.
16390 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
16391 benchmark as memrchr.
16392 * benchtests/bench-memrchr-ifunc.c: New file.
16393 * benchtests/bench-memrchr.c: New file.
16394
bbf6e8e4
WN
163952013-09-06 Will Newton <will.newton@linaro.org>
16396
16397 * benchtests/Makefile (string-bench): Add memcpy.
16398
6c82a2f8
CD
163992013-09-05 Carlos O'Donell <carlos@redhat.com>
16400 Cong Wang <amwang@redhat.com>
16401
e732c5f0 16402 [BZ #15850]
6c82a2f8
CD
16403 * sysdeps/unix/sysv/linux/bits/in.h
16404 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
16405 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
16406 before __USE_KERNEL_IPV6_DEFS uses.
16407 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
16408 IPPROTO_BEETPH.
16409 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
16410 sockaddr_in6, or ipv6_mreq.
16411
5430fc65
AZ
164122013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16413
16414 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
16415 memory access for final bytes in some large inputs.
16416 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
16417
4660856c
AZ
164182013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16419
16420 * string/test-memrchr.c: New file.
16421 * string/test-memrchr-ifunc.c: New file.
16422 * string/Makefile: Add new memrchr testcase.
16423
bb8ea713
MF
164242013-09-05 Mike Frysinger <vapier@gentoo.org>
16425
16426 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
16427 fanotify_init returns EPERM.
16428
b92a20b5
JM
164292013-09-04 Joseph Myers <joseph@codesourcery.com>
16430
16431 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
16432 errors.
16433 (top level): Treat second token from macro or constant entries for
16434 allowed headers as allowed.
16435 * include/complex.h: Condition internal declarations on
16436 [!_ISOMAC].
16437 * include/fenv.h: Condition include of <stdbool.h> and internal
16438 declarations on [!_ISOMAC].
7447ccd9
CL
16439
164402013-09-04 Chris Leonard <cjl@sugarlabs,.org>
16441
3e181dda 16442 [BZ #15923]
7447ccd9
CL
16443 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
16444
3f2e46a4
JM
164452013-09-04 Joseph Myers <joseph@codesourcery.com>
16446
16447 * configure.in (--enable-versioning): Remove configure option.
16448 (libc_cv_asm_symver_directive): Remove configure test.
16449 (libc_cv_ld_version_script_option): Likewise.
16450 (VERSIONING): Remove variable and AC_SUBST.
16451 (DO_VERSIONING): Remove AC_DEFINE.
16452 * configure: Regenerated.
16453 * config.h.in (DO_VERSIONING): Remove macro.
16454 * Makerules [$(versioning) = yes]: Change conditionals to
16455 [$(build-shared) = yes].
16456 * config.make.in (versioning): Remove variable.
16457 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
16458 [$(build-shared) = yes].
16459 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
16460 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
16461 * elf/Makefile [$(versioning) = yes]: Change conditionals to
16462 [$(build-shared) = yes].
16463 * extra-lib.mk [$(versioning) = yes]: Likewise.
16464 * hurd/Makefile [$(versioning) = yes]: Likewise.
16465 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
16466 [SHARED].
16467 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
16468 [SHARED].
16469 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16470 [SHARED && !NO_HIDDEN].
16471 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
16472 [SHARED].
16473 [SHARED && DO_VERSIONING]: Likewise..
16474 * libio/Makefile [$(versioning) = yes]: Change conditionals to
16475 [$(build-shared) = yes].
16476 * manual/install.texi (--disable-versioning): Remove
16477 documentation.
16478 * INSTALL: Regenerated.
16479 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
16480 to [SHARED].
16481 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
16482 [$(build-shared) = yes].
16483 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
16484 * sysdeps/i386/i686/multiarch/strstr-c.c
16485 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16486 [SHARED && !NO_HIDDEN].
16487 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
16488 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
16489 * sysdeps/powerpc/powerpc32/dl-machine.c
16490 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
16491 * sysdeps/powerpc/powerpc32/sysdep.h
16492 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
16493 to [SHARED && PIC && !NO_HIDDEN].
16494 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
16495 conditional to [SHARED].
16496
44558701
WN
164972013-09-04 Will Newton <will.newton@linaro.org>
16498
16499 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
16500 * benchtests/bench-string.h: Include bench-timing.h instead
16501 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
16502 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
16503 call to HP_TIMING_DIFF_INIT.
16504 * benchtests/bench-memccpy.c: Use bench-timing.h macros
16505 instead of hp-timing.h macros.
16506 * benchtests/bench-memchr.c: Likewise.
16507 * benchtests/bench-memcmp.c: Likewise.
16508 * benchtests/bench-memcpy.c: Likewise.
16509 * benchtests/bench-memmem.c: Likewise.
16510 * benchtests/bench-memmove.c: Likewise.
16511 * benchtests/bench-memset.c: Likewise.
16512 * benchtests/bench-rawmemchr.c: Likewise.
16513 * benchtests/bench-strcasecmp.c: Likewise.
16514 * benchtests/bench-strcasestr.c: Likewise.
16515 * benchtests/bench-strcat.c: Likewise.
16516 * benchtests/bench-strchr.c: Likewise.
16517 * benchtests/bench-strcmp.c: Likewise.
16518 * benchtests/bench-strcpy.c: Likewise.
16519 * benchtests/bench-strcpy_chk.c: Likewise.
16520 * benchtests/bench-strlen.c: Likewise.
16521 * benchtests/bench-strncasecmp.c: Likewise.
16522 * benchtests/bench-strncat.c: Likewise.
16523 * benchtests/bench-strncmp.c: Likewise.
16524 * benchtests/bench-strncpy.c: Likewise.
16525 * benchtests/bench-strnlen.c: Likewise.
16526 * benchtests/bench-strpbrk.c: Likewise.
16527 * benchtests/bench-strrchr.c: Likewise.
16528 * benchtests/bench-strspn.c: Likewise.
16529 * benchtests/bench-strstr.c: Likewise.
16530
cae16d66
WN
165312013-09-04 Will Newton <will.newton@linaro.org>
16532
16533 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
16534
ffa3cd7f
JM
165352013-09-03 Joseph Myers <joseph@codesourcery.com>
16536
16537 [BZ #15427]
16538 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
16539 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
16540 * math/libm-test.inc (lgamma_test_data): Add more tests.
16541 * sysdeps/i386/fpu/libm-test-ulps: Update.
16542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16543
8f02859f
OB
165442013-09-03 Ondřej Bílka <neleai@seznam.cz>
16545
16546 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
16547 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16548 Add ifunc.
16549 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16550 Add strcmp-sse2-unaligned
16551 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
16552
18d43716
MF
165532013-09-02 Mike Frysinger <vapier@gentoo.org>
16554
16555 * Versions.def (libc): Add GLIBC_2.19.
16556
ac444012
MF
165572013-09-02 Mike Frysinger <vapier@gentoo.org>
16558
16559 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
16560 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
16561
b7835e32
JM
165622013-09-02 Joseph Myers <joseph@codesourcery.com>
16563
16564 [BZ #14155]
16565 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
16566 intermediate calculations in recurrence.
16567 (__ieee754_ynf): Likewise.
16568 * math/libm-test.inc (jn_test_data): Do not allow spurious
16569 underflow exception. Add more tests.
16570 (yn_test_data): Add more tests.
16571 * sysdeps/i386/fpu/libm-test-ulps: Update.
16572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16573
8220f4f0
OB
165742013-09-02 Ondřej Bílka <neleai@seznam.cz>
16575
16576 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
16577
f24a6d08
OB
165782013-08-30 Ondřej Bílka <neleai@seznam.cz>
16579
16580 * csu/init-first.c: Fix then/than typos.
16581 * locale/programs/ld-collate.c: Likewise.
16582 * locale/programs/linereader.h: Likewise.
16583 * manual/charset.texi: Likewise.
16584 * manual/filesys.texi: Likewise.
16585 * manual/stdio.texi: Likewise.
16586 * manual/string.texi: Likewise.
16587 * stdlib/fmtmsg.c: Likewise.
16588 * sysdeps/i386/stpncpy.S: Likewise.
16589 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16590 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16591 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16592 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16593
382466e0
OB
165942013-08-30 Ondřej Bílka <neleai@seznam.cz>
16595
16596 * elf/dl-open.c: Fix typos.
16597 * iconvdata/gbbig5.c: Likewise.
16598 * iconvdata/iso-2022-jp.c: Likewise.
16599 * iconv/gconv_int.h: Likewise.
16600 * iconv/loop.c: Likewise.
16601 * nis/rpcsvc/nis.h: Likewise.
16602 * resolv/ns_name.c: Likewise.
16603 * stdio-common/vfscanf.c: Likewise.
16604 * streams/stropts.h: Likewise.
16605 * sunrpc/rpc_thread.c: Likewise.
16606 * sysdeps/i386/strpbrk.S: Likewise.
16607 * sysdeps/ieee754/k_standard.c: Likewise.
16608 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16609 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16610 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
16611 * sysdeps/mach/hurd/profil.c: Likewise.
16612 * sysdeps/s390/dl-procinfo.h: Likewise.
16613 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
16614 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
16615 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
16616 * sysdeps/x86_64/dl-trampoline.S: Likewise.
16617 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16618
0186c6e9
OB
166192013-08-30 Ondřej Bílka <neleai@seznam.cz>
16620
16621 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
16622 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
16623
d4e16af1
OB
166242013-08-29 Ondřej Bílka <neleai@seznam.cz>
16625
16626 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
16627 aix specific files.
16628 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
16629 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
16630 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
16631 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
16632 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
16633 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
16634 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
16635 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
16636
88335980
TS
166372013-08-29 Thomas Schwinge <thomas@codesourcery.com>
16638 Roland McGrath <roland@hack.frob.com>
16639
16640 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
16641 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16642
ed479b02
ST
166432013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
16644
16645 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
16646 __executable_start symbol instead of _start.
16647
f1cc4c86
TS
166482013-08-29 Thomas Schwinge <thomas@codesourcery.com>
16649
d821f07c
TS
16650 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
16651 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
16652 Move macros to...
16653 * sysdeps/gnu/ldsodefs.h: ... this new file.
16654
c54290cf
TS
16655 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
16656 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
16657 instead of ELFOSABI_LINUX.
16658
0007fc9b 16659 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
16660 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
16661 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
16662 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
16663 Likewise.
16664 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
16665 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
16666 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
16667 Likewise.
16668 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16669 (ibm_extended_long_double): Add ieee_nan member.
16670 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
16671 (do_test): New function.
16672
f1cc4c86
TS
16673 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
16674 TEST_TRUNC.
16675 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
16676 functions, renamed from truncdfsf_test, trunctfsf_test,
16677 trunctfdf_test.
16678 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
16679 functions.
16680 (do_test): Run all these.
16681
6f65e668
OB
166822013-08-29 Ondřej Bílka <neleai@seznam.cz>
16683
16684 * argp/argp-help.c: Fix typos.
16685 * argp/argp-parse.c: Likewise.
16686 * debug/backtracesyms.c: Likewise.
16687 * elf/elf.h: Likewise.
16688 * malloc/malloc.c: Likewise.
16689 * nis/nis_print.c: Likewise.
16690 * resolv/res_comp.c: Likewise.
16691 * stdlib/stdlib.h: Likewise.
16692 * sunrpc/clnt_tcp.c: Likewise.
16693 * sunrpc/clnt_udp.c: Likewise.
16694 * sunrpc/clnt_unix.c: Likewise.
16695 * sysdeps/unix/bsd/ptsname.c: Likewise.
16696 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16697 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
16698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
16699 Likewise.
16700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
16701 Likewise.
16702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
16703 Likewise.
6f65e668
OB
16704 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16705
3a309239
SP
167062013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16707
16708 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
16709 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16710
3b813b29
MF
167112013-08-27 Mike Frysinger <vapier@gentoo.org>
16712
16713 [BZ #15897]
16714 * dlfcn/Makefile (tests): Add bug-dl-leaf.
16715 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
16716 ($(objpfx)bug-dl-leaf): New rule.
16717 ($(objpfx)bug-dl-leaf.so): Likewise.
16718 ($(objpfx)bug-dl-leaf.out): Likewise.
16719 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
16720 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
16721 * dlfcn/bug-dl-leaf.c: New test.
16722 * dlfcn/bug-dl-leaf-lib.c: Likewise.
16723 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
16724 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
16725 (dlclose): Likewise.
16726 (dlmopen): Likewise.
16727
8cc3269f
RM
167282013-08-27 Roland McGrath <roland@hack.frob.com>
16729
7f9d0034
RM
16730 * include/netdb.h [!_ISOMAC]:
16731 Don't include <tls.h>.
16732 (h_errno, __libc_h_errno): Move declaration and macros out of
16733 [_LIBC_REENTRANT].
16734
fb431262
RM
16735 * include/resolv.h [_RESOLV_H_]:
16736 Don't include <tls.h>.
16737 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
16738 * resolv/res_libc.c: Don't include <tls.h>.
16739 (_res): Use __attribute__ ((nocommon)) in place of
16740 __attribute__ ((section (".bss"))).
16741
bd81123a
RM
16742 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
16743 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
16744
c4e42566
RM
16745 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
16746
f890a59b
RM
16747 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
16748 only under [SIOCGIFCONF && SIOCGIFNETMASK].
16749
16750 * resolv/res_mkquery.c: Include <sys/time.h>.
16751
5d1f0a09
RM
16752 * inet/ifreq.c: Moved to ...
16753 * sysdeps/unix/ifreq.c: ... here.
16754 * inet/ifreq.c: New file, true stub version.
16755
6fcf28b3
RM
16756 * socket/sa_len.c: New file.
16757 * socket/Makefile (aux): Add it.
16758 * sysdeps/unix/sysv/linux/Makefile
16759 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
16760 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
16761 and #include <socket/sa_len.c>.
16762 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
16763 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
16764
e041fb8b
RM
16765 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
16766 * bits/socket.h: ... here.
16767
8cc3269f
RM
16768 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
16769 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
16770 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
16771
5d228a43
AS
167722013-08-27 Andreas Schwab <schwab@suse.de>
16773
45b8accc
AS
16774 [BZ #15736]
16775 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
16776 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
16777 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
16778 * string/test-strcasecmp.c (test_main): Run tests in several
16779 locales.
16780 * string/test-strncasecmp.c (test_main): Likewise.
16781
5d228a43
AS
16782 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
16783 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
16784 to __strcasecmp_nonascii and __strncasecmp_nonascii.
16785 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
16786 (__strncasecmp_ssse3) [PIC]: Likewise.
16787
59d112a4
RM
167882013-08-26 Roland McGrath <roland@hack.frob.com>
16789
53234cc3
RM
16790 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
16791
59d112a4
RM
16792 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
16793 instead of explicitly declaring xdecrypt.
16794 * nis/nss_nis/nis-publickey.c: Likewise.
16795
595aba70
SP
167962013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16797
16798 [BZ #15890]
16799 * nscd/aicache.c: Include res_hconf.h.
16800 (addhstaiX): Initialize res_hconf.
16801
ffabd393
AS
168022013-08-26 Andreas Schwab <schwab@suse.de>
16803
16804 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
16805 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
16806
e0a69f5c
SP
168072013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16808
16809 * nscd/aicache.c (addhstaiX): Fix indentation.
16810
8c12f01d
MF
168112013-08-25 Mike Frysinger <vapier@gentoo.org>
16812
16813 * configure.ac: Quote $build_pt_chown test.
16814 * configure: Regenerated.
16815
8fe89494
JM
168162013-08-23 Joseph Myers <joseph@codesourcery.com>
16817
16818 [BZ #15532]
16819 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
16820 * math/s_cexpf.c (__cexpf): Likewise.
16821 * math/s_cexpl.c (__cexpl): Likewise.
16822 * math/libm-test.inc (cexp_test_data): Correct expected return
16823 value for NaN + i0. Add another test.
16824
75b181d6
DM
168252013-08-22 David S. Miller <davem@davemloft.net>
16826
16827 * po/ca.po: Update Catalan translation from translation project.
936241e4 16828 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 16829
acd06bb1
JM
168302013-08-21 Joseph Myers <joseph@codesourcery.com>
16831
16832 [BZ #15797]
16833 * math/s_fdim.c (__fdim): Check for infinite arguments if result
16834 is infinite, not alongside NaN test.
16835 * math/s_fdimf.c (__fdimf): Likewise.
16836 * math/s_fdiml.c (__fdiml): Likewise.
16837 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
16838 errno is unchanged.
16839
c0c3f78a
OB
168402013-08-21 Ondřej Bílka <neleai@seznam.cz>
16841
16842 * argp/argp-help.c: Fix typos.
16843 * crypt/speeds.c: Likewise.
16844 * csu/check_fds.c: Likewise.
16845 * elf/dl-load.c: Likewise.
16846 * elf/dl-open.c: Likewise.
16847 * elf/reldep3.c: Likewise.
16848 * elf/reldep.c: Likewise.
16849 * elf/sprof.c: Likewise.
16850 * iconv/iconv_charmap.c: Likewise.
16851 * iconv/skeleton.c: Likewise.
16852 * iconv/strtab.c: Likewise.
16853 * io/lockf64.c: Likewise.
16854 * libio/libioP.h: Likewise.
16855 * resolv/gai_notify.c: Likewise.
16856 * resolv/ns_name.c: Likewise.
16857 * resolv/ns_samedomain.c: Likewise.
16858 * resolv/res_send.c: Likewise.
16859 * stdlib/random.c: Likewise.
16860 * sunrpc/rpc/xdr.h: Likewise.
16861 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
16862 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16863 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16864 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16865 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16866 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16867 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16868 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16869 * sysdeps/mach/hurd/check_fds.c: Likewise.
16870 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16871 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16872 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16873 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16874 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16875 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16876 * sysdeps/pthread/aio_notify.c: Likewise.
16877 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
16878 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
16879 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
16880 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16881 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16882
46ed1038
LD
168832013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16884
16885 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
16886 version if bit_Slow_SSE4_2 is set.
16887 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16888 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16889
d400dcac
AZ
168902013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16891
16892 [BZ #15867]
16893 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
16894 trampoline stack frame information.
16895 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
16896 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
16897 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
16898 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
16899 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
16900 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16901 (_libc_vdso_platform_setup): Initialize the signal trampolines.
16902 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
16903 sa_flags value.
16904 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
16905 interrupting a syscall and set with option SA_SIGINFO.
16906
42c8fdd8
JM
169072013-08-20 Joseph Myers <joseph@codesourcery.com>
16908
c980f2f4
JM
16909 [BZ #15531]
16910 * math/s_cproj.c (__cproj): Only return an infinity if one part of
16911 argument is infinite.
16912 * math/s_cprojf.c (__cprojf): Likewise.
16913 * math/s_cprojl.c (__cprojl): Likewise.
16914 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
16915 * math/libm-test.inc (cproj_test_data): Add more tests.
16916
0716c4fc
JM
16917 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
16918
42c8fdd8
JM
16919 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
16920 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
16921 size. Use __ffs to determine corresponding shift.
16922
b31469d0
JM
169232013-08-20 Joseph Myers <joseph@codesourcery.com>
16924 Roland McGrath <roland@hack.frob.com>
16925
16926 * Makefile (INSTALL): Remove trailing blank lines from output of
16927 makeinfo.
16928
4e39af6e
AK
169292013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16930
16931 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
16932 Align 32 bit compat elf_greg to 8 bytes.
16933
f315524e
AA
169342013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
16935
16936 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
16937
1326ba1a
SP
169382013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16939
16940 * string/strcoll_l.c (coll_seq): New structure.
16941 (get_next_seq_cached): New function.
16942 (get_next_seq): New function.
16943 (do_compare): New function.
16944 (STRCOLL): Use GNU style definition. Simplify implementation
16945 by using get_next_seq, get_next_seq_cached and do_compare.
16946
91ce4085
FW
169472013-08-16 Florian Weimer <fweimer@redhat.com>
16948
16949 [BZ #14699]
16950 CVE-2013-4237
16951 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
16952 member.
16953 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
16954 member.
16955 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
16956 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
16957 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
16958 conditional.
16959 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
16960 GETDENTS_64BIT_ALIGNED.
16961 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16962 * manual/filesys.texi (Reading/Closing Directory): Document
16963 ENAMETOOLONG return value of readdir_r. Recommend readdir more
16964 strongly.
16965 * manual/conf.texi (Limits for Files): Add portability note to
16966 NAME_MAX, PATH_MAX.
16967 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
16968
ca0a6bc4
AS
169692013-08-13 Andreas Schwab <schwab@suse.de>
16970
16971 [BZ #15749]
16972 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
16973 of fabs.
16974 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
16975 LDBL_MAX_EXP >= 16384]: Add tests for it.
16976
6c1fd795
DM
169772013-08-12 David S. Miller <davem@davemloft.net>
16978
16979 * version.h (RELEASE): Set to "development".
16980 (VERSION): Set to "2.18.90".
16981 * NEWS: Add 2.19 section.
16982
31ad488d
DM
169832013-08-03 David S. Miller <davem@davemloft.net>
16984
16985 * po/ko.po: Update Korean translation from translation project.
16986
db24e684
DM
169872013-08-01 David S. Miller <davem@davemloft.net>
16988
16989 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
16990 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
16991 Bilka.
16992
f723285b
DM
169932013-07-30 David S. Miller <davem@davemloft.net>
16994
16995 * po/fr.po: Update French translation from translation project.
16996
3cbc52db
DM
169972013-07-28 David S. Miller <davem@davemloft.net>
16998
30bbc0cc
DM
16999 * po/cs.po: Update Czech translation from translation project.
17000
3cbc52db
DM
17001 * po/sv.po: Update Swedish translation from translation project.
17002
d492e6d0
DM
170032013-07-27 David S. Miller <davem@davemloft.net>
17004
f1a7f492
DM
17005 * po/eo.po: Update Esperanto translation from translation project.
17006
90e62a4a
DM
17007 * po/vi.po: Update Vietnamese translation from translation project.
17008
d492e6d0
DM
17009 * po/de.po: Update German translation from translation project.
17010
d4baa62d
DM
170112013-07-26 David S. Miller <davem@davemloft.net>
17012
641aa7b4
DM
17013 * po/bg.po: Update Bulgarian translation from translation project.
17014
d4baa62d
DM
17015 * po/nl.po: Update Dutch translation from translation project.
17016 * po/pl.po: Update Polish translation from translation project.
17017 * po/ru.po: Update Russian translation from translation project.
17018
61a9dcb9
DM
170192013-07-24 David S. Miller <davem@davemloft.net>
17020
17021 * po/libc.pot: Update.
17022
7b1f8b58
AZ
170232013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17024
17025 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
17026 variable page size.
17027 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
17028 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
17029 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
17030
a8fc7a03
AK
170312013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17032
17033 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
17034
e4608715
CD
170352013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17036 Andreas Schwab <schwab@suse.de>
17037 Roland McGrath <roland@hack.frob.com>
17038 Joseph Myers <joseph@codesourcery.com>
17039 Carlos O'Donell <carlos@redhat.com>
17040
17041 [BZ #15755]
17042 * config.h.in: Define HAVE_PT_CHOWN.
17043 * config.make.in (build-pt-chown): New variable.
17044 * configure.in (--enable-pt_chown): New configure option.
17045 * configure: Regenerate.
17046 * login/Makefile: Include Makeconfig. Build pt_chown only if
17047 build-pt-chown is enabled.
17048 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
17049 pt_chown to fix pty ownership.
17050 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
17051 CLOSE_ALL_FDS.
17052 * manual/install.texi (Configuring and compiling): Mention
17053 --enable-pt_chown. Add @findex for grantpt.
17054 * INSTALL: Regenerate.
17055
da2d62df
DM
170562013-07-20 David S. Miller <davem@davemloft.net>
17057
17058 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
17059 difference between 32-bit and 64-bit.
17060
d7e06450
CD
170612013-07-15 Carlos O'Donell <carlos@redhat.com>
17062
17063 [BZ #15711]
17064 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
17065 Avoid system header dependency with -ffreestanding.
17066 ($(objpfx)bits/syscall%d): Likewise.
17067
f959cfd7
DM
170682013-07-13 David S. Miller <davem@davemloft.net>
17069
17070 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
17071 underflows from atanl/atan2l due to bug 15319.
17072 (casinh_test_data): Likewise.
17073
c61f8513
DM
170742013-07-07 David S. Miller <davem@davemloft.net>
17075
17076 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
17077
72c90ed0
JA
170782013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
17079
17080 * sysdeps/i386/fpu/libm-test-ulps: Update.
17081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17082
52dfbe13
SP
170832013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17084
17085 * configure.in (--enable-lock-elision): Fix message text.
17086 * INSTALL: Regenerate.
17087 * configure: Regenerate.
17088
3f169543
AZ
170892013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17090
17091 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17092
521c6785
AJ
170932013-07-03 Andreas Jaeger <aj@suse.de>
17094
17095 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
17096 define.
17097 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
17098 (ptrace_peeksiginfo_args): Add.
17099 (__ptrace_peeksiginfo_flags): Add.
17100 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17101 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17102 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17103
d2cc15cb
AM
171042013-07-03 Allan McRae <allan@archlinux.org>
17105
17106 * sysdeps/i386/fpu/libm-test-ulps: Update.
17107
3aaeeca7
DM
171082013-07-02 David S. Miller <davem@davemloft.net>
17109
17110 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17111
5314ed1a
MT
171122013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
17113
17114 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17115
67338156
JM
171162013-07-02 Joseph Myers <joseph@codesourcery.com>
17117
17118 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17120
1717da59
AK
171212013-07-02 Andi Kleen <ak@linux.intel.com>
17122
17123 * config.h.in (ENABLE_LOCK_ELISION): Add.
17124 * configure.in (--enable-lock-elision): Add option.
17125 * manual/install.texi: Document --enable lock elision.
17126 * configure: Regenerate
17127 * INSTALL: Regenerate.
17128
1c81621c
L
171292013-07-02 H.J. Lu <hongjiu.lu@intel.com>
17130
17131 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
17132 SSE4.2 strcasecmp for libc.a.
17133 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
17134
77f01ab5
JM
171352013-07-02 Joseph Myers <joseph@codesourcery.com>
17136
17137 [BZ #13304]
17138 * soft-fp/op-common.h (_FP_FMA): New macro.
17139 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
17140 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
17141 (_FP_MUL_MEAT_1_imm): ... here.
17142 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
17143 (_FP_MUL_MEAT_1_wide): ... here.
17144 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
17145 (_FP_MUL_MEAT_1_hard): ... here.
17146 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
17147 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
17148 (_FP_MUL_MEAT_2_wide): ... here.
17149 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
17150 (_FP_MUL_MEAT_2_wide_3mul): ... here.
17151 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
17152 (_FP_MUL_MEAT_2_gmp): ... here.
17153 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
17154 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
17155 (_FP_MUL_MEAT_4_wide): ... here.
17156 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
17157 (_FP_MUL_MEAT_4_gmp): ... here.
17158 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
17159 (_FP_WFRACBITS_DW_S): Likewise.
17160 (_FP_WFRACXBITS_DW_S): Likewise.
17161 (_FP_HIGHBIT_DW_S): Likewise.
17162 (FP_FMA_S): Likewise.
17163 (_FP_FRAC_HIGH_DW_S): Likewise.
17164 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
17165 (_FP_WFRACBITS_DW_D): Likewise.
17166 (_FP_WFRACXBITS_DW_D): Likewise.
17167 (_FP_HIGHBIT_DW_D): Likewise.
17168 (FP_FMA_D): Likewise.
17169 (_FP_FRAC_HIGH_DW_D): Likewise.
17170 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
17171 (_FP_WFRACBITS_DW_E): Likewise.
17172 (_FP_WFRACXBITS_DW_E): Likewise.
17173 (_FP_HIGHBIT_DW_E): Likewise.
17174 (FP_FMA_E): Likewise.
17175 (_FP_FRAC_HIGH_DW_E): Likewise.
17176 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
17177 (_FP_WFRACBITS_DW_Q): Likewise.
17178 (_FP_WFRACXBITS_DW_Q): Likewise.
17179 (_FP_HIGHBIT_DW_Q): Likewise.
17180 (FP_FMA_Q): Likewise.
17181 (_FP_FRAC_HIGH_DW_Q): Likewise.
17182 * soft-fp/fmasf4.c: New file.
17183 * soft-fp/fmadf4.c: Likewise.
17184 * soft-fp/fmatf4.c: Likewise.
17185
6308fd9a
LD
171862013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17187
17188 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17189 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
17190 Silvermont.
17191 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
17192 macro.
17193 (index_Slow_SSE4_2): Likewise.
17194 (index_Prefer_PMINUB_for_stringop): Likewise.
17195 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
17196 bit_Slow_SSE4_2 is set.
17197 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17198 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17199
89cd9569
RA
172002013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17201
17202 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
17203 rtld_global._dl_hwcap2.
17204 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
17205 POWER8.
17206 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
17207 POWER8 feature descriptions defined in _dl_hwcap2.
17208 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
17209 string handling for POWER8 feature bits.
17210 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
17211 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
17212 _dl_powerpc_cap_flags.
17213 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
17214 * sysdeps/powerpc/rtld-global-offsets.sym
17215 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
17216 _dl_hwcap2 in the rtld_global_ro structure.
17217
1ae8bfe0
RA
172182013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17219
17220 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
17221 hardware capabilities in support of AT_HWCAP2.
17222 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
17223 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
17224 GLRO(dl_hwcap2).
17225 (_dl_show_auxv): Add support for calling _dl_procinfo to display
17226 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
17227 explicitly the unknown a_type display mechanism is used.
17228 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
17229 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
17230 struct member.
17231 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
17232 to macro prototype for AT_HWCAP2 support.
17233 * sysdeps/i386/dl-procinfo.h: Likewise.
17234 * sysdeps/s390/dl-procinfo.h: Likewise.
17235 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
17236 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
17237 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
17238 return -1 for unknown a_type display fallback.
17239 * sysdeps/sparc/dl-procinfo.h: Likewise.
17240 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
17241 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
17242
8fbec010
JM
172432013-06-28 Joseph Myers <joseph@codesourcery.com>
17244
17245 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
17246 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
17247
0432680e
PY
172482013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
17249
17250 [BZ #12492]
17251 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
17252 mprotect making __stack_prot writable.
17253
ce61a2ad
NF
172542013-06-28 Nathan Froyd <froydnj@codesourcery.com>
17255 Joseph Myers <joseph@codesourcery.com>
17256
17257 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
17258 as being properly aligned.
17259
f91f1c0f
MR
172602013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
17261
3d0f5d0c
MR
17262 * dlfcn/modstatic5.c: New file.
17263 * dlfcn/tststatic5.c: New file.
17264 * dlfcn/Makefile (tests): Add tststatic5.
17265 (tests-static): Likewise.
17266 (modules-names): Add modstatic5.
17267 (tststatic5-ENV): New variable.
17268 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
17269
f91f1c0f
MR
17270 [BZ #15022]
17271 * elf/dl-support.c (_dl_main_map): New variable.
17272 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
17273 (_dl_nns, _dl_load_adds): Set to 1.
17274 (_dl_initial_searchlist): Refer to _dl_main_map.
17275 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
17276 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
17277 call to _dl_get_origin.
17278 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
17279 around call_map.
17280 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
17281 * dlfcn/modstatic3.c: New file.
17282 * dlfcn/tststatic3.c: New file.
17283 * dlfcn/tststatic4.c: New file.
17284 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
17285 (tests-static): Likewise.
17286 (modules-names): Add modstatic3.
17287 (tststatic3-ENV, tststatic4-ENV): New variables.
17288 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
17289 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
17290
cbe7d24b
JM
172912013-06-26 Joseph Myers <joseph@codesourcery.com>
17292
17293 * configure.in (CC): Require GCC version 4.4 or later.
17294 * configure: Regenerated.
17295 * manual/install.texi (Tools for Compilation): Update GCC version
17296 requirement.
17297 * INSTALL: Regenerated.
17298
11b8a0e1
LD
172992013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17300
17301 [BZ #15674]
bb5bb87c
L
17302 * string/test-memcmp.c (check2): New.
17303 (main): Call check2.
17304
11b8a0e1
LD
17305 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
17306
b0037103
MR
173072013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
17308
17309 [BZ #15022]
17310 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
17311 over to...
17312 (dl_open_worker) [!SHARED]: ... here.
17313
c18c701d
RA
173142013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17315
17316 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
17317
1d17fa5f
RH
173182013-06-25 Richard Henderson <rth@redhat.com>
17319
17320 * locale/programs/locarchive.c: Include <libc-internal.h>
17321
8fcb833a
JM
173222013-06-25 Joseph Myers <joseph@codesourcery.com>
17323
17324 * manual/texinfo.tex: Update to version 2013-06-21.17, with
17325 trailing whitespace removed.
17326
17db6e8d
MF
173272013-06-24 Mike Frysinger <vapier@gentoo.org>
17328
17329 [BZ #10283]
17db6e8d
MF
17330 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
17331 * locale/programs/locarchive.c: Include libc-mmap.h.
17332 (prepare_address_space): Take two new outputs (the mmap base and len).
17333 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
17334 values.
17335 (create_archive): Declare new mmap base and len values for
17336 prepare_address_space, and store the result in ah.
17337 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
17338 (enlarge_archive): If ah->mmap_base is not NULL, use that and
17339 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17340 Declare new mmap base and len values for
17341 prepare_address_space, and store the result in new_ah.
17342 (open_archive): Declare new mmap base and len values for
17343 prepare_address_space, and store the result in ah.
17344 (close_archive): If ah->mmap_base is not NULL, use that and
17345 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17346 * sysdeps/generic/libc-mmap.h: New file.
17347
d605071e
MF
173482013-06-24 Mike Frysinger <vapier@gentoo.org>
17349
17350 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
17351 (ALIGN_UP): Likewise.
17352 (PTR_ALIGN_DOWN): Likewise.
17353 (PTR_ALIGN_UP): Likewise.
17354
2f063a6e
RA
173552013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17356
17357 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
17358 entry mapped to PPC_PLATFORM_POWER8.
17359 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
17360 POWER8.
17361 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
17362 (_dl_string_platform): Add case for exporting platform position for
17363 POWER8.
17364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
17365 search path to sysdeps/powerpc/powerpc32/power8 directory.
17366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
17367 search path to sysdeps/powerpc/powerpc64/power8 directory.
17368 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
17369 power7 directories.
17370 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
17371 power7 directories.
17372
a31ee4b3
SP
173732013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17374
a74ca98f
SP
17375 * INSTALL: Regenerate.
17376
a31ee4b3
SP
17377 * nscd/connections.c (nscd_init): Fix comment.
17378
695c378f
JM
173792013-06-22 Joseph Myers <joseph@codesourcery.com>
17380
d8412221
JM
17381 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
17382
695c378f
JM
17383 [BZ #15667]
17384 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
17385 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
17386
d1d54715
MR
173872013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
17388
17389 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
17390 DL_DST_REQ_STATIC.
17391 (DL_DST_REQ_STATIC): Remove macro.
17392
8fdda7af
JM
173932013-06-21 Joseph Myers <joseph@codesourcery.com>
17394
17395 [BZ #7006]
17396 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
17397 with a shift of 0 bits.
17398
f3bc5e5a
MR
173992013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
17400
17401 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
17402 $(tststatic-ENV).
17403
be09e8c9
KK
174042013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17405
17406 [BZ #15655]
17407 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
17408
85c2e611
AZ
174092013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17410
17411 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
17412 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
17413 accepts -fno-tree-loop-distribute-patterns.
17414 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
17415 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
17416 recursive call.
17417 * string/memset.c (memset): Likewise.
17418 * string/test-memmove.c (simple_memmove): Disable loop transformation
17419 to library calls.
17420 * string/test-memset.c (simple_memset): Likewise.
17421 * benchtests/bench-memmove.c (simple_memmove): Likewise.
17422 * benchtests/bench-memset.c (simple_memset): Likewise.
17423 * configure: Regenerated.
17424
c91e0825
JM
174252013-06-20 Joseph Myers <joseph@codesourcery.com>
17426
b8c792af
JM
17427 * math/test-misc.c (main): Ignore fesetround failure when failures
17428 of subsequent rounding tests would be ignored.
17429
c91e0825
JM
17430 [BZ #15654]
17431 * math/fedisblxcpt.c (fedisableexcept): Return 0.
17432 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
17433 * math/fegetenv.c (__fegetenv): Return 0.
17434 * math/fegetexcept.c (fegetexcept): Return 0.
17435 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
17436 FE_TONEAREST.
17437 * math/feholdexcpt.c (feholdexcept): Return 0.
17438 * math/fesetenv.c (__fesetenv): Return 0.
17439 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
17440 argument FE_TONEAREST.
17441 * math/feupdateenv.c (__feupdateenv): Return 0.
17442 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
17443
bfcacbde
RM
174442013-06-18 Roland McGrath <roland@hack.frob.com>
17445
17446 * elf/rtld-Rules (rtld-compile-command.S): New variable.
17447 (rtld-compile-command.s, rtld-compile-command.c): New variables.
17448 ($(objpfx)rtld-%.os rules): Use them.
17449
e55a9b25
AZ
174502013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17451
17452 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
17453 fields.
17454
346d65b3
RM
174552013-06-17 Roland McGrath <roland@hack.frob.com>
17456
12086fb4
RM
17457 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
17458 length of target pattern, then descending length of dependency pattern.
17459 * configure.in (AWK): Require gawk 3.1.2 or newer.
17460 * manual/install.texi (Tools for Compilation): Say that we do.
17461 * configure: Regenerated.
17462
346d65b3
RM
17463 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
17464 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
17465 * scripts/sysd-rules.awk: ... this new script.
17466 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
17467 than a glob-style pattern.
17468
1a846317
JM
174692013-06-17 Joseph Myers <joseph@codesourcery.com>
17470
17471 * math/test-misc.c (main): Do not treat incorrectly rounded
17472 conversions as failure unless ROUNDING_TESTS passes.
17473
8fc75e6f
JM
174742013-06-15 Joseph Myers <joseph@codesourcery.com>
17475
3711a167
JM
17476 [BZ #15631]
17477 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
17478 restore exception state around main square root computation, then
17479 check for inexactness explicitly.
17480
8fc75e6f
JM
17481 * math/libm-test.inc (fma_test_data): Add another test.
17482
61dd6208
SP
174832013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17484
adf23d2c
SP
17485 * manual/threads.texi (Non-POSIX Extensions): New document
17486 node. Document pthread_getattr_default_np and
17487 pthread_setattr_default_np.
17488
61dd6208
SP
17489 * Versions.def (libpthread): Add GLIBC_2.18.
17490 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
17491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17492 Likewise.
17493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17494 Likewise.
17495 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17496 Likewise.
17497 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17498 Likewise.
17499 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
17500 Likewise.
17501 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17502 Likewise.
17503 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17504 Likewise.
17505 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
17506 Likewise.
17507 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17508 Likewise.
17509
d086fc7b
LD
175102013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17511
17512 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17513 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
17514
747ef469
SP
175152013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17516 H.J. Lu <hjl.tools@gmail.com>
17517
17518 [BZ #15627]
17519 * sysdeps/x86_64/rtld-memset.c: Remove file.
17520 * sysdeps/x86_64/rtld-memset.S: New file.
17521
1b2feed2
JM
175222013-06-14 Joseph Myers <joseph@codesourcery.com>
17523
17524 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
17525 (test_in_one_mode): Take arguments for whether the rounding mode
17526 is supported for each floating-point type.
17527 (do_test): Pass new arguments to test_in_one_mode using
17528 ROUNDING_TESTS.
17529
a58ad3f8
RM
175302013-06-13 Roland McGrath <roland@hack.frob.com>
17531
17532 * posix/tst-waitid.c (do_test): Distinguish different instances of
17533 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
17534 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
17535 before entering the kernel for waitpid.
17536
c204ab28
SP
175372013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17538
17539 * NEWS: Fix note on clock function precision. Text by Roland
17540 McGrath.
17541
f4a29fba
RM
175422013-06-13 Roland McGrath <roland@hack.frob.com>
17543
17544 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
17545 it into place only when and if the sanity check passes.
17546
1f24b9ad
JM
175472013-06-13 Joseph Myers <joseph@codesourcery.com>
17548
17549 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
17550 output for whether conversion result is exact. Take argument
17551 indicating whether type is IBM long double.
17552 (round_for_all): Change need_exact field to ibm_ld.
17553 * stdlib/tst-strtod-round.c (struct exactness): New type.
17554 (struct test): Change bool ld_ok field to struct exactness exact.
17555 (TEST): Update all definitions for change to field.
17556 (tests): Regenerate array contents.
17557 (test_in_one_mode): Take pointer to new field instead of old ld_ok
17558 field value. Check for IBM long double here.
17559 (do_test): Update calls to test_in_one_mode.
17560
58206c68
SP
175612013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17562
17563 [BZ #12515]
17564 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
17565 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
17566
2d6f4c5b 175672013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
17568
17569 [BZ #15605]
17570 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
17571 generated by the compiler on loop optimizations.
17572 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
17573 general definitions.
17574
94f2c076
JM
175752013-06-12 Joseph Myers <joseph@codesourcery.com>
17576
17577 * math/bug-nextafter.c: Include <math-tests.h>.
17578 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17579 the relevant type.
17580 * math/bug-nexttoward.c: Include <math-tests.h>.
17581 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17582 the relevant type.
17583 * math/test-misc.c: Include <math-tests.h>.
17584 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17585 the relevant type.
17586
e0e50a0a
AJ
175872013-06-12 Andreas Jaeger <aj@suse.de>
17588
17589 * po/ia.po: Update Interlingua translation from translation
17590 project.
17591
25061094
SP
175922013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17593
17594 * include/fenv.h: Include stdbool.h.
17595 (struct rm_ctx): New structure.
17596 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
17597 Define macro.
17598 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
17599 (SET_RESTORE_ROUNDF): Likewise.
17600 (SET_RESTORE_ROUNDL): Likewise.
17601 (SET_RESTORE_ROUND_NOEX): Likewise.
17602 (SET_RESTORE_ROUND_NOEXF): Likewise.
17603 (SET_RESTORE_ROUND_NOEXL): Likewise.
17604 (SET_RESTORE_ROUND_53BIT): Likewise.
17605 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
17606 (libc_feresetround_noexf_ctx): Likewise.
17607 (libc_feresetround_noexl_ctx): Likewise.
17608 (libc_feholdsetround_53bit_ctx): Likewise.
17609 (libc_feresetround_53bit_ctx): Likewise.
17610 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
17611 (libc_feholdexcept_setround_sse_ctx): New function.
17612 (libc_fesetenv_sse_ctx): Likewise.
17613 (libc_feupdateenv_sse_ctx): Likewise.
17614 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
17615 (libc_feholdexcept_setround_387_ctx): Likewise.
17616 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
17617 (libc_feholdsetround_387_prec_ctx): Likewise.
17618 (libc_feholdsetround_387_ctx): Likewise.
17619 (libc_feholdsetround_387_53bit_ctx): Likewise.
17620 (libc_feholdsetround_sse_ctx): Likewise.
17621 (libc_feresetround_sse_ctx): Likewise.
17622 (libc_feresetround_387_ctx): Likewise.
17623 (libc_feupdateenv_387_ctx): Likewise.
17624 (libc_feholdexcept_setroundf_ctx): Define macro.
17625 (libc_fesetenvf_ctx): Likewise.
17626 (libc_feupdateenvf_ctx): Likewise.
17627 (libc_feholdsetroundf_ctx): Likewise.
17628 (libc_feresetroundf_ctx): Likewise.
17629 (libc_feholdexcept_setround_ctx): Likewise.
17630 (libc_fesetenv_ctx): Likewise.
17631 (libc_feupdateenv_ctx): Likewise.
17632 (libc_feholdsetround_ctx): Likewise.
17633 (libc_feresetround_ctx): Likewise.
17634 (libc_feholdexcept_setroundl_ctx): Likewise.
17635 (libc_feupdateenvl_ctx): Likewise.
17636 (libc_feholdsetroundl_ctx): Likewise.
17637 (libc_feresetroundl_ctx): Likewise.
17638 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
17639 (libc_feresetround_53bit_ctx): Likewise.
17640
59b30555
SP
176412013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17642
17643 * locale/iso-639.def: Convert to UTF-8.
17644
f1d73d30
JM
176452013-06-11 Joseph Myers <joseph@codesourcery.com>
17646
17647 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
17648 (EXCEPTION_TESTS_double): Likewise.
17649 (EXCEPTION_TESTS_long_double): Likewise.
17650 (EXCEPTION_TESTS): Likewise.
17651 * math/libm-test.inc (test_exceptions): Only test exceptions if
17652 EXCEPTION_TESTS (FLOAT).
17653
94aca5e7
SP
176542013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17655
17656 * benchtests/Makefile (string-bench): Add strcpy_chk and
17657 stpcpy_chk.
17658 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
17659 * benchtests/bench-stpcpy_chk.c: New file.
17660 * benchtests/bench-strcpy_chk-ifunc.c: New file.
17661 * benchtests/bench-strcpy_chk.c: New file.
17662 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
17663 code.
17664 (do_test): Likewise.
17665
fac0c5f2
RA
176662013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17667
17668 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
17669 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
17670 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
17671 with tabs where appropriate.
17672 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
17673 dl-procinfo.h.
17674 [PPC_PLATFORM_PPC440]: Likewise.
17675 [PPC_PLATFORM_PPC464]: Likewise.
17676 [PPC_PLATFORM_PPC476]: Likewise.
17677 (_dl_string_platform): Add support for detecting ppc405, ppc440,
17678 ppc464, and ppc476 platform strings merging from ports/
17679 dl-procinfo.h.
17680
f22bc486
AS
176812013-06-11 Andreas Schwab <schwab@suse.de>
17682
17683 [BZ #14991]
17684 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
17685 (from_ucs4_idx): Regenerate.
17686 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
17687 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
17688 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
17689 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
17690 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
17691 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
17692 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
17693 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
17694 from FROM_LOOP and TO_LOOP specific macros.
17695 (BODY): Handle combining characters.
17696 * iconvdata/BIG5HKSCS.irreversible: Update.
17697 * iconvdata/BIG5HKSCS.precomposed: New file.
17698 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
17699 characters.
17700 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
17701
c1f75dc3
SP
177022013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17703
4eacded2
SP
17704 * include/sys/time.h: Fix indentation and add copyright header.
17705
fec799f8
SP
17706 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
17707 (do_test): Likewise.
17708 * string/test-memchr.c (do_one_test): Likewise.
17709 (do_test): Likewise.
17710 * string/test-memcmp.c (do_one_test): Likewise.
17711 (do_test): Likewise.
17712 * string/test-memcpy.c (do_one_test): Likewise.
17713 (do_test): Likewise.
17714 * string/test-memmem.c (do_one_test): Likewise.
17715 (do_test): Likewise.
17716 (do_random_tests): Likewise.
17717 * string/test-memmove.c (do_one_test): Likewise.
17718 (do_test): Likewise.
17719 * string/test-memset.c (do_one_test): Likewise.
17720 (do_test): Likewise.
17721 * string/test-rawmemchr.c (do_one_test): Likewise.
17722 (do_test): Likewise.
17723 * string/test-strcasecmp.c (do_one_test): Likewise.
17724 (do_test): Likewise.
17725 * string/test-strcasestr.c (do_one_test): Likewise.
17726 (do_test): Likewise.
17727 * string/test-strcat.c (do_one_test): Likewise.
17728 (do_test): Likewise.
17729 * string/test-strchr.c (do_one_test): Likewise.
17730 (do_test): Likewise.
17731 * string/test-strcmp.c (do_one_test): Likewise.
17732 (do_test): Likewise.
17733 * string/test-strcpy.c (do_one_test): Likewise.
17734 (do_test): Likewise.
17735 * string/test-string.h: Likewise.
17736 (test_init): Likewise.
17737 * string/test-strlen.c (do_one_test): Likewise.
17738 (do_test): Likewise.
17739 * string/test-strncasecmp.c (do_one_test): Likewise.
17740 (do_test): Likewise.
17741 * string/test-strncat.c (do_one_test): Likewise.
17742 (do_test): Likewise.
17743 * string/test-strncmp.c (do_one_test): Likewise.
17744 (do_test_limit): Likewise.
17745 (do_test): Likewise.
17746 * string/test-strncpy.c (do_one_test): Likewise.
17747 (do_test): Likewise.
17748 * string/test-strnlen.c (do_one_test): Likewise.
17749 (do_test): Likewise.
17750 * string/test-strpbrk.c (do_one_test): Likewise.
17751 (do_test): Likewise.
17752 * string/test-strrchr.c (do_one_test): Likewise.
17753 (do_test): Likewise.
17754 * string/test-strspn.c (do_one_test): Likewise.
17755 (do_test): Likewise.
17756 * string/test-strstr.c (do_one_test): Likewise.
17757 (do_test): Likewise.
17758
97020474
SP
17759 * benchtests/Makefile (string-bench): Add string benchmarks.
17760 * benchtests/bench-bcopy-ifunc.c: New file.
17761 * benchtests/bench-bcopy.c: New file.
17762 * benchtests/bench-bzero-ifunc.c: New file.
17763 * benchtests/bench-bzero.c: New file.
17764 * benchtests/bench-memccpy-ifunc.c: New file.
17765 * benchtests/bench-memccpy.c: New file.
17766 * benchtests/bench-memchr-ifunc.c: New file.
17767 * benchtests/bench-memchr.c: New file.
17768 * benchtests/bench-memcmp-ifunc.c: New file.
17769 * benchtests/bench-memcmp.c: New file.
17770 * benchtests/bench-memmem-ifunc.c: New file.
17771 * benchtests/bench-memmem.c: New file.
17772 * benchtests/bench-memmove-ifunc.c: New file.
17773 * benchtests/bench-memmove.c: New file.
17774 * benchtests/bench-mempcpy-ifunc.c: New file.
17775 * benchtests/bench-mempcpy.c: New file.
17776 * benchtests/bench-memset-ifunc.c: New file.
17777 * benchtests/bench-memset.c: New file.
17778 * benchtests/bench-rawmemchr-ifunc.c: New file.
17779 * benchtests/bench-rawmemchr.c: New file.
17780 * benchtests/bench-stpcpy-ifunc.c: New file.
17781 * benchtests/bench-stpcpy.c: New file.
17782 * benchtests/bench-stpncpy-ifunc.c: New file.
17783 * benchtests/bench-stpncpy.c: New file.
17784 * benchtests/bench-strcasecmp-ifunc.c: New file.
17785 * benchtests/bench-strcasecmp.c: New file.
17786 * benchtests/bench-strcasestr-ifunc.c: New file.
17787 * benchtests/bench-strcasestr.c: New file.
17788 * benchtests/bench-strcat-ifunc.c: New file.
17789 * benchtests/bench-strcat.c: New file.
17790 * benchtests/bench-strchr-ifunc.c: New file.
17791 * benchtests/bench-strchr.c: New file.
17792 * benchtests/bench-strchrnul-ifunc.c: New file.
17793 * benchtests/bench-strchrnul.c: New file.
17794 * benchtests/bench-strcmp-ifunc.c: New file.
17795 * benchtests/bench-strcmp.c: New file.
17796 * benchtests/bench-strcpy-ifunc.c: New file.
17797 * benchtests/bench-strcpy.c: New file.
17798 * benchtests/bench-strcspn-ifunc.c: New file.
17799 * benchtests/bench-strcspn.c: New file.
17800 * benchtests/bench-strlen-ifunc.c: New file.
17801 * benchtests/bench-strlen.c: New file.
17802 * benchtests/bench-strncasecmp-ifunc.c: New file.
17803 * benchtests/bench-strncasecmp.c: New file.
17804 * benchtests/bench-strncat-ifunc.c: New file.
17805 * benchtests/bench-strncat.c: New file.
17806 * benchtests/bench-strncmp-ifunc.c: New file.
17807 * benchtests/bench-strncmp.c: New file.
17808 * benchtests/bench-strncpy-ifunc.c: New file.
17809 * benchtests/bench-strncpy.c: New file.
17810 * benchtests/bench-strnlen-ifunc.c: New file.
17811 * benchtests/bench-strnlen.c: New file.
17812 * benchtests/bench-strpbrk-ifunc.c: New file.
17813 * benchtests/bench-strpbrk.c: New file.
17814 * benchtests/bench-strrchr-ifunc.c: New file.
17815 * benchtests/bench-strrchr.c: New file.
17816 * benchtests/bench-strspn-ifunc.c: New file.
17817 * benchtests/bench-strspn.c: New file.
17818 * benchtests/bench-strstr-ifunc.c: New file.
17819 * benchtests/bench-strstr.c: New file.
17820
c1f75dc3
SP
17821 * benchtests/Makefile: Disable parallel execution of targets.
17822 (string-bench): Add memcpy.
17823 (benchset): New variable to store a list of benchmark sets.
17824 (bench-func): Renamed from bench.
17825 (bench-set): New target.
17826 (bench): Depend on bench-func and bench-set.
17827 * benchtests/README: Add section on benchmark sets.
17828 * benchtests/bench-memcpy-ifunc.c: New file.
17829 * benchtests/bench-memcpy.c: New file.
17830 * benchtests/bench-string.h: New file.
17831
50fd745b
AS
178322013-06-11 Andreas Schwab <schwab@suse.de>
17833
17834 [BZ #15577]
17835 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
17836 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
17837 values in the triple.
17838 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
17839 terminator in the group key.
17840
3ee7e9fe
AJ
178412013-06-11 Andreas Jaeger <aj@suse.de>
17842
17843 * po/zh_TW.po: Update Chinese (traditional) translation from
17844 translation project.
17845
89fb6835
SP
178462013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17847
17848 * include/time.h (__clock_gettime): Add libc_hidden_proto.
17849 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
17850 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
17851 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17852 (clock_getcpuclockid): Likewise.
17853 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
17854 Add weak_alias and libc_hidden_def.
17855 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
17856 * rt/clock_gettime.c (clock_gettime): Rename to
17857 __clock_gettime. Add weak_alias and libc_hidden_def.
17858 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
17859 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
17860 __clock_nanosleep. Add weak_alias and libc_hidden_def.
17861 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
17862 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
17863 Likewise.
17864 * rt/clock_settime.c (clock_settime): Rename to
17865 __clock_settime. Add weak_alias and libc_hidden_def.
17866 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
17867
0efa6f8b
JM
178682013-06-10 Joseph Myers <joseph@codesourcery.com>
17869
b8c61b4b
JM
17870 * mach/err_boot.sub: Remove trailing whitespace.
17871 * mach/err_ipc.sub: Likewise.
17872 * mach/err_mach.sub: Likewise.
17873
0efa6f8b
JM
17874 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
17875 (ROUNDING_TESTS_double): Likewise.
17876 (ROUNDING_TESTS_long_double): Likewise.
17877 (ROUNDING_TESTS): Likewise.
17878 * math/libm-test.inc: Include <math-tests.h>.
17879 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
17880 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17881 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17882 (IF_ROUND_INIT_FE_UPWARD): Likewise.
17883
50b818bf
SP
178842013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17885
17886 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
17887 of assigning.
17888
60d2f8f3
JM
178892013-06-08 Joseph Myers <joseph@codesourcery.com>
17890
4902d2c3
JM
17891 * sysdeps/gnu/errlist.awk: Do not generate space at end of
17892 otherwise empty TRANS lines.
17893 * sysdeps/gnu/errlist.c: Regenerated.
17894
60d2f8f3
JM
17895 * catgets/gencat.c (error_print): Use (void) in function
17896 definition.
17897 * crypt/crypt_util.c (__init_des): Likewise.
17898 * crypt/speeds.c (Stop): Likewise.
17899 (main): Likewise.
17900 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
17901 * inet/ruserpass.c (token): Likewise.
17902 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
17903 * intl/localealias.c (extend_alias_table): Likewise.
17904 * intl/plural-exp.c (init_germanic_plural): Likewise.
17905 * libio/fcloseall.c (__fcloseall): Likewise.
17906 * libio/genops.c (_IO_flush_all): Likewise.
17907 (_IO_flush_all_linebuffered): Likewise.
17908 (_IO_cleanup): Likewise.
17909 (_IO_iter_begin): Likewise.
17910 (_IO_iter_end): Likewise.
17911 (_IO_list_lock): Likewise.
17912 (_IO_list_unlock): Likewise.
17913 (_IO_list_resetlock): Likewise.
17914 * libio/getchar.c (getchar): Likewise.
17915 * libio/getchar_u.c (getchar_unlocked): Likewise.
17916 * libio/getwchar.c (getwchar): Likewise.
17917 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
17918 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
17919 * login/getpt.c (__getpt): Likewise.
17920 * login/tst-utmp.c (main): Likewise.
17921 * malloc/hooks.c (__malloc_check_init): Likewise.
17922 * malloc/malloc.c (__malloc_stats): Likewise.
17923 * malloc/mtrace.c (tr_break): Likewise.
17924 (mtrace): Likewise.
17925 (muntrace): Likewise.
17926 * misc/fstab.c (endfsent): Likewise.
17927 * misc/getclktck.c (__getclktck): Likewise.
17928 * misc/getdtsz.c (__getdtablesize): Likewise.
17929 * misc/gethostid.c (gethostid): Likewise.
17930 * misc/getpagesize.c (__getpagesize): Likewise.
17931 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
17932 (__get_nprocs): Likewise.
17933 (__get_phys_pages): Likewise.
17934 (__get_avphys_pages): Likewise.
17935 * misc/getttyent.c (getttyent): Likewise.
17936 (setttyent): Likewise.
17937 (endttyent): Likewise.
17938 * misc/getusershell.c (getusershell): Likewise.
17939 (endusershell): Likewise.
17940 (setusershell): Likewise.
17941 (initshells): Likewise.
17942 * misc/hsearch.c (__hdestroy): Likewise.
17943 * misc/sync.c (sync): Likewise.
17944 * misc/syslog.c (closelog_internal): Likewise.
17945 (closelog): Likewise.
17946 * misc/ttyslot.c (ttyslot): Likewise.
17947 * misc/vhangup.c (vhangup): Likewise.
17948 * posix/fork.c (__fork): Likewise.
17949 * posix/getegid.c (__getegid): Likewise.
17950 * posix/geteuid.c (__geteuid): Likewise.
17951 * posix/getgid.c (__getgid): Likewise.
17952 * posix/getpid.c (__getpid): Likewise.
17953 * posix/getppid.c (__getppid): Likewise.
17954 * posix/getuid.c (__getuid): Likewise.
17955 * posix/pause.c (pause): Likewise.
17956 * posix/setpgrp.c (setpgrp): Likewise.
17957 * posix/setsid.c (__setsid): Likewise.
17958 * posix/test-vfork.c (noop): Likewise.
17959 * resolv/gethnamaddr.c (_endhtent): Likewise.
17960 (_gethtent): Likewise.
17961 (ht_endhostent): Likewise.
17962 (gethostent): Likewise.
17963 (dns_service): Likewise.
17964 * stdlib/drand48.c (drand48): Likewise.
17965 * stdlib/lrand48.c (lrand48): Likewise.
17966 * stdlib/mrand48.c (mrand48): Likewise.
17967 * stdlib/rand.c (rand): Likewise.
17968 * stdlib/random.c (__random): Likewise.
17969 * stdlib/setenv.c (clearenv): Likewise.
17970 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
17971 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
17972 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
17973 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
17974 (__get_nprocs): Likewise.
17975 (__get_phys_pages): Likewise.
17976 (__get_avphys_pages): Likewise.
17977 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
17978 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
17979 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
17980 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
17981 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
17982 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
17983 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
17984 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
17985 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
17986 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
17987 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
17988 * sysdeps/mach/hurd/sync.c (sync): Likewise.
17989 * sysdeps/posix/clock.c (clock): Likewise.
17990 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
17991 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
17992 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
17993 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
17994 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
17995 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
17996 (__get_nprocs_conf): Likewise.
17997 (__get_phys_pages): Likewise.
17998 (__get_avphys_pages): Likewise.
17999 * time/clock.c (clock): Likewise.
18000 * time/tzset.c (__tzname_max): Likewise.
18001
2e09a79a
JM
180022013-06-07 Joseph Myers <joseph@codesourcery.com>
18003
18004 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
18005 (__bswap_32): Do not use "register".
18006 * crypt/crypt.c (_ufc_doit_r): Likewise.
18007 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18008 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18009 * gmon/gmon.c (__monstartup): Likewise.
18010 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
18011 * hurd/hurdmalloc.c (more_memory): Likewise.
18012 (malloc): Likewise.
18013 (free): Likewise.
18014 (realloc): Likewise.
18015 (malloc_fork_prepare): Likewise.
18016 (malloc_fork_parent): Likewise.
18017 (malloc_fork_child): Likewise.
18018 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
18019 (_svcauth_des): Likewise.
18020 * inet/inet_lnaof.c (inet_lnaof): Likewise.
18021 * inet/inet_net.c (inet_network): Likewise.
18022 * inet/inet_netof.c (inet_netof): Likewise.
18023 * inet/rcmd.c (__validuser2_sa): Likewise.
18024 * io/fts.c (fts_open): Likewise.
18025 (fts_load): Likewise.
18026 (fts_close): Likewise.
18027 (fts_read): Likewise.
18028 (fts_children): Likewise.
18029 (fts_build): Likewise.
18030 (fts_stat): Likewise.
18031 (fts_sort): Likewise.
18032 (fts_alloc): Likewise.
18033 (fts_lfree): Likewise.
18034 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
18035 (_IO_file_xsgetn): Likewise.
18036 (_IO_file_xsgetn_mmap): Likewise.
18037 * libio/iofopncook.c (_IO_cookie_read): Likewise.
18038 (_IO_cookie_write): Likewise.
18039 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
18040 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
18041 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
18042 * malloc/obstack.c (_obstack_begin): Likewise.
18043 (_obstack_begin_1): Likewise.
18044 (_obstack_newchunk): Likewise.
18045 (_obstack_allocated_p): Likewise.
18046 (obstack_free): Likewise.
18047 (_obstack_memory_used): Likewise.
18048 * misc/getttyent.c (getttynam): Likewise.
18049 (getttyent): Likewise.
18050 (skip): Likewise.
18051 (value): Likewise.
18052 * misc/getusershell.c (initshells): Likewise.
18053 * misc/syslog.c (__vsyslog_chk): Likewise.
18054 * misc/ttyslot.c (ttyslot): Likewise.
18055 * nis/nis_hash.c (__nis_hash): Likewise.
18056 * posix/fnmatch_loop.c (FCT): Likewise.
18057 * posix/getconf.c (print_all): Likewise.
18058 (main): Likewise.
18059 * posix/getopt.c (exchange): Likewise.
18060 * posix/glob.c (globfree): Likewise.
18061 (prefix_array): Likewise.
18062 (__glob_pattern_type): Likewise.
18063 * resolv/arpa/nameser.h (NS_GET16): Likewise.
18064 (NS_GET32): Likewise.
18065 (NS_PUT16): Likewise.
18066 (NS_PUT32): Likewise.
18067 * resolv/gethnamaddr.c (getanswer): Likewise.
18068 (gethostbyname2): Likewise.
18069 (gethostbyaddr): Likewise.
18070 (_gethtent): Likewise.
18071 (_gethtbyname2): Likewise.
18072 (_gethtbyaddr): Likewise.
18073 * resolv/ns_print.c (dst_s_get_int16): Likewise.
18074 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
18075 * resolv/res_init.c (__res_vinit): Likewise.
18076 (net_mask): Likewise.
18077 * resolv/res_mkquery.c (outchar): Likewise.
18078 (PRINT): Likewise.
18079 * stdio-common/printf_fp.c (outchar): Likewise.
18080 (PRINT): Likewise.
18081 * stdio-common/printf_fphex.c (outchar): Likewise.
18082 (PRINT): Likewise.
18083 * stdio-common/printf_size.c (outchar): Likewise.
18084 (PRINT): Likewise.
18085 * stdio-common/test_rdwr.c (main): Likewise.
18086 * stdio-common/tfformat.c (matches): Likewise.
18087 * stdio-common/vfprintf.c (outchar): Likewise.
18088 (printf_unknown): Likewise.
18089 (buffered_vfprintf): Likewise.
18090 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18091 * stdio-common/xbug.c (AppendToBuffer): Likewise.
18092 (ReadFile): Likewise.
18093 * stdlib/qsort.c (SWAP): Likewise.
18094 (_quicksort): Likewise.
18095 * stdlib/setenv.c (__add_to_environ): Likewise.
18096 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18097 * stdlib/strtol_l.c (__strtol_l): Likewise.
18098 * stdlib/tst-strtod.c (main): Likewise.
18099 * stdlib/tst-strtol.c (main): Likewise.
18100 * stdlib/tst-strtoll.c (main): Likewise.
18101 * string/bits/string2.h (__strcmp_cc): Likewise.
18102 (__strcmp_cg): Likewise.
18103 (__strcspn_c1): Likewise.
18104 (__strcspn_c2): Likewise.
18105 (__strcspn_c3): Likewise.
18106 (__strspn_c1): Likewise.
18107 (__strspn_c2): Likewise.
18108 (__strspn_c3): Likewise.
18109 (__strsep_1c): Likewise.
18110 (__strsep_2c): Likewise.
18111 (__strsep_3c): Likewise.
18112 * string/memccpy.c (__memccpy): Likewise.
18113 * string/stpcpy.c (__stpcpy): Likewise.
18114 * string/strcmp.c (strcmp): Likewise.
18115 * string/strrchr.c (strrchr): Likewise.
18116 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
18117 Likewise.
18118 * sysdeps/mach/hurd/getcwd.c
18119 (_hurd_canonicalize_directory_name_internal): Likewise.
18120 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
18121 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
18122 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
18123 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
18124 Likewise, in both definitions.
18125 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
18126 definitions.
18127 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
18128 64] (__bswap_64): Likewise.
18129 * time/test_time.c (main): Likewise.
18130 * time/tzfile.c (__tzfile_read): Likewise.
18131 (__tzfile_compute): Likewise.
18132 * time/tzset.c (__tzset_parse_tz): Likewise.
18133 (tzset_internal): Likewise.
18134 (compute_change): Likewise.
18135 * wcsmbs/wcscat.c (__wcscat): Likewise.
18136 * wcsmbs/wcschr.c (wcschr): Likewise.
18137 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18138 * wcsmbs/wcscspn.c (wcscspn): Likewise.
18139 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18140 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
18141 * wcsmbs/wcsspn.c (wcsspn): Likewise.
18142 * wcsmbs/wcsstr.c (wcsstr): Likewise.
18143 * wcsmbs/wmemchr.c (wmemchr): Likewise.
18144 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18145 * wcsmbs/wmemset.c (wmemset): Likewise.
18146
9e54314b
JM
181472013-06-06 Joseph Myers <joseph@codesourcery.com>
18148
18149 * scripts/config.guess: Update to version 2013-05-16.
18150 * scripts/config.sub: Update to version 2013-04-24.
18151 * scripts/install-sh: Update to version 2011-11-20.07.
18152 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
18153 * scripts/move-if-change: Update to version 2012-01-06 07:23.
18154
350635a5
OB
181552013-06-06 Ondřej Bílka <neleai@seznam.cz>
18156
18157 * debug/fgetws_u_chk.c: Fix leading whitespaces.
18158 * elf/sln.c: Likewise.
18159 * hurd/hurd/ioctl.h: Likewise.
18160 * hurd/hurdmalloc.c: Likewise.
18161 * hurd/xattr.c: Likewise.
18162 * include/shlib-compat.h: Likewise.
18163 * inet/ruserpass.c: Likewise.
18164 * libio/iofgets_u.c: Likewise.
18165 * libio/iofgetws_u.c: Likewise.
18166 * locale/programs/ld-identification.c: Likewise.
18167 * locale/programs/ld-time.c: Likewise.
18168 * mach/msg-destroy.c: Likewise.
18169 * nss/nss_files/files-netgrp.c: Likewise.
18170 * resolv/res_data.c: Likewise.
18171 * soft-fp/op-1.h: Likewise.
18172 * soft-fp/op-2.h: Likewise.
18173 * soft-fp/op-4.h: Likewise.
18174 * soft-fp/op-common.h: Likewise.
18175 * stdio-common/printf_fphex.c: Likewise.
18176 * stdlib/strtod_l.c: Likewise.
18177 * sunrpc/rpc/clnt.h: Likewise.
18178 * sysdeps/generic/framestate.c: Likewise.
18179 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18180 * sysdeps/i386/bsd-setjmp.S: Likewise.
18181 * sysdeps/i386/__longjmp.S: Likewise.
18182 * sysdeps/i386/setjmp.S: Likewise.
18183 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18184 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18185 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18186 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18187 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18188 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18189 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18190 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18191 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18192 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18193 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18194 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18195 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18196 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18197 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18198 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18199 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18200 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
18201 * sysdeps/ieee754/support.c: Likewise.
18202 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18203 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
18204 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
18205 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
18206 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
18207 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
18208 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
18209 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
18210 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
18211 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
18212 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
18213 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
18214 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
18215 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
18216 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
18217 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
18218 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18220
44a988af
OB
182212013-06-05 Ondřej Bílka <neleai@seznam.cz>
18222
25506f09 18223 * posix/transbug.c: Remove executable mode.
44a988af 18224
9c84384c
JM
182252013-06-05 Joseph Myers <joseph@codesourcery.com>
18226
18227 * crypt/speeds.c: Remove trailing whitespace.
18228 * dlfcn/default.c: Likewise.
18229 * elf/ifuncdep2.c: Likewise.
18230 * elf/ifuncmain1.c: Likewise.
18231 * elf/ifuncmain1vis.c: Likewise.
18232 * elf/testobj.h: Likewise.
18233 * elf/tst-stackguard1.c: Likewise.
18234 * gmon/sys/gmon.h: Likewise.
18235 * hurd/hurdmsg.c: Likewise.
18236 * hurd/new-fd.c: Likewise.
18237 * hurd/ports-get.c: Likewise.
18238 * iconvdata/ibm1008_420.c: Likewise.
18239 * inet/tst-getni1.c: Likewise.
18240 * inet/tst-getni2.c: Likewise.
18241 * libio/ioungetc.c: Likewise.
18242 * libio/wfiledoalloc.c: Likewise.
18243 * manual/libm-err-tab.pl: Likewise.
18244 * math/w_dremf.c: Likewise.
18245 * misc/ftruncate.c: Likewise.
18246 * posix/bug-glob2.c: Likewise.
18247 * posix/tst-pcre.c: Likewise.
18248 * posix/wait4.c: Likewise.
18249 * resolv/README: Likewise.
18250 * resolv/res_debug.h: Likewise.
18251 * resolv/tst-inet_ntop.c: Likewise.
18252 * setjmp/bug269-setjmp.c: Likewise.
18253 * soft-fp/extended.h: Likewise.
18254 * soft-fp/op-1.h: Likewise.
18255 * soft-fp/op-2.h: Likewise.
18256 * soft-fp/op-4.h: Likewise.
18257 * soft-fp/op-8.h: Likewise.
18258 * soft-fp/testit.c: Likewise.
18259 * stdio-common/bug16.c: Likewise.
18260 * stdlib/random.c: Likewise.
18261 * sunrpc/rpcsvc/rquota.x: Likewise.
18262 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
18263 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18264 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18265 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18266 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18267 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18268 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18269 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18270 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18271 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18272 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18273 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18274 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18275 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18276 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18277 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18278 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18279 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18280 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18281 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18282 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18283 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18284 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
18285 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18286 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18287 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18288 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18289 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18290 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18291 * sysdeps/ieee754/s_lib_version.c: Likewise.
18292 * sysdeps/mach/hurd/check_fds.c: Likewise.
18293 * sysdeps/mach/hurd/getsockname.c: Likewise.
18294 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
18295 * sysdeps/mach/hurd/recvfrom.c: Likewise.
18296 * sysdeps/powerpc/bits/link.h: Likewise.
18297 * sysdeps/powerpc/dl-procinfo.c: Likewise.
18298 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
18299 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
18300 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
18301 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18302 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18303 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
18304 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18305 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
18306 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18307 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
18308 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18309 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
18310 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18311 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18312 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18313 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18314 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18315 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18316 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18317 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18318 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
18319 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18320 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18321 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
18322 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18323 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18324 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18325 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18326 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18327 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18328 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18329 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18330 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18331 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
18332 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18333 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
18334 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18335 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
18336 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
18337 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
18338 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
18339 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
18340 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
18341 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18342 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
18343 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
18344 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18345 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
18346 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
18347 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18348 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18349 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18350 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18351 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
18352 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
18353 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
18354 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18355 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
18356 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
18357 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
18358 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
18359 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
18360 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18361 * sysdeps/powerpc/sysdep.h: Likewise.
18362 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18363 * sysdeps/s390/s390-64/sub_n.S: Likewise.
18364 * sysdeps/sh/dl-trampoline.S: Likewise.
18365 * sysdeps/sh/memset.S: Likewise.
18366 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
18367 * sysdeps/sh/strlen.S: Likewise.
18368 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
18369 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
18370 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
18371 * sysdeps/sparc/sparc32/rem.S: Likewise.
18372 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
18373 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
18374 * sysdeps/sparc/sparc32/strchr.S: Likewise.
18375 * sysdeps/sparc/sparc32/udiv.S: Likewise.
18376 * sysdeps/sparc/sparc32/urem.S: Likewise.
18377 * sysdeps/sparc/sparc64/add_n.S: Likewise.
18378 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
18379 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
18380 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
18381 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
18382 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
18383 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
18384 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
18385 * sysdeps/unix/bsd/times.c: Likewise.
18386 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
18387 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
18388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
18389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
18390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
18391 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
18392 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18393 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
18394 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
18395 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
18396 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
18397 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18398 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
18399 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18400 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18401 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
18402 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18403 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
18404 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
18405 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
18406 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
18407 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
18408 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18409 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
18410 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
18411 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
18412 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
18413 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18414 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
18415 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
18416 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
18417 * sysdeps/x86_64/strcspn.S: Likewise.
18418
869378a5
RA
184192013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18420
18421 * locale/C-translit.h: Revert #include <stdint.h> because this is a
18422 generated file. Regenerate properly from gen-translit.pl.
18423 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
18424 locale/C-translit.h.
18425
840e2943
AS
184262013-06-05 Andreas Schwab <schwab@suse.de>
18427
18428 [BZ #15100]
18429 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
18430 week as 6 instead of -1.
18431 * time/tst-strptime.c (day_tests): Add test case.
18432
4c60cb0c
SP
184332013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18434
18435 * sysdeps/generic/math_private.h
18436 (libc_feholdexcept_setround_53bit): Replace with
18437 libc_feholdsetround_53bit.
18438 (libc_feupdateenv_53bit): Replace with
18439 libc_feresetround_53bit.
18440 (SET_RESTORE_ROUND_53BIT): Adjust.
18441
d180203e
SP
184422013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18443
96df079a
SP
18444 * string/test-strchrnul.c: Add copyright header.
18445
d180203e
SP
18446 * posix/tst-getaddrinfo4.c: Increase test timeout.
18447
8b0ccb2d
CD
184482013-06-03 Carlos O'Donell <carlos@redhat.com>
18449
18450 [BZ #15536]
18451 * math/libm-test.inc (MAX_EXP): Remove
18452 (MIN_EXP): Define.
18453 (ulp): Use MIN_EXP - MANT_DIG.
18454 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
18455
3b3c4d40
CD
184562013-05-31 Carlos O'Donell <carlos@redhat.com>
18457
18458 * po/be.po: Revert last change.
18459 * po/zh_CN.po: Likewise.
18460 * po/header.pot: Likewise.
18461
fab7ce3f
JM
184622013-05-31 Joseph Myers <joseph@codesourcery.com>
18463
18464 * Makefile ($(common-objpfx)linkobj/libc.so): Define
18465 link-libc-deps to empty as target-specific variable.
18466 * Makerules (link-libc-args): New variable.
18467 (libc-for-link): Likewise.
18468 (link-libc-deps): Likewise.
18469 (lib%.so): Depend on $(link-libc-deps). Link with
18470 $(link-libc-args).
18471 (build-module): Link with $(link-libc-args).
18472 (build-module-asneeded): Likewise.
18473 (build-module-helper-objlist): Filter out $(link-libc-deps) from
18474 list of objects.
18475 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
18476 target-specific variable.
18477 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
18478 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
18479 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
18480 libc.
18481 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
18482 libc and ld.so.
18483 ($(objpfx)libpcprofile.so): Likewise.
18484 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
18485 libc_nonshared.a.
18486 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
18487 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
18488 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
18489 $(link-libc-deps).
18490 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
18491 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
18492 * login/Makefile ($(objpfx)libutil.so): Likewise.
18493 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
18494 * math/Makefile ($(objpfx)libm.so): Likewise.
18495 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
18496 $(objpfx)libnsl.so): Define libc-for-link as target-specific
18497 variable instead of depending directly on libc.
18498 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
18499 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
18500 $(link-libc-deps).
18501 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
18502 libc.
18503 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
18504 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
18505 ($(objpfx)libanl.so): Likewise.
18506 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
18507 ld.so.
18508 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
18509 $(link-libc-deps).
18510 * sysdeps/i386/fpu/Makefile: Remove file.
18511 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
18512 ($(objpfx)libm.so): Remove dependency on ld.so.
18513
eca5920c
PF
185142013-05-30 Patsy Franklin <pfrankli@redhat.com>
18515
18516 [BZ # 15553]
18517 * nis/yp_xdr.c (XDRMAXNAME): Define.
18518 (XDRMAXRECORD): Define.
18519 (xdr_domainname): Use XDRMAXNAME.
18520 (xdr_mapname): Likewise.
18521 (xdr_peername): Likewise.
18522 (xdr_keydat): Use XDRMAXRECORD.
18523 (xdr_valdat): Likewise.
18524
185252013-05-30 Jeff Law <law@redhat.com>
96945714
JL
18526
18527 [BZ #14256]
18528 * manual/errno.texi (ESTALE): Update to account for more than
18529 just NFS file systems.
18530 * sysdeps/gnu/errlist.c: Regenerated.
18531
b9375348
SP
185322013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18533
18534 [BZ #15465]
18535 * elf/Makefile (tests): Add tst-null-argv.
18536 (modules-names): Add tst-null-argv-lib.
18537 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
18538 (tst-null-argv-ENV): Set environment for tst-null-argv.
18539 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
18540 (RTLD_PROGNAME): New macro.
18541 * elf/tst-null-argv.c: New test case.
18542 * elf/tst-null-argv-lib.c: Library for test case.
18543 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
18544 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
18545 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
18546 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
18547 * elf/dl-init.c (call_init): Likewise.
18548 (_dl_init): Likewise.
18549 * elf/dl-load.c (print_search_path): Likewise.
18550 (_dl_map_object): Likewise.
18551 * elf/dl-lookup.c (do_lookup_x): Likewise.
18552 (add_dependency): Likewise.
18553 (_dl_lookup_symbol_x): Likewise.
18554 (_dl_debug_bindings): Likewise.
18555 * elf/dl-open.c (_dl_show_scope): Likewise.
18556 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18557 * elf/dl-version.c (match_symbol): Likewise.
18558 (_dl_check_map_versions): Likewise.
18559 * elf/rtld.c (dl_main): Likewise.
18560 (print_unresolved): Use RTLD_PROGNAME.
18561 (print_missing_version): Likewise.
18562 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
18563 (elf_machine_rela): Likewise.
18564 * sysdeps/powerpc/powerpc32/dl-machine.c
18565 (__process_machine_rela): Likewise.
18566 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18567 Likewise.
18568 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18569 Likewise.
18570 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18571 Likewise.
18572 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18573 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
18574 Likewise.
18575 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
18576 Likewise.
18577 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18578
8a9f20c8
CD
185792013-05-28 Carlos O'Donell <carlos@redhat.com>
18580
18581 * po/be.po: Add descriptive title.
18582 * po/zh_CN.po: Likewise.
18583 * po/header.pot: Likewise.
18584
0e60d68e
MF
185852013-05-28 Mike Frysinger <vapier@gentoo.org>
18586
18587 * locale/programs/locarchive.c (create_archive): Inlucde fname in
18588 error message.
18589 (enlarge_archive): Likewise.
18590
56b672e9
BN
185912013-05-28 Ben North <ben@redfrontdoor.org>
18592
18593 * manual/arith.texi (frexp): It is the magnitude of the return
18594 value which lies in [0.5, 1), not the return value itself.
18595
5e056687
AZ
185962013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18597
18598 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18599
2b66ef5d
TS
186002013-05-26 Thomas Schwinge <thomas@codesourcery.com>
18601
528c2405
TS
18602 * stdio-common/bug26.c (main): Correct fscanf template.
18603
07b4c13d
TS
18604 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
18605 declare _dl_skip_args.
18606
ec9dd97c
TS
18607 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
18608 Don't declare.
18609
2b66ef5d
TS
18610 * manual/platform.texi: Add missing @end deftypefun.
18611
4f8dfe27
JM
186122013-05-24 Joseph Myers <joseph@codesourcery.com>
18613
0323d086
JM
18614 [BZ #15529]
18615 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
18616 bit of mantissa of 2^16382.
18617 * math/libm-test.inc (hypot_test_data): Add more tests.
18618
dd4259b9
JM
18619 * math/libm-test.inc: Add drem and pow10 to list of tested
18620 functions.
18621 (pow10_test): New function.
18622 (drem_test): Likewise.
18623 (drem_test_tonearest): Likewise.
18624 (drem_test_towardzero): Likewise.
18625 (drem_test_downward): Likewise.
18626 (drem_test_upward): Likewise.
18627 (main): Call the new functions.
18628
4f8dfe27
JM
18629 * math/libm-test.inc (finite_test_data): Remove.
18630 (finite_test): Run tests from isfinite_test_data.
18631 (gamma_test_data): Remove.
18632 (gamma_test): Run tests from lgamma_test_data.
18633 * sysdeps/i386/fpu/libm-test-ulps: Update.
18634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18635
d116b7c4
AZ
186362013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18637
18638 * manual/platform.texi: Add PowerPC PPR function set documentation.
18639 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
18640 implementation.
18641
e96e3767
CD
186422013-05-24 Carlos O'Donell <carlos@redhat.com>
18643
18644 * math/libm-test.inc (MAX_EXP): Define.
18645 (ULPDIFF): Define.
18646 (ulp): New function.
18647 (check_float_internal): Use ULPDIFF.
18648 (cpow_test): Disable failing test.
18649 (check_ulp): Test ulp() implemetnation.
18650 (main): Call check_ulp before starting tests.
18651
b679a606
JM
186522013-05-24 Joseph Myers <joseph@codesourcery.com>
18653
e8bdba36
JM
18654 * math/gen-libm-test.pl (generate_testfile): Do not handle
18655 START_DATA and END_DATA.
18656 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
18657 END_DATA.
18658 (acos_tonearest_test_data): Likewise.
18659 (acos_towardzero_test_data): Likewise.
18660 (acos_downward_test_data): Likewise.
18661 (acos_upward_test_data): Likewise.
18662 (acosh_test_data): Likewise.
18663 (asin_test_data): Likewise.
18664 (asin_tonearest_test_data): Likewise.
18665 (asin_towardzero_test_data): Likewise.
18666 (asin_downward_test_data): Likewise.
18667 (asin_upward_test_data): Likewise.
18668 (asinh_test_data): Likewise.
18669 (atan_test_data): Likewise.
18670 (atanh_test_data): Likewise.
18671 (atan2_test_data): Likewise.
18672 (cabs_test_data): Likewise.
18673 (cacos_test_data): Likewise.
18674 (cacosh_test_data): Likewise.
18675 (carg_test_data): Likewise.
18676 (casin_test_data): Likewise.
18677 (casinh_test_data): Likewise.
18678 (catan_test_data): Likewise.
18679 (catanh_test_data): Likewise.
18680 (cbrt_test_data): Likewise.
18681 (ccos_test_data): Likewise.
18682 (ccosh_test_data): Likewise.
18683 (ceil_test_data): Likewise.
18684 (cexp_test_data): Likewise.
18685 (cimag_test_data): Likewise.
18686 (clog_test_data): Likewise.
18687 (clog10_test_data): Likewise.
18688 (conj_test_data): Likewise.
18689 (copysign_test_data): Likewise.
18690 (cos_test_data): Likewise.
18691 (cos_tonearest_test_data): Likewise.
18692 (cos_towardzero_test_data): Likewise.
18693 (cos_downward_test_data): Likewise.
18694 (cos_upward_test_data): Likewise.
18695 (cosh_test_data): Likewise.
18696 (cosh_tonearest_test_data): Likewise.
18697 (cosh_towardzero_test_data): Likewise.
18698 (cosh_downward_test_data): Likewise.
18699 (cosh_upward_test_data): Likewise.
18700 (cpow_test_data): Likewise.
18701 (cproj_test_data): Likewise.
18702 (creal_test_data): Likewise.
18703 (csin_test_data): Likewise.
18704 (csinh_test_data): Likewise.
18705 (csqrt_test_data): Likewise.
18706 (ctan_test_data): Likewise.
18707 (ctan_tonearest_test_data): Likewise.
18708 (ctan_towardzero_test_data): Likewise.
18709 (ctan_downward_test_data): Likewise.
18710 (ctan_upward_test_data): Likewise.
18711 (ctanh_test_data): Likewise.
18712 (ctanh_tonearest_test_data): Likewise.
18713 (ctanh_towardzero_test_data): Likewise.
18714 (ctanh_downward_test_data): Likewise.
18715 (ctanh_upward_test_data): Likewise.
18716 (erf_test_data): Likewise.
18717 (erfc_test_data): Likewise.
18718 (exp_test_data): Likewise.
18719 (exp_tonearest_test_data): Likewise.
18720 (exp_towardzero_test_data): Likewise.
18721 (exp_downward_test_data): Likewise.
18722 (exp_upward_test_data): Likewise.
18723 (exp10_test_data): Likewise.
18724 (exp2_test_data): Likewise.
18725 (expm1_test_data): Likewise.
18726 (fabs_test_data): Likewise.
18727 (fdim_test_data): Likewise.
18728 (finite_test_data): Likewise.
18729 (floor_test_data): Likewise.
18730 (fma_test_data): Likewise.
18731 (fma_towardzero_test_data): Likewise.
18732 (fma_downward_test_data): Likewise.
18733 (fma_upward_test_data): Likewise.
18734 (fmax_test_data): Likewise.
18735 (fmin_test_data): Likewise.
18736 (fmod_test_data): Likewise.
18737 (fpclassify_test_data): Likewise.
18738 (frexp_test_data): Likewise.
18739 (gamma_test_data): Likewise.
18740 (hypot_test_data): Likewise.
18741 (ilogb_test_data): Likewise.
18742 (isfinite_test_data): Likewise.
18743 (isgreater_test_data): Likewise.
18744 (isgreaterequal_test_data): Likewise.
18745 (isinf_test_data): Likewise.
18746 (isless_test_data): Likewise.
18747 (islessequal_test_data): Likewise.
18748 (islessgreater_test_data): Likewise.
18749 (isnan_test_data): Likewise.
18750 (isnormal_test_data): Likewise.
18751 (issignaling_test_data): Likewise.
18752 (isunordered_test_data): Likewise.
18753 (j0_test_data): Likewise.
18754 (j1_test_data): Likewise.
18755 (jn_test_data): Likewise.
18756 (ldexp_test_data): Likewise.
18757 (lgamma_test_data): Likewise.
18758 (lrint_test_data): Likewise.
18759 (lrint_tonearest_test_data): Likewise.
18760 (lrint_towardzero_test_data): Likewise.
18761 (lrint_downward_test_data): Likewise.
18762 (lrint_upward_test_data): Likewise.
18763 (llrint_test_data): Likewise.
18764 (llrint_tonearest_test_data): Likewise.
18765 (llrint_towardzero_test_data): Likewise.
18766 (llrint_downward_test_data): Likewise.
18767 (llrint_upward_test_data): Likewise.
18768 (log_test_data): Likewise.
18769 (log10_test_data): Likewise.
18770 (log1p_test_data): Likewise.
18771 (log2_test_data): Likewise.
18772 (logb_test_data): Likewise.
18773 (logb_downward_test_data): Likewise.
18774 (lround_test_data): Likewise.
18775 (llround_test_data): Likewise.
18776 (modf_test_data): Likewise.
18777 (nearbyint_test_data): Likewise.
18778 (nextafter_test_data): Likewise.
18779 (nexttoward_test_data): Likewise.
18780 (pow_test_data): Likewise.
18781 (pow_tonearest_test_data): Likewise.
18782 (pow_towardzero_test_data): Likewise.
18783 (pow_downward_test_data): Likewise.
18784 (pow_upward_test_data): Likewise.
18785 (remainder_test_data): Likewise.
18786 (remainder_tonearest_test_data): Likewise.
18787 (remainder_towardzero_test_data): Likewise.
18788 (remainder_downward_test_data): Likewise.
18789 (remainder_upward_test_data): Likewise.
18790 (remquo_test_data): Likewise.
18791 (rint_test_data): Likewise.
18792 (rint_tonearest_test_data): Likewise.
18793 (rint_towardzero_test_data): Likewise.
18794 (rint_downward_test_data): Likewise.
18795 (rint_upward_test_data): Likewise.
18796 (round_test_data): Likewise.
18797 (scalb_test_data): Likewise.
18798 (scalbn_test_data): Likewise.
18799 (scalbln_test_data): Likewise.
18800 (signbit_test_data): Likewise.
18801 (sin_test_data): Likewise.
18802 (sin_tonearest_test_data): Likewise.
18803 (sin_towardzero_test_data): Likewise.
18804 (sin_downward_test_data): Likewise.
18805 (sin_upward_test_data): Likewise.
18806 (sincos_test_data): Likewise.
18807 (sinh_test_data): Likewise.
18808 (sinh_tonearest_test_data): Likewise.
18809 (sinh_towardzero_test_data): Likewise.
18810 (sinh_downward_test_data): Likewise.
18811 (sinh_upward_test_data): Likewise.
18812 (sqrt_test_data): Likewise.
18813 (tan_test_data): Likewise.
18814 (tan_tonearest_test_data): Likewise.
18815 (tan_towardzero_test_data): Likewise.
18816 (tan_downward_test_data): Likewise.
18817 (tan_upward_test_data): Likewise.
18818 (tanh_test_data): Likewise.
18819 (tgamma_test_data): Likewise.
18820 (trunc_test_data): Likewise.
18821 (y0_test_data): Likewise.
18822 (y1_test_data): Likewise.
18823 (yn_test_data): Likewise.
18824 (significand_test_data): Likewise.
18825
b679a606
JM
18826 * math/gen-libm-test.pl (@functions): Remove variable.
18827 (generate_testfile): Don't handle START and END lines.
18828 * math/libm-test.inc (START): New macro.
18829 (END): Likewise.
18830 (END_COMPLEX): Likewise.
18831 (acos_test): Use END macro without arguments.
18832 (acos_test_tonearest): Likewise.
18833 (acos_test_towardzero): Likewise.
18834 (acos_test_downward): Likewise.
18835 (acos_test_upward): Likewise.
18836 (acosh_test): Likewise.
18837 (asin_test): Likewise.
18838 (asin_test_tonearest): Likewise.
18839 (asin_test_towardzero): Likewise.
18840 (asin_test_downward): Likewise.
18841 (asin_test_upward): Likewise.
18842 (asinh_test): Likewise.
18843 (atan_test): Likewise.
18844 (atanh_test): Likewise.
18845 (atan2_test): Likewise.
18846 (cabs_test): Likewise.
18847 (cacos_test): Use END_COMPLEX macro without arguments.
18848 (cacosh_test): Likewise.
18849 (carg_test): Use END macro without arguments.
18850 (casin_test): Use END_COMPLEX macro without arguments.
18851 (casinh_test): Likewise.
18852 (catan_test): Likewise.
18853 (catanh_test): Likewise.
18854 (cbrt_test): Use END macro without arguments.
18855 (ccos_test): Use END_COMPLEX macro without arguments.
18856 (ccosh_test): Likewise.
18857 (ceil_test): Use END macro without arguments.
18858 (cexp_test): Use END_COMPLEX macro without arguments.
18859 (cimag_test): Use END macro without arguments.
18860 (clog_test): Use END_COMPLEX macro without arguments.
18861 (clog10_test): Likewise.
18862 (conj_test): Likewise.
18863 (copysign_test): Use END macro without arguments.
18864 (cos_test): Likewise.
18865 (cos_test_tonearest): Likewise.
18866 (cos_test_towardzero): Likewise.
18867 (cos_test_downward): Likewise.
18868 (cos_test_upward): Likewise.
18869 (cosh_test): Likewise.
18870 (cosh_test_tonearest): Likewise.
18871 (cosh_test_towardzero): Likewise.
18872 (cosh_test_downward): Likewise.
18873 (cosh_test_upward): Likewise.
18874 (cpow_test): Use END_COMPLEX macro without arguments.
18875 (cproj_test): Likewise.
18876 (creal_test): Use END macro without arguments.
18877 (csin_test): Use END_COMPLEX macro without arguments.
18878 (csinh_test): Likewise.
18879 (csqrt_test): Likewise.
18880 (ctan_test): Likewise.
18881 (ctan_test_tonearest): Likewise.
18882 (ctan_test_towardzero): Likewise.
18883 (ctan_test_downward): Likewise.
18884 (ctan_test_upward): Likewise.
18885 (ctanh_test): Likewise.
18886 (ctanh_test_tonearest): Likewise.
18887 (ctanh_test_towardzero): Likewise.
18888 (ctanh_test_downward): Likewise.
18889 (ctanh_test_upward): Likewise.
18890 (erf_test): Use END macro without arguments.
18891 (erfc_test): Likewise.
18892 (exp_test): Likewise.
18893 (exp_test_tonearest): Likewise.
18894 (exp_test_towardzero): Likewise.
18895 (exp_test_downward): Likewise.
18896 (exp_test_upward): Likewise.
18897 (exp10_test): Likewise.
18898 (exp2_test): Likewise.
18899 (expm1_test): Likewise.
18900 (fabs_test): Likewise.
18901 (fdim_test): Likewise.
18902 (finite_test): Likewise.
18903 (floor_test): Likewise.
18904 (fma_test): Likewise.
18905 (fma_test_towardzero): Likewise.
18906 (fma_test_downward): Likewise.
18907 (fma_test_upward): Likewise.
18908 (fmax_test): Likewise.
18909 (fmin_test): Likewise.
18910 (fmod_test): Likewise.
18911 (fpclassify_test): Likewise.
18912 (frexp_test): Likewise.
18913 (gamma_test): Likewise.
18914 (hypot_test): Likewise.
18915 (ilogb_test): Likewise.
18916 (isfinite_test): Likewise.
18917 (isgreater_test): Likewise.
18918 (isgreaterequal_test): Likewise.
18919 (isinf_test): Likewise.
18920 (isless_test): Likewise.
18921 (islessequal_test): Likewise.
18922 (islessgreater_test): Likewise.
18923 (isnan_test): Likewise.
18924 (isnormal_test): Likewise.
18925 (issignaling_test): Likewise.
18926 (isunordered_test): Likewise.
18927 (j0_test): Likewise.
18928 (j1_test): Likewise.
18929 (jn_test): Likewise.
18930 (ldexp_test): Likewise.
18931 (lgamma_test): Likewise.
18932 (lrint_test): Likewise.
18933 (lrint_test_tonearest): Likewise.
18934 (lrint_test_towardzero): Likewise.
18935 (lrint_test_downward): Likewise.
18936 (lrint_test_upward): Likewise.
18937 (llrint_test): Likewise.
18938 (llrint_test_tonearest): Likewise.
18939 (llrint_test_towardzero): Likewise.
18940 (llrint_test_downward): Likewise.
18941 (llrint_test_upward): Likewise.
18942 (log_test): Likewise.
18943 (log10_test): Likewise.
18944 (log1p_test): Likewise.
18945 (log2_test): Likewise.
18946 (logb_test): Likewise.
18947 (logb_test_downward): Likewise.
18948 (lround_test): Likewise.
18949 (llround_test): Likewise.
18950 (modf_test): Likewise.
18951 (nearbyint_test): Likewise.
18952 (nextafter_test): Likewise.
18953 (nexttoward_test): Likewise.
18954 (pow_test): Likewise.
18955 (pow_test_tonearest): Likewise.
18956 (pow_test_towardzero): Likewise.
18957 (pow_test_downward): Likewise.
18958 (pow_test_upward): Likewise.
18959 (remainder_test): Likewise.
18960 (remainder_test_tonearest): Likewise.
18961 (remainder_test_towardzero): Likewise.
18962 (remainder_test_downward): Likewise.
18963 (remainder_test_upward): Likewise.
18964 (remquo_test): Likewise.
18965 (rint_test): Likewise.
18966 (rint_test_tonearest): Likewise.
18967 (rint_test_towardzero): Likewise.
18968 (rint_test_downward): Likewise.
18969 (rint_test_upward): Likewise.
18970 (round_test): Likewise.
18971 (scalb_test): Likewise.
18972 (scalbn_test): Likewise.
18973 (scalbln_test): Likewise.
18974 (signbit_test): Likewise.
18975 (sin_test): Likewise.
18976 (sin_test_tonearest): Likewise.
18977 (sin_test_towardzero): Likewise.
18978 (sin_test_downward): Likewise.
18979 (sin_test_upward): Likewise.
18980 (sincos_test): Likewise.
18981 (sinh_test): Likewise.
18982 (sinh_test_tonearest): Likewise.
18983 (sinh_test_towardzero): Likewise.
18984 (sinh_test_downward): Likewise.
18985 (sinh_test_upward): Likewise.
18986 (sqrt_test): Likewise.
18987 (tan_test): Likewise.
18988 (tan_test_tonearest): Likewise.
18989 (tan_test_towardzero): Likewise.
18990 (tan_test_downward): Likewise.
18991 (tan_test_upward): Likewise.
18992 (tanh_test): Likewise.
18993 (tgamma_test): Likewise.
18994 (trunc_test): Likewise.
18995 (y0_test): Likewise.
18996 (y1_test): Likewise.
18997 (yn_test): Likewise.
18998 (significand_test): Likewise.
18999
bae143d2
OB
190002013-05-24 Ondřej Bílka <neleai@seznam.cz>
19001
19002 [BZ #15381]
19003 * libio/genops.c (_IO_no_init): Initialize wide struct info.
19004
9323d39b
EM
190052013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
19006
d4ea44a0 19007 [BZ #14894]
9323d39b
EM
19008 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
19009 __ppc_mdoio and __ppc_mdoom.
19010 * manual/platform.texi: Document new functions __ppc_yield,
19011 __ppc_mdoio and __ppc_mdoom.
19012
13e23af7
CD
190132013-05-22 Carlos O'Donell <carlos@redhat.com>
19014
19015 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
19016 (main): Mention "tls" pseudo-hwcap is legacy.
19017 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
19018
351fe550
JM
190192013-05-22 Joseph Myers <joseph@codesourcery.com>
19020
19021 * math/gen-libm-test.pl (parse_args): Output only string of
19022 arguments as text for test name, not full call or descriptions of
19023 tests for extra outputs.
19024 (generate_testfile): Do not pass function name to parse_args.
19025 Generate this_func variable from START.
19026 * math/libm-test.inc (struct test_f_f_data): Rename test_name
19027 field to arg_str.
19028 (struct test_ff_f_data): Likewise.
19029 (test_ff_f_data_nexttoward): Likewise.
19030 (struct test_fi_f_data): Likewise.
19031 (struct test_fl_f_data): Likewise.
19032 (struct test_if_f_data): Likewise.
19033 (struct test_fff_f_data): Likewise.
19034 (struct test_c_f_data): Likewise.
19035 (struct test_f_f1_data): Likewise. Remove field extra_name.
19036 (struct test_fF_f1_data): Likewise.
19037 (struct test_ffI_f1_data): Likewise.
19038 (struct test_c_c_data): Rename test_name field to arg_str.
19039 (struct test_cc_c_data): Likewise.
19040 (struct test_f_i_data): Likewise.
19041 (struct test_ff_i_data): Likewise.
19042 (struct test_f_l_data): Likewise.
19043 (struct test_f_L_data): Likewise.
19044 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
19045 and extra2_name.
19046 (COMMON_TEST_SETUP): New macro.
19047 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
19048 (COMMON_TEST_CLEANUP): Likewise.
19049 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
19050 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
19051 macros.
19052 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
19053 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
19054 macros.
19055 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
19056 (RUN_TEST_fff_f): Take argument string. Call new setup and
19057 cleanup macros.
19058 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
19059 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
19060 macros.
19061 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
19062 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
19063 macros.
19064 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19065 (RUN_TEST_fF_f1): Take argument string. Call new setup and
19066 cleanup macros.
19067 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19068 (RUN_TEST_fI_f1): Take argument string. Call new setup and
19069 cleanup macros.
19070 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19071 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
19072 cleanup macros.
19073 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19074 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
19075 macros.
19076 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
19077 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
19078 macros.
19079 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
19080 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
19081 macros.
19082 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
19083 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
19084 cleanup macros.
19085 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
19086 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
19087 cleanup macros.
19088 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
19089 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
19090 macros.
19091 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
19092 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
19093 cleanup macros.
19094 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
19095 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
19096 macros.
19097 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
19098 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
19099 macros.
19100 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
19101 (RUN_TEST_fFF_11): Take argument string. Call new setup and
19102 cleanup macros.
19103 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
19104
85118d4d
EBM
191052013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19106
19107 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
19108 to _sifields.sigfault.
19109 (si_addr_lsb): Define new macro.
19110 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19111 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19112 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
19113
7a44c18f
CD
191142013-05-03 Carlos O'Donell <carlos at redhat.com>
19115
19116 [BZ #15441]
19117 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
19118 returns -1.
19119 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
19120 null return -1.
19121 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
19122 loading the domain.
19123
b50a7181
JM
191242013-05-22 Joseph Myers <joseph@codesourcery.com>
19125
19126 * math/gen-libm-test.pl (parse_args): Do not include expected
19127 result in test name.
19128 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
19129 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19130 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19131 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19132 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19134
051063c8
SP
191352013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19136
3ce9e010
SP
19137 * benchtests/Makefile: Sort function entries.
19138
051063c8
SP
19139 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
19140 tanh, asinh, acosh, atanh.
19141 * benchtests/acos-inputs: New file.
19142 * benchtests/acosh-inputs: New file.
19143 * benchtests/asin-inputs: New file.
19144 * benchtests/asinh-inputs: New file.
19145 * benchtests/atanh-inputs: New file.
19146 * benchtests/cosh-inputs: New file.
19147 * benchtests/log-inputs: New file.
19148 * benchtests/sinh-inputs: New file.
19149 * benchtests/tanh-inputs: New file.
19150
47c22455
DL
191512013-05-21 Dmitry V. Levin <ldv@altlinux.org>
19152
19153 [BZ #15339]
19154 * posix/tst-getaddrinfo4.c: New test.
19155 * posix/Makefile (tests): Add it.
19156
3d04f5db
SP
191572013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19158
19159 [BZ #15339]
19160 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
19161 when no services were used.
19162 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
19163 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
19164
d5dd6189
AS
191652013-05-21 Andreas Schwab <schwab@suse.de>
19166
19167 [BZ #15014]
19168 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
19169 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
19170 successful.
19171 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
19172 redundant variable declarations and reallocation of buffer when
19173 parsing as IPv6 address. Always set NSS status when called from
19174 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
19175 buffer too small. Correct computation of needed size.
19176 * nss/Makefile (tests): Add test-digits-dots.
19177 * nss/test-digits-dots.c: New test.
19178
fef94eab
SP
191792013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19180
19181 * benchtests/Makefile: Remove instructions for adding
19182 benchmark tests.
19183 * benchtests/README: New file to explain how to execute and
19184 enhance the benchmark tests.
19185
e39adf43
AS
191862013-05-21 Andreas Schwab <schwab@suse.de>
19187
19188 [BZ #15493]
19189 * setjmp/Makefile (tests): Add tst-sigsetjmp.
19190 * setjmp/tst-sigsetjmp.c: New test.
19191
b2b671b6
OB
191922013-05-20 Ondřej Bílka <neleai@seznam.cz>
19193
19194 * sysdeps/x86_64/memset.S (memset): New implementation.
19195 (__bzero): Likewise.
19196 (__memset_tail): New function.
19197
2d48b41c
OB
191982013-05-20 Ondřej Bílka <neleai@seznam.cz>
19199
19200 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
19201 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
19202 __memcpy_sse2_unaligned ifunc selection.
19203 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19204 Add memcpy-sse2-unaligned.S.
19205 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19206 Add: __memcpy_sse2_unaligned.
19207
f16cc3eb
JM
192082013-05-19 Joseph Myers <joseph@codesourcery.com>
19209
3e694268
JM
19210 [BZ #15490]
19211 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19212 math_force_eval before restoring floating-point envrionment.
19213 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
19214 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
19215 Likewise.
19216 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
19217 <math_private.h>.
19218 (__nearbyintl): Use math_force_eval before restoring
19219 floating-point environment.
19220 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
19221
db62a907
JM
19222 * math/gen-libm-test.pl (special_functions): Remove.
19223 (parse_args): Don't handle TEST_extra. Handle functions with no
19224 return value.
19225 * math/libm-test.inc (struct test_sincos_data): Replace with
19226 struct test_fFF_11_data.
19227 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
19228 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
19229 (sincos_test_data): Change element type to struct
19230 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
19231 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
19232 RUN_TEST_LOOP_sincos.
19233 * math/README.libm-test: Don't mention special handling of
19234 individual functions.
19235 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
19236 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19237 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19238 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19239 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19241
f16cc3eb
JM
19242 * math/gen-libm-test.pl (get_variable): Remove function.
19243 (parse_args): Don't show pointer parameters to call in test
19244 names. Use "extra output N" in test names for extra outputs
19245 rather than naming variables.
19246
3779b5b6
JM
192472013-05-18 Joseph Myers <joseph@codesourcery.com>
19248
2ee094ff
JM
19249 [BZ #15488]
19250 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
19251 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
19252 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
19253 double tests.
19254 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
19255 disable.
19256 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
19257 check_long_double.
19258
3779b5b6
JM
19259 * math/gen-libm-test.pl (@tests): Remove variable.
19260 ($count): Likewise.
19261 (new_test): Remove function.
19262 (show_exceptions): New function.
19263 (special_functions): Use show_exceptions instead of new_test.
19264 (parse_args): Likewise.
19265 (generate_testfile): Pass only function name in generated call to
19266 print_max_error or print_complex_max_error.
19267 (get_ulps): Do not handle complex tests specially.
19268 (output_test): Rename to ...
19269 (get_all_ulps_for_test): ... this. Return a string rather than
19270 printing to a file. Require ulps to be present.
19271 (output_ulps): Generate arrays rather than #defines.
19272 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
19273 (struct ulp_data): New type.
19274 (BUILD_COMPLEX_ULP): Remove macro.
19275 (compare_ulp_data): New function.
19276 (find_ulps): Likewise.
19277 (find_test_ulps): Likewise.
19278 (find_function_ulps): Likewise.
19279 (find_complex_function_ulps): Likewise.
19280 (print_max_error): Determine allowed ulps using
19281 find_function_ulps.
19282 (print_complex_max_error): Determine allowed ulps using
19283 find_complex_function_ulps.
19284 (check_float_internal): Determine max ulps using find_test_ulps.
19285 (check_float): Do not take max_ulp parameter. Update call to
19286 check_float_internal.
19287 (check_complex): Likewise.
19288 (check_int): Do not take max_ulp parameter.
19289 (check_long): Likewise.
19290 (check_bool): Likewise.
19291 (check_longlong): Likewise.
19292 (struct test_f_f_data): Remove max_ulp field.
19293 (struct test_ff_f_data): Likewise.
19294 (struct test_ff_f_data_nexttoward): Likewise.
19295 (struct test_fi_f_data): Likewise.
19296 (struct test_fl_f_data): Likewise.
19297 (struct test_if_f_data): Likewise.
19298 (struct test_fff_f_data): Likewise.
19299 (struct test_c_f_data): Likewise.
19300 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
19301 (struct test_fF_f1_data): Likewise.
19302 (struct test_ffI_f1_data): Likewise.
19303 (struct test_c_c_data): Remove max_ulp field.
19304 (struct test_cc_c_data): Likewise.
19305 (struct test_f_i_data): Likewise.
19306 (struct test_ff_i_data): Likewise.
19307 (struct test_f_l_data): Likewise.
19308 (struct test_f_L_data): Likewise.
19309 (struct test_sincos_data): Likewise.
19310 (RUN_TEST_f_f): Do not handle ulps.
19311 (RUN_TEST_LOOP_f_f): Likewise.
19312 (RUN_TEST_2_f): Likewise.
19313 (RUN_TEST_LOOP_2_f): Likewise.
19314 (RUN_TEST_fff_f): Likewise.
19315 (RUN_TEST_LOOP_fff_f): Likewise.
19316 (RUN_TEST_c_f): Likewise.
19317 (RUN_TEST_LOOP_c_f): Likewise.
19318 (RUN_TEST_f_f1): Likewise.
19319 (RUN_TEST_LOOP_f_f1): Likewise.
19320 (RUN_TEST_fF_f1): Likewise.
19321 (RUN_TEST_LOOP_fF_f1): Likewise.
19322 (RUN_TEST_fI_f1): Likewise.
19323 (RUN_TEST_LOOP_fI_f1): Likewise.
19324 (RUN_TEST_ffI_f1): Likewise.
19325 (RUN_TEST_LOOP_ffI_f1): Likewise.
19326 (RUN_TEST_c_c): Likewise.
19327 (RUN_TEST_LOOP_c_c): Likewise.
19328 (RUN_TEST_cc_c): Likewise.
19329 (RUN_TEST_LOOP_cc_c): Likewise.
19330 (RUN_TEST_f_i): Likewise.
19331 (RUN_TEST_LOOP_f_i): Likewise.
19332 (RUN_TEST_f_i_tg): Likewise.
19333 (RUN_TEST_LOOP_f_i_tg): Likewise.
19334 (RUN_TEST_ff_i_tg): Likewise.
19335 (RUN_TEST_LOOP_ff_i_tg): Likewise.
19336 (RUN_TEST_f_b): Likewise.
19337 (RUN_TEST_LOOP_f_b): Likewise.
19338 (RUN_TEST_f_b_tg): Likewise.
19339 (RUN_TEST_LOOP_f_b_tg): Likewise.
19340 (RUN_TEST_f_l): Likewise.
19341 (RUN_TEST_LOOP_f_l): Likewise.
19342 (RUN_TEST_f_L): Likewise.
19343 (RUN_TEST_LOOP_f_L): Likewise.
19344 (RUN_TEST_sincos): Likewise.
19345 (RUN_TEST_LOOP_sincos): Likewise.
19346
8269107f
JM
193472013-05-17 Joseph Myers <joseph@codesourcery.com>
19348
bb38759d
JM
19349 [BZ #15480]
19350 [BZ #15485]
19351 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
19352 main case of finite arguments, set rounding mode to FE_TONEAREST
19353 and discard exceptions.
19354 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
19355 exceptions.
19356 (remainder_tonearest_test_data): New variable.
19357 (remainder_test_tonearest): New function.
19358 (remainder_towardzero_test_data): New variable.
19359 (remainder_test_towardzero): New function.
19360 (remainder_downward_test_data): New variable.
19361 (remainder_test_downward): New function.
19362 (remainder_upward_test_data): New variable.
19363 (remainder_test_upward): New function.
19364 (main): Call the new test functions.
19365
a00bdcf0
JM
19366 * math/libm-test.inc (struct test_f_f1_data): Remove field
19367 extra_init.
19368 (struct test_fF_f1_data): Likewise.
19369 (struct test_ffI_f1_data): Likewise.
19370 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
19371 based on value of EXTRA_EXPECTED.
19372 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19373 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
19374 EXTRA_VAR based on value of EXTRA_EXPECTED.
19375 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19376 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
19377 EXTRA_VAR based on value of EXTRA_EXPECTED.
19378 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19379 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
19380 EXTRA_VAR based on value of EXTRA_EXPECTED.
19381 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19382 * math/gen-libm-test.pl (parse_args): Don't output initializers
19383 for extra output values.
19384
de407f79
JM
19385 * math/libm-test.inc (check_int): Expect result to be exactly
19386 equal to expected value and do not handle ulps.
19387 (check_long): Likewise.
19388 (check_longlong): Likewise.
19389
8269107f
JM
19390 * math/libm-test.inc (ceil_test_data): Test for "inexact"
19391 exceptions.
19392 (cimag_test_data): Likewise.
19393 (conj_test_data): Likewise.
19394 (copysign_test_data): Likewise.
19395 (cproj_test_data): Likewise.
19396 (creal_test_data): Likewise.
19397 (fabs_test_data): Likewise.
19398 (fdim_test_data): Likewise.
19399 (finite_test_data): Likewise.
19400 (floor_test_data): Likewise.
19401 (fmax_test_data): Likewise.
19402 (fmin_test_data): Likewise.
19403 (fmod_test_data): Likewise.
19404 (fpclassify_test_data): Likewise.
19405 (frexp_test_data): Likewise.
19406 (ilogb_test_data): Likewise.
19407 (isfinite_test_data): Likewise.
19408 (isgreater_test_data): Likewise.
19409 (isgreaterequal_test_data): Likewise.
19410 (isinf_test_data): Likewise.
19411 (isless_test_data): Likewise.
19412 (islessequal_test_data): Likewise.
19413 (islessgreater_test_data): Likewise.
19414 (isnan_test_data): Likewise.
19415 (isnormal_test_data): Likewise.
19416 (issignaling_test_data): Likewise.
19417 (isunordered_test_data): Likewise.
19418 (ldexp_test_data): Likewise.
19419 (lrint_test_data): Likewise.
19420 (lrint_test_data) [TEST_FLOAT]: Disable one test.
19421 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
19422 (lrint_tonearest_test_data): Test for "inexact" exceptions.
19423 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19424 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
19425 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19426 test input.
19427 (lrint_towardzero_test_data): Test for "inexact" exceptions.
19428 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19429 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
19430 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
19431 that test input.
19432 (lrint_downward_test_data): Test for "inexact" exceptions.
19433 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19434 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
19435 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19436 test input.
19437 (lrint_upward_test_data): Test for "inexact" exceptions.
19438 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
19439 test input.
19440 (llrint_test_data): Test for "inexact" exceptions.
19441 (llrint_test_data) [TEST_FLOAT]: Disable one test.
19442 (llrint_tonearest_test_data): Test for "inexact" exceptions.
19443 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19444 (llrint_towardzero_test_data): Test for "inexact" exceptions.
19445 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19446 (llrint_downward_test_data): Test for "inexact" exceptions.
19447 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19448 (llrint_upward_test_data): Test for "inexact" exceptions.
19449 (logb_test_data): Likewise.
19450 (logb_downward_test_data): Likewise.
19451 (nextafter_test_data): Likewise.
19452 (nexttoward_test_data): Likewise.
19453 (remainder_test_data): Likewise.
19454 (remquo_test_data): Likewise.
19455 (scalbn_test_data): Likewise.
19456 (scalbln_test_data): Likewise.
19457 (signbit_test_data): Likewise.
19458 (sqrt_test_data): Likewise.
19459 (significand_test_data): Likewise.
19460
48a18de1
SP
194612013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19462
19463 [BZ #15424]
19464 * benchtests/bench-modf.c (struct args): Mark arg0 as
19465 volatile.
19466 * scripts/bench.pl: Mark members of struct args as volatile.
19467
13d3b41a
AZ
194682013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19469
68191c1d 19470 [BZ # 15497]
13d3b41a
AZ
19471 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
19472 negative infinity on POWER6 or lower.
19473 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
19474
2848b105
MR
194752013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
19476
19477 [BZ #15442]
19478 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
19479 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
19480 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
19481 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
19482 (_FP_SETQNAN): New macro.
19483 (_FP_SETQNAN_SEMIRAW): Likewise.
19484 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
19485 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
19486 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
19487 (FP_EXTEND): Use _FP_FRAC_SNANP.
19488 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
19489 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
19490 into account.
19491 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19492 New macro.
19493 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19494 Likewise.
19495
323e5cb7
JM
194962013-05-16 Joseph Myers <joseph@codesourcery.com>
19497
c58b274f
JM
19498 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
19499 with DIVIDE_BY_ZERO_EXCEPTION.
19500 (gamma_test_data): Likewise.
19501 (lgamma_test_data): Likewise.
19502 (log_test_data): Likewise.
19503 (log10_test_data): Likewise.
19504 (log2_test_data): Likewise.
19505 (tgamma_test_data): Likewise.
19506
0ab34904
JM
19507 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
19508 (acos_test_tonearest): Likewise.
19509 (acos_test_towardzero): Likewise.
19510 (acos_test_downward): Likewise.
19511 (acos_test_upward): Likewise.
19512 (acosh_test): Likewise.
19513 (asin_test): Likewise.
19514 (asin_test_tonearest): Likewise.
19515 (asin_test_towardzero): Likewise.
19516 (asin_test_downward): Likewise.
19517 (asin_test_upward): Likewise.
19518 (asinh_test): Likewise.
19519 (atan_test): Likewise.
19520 (atanh_test): Likewise.
19521 (atan2_test): Likewise.
19522 (cabs_test): Likewise.
19523 (cacos_test): Likewise.
19524 (cacosh_test): Likewise.
19525 (casin_test): Likewise.
19526 (casinh_test): Likewise.
19527 (catan_test): Likewise.
19528 (catanh_test): Likewise.
19529 (cbrt_test): Likewise.
19530 (ccos_test): Likewise.
19531 (ccosh_test): Likewise.
19532 (cexp_test): Likewise.
19533 (clog_test): Likewise.
19534 (clog10_test): Likewise.
19535 (cos_test): Likewise.
19536 (cos_test_tonearest): Likewise.
19537 (cos_test_towardzero): Likewise.
19538 (cos_test_downward): Likewise.
19539 (cos_test_upward): Likewise.
19540 (cosh_test): Likewise.
19541 (cosh_test_tonearest): Likewise.
19542 (cosh_test_towardzero): Likewise.
19543 (cosh_test_downward): Likewise.
19544 (cosh_test_upward): Likewise.
19545 (cpow_test): Likewise.
19546 (csin_test): Likewise.
19547 (csinh_test): Likewise.
19548 (csqrt_test): Likewise.
19549 (ctan_test): Likewise.
19550 (ctan_test_tonearest): Likewise.
19551 (ctan_test_towardzero): Likewise.
19552 (ctan_test_downward): Likewise.
19553 (ctan_test_upward): Likewise.
19554 (ctanh_test): Likewise.
19555 (ctanh_test_tonearest): Likewise.
19556 (ctanh_test_towardzero): Likewise.
19557 (ctanh_test_downward): Likewise.
19558 (ctanh_test_upward): Likewise.
19559 (erf_test): Likewise.
19560 (erfc_test): Likewise.
19561 (exp_test): Likewise.
19562 (exp_test_tonearest): Likewise.
19563 (exp_test_towardzero): Likewise.
19564 (exp_test_downward): Likewise.
19565 (exp_test_upward): Likewise.
19566 (exp10_test): Likewise.
19567 (exp2_test): Likewise.
19568 (expm1_test): Likewise.
19569 (fmod_test): Likewise.
19570 (gamma_test): Likewise.
19571 (hypot_test): Likewise.
19572 (j0_test): Likewise.
19573 (j1_test): Likewise.
19574 (jn_test): Likewise.
19575 (lgamma_test): Likewise.
19576 (log_test): Likewise.
19577 (log10_test): Likewise.
19578 (log1p_test): Likewise.
19579 (log2_test): Likewise.
19580 (logb_test_downward): Likewise.
19581 (pow_test): Likewise.
19582 (pow_test_tonearest): Likewise.
19583 (pow_test_towardzero): Likewise.
19584 (pow_test_downward): Likewise.
19585 (pow_test_upward): Likewise.
19586 (remainder_test): Likewise.
19587 (remquo_test): Likewise.
19588 (sin_test): Likewise.
19589 (sin_test_tonearest): Likewise.
19590 (sin_test_towardzero): Likewise.
19591 (sin_test_downward): Likewise.
19592 (sin_test_upward): Likewise.
19593 (sincos_test): Likewise.
19594 (sinh_test): Likewise.
19595 (sinh_test_tonearest): Likewise.
19596 (sinh_test_towardzero): Likewise.
19597 (sinh_test_downward): Likewise.
19598 (sinh_test_upward): Likewise.
19599 (sqrt_test): Likewise.
19600 (tan_test): Likewise.
19601 (tan_test_tonearest): Likewise.
19602 (tan_test_towardzero): Likewise.
19603 (tan_test_downward): Likewise.
19604 (tan_test_upward): Likewise.
19605 (tanh_test): Likewise.
19606 (tgamma_test): Likewise.
19607 (y0_test): Likewise.
19608 (y1_test): Likewise.
19609 (yn_test): Likewise.
19610
323e5cb7
JM
19611 * math/gen-libm-test.pl (adjust_arg): Remove function.
19612 (special_function): Remove argument $in_func. Only handle
19613 generating output for tables of tests, not inside functions.
19614 (parse_args): Likewise.
19615 (generate_testfile): Remove variable $in_func. Update call to
19616 parse_args.
19617 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
19618 (MINUS_ZERO_INIT): Rename macro to minus_zero.
19619 (PLUS_INFTY_INIT): Rename macro to plus_infty.
19620 (MINUS_INFTY_INIT): Rename macro to minus_infty.
19621 (QNAN_VALUE_INIT): Rename macro to qnan_value.
19622 (MAX_VALUE_INIT): Rename macro to max_value.
19623 (MIN_VALUE_INIT): Rename macro to min_value.
19624 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
19625 (plus_zero): Remove variable.
19626 (minus_zero): Likewise.
19627 (plus_infty): Likewise.
19628 (minus_infty): Likewise.
19629 (qnan_value): Likewise.
19630 (max_value): Likewise.
19631 (min_value): Likewise.
19632 (min_subnorm_value): Likewise.
19633
e054f494
RA
196342013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19635
19636 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
19637 uint64_t or uint32_t usage.
19638 * crypt/sha256-block.c: Likewise.
19639 * crypt/sha256-crypt.c: Likewise.
19640 * crypt/sha256.c: Likewise.
19641 * crypt/sha512-block.c: Likewise.
19642 * crypt/sha512-crypt.c: Likewise.
19643 * crypt/sha512.c: Likewise.
19644 * debug/backtrace-tst.c: Likewise.
19645 * debug/pcprofiledump.c: Likewise.
19646 * elf/cache.c: Likewise.
19647 * elf/dl-cache.c: Likewise.
19648 * elf/dl-misc.c: Likewise.
19649 * elf/dl-profile.c: Likewise.
19650 * elf/dl-support.c: Likewise.
19651 * elf/ldconfig.c: Likewise.
19652 * elf/sprof.c: Likewise.
19653 * iconv/dummy-repertoire.c: Likewise.
19654 * iconv/iconv_charmap.c: Likewise.
19655 * iconv/skeleton.c: Likewise.
19656 * iconvdata/8bit-generic.c: Likewise.
19657 * iconvdata/cp737.h: Likewise.
19658 * iconvdata/cp775.h: Likewise.
19659 * iconvdata/ibm1008.h: Likewise.
19660 * iconvdata/ibm1025.h: Likewise.
19661 * iconvdata/ibm1046.h: Likewise.
19662 * iconvdata/ibm1097.h: Likewise.
19663 * iconvdata/ibm1112.h: Likewise.
19664 * iconvdata/ibm1122.h: Likewise.
19665 * iconvdata/ibm1123.h: Likewise.
19666 * iconvdata/ibm1124.h: Likewise.
19667 * iconvdata/ibm1129.h: Likewise.
19668 * iconvdata/ibm1130.h: Likewise.
19669 * iconvdata/ibm1132.h: Likewise.
19670 * iconvdata/ibm1133.h: Likewise.
19671 * iconvdata/ibm1137.h: Likewise.
19672 * iconvdata/ibm1140.h: Likewise.
19673 * iconvdata/ibm1141.h: Likewise.
19674 * iconvdata/ibm1142.h: Likewise.
19675 * iconvdata/ibm1143.h: Likewise.
19676 * iconvdata/ibm1144.h: Likewise.
19677 * iconvdata/ibm1145.h: Likewise.
19678 * iconvdata/ibm1146.h: Likewise.
19679 * iconvdata/ibm1147.h: Likewise.
19680 * iconvdata/ibm1148.h: Likewise.
19681 * iconvdata/ibm1149.h: Likewise.
19682 * iconvdata/ibm1153.h: Likewise.
19683 * iconvdata/ibm1154.h: Likewise.
19684 * iconvdata/ibm1155.h: Likewise.
19685 * iconvdata/ibm1156.h: Likewise.
19686 * iconvdata/ibm1157.h: Likewise.
19687 * iconvdata/ibm1158.h: Likewise.
19688 * iconvdata/ibm1160.h: Likewise.
19689 * iconvdata/ibm1161.h: Likewise.
19690 * iconvdata/ibm1162.h: Likewise.
19691 * iconvdata/ibm1163.h: Likewise.
19692 * iconvdata/ibm1164.h: Likewise.
19693 * iconvdata/ibm1166.h: Likewise.
19694 * iconvdata/ibm1167.h: Likewise.
19695 * iconvdata/ibm12712.h: Likewise.
19696 * iconvdata/ibm1390.h: Likewise.
19697 * iconvdata/ibm1399.h: Likewise.
19698 * iconvdata/ibm16804.h: Likewise.
19699 * iconvdata/ibm4517.h: Likewise.
19700 * iconvdata/ibm4899.h: Likewise.
19701 * iconvdata/ibm4909.h: Likewise.
19702 * iconvdata/ibm4971.h: Likewise.
19703 * iconvdata/ibm5347.h: Likewise.
19704 * iconvdata/ibm803.h: Likewise.
19705 * iconvdata/ibm856.h: Likewise.
19706 * iconvdata/ibm901.h: Likewise.
19707 * iconvdata/ibm902.h: Likewise.
19708 * iconvdata/ibm9030.h: Likewise.
19709 * iconvdata/ibm9066.h: Likewise.
19710 * iconvdata/ibm921.h: Likewise.
19711 * iconvdata/ibm922.h: Likewise.
19712 * iconvdata/ibm9448.h: Likewise.
19713 * iconvdata/isiri-3342.h: Likewise.
19714 * iconvdata/jis0201.h: Likewise.
19715 * include/link.h: Likewise.
19716 * include/netdb.h: Likewise.
19717 * inet/check_native.c: Likewise.
19718 * inet/check_pf.c: Likewise.
19719 * inet/getipv4sourcefilter.c: Likewise.
19720 * inet/getnameinfo.c: Likewise.
19721 * inet/getsourcefilter.c: Likewise.
19722 * inet/htonl.c: Likewise.
19723 * inet/setipv4sourcefilter.c: Likewise.
19724 * inet/setsourcefilter.c: Likewise.
19725 * inet/test-inet6_opt.c: Likewise.
19726 * inet/tst-network.c: Likewise.
19727 * locale/C-collate.c: Likewise.
19728 * locale/C-ctype.c: Likewise.
19729 * locale/C-time.c: Likewise.
19730 * locale/C-translit.h: Likewise.
19731 * locale/loadarchive.c: Likewise.
19732 * locale/programs/3level.h: Likewise.
19733 * locale/programs/charmap.c: Likewise.
19734 * locale/programs/charmap.h: Likewise.
19735 * locale/programs/ld-address.c: Likewise.
19736 * locale/programs/ld-collate.c: Likewise.
19737 * locale/programs/ld-ctype.c: Likewise.
19738 * locale/programs/ld-identification.c: Likewise.
19739 * locale/programs/ld-measurement.c: Likewise.
19740 * locale/programs/ld-messages.c: Likewise.
19741 * locale/programs/ld-monetary.c: Likewise.
19742 * locale/programs/ld-name.c: Likewise.
19743 * locale/programs/ld-numeric.c: Likewise.
19744 * locale/programs/ld-paper.c: Likewise.
19745 * locale/programs/ld-telephone.c: Likewise.
19746 * locale/programs/ld-time.c: Likewise.
19747 * locale/programs/linereader.c: Likewise.
19748 * locale/programs/locale.c: Likewise.
19749 * locale/programs/locarchive.c: Likewise.
19750 * locale/programs/locfile.h: Likewise.
19751 * locale/programs/repertoire.c: Likewise.
19752 * locale/programs/simple-hash.c: Likewise.
19753 * locale/programs/simple-hash.h: Likewise.
19754 * malloc/memusage.c: Likewise.
19755 * malloc/memusagestat.c: Likewise.
19756 * nis/nis_defaults.c: Likewise.
19757 * nis/nis_hash.c: Likewise.
19758 * nis/nis_print.c: Likewise.
19759 * nis/nis_xdr.c: Likewise.
19760 * nscd/connections.c: Likewise.
19761 * nscd/hstcache.c: Likewise.
19762 * nscd/nscd_gethst_r.c: Likewise.
19763 * nscd/nscd_getserv_r.c: Likewise.
19764 * nscd/nscd_helper.c: Likewise.
19765 * nscd/servicescache.c: Likewise.
19766 * nss/makedb.c: Likewise.
19767 * nss/nss_db/db-XXX.c: Likewise.
19768 * nss/nss_db/db-initgroups.c: Likewise.
19769 * nss/nss_db/db-netgrp.c: Likewise.
19770 * nss/nss_files/files-network.c: Likewise.
19771 * nss/nss_files/files-parse.c: Likewise.
19772 * posix/bug-regex5.c: Likewise.
19773 * posix/fnmatch_loop.c: Likewise.
19774 * posix/regcomp.c: Likewise.
19775 * posix/regexec.c: Likewise.
19776 * posix/tst-rfc3484-2.c: Likewise.
19777 * posix/tst-rfc3484-3.c: Likewise.
19778 * posix/tst-rfc3484.c: Likewise.
19779 * resolv/nss_dns/dns-canon.c: Likewise.
19780 * resolv/nss_dns/dns-network.c: Likewise.
19781 * resolv/res_init.c: Likewise.
19782 * resolv/res_mkquery.c: Likewise.
19783 * resolv/tst-aton.c: Likewise.
19784 * stdlib/cxa_atexit.c: Likewise.
19785 * stdlib/cxa_finalize.c: Likewise.
19786 * stdlib/gen-fpioconst.c: Likewise.
19787 * stdlib/strtol_l.c: Likewise.
19788 * string/tst-endian.c: Likewise.
19789 * sunrpc/auth_des.c: Likewise.
19790 * sunrpc/clnt_udp.c: Likewise.
19791 * sunrpc/rtime.c: Likewise.
19792 * sunrpc/svcauth_des.c: Likewise.
19793 * sunrpc/xdr.c: Likewise.
19794 * sunrpc/xdr_intXX_t.c: Likewise.
19795 * sunrpc/xdr_rec.c: Likewise.
19796 * sysdeps/generic/ldconfig.h: Likewise.
19797 * sysdeps/generic/ldsodefs.h: Likewise.
19798 * sysdeps/generic/memusage.h: Likewise.
19799 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19800 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
19801 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
19802 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19803 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19804 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19805 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19806 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19807 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19808 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19809 * sysdeps/posix/getaddrinfo.c: Likewise.
19810 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19811 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19812 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19813 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19814 * sysdeps/powerpc/test-gettimebase.c: Likewise.
19815 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19816 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
19817 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
19818 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
19819 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
19820 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19821 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19822 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
19823 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
19824 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
19825 * sysdeps/x86_64/dl-tls.h: Likewise.
19826 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
19827 * time/alt_digit.c: Likewise.
19828 * time/era.c: Likewise.
19829 * wcsmbs/tst-c16c32-1.c: Likewise.
19830
8c75f674
JM
198312013-05-16 Joseph Myers <joseph@codesourcery.com>
19832
19833 * math/libm-test.inc (struct test_sincos_data): New type.
19834 (RUN_TEST_LOOP_sincos): New macro.
19835 (sincos_test_data): New variable.
19836 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
19837
e6e49e59
RH
198382013-05-16 Richard Henderson <rth@redhat.com>
19839
19840 * math/atest-exp2.c (LIMB64): New macro.
19841 (CONSTSZ): New macro.
19842 (mp_exp1, mp_exp_m1, mp_log2): New variables.
19843 (hexdig): Move ...
19844 (print_mpn_fp): ... to function scope.
19845 (read_mpn_hex): Remove.
19846 (get_log2): Remove.
19847 (exp2_mpn): Use mp_log2.
19848 (main): Use mp_exp1.
19849
15c7c18d
JM
198502013-05-16 Joseph Myers <joseph@codesourcery.com>
19851
105a07df
JM
19852 * math/libm-test.inc: Remove comment about not testing "inexact"
19853 exceptions.
19854 (INEXACT_EXCEPTION): New macro.
19855 (NO_INEXACT_EXCEPTION): Likewise.
19856 (INVALID_EXCEPTION_OK): Update value.
19857 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19858 (OVERFLOW_EXCEPTION_OK): Likewise.
19859 (UNDERFLOW_EXCEPTION_OK): Likewise.
19860 (IGNORE_ZERO_INF_SIGN): Likewise.
19861 (ERRNO_UNCHANGED): Likewise.
19862 (ERRNO_EDOM): Likewise.
19863 (ERRNO_ERANGE): Likewise.
19864 (test_exceptions): Handle testing "inexact" exceptions.
19865 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
19866 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
19867 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
19868 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
19869 INEXACT_EXCEPTION.
19870 (rint_towardzero_test_data): Likewise.
19871 (rint_downward_test_data): Likewise.
19872 (rint_upward_test_data): Likewise.
19873
e9eee333
JM
19874 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
19875 with OVERFLOW_EXCEPTION.
19876 (exp10_test_data): Likewise.
19877 (exp2_test_data): Likewise.
19878 (expm1_test_data): Likewise.
19879 (lgamma_test_data): Likewise.
19880 (pow_test_data): Likewise.
19881 (tgamma_test_data): Likewise.
19882 (yn_test_data): Remove duplicate test of overflow.
19883
1c38ff73
JM
19884 * math/libm-test.inc (struct test_cc_c_data): New type.
19885 (RUN_TEST_LOOP_cc_c): New macro.
19886 (cpow_test_data): New variable.
19887 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
19888
15c7c18d
JM
19889 * math/libm-test.inc (struct test_f_L_data): New type.
19890 (RUN_TEST_LOOP_f_L): New macro.
19891 (llrint_test_data): New variable.
19892 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
19893 (llrint_tonearest_test_data): New variable.
19894 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
19895 (llrint_towardzero_test_data): New variable.
19896 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
19897 (llrint_downward_test_data): New variable.
19898 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
19899 (llrint_upward_test_data): New variable.
19900 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
19901 (llround_test_data): New variable.
19902 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
19903
f137ff13
PC
199042013-05-13 Peter Collingbourne <pcc@google.com>
19905
19906 * math/atest-exp2.c (get_log2): Remove const attribute.
19907
3608cb24
JM
199082013-05-15 Joseph Myers <joseph@codesourcery.com>
19909
19910 * math/libm-test.inc (struct test_f_l_data): New type.
19911 (RUN_TEST_LOOP_f_l): New macro.
19912 (lrint_test_data): New variable.
19913 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
19914 (lrint_tonearest_test_data): New variable.
19915 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
19916 (lrint_towardzero_test_data): New variable.
19917 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
19918 (lrint_downward_test_data): New variable.
19919 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
19920 (lrint_upward_test_data): New variable.
19921 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
19922 (lround_test_data): New variable.
19923 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
19924
39b1f617
PC
199252013-05-15 Peter Collingbourne <pcc@google.com>
19926
1deff3dc
PC
19927 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
19928 (EXTRACT_WORDS64) Use where appropriate.
19929 (INSERT_WORDS64) Likewise.
19930
791f3ba0
PC
19931 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
19932 constraints with x constraints.
19933 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
19934
39b1f617
PC
19935 * malloc/obstack.c (_obstack_compat): Add initializer.
19936
12fba011
EM
199372013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
19938
19939 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
19940 si_trapno and add si_addr_lsb to _sifields.sigfault.
19941 (si_trapno): Remove macro.
19942 (si_addr_lsb): Define new macro.
19943 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19944
d369f531
JM
199452013-05-15 Joseph Myers <joseph@codesourcery.com>
19946
b861c6c4
JM
19947 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
19948 instead of TEST_f_l.
19949 (llrint_test_tonearest): Likewise.
19950 (llrint_test_towardzero): Likewise.
19951 (llrint_test_downward): Likewise.
19952 (llrint_test_upward): Likewise.
19953 (llround_test): Likewise.
19954
7abeee12
JM
19955 * math/libm-test.inc (struct test_f_i_data): Add comment.
19956 (RUN_TEST_LOOP_f_b): New macro.
19957 (RUN_TEST_LOOP_f_b_tg): Likewise.
19958 (finite_test_data): New variable.
19959 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
19960 (isfinite_test_data): New variable.
19961 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19962 (isinf_test_data): New variable.
19963 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19964 (isnan_test_data): New variable.
19965 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19966 (isnormal_test_data): New variable.
19967 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19968 (issignaling_test_data): New variable.
19969 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19970 (signbit_test_data): New variable.
19971 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19972
cbe8c4d3
JM
19973 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
19974 with INVALID_EXCEPTION.
19975 (acosh_test_data): Likewise.
19976 (asin_test_data): Likewise.
19977 (atanh_test_data): Likewise.
19978 (fmod_test_data): Likewise.
19979 (log_test_data): Likewise.
19980 (log10_test_data): Likewise.
19981 (log2_test_data): Likewise.
19982 (pow_test_data): Likewise.
19983 (sqrt_test_data): Likewise.
19984 (y0_test_data): Likewise.
19985 (y1_test_data): Likewise.
19986 (yn_test_data): Likewise.
19987
5575c0e5
JM
19988 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
19989 function contents.
19990
d369f531
JM
19991 * math/libm-test.inc (struct test_ff_i_data): New type.
19992 (RUN_TEST_LOOP_ff_i_tg): New macro.
19993 (isgreater_test_data): New variable.
19994 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19995 (isgreaterequal_test_data): New variable.
19996 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19997 (isless_test_data): New variable.
19998 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19999 (islessequal_test_data): New variable.
20000 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20001 (islessgreater_test_data): New variable.
20002 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20003 (isunordered_test_data): New variable.
20004 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20005
781fd748
DM
200062013-05-14 David S. Miller <davem@davemloft.net>
20007
20008 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20009
87aa21df
JM
200102013-05-14 Joseph Myers <joseph@codesourcery.com>
20011
5e908270
JM
20012 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
20013
f71172e5
JM
20014 * math/libm-test.inc (struct test_fF_f1_data): Change type of
20015 extra_test to int.
20016 (struct test_f_i_data): Change type of max_ulp to int.
20017
8cfa635a
JM
20018 * math/libm-test.inc (test_ffI_f1_data): New type.
20019 (RUN_TEST_LOOP_ffI_f1): New macro.
20020 (remquo_test_data): New variable.
20021 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
20022
2bcb36b2
JM
20023 * setjmp/tst-setjmp-fp.c: New file.
20024 * setjmp/Makefile (tests): Add tst-setjmp-fp.
20025 (link-libm): New variable.
20026 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
20027
acbd839a
JM
20028 * math/libm-test.inc (struct test_f_i_data): New type.
20029 (RUN_TEST_LOOP_f_i): New macro.
20030 (RUN_TEST_LOOP_f_i_tg): Likewise.
20031 (fpclassify_test_data): New variable.
20032 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
20033 (ilogb_test_data): New variable.
20034 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
20035
e414d745
JM
20036 * math/libm-test.inc (scalbln_test): Correct function name in END
20037 call.
20038
d9c2a0fd
JM
20039 * math/libm-test.inc (struct test_f_f1_data): Add comment.
20040 (RUN_TEST_LOOP_fI_f1): New macro.
20041 (frexp_test_data): New variable.
20042 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
20043
9dc9095d
JM
20044 * math/libm-test.inc (struct test_fF_f1_data): New type.
20045 (RUN_TEST_LOOP_fF_f1): New macro.
20046 (modf_test_data): New variable.
20047 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
20048
87aa21df
JM
20049 * math/libm-test.inc (struct test_f_f1_data): New type.
20050 (RUN_TEST_LOOP_f_f1): New macro.
20051 (gamma_test_data): New variable.
20052 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20053 (lgamma_test_data): New variable.
20054 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20055
141af660
CD
200562013-05-13 Carlos O'Donell <carlos@redhat.com>
20057
20058 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
20059 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
20060 (main): Comment "tls" pseudo-hwcap.
20061
6d33265c
JM
200622013-05-13 Joseph Myers <joseph@codesourcery.com>
20063
68fc074c
JM
20064 * math/libm-test.inc (struct test_fl_f_data): New type.
20065 (RUN_TEST_LOOP_fl_f): New variable.
20066 (scalbln_test_data): New variable.
20067 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
20068
243216e1
JM
20069 * math/libm-test.inc (struct test_fi_f_data): New type.
20070 (RUN_TEST_LOOP_fi_f): New macro.
20071 (ldexp_test_data): New variable.
20072 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
20073 (scalbn_test_data): New variable.
20074 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
20075
6a1992e2
JM
20076 * math/libm-test.inc (struct test_c_f_data): New type.
20077 (RUN_TEST_LOOP_c_f): New macro.
20078 (cabs_test_data): New variable.
20079 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
20080 (carg_test_data): New variable.
20081 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
20082 (cimag_test_data): New variable.
20083 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
20084 (creal_test_data): New variable.
20085 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
20086
0e400df5
JM
20087 * math/libm-test.inc (struct test_if_f_data): New type.
20088 (RUN_TEST_LOOP_if_f): New macro.
20089 (jn_test_data): New variable.
20090 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
20091 (yn_test_data): New variable.
20092 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
20093
6d33265c
JM
20094 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
20095
f98ece5f
AZ
200962013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20097
20098 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
20099 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
20100
0f7d347b
SP
201012013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20102
43fe811b
SP
20103 * benchtests/Makefile (CPPFLAGS-nonlib): Add
20104 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
20105 (bench-deps): Add bench-timing.h.
20106 * benchtests-bench-skeleton.c: Include bench-timing.h.
20107 (main): Use TIMING_* macros instead of clock_gettime.
20108 * benchtests/bench-timing.h: New file.
20109
0f7d347b
SP
20110 [BZ #14582]
20111 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
20112 Renamed from _LIB_VERSION.
20113 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
20114
601a3a5f
JM
201152013-05-12 Joseph Myers <joseph@codesourcery.com>
20116
4f184d30
JM
20117 * math/libm-test.inc (struct test_fff_f_data): New type.
20118 (RUN_TEST_LOOP_fff_f): New macro.
20119 (fma_test_data): New variable.
20120 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
20121 (fma_towardzero_test_data): New variable.
20122 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
20123 (fma_downward_test_data): New variable.
20124 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
20125 (fma_upward_test_data): New variable.
20126 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
20127
08198877
JM
20128 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
20129 (struct test_c_c_data): New type.
20130 (RUN_TEST_LOOP_c_c): New macro.
20131 (cacos_test_data): New variable.
20132 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
20133 (cacosh_test_data): New variable.
20134 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
20135 (casin_test_data): New variable.
20136 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
20137 (casinh_test_data): New variable.
20138 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
20139 (catan_test_data): New variable.
20140 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
20141 (catanh_test_data): New variable.
20142 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
20143 (ccos_test_data): New variable.
20144 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
20145 (ccosh_test_data): New variable.
20146 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
20147 (cexp_test_data): New variable.
20148 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
20149 (clog_test_data): New variable.
20150 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
20151 (clog10_test_data): New variable.
20152 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
20153 (conj_test_data): New variable.
20154 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
20155 (cproj_test_data): New variable.
20156 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
20157 (csin_test_data): New variable.
20158 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
20159 (csinh_test_data): New variable.
20160 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
20161 (csqrt_test_data): New variable.
20162 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
20163 (ctan_test_data): New variable.
20164 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
20165 (ctan_tonearest_test_data): New variable.
20166 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20167 (ctan_towardzero_test_data): New variable.
20168 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20169 (ctan_downward_test_data): New variable.
20170 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20171 (ctan_upward_test_data): New variable.
20172 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20173 (ctanh_test_data): New variable.
20174 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
20175 (ctanh_tonearest_test_data): New variable.
20176 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20177 (ctanh_towardzero_test_data): New variable.
20178 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20179 (ctanh_downward_test_data): New variable.
20180 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20181 (ctanh_upward_test_data): New variable.
20182 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20183 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
20184 of BUILD_COMPLEX.
20185
601a3a5f
JM
20186 * math/libm-test.inc (struct test_ff_f_data): New type.
20187 (struct test_ff_f_data_nexttoward): Likewise.
20188 (RUN_TEST_LOOP_2_f): New macro.
20189 (RUN_TEST_LOOP_ff_f): Likewise.
20190 (atan2_test_data): New variable.
20191 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
20192 (copysign_test_data): New variable.
20193 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
20194 (fdim_test_data): New variable.
20195 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
20196 (fmax_test_data): New variable.
20197 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
20198 (fmin_test_data): New variable.
20199 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
20200 (fmod_test_data): New variable.
20201 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
20202 (hypot_test_data): New variable.
20203 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
20204 (nextafter_test_data): New variable.
20205 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
20206 (nexttoward_test_data): New variable.
20207 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
20208 (pow_test_data): New variable.
20209 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
20210 (pow_tonearest_test_data): New variable.
20211 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
20212 (pow_towardzero_test_data): New variable.
20213 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
20214 (pow_downward_test_data): New variable.
20215 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
20216 (pow_upward_test_data): New variable.
20217 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
20218 (remainder_test_data): New variable.
20219 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
20220 (scalb_test_data): New variable.
20221 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
20222 * sysdeps/i386/fpu/libm-test-ulps: Update.
20223
74c57478
JM
202242013-05-11 Joseph Myers <joseph@codesourcery.com>
20225
8329e4da
JM
20226 * math/libm-test.inc (fma_test): Use max_value instead of local
20227 variable fltmax.
20228 (nextafter_test): Likewise.
20229
74c57478
JM
20230 * math/libm-test.inc (acos_towardzero_test_data): New variable.
20231 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20232 (acos_downward_test_data): New variable.
20233 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20234 (acos_upward_test_data): New variable.
20235 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20236 (acosh_test_data): New variable.
20237 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
20238 (asin_test_data): New variable.
20239 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
20240 (asin_tonearest_test_data): New variable.
20241 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20242 (asin_towardzero_test_data): New variable.
20243 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20244 (asin_downward_test_data): New variable.
20245 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20246 (asin_upward_test_data): New variable.
20247 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20248 (asinh_test_data): New variable.
20249 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
20250 (atan_test_data): New variable.
20251 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
20252 (atanh_test_data): New variable.
20253 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
20254 (cbrt_test_data): New variable.
20255 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
20256 (ceil_test_data): New variable.
20257 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
20258 (cos_test_data): New variable.
20259 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
20260 (cos_tonearest_test_data): New variable.
20261 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20262 (cos_towardzero_test_data): New variable.
20263 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20264 (cos_downward_test_data): New variable.
20265 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20266 (cos_upward_test_data): New variable.
20267 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20268 (cosh_test_data): New variable.
20269 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
20270 (cosh_tonearest_test_data): New variable.
20271 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20272 (cosh_towardzero_test_data): New variable.
20273 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20274 (cosh_downward_test_data): New variable.
20275 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20276 (cosh_upward_test_data): New variable.
20277 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20278 (erf_test_data): New variable.
20279 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
20280 (erfc_test_data): New variable.
20281 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
20282 (exp_test_data): New variable.
20283 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
20284 (exp_tonearest_test_data): New variable.
20285 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20286 (exp_towardzero_test_data): New variable.
20287 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20288 (exp_downward_test_data): New variable.
20289 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20290 (exp_upward_test_data): New variable.
20291 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20292 (exp10_test_data): New variable.
20293 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
20294 (exp2_test_data): New variable.
20295 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
20296 (expm1_test_data): New variable.
20297 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
20298 (fabs_test_data): New variable.
20299 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
20300 (floor_test_data): New variable.
20301 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
20302 (j0_test_data): New variable.
20303 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
20304 (j1_test_data): New variable.
20305 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
20306 (log_test_data): New variable.
20307 (log_test): Run tests with RUN_TEST_LOOP_f_f.
20308 (log10_test_data): New variable.
20309 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
20310 (log1p_test_data): New variable.
20311 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
20312 (log2_test_data): New variable.
20313 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
20314 (logb_test_data): New variable.
20315 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
20316 (logb_downward_test_data): New variable.
20317 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20318 (nearbyint_test_data): New variable.
20319 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
20320 (rint_test_data): New variable.
20321 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
20322 (rint_tonearest_test_data): New variable.
20323 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20324 (rint_towardzero_test_data): New variable.
20325 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20326 (rint_downward_test_data): New variable.
20327 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20328 (rint_upward_test_data): New variable.
20329 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20330 (round_test_data): New variable.
20331 (round_test): Run tests with RUN_TEST_LOOP_f_f.
20332 (sin_test_data): New variable.
20333 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
20334 (sin_tonearest_test_data): New variable.
20335 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20336 (sin_towardzero_test_data): New variable.
20337 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20338 (sin_downward_test_data): New variable.
20339 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20340 (sin_upward_test_data): New variable.
20341 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20342 (sinh_test_data): New variable.
20343 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
20344 (sinh_tonearest_test_data): New variable.
20345 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20346 (sinh_towardzero_test_data): New variable.
20347 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20348 (sinh_downward_test_data): New variable.
20349 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20350 (sinh_upward_test_data): New variable.
20351 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20352 (sqrt_test_data): New variable.
20353 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
20354 (tan_test_data): New variable.
20355 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
20356 (tan_tonearest_test_data): New variable.
20357 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20358 (tan_towardzero_test_data): New variable.
20359 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20360 (tan_downward_test_data): New variable.
20361 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20362 (tan_upward_test_data): New variable.
20363 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20364 (tanh_test_data): New variable.
20365 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
20366 (tgamma_test_data): New variable.
20367 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
20368 (trunc_test_data): New variable.
20369 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
20370 (y0_test_data): New variable.
20371 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
20372 (y1_test_data): New variable.
20373 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
20374 (significand_test_data): New variable.
20375 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
20376
7187d844
CG
203772013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
20378
20379 [BZ #12387]
20380 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
20381
f63fae73
PT
203822013-05-10 Pino Toscano <toscano.pino@tiscali.it>
20383
20384 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
20385
8a67a4b3
AJ
203862013-05-10 Andreas Jaeger <aj@suse.de>
20387
20388 [BZ #15448]
20389 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
20390 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
20391
51df539d
JM
203922013-05-10 Joseph Myers <joseph@codesourcery.com>
20393
20394 * math/gen-libm-test.pl (adjust_arg): New function.
20395 (special_functions): Handle generating output in both functions
20396 and arrays.
20397 (parse_args): Likewise.
20398 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
20399 $in_func argument to parse_args.
20400 * math/libm-test.inc (struct test_f_f_data): New type.
20401 (IF_ROUND_INIT_): New macro.
20402 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
20403 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
20404 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
20405 (IF_ROUND_INIT_FE_UPWARD): Likewise.
20406 (ROUND_RESTORE_): Likewise.
20407 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
20408 (ROUND_RESTORE_FE_TONEAREST): Likewise.
20409 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
20410 (ROUND_RESTORE_FE_UPWARD): Likewise.
20411 (RUN_TEST_LOOP_f_f): New macro.
20412 (acos_test_data): New variable.
20413 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
20414 (acos_tonearest_test_data): New variable.
20415 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20416
5c637fe5
SP
204172013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20418
20419 * benchtests/bench-skeleton.c (startup): Fix coding style.
20420
ab2b9461
JM
204212013-05-10 Joseph Myers <joseph@codesourcery.com>
20422
20423 [BZ #6809]
20424 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
20425 negative infinity argument.
20426 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
20427 negative infinity argument.
20428 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
20429 negative infinity argument.
20430 * math/libm-test.inc (tgamma_test): Expect errno to be set for
20431 domain errors.
20432
4c0fe6fe
FW
204332013-05-10 Florian Weimer <fweimer@redhat.com>
20434
20435 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
20436 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
20437 * iconv/iconv_prog.c (main): Likewise.
20438 * locale/programs/charmap-dir.c (charmap_readdir)
20439 (fopen_uncompressed): Likewise.
20440 * locale/programs/locfile.c (siblings_uncached)
20441 (write_locale_data): Use lstat64 instead of lstat.
20442 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
20443 stat.
20444
a3375d29
AJ
204452013-05-10 Andreas Jaeger <aj@suse.de>
20446
20447 [BZ #15395]
20448 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
20449 localization.
20450 Include <locale.h>.
20451
36129722
CD
204522013-05-09 Carlos O'Donell <carlos@redhat.com>
20453
20454 * elf/dl-close.c (_dl_close_worker): Add comments.
20455
faa7f811
JM
204562013-05-09 Joseph Myers <joseph@codesourcery.com>
20457
ed41ffef
JM
20458 [BZ #15359]
20459 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
20460 high part of pi/2.
20461 (__ieee754_rem_pio2l): Update comments.
20462
d0213cd0
JM
20463 [BZ #15429]
20464 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
20465 high part of pi/2.
20466 (__ieee754_rem_pio2l): Update comments.
20467
0d3e777a
JM
20468 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
20469 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
20470
24f56066
JM
20471 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
20472 M_PI_4l.
20473
faa7f811
JM
20474 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
20475 (M_PI_34_LOG10El): Likewise.
20476 (M_PI2_LOG10El): Likewise.
20477 (M_PI4_LOG10El): Likewise.
20478 (M_PI_LOG10El): Likewise.
20479
e9a5e0fd
AZ
204802013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20481
20482 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20483
d8cd06db
JM
204842013-05-08 Joseph Myers <joseph@codesourcery.com>
20485
a0d9f9d7
JM
20486 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
20487 (MINUS_ZERO_INIT): Likewise.
20488 (PLUS_INFTY_INIT): Likewise.
20489 (MINUS_INFTY_INIT): Likewise.
20490 (QNAN_VALUE_INIT): Likewise.
20491 (MAX_VALUE_INIT): Likewise.
20492 (MIN_VALUE_INIT): Likewise.
20493 (MIN_SUBNORM_VALUE_INIT): Likewise.
20494 (plus_zero): Initialize with PLUS_ZERO_INIT.
20495 (minus_zero): Initialize with MINUS_ZERO_INIT.
20496 (plus_infty): Initialize with PLUS_INFTY_INIT.
20497 (minus_infty): Initialize with MINUS_INFTY_INIT.
20498 (qnan_value): Initialize with QNAN_VALUE_INIT.
20499 (max_value): Initialize with MAX_VALUE_INIT.
20500 (min_value): Initialize with MIN_VALUE_INIT.
20501 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
20502
ae08db3b
JM
20503 * math/libm-test.inc (RUN_TEST_if_f): New macro.
20504 (jn_test): Use TEST_if_f instead of TEST_ff_f.
20505 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
20506 (yn_test): Use TEST_if_f instead of TEST_ff_f.
20507
f44bf14a
JM
20508 * math/libm-test.inc (RUN_TEST_f_f): New macro.
20509 (RUN_TEST_2_f): Likewise.
20510 (RUN_TEST_ff_f): Likewise.
20511 (RUN_TEST_fi_f): Likewise.
20512 (RUN_TEST_fl_f): Likewise.
20513 (RUN_TEST_fff_f): Likewise.
20514 (RUN_TEST_c_f): Likewise.
20515 (RUN_TEST_f_f1): Likewise.
20516 (RUN_TEST_fF_f1): Likewise.
20517 (RUN_TEST_fI_f1): Likewise.
20518 (RUN_TEST_ffI_f1): Likewise.
20519 (RUN_TEST_c_c): Likewise.
20520 (RUN_TEST_cc_c): Likewise.
20521 (RUN_TEST_f_i): Likewise.
20522 (RUN_TEST_f_i_tg): Likewise.
20523 (RUN_TEST_ff_i_tg): Likewise.
20524 (RUN_TEST_f_b): Likewise.
20525 (RUN_TEST_f_b_tg): Likewise.
20526 (RUN_TEST_f_l): Likewise.
20527 (RUN_TEST_f_L): Likewise.
20528 (RUN_TEST_sincos): Likewise.
20529 * math/gen-libm-test.pl (new_test): Take new argument to indicate
20530 whether to show exceptions. Do not include ");\n" in return
20531 value.
20532 (special_functions): Output call to RUN_TEST_sincos instead of
20533 check_float calls. Update calls to new_test.
20534 (parse_args): Output call to single RUN_TEST_* macro instead of
20535 check_* calls and other assignments. Update calls to new_test.
20536
d8cd06db
JM
20537 [BZ #2546]
20538 [BZ #2560]
20539 [BZ #5159]
20540 [BZ #15426]
20541 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
20542 input to result for tgamma overflow.
20543 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
20544 (gamma_coeff): New variable.
20545 (NCOEFF): New macro.
20546 (gamma_positive): New function.
20547 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
20548 underflow here. Use gamma_positive instead of exp (lgamma) for
20549 other arguments.
20550 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
20551 (gamma_coeff): New variable.
20552 (NCOEFF): New macro.
20553 (gammaf_positive): New function.
20554 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
20555 underflow here. Use gamma_positive instead of exp (lgamma) for
20556 other arguments.
20557 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
20558 (gamma_coeff): New variable.
20559 (NCOEFF): New macro.
20560 (gammal_positive): New function.
20561 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
20562 underflow here. Use gamma_positive instead of exp (lgamma) for
20563 other arguments.
20564 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
20565 (gamma_coeff): New variable.
20566 (NCOEFF): New macro.
20567 (gammal_positive): New function.
20568 (__ieee754_gammal_r): Handle positive infinity, overflow and
20569 underflow here. Handle NaN the same as positive infinity. Remove
20570 check x < 0xffffffff for negative integers. Use gamma_positive
20571 instead of exp (lgamma) for other arguments.
20572 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
20573 (gamma_coeff): New variable.
20574 (NCOEFF): New macro.
20575 (gammal_positive): New function.
20576 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
20577 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
20578 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
20579 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
20580 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
20581 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
20582 * sysdeps/generic/math_private.h (__gamma_productf): New
20583 prototype.
20584 (__gamma_product): Likewise.
20585 (__gamma_productl): Likewise.
20586 * math/Makefile (libm-calls): Add gamma_product.
20587 * math/libm-test.inc (tgamma_test): Add more tests.
20588 * sysdeps/i386/fpu/libm-test-ulps: Update.
20589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20590
bb7cf681
OB
205912013-05-08 Ondřej Bílka <neleai@seznam.cz>
20592
20593 * benchtests/bench-skeleton.c (main): Preheat CPU.
20594
ba853947
AJ
205952013-05-07 Aurelien Jarno <aurelien@aurel32.net>
20596
20597 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
20598
8347c74c
RM
205992013-05-07 Roland McGrath <roland@hack.frob.com>
20600
20601 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
20602 and _dl_skip_args_internal.
20603
e8dd4791
CD
206042013-05-07 Carlos O'Donell <carlos@redhat.com>
20605
20606 * manual/message.texi (Message Translation): Talk about users.
20607 Message to key mapping impacts design.
20608
c7405830
RM
206092013-05-06 Roland McGrath <roland@hack.frob.com>
20610
a9173057
RM
20611 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
20612
976e2f03
RM
20613 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
20614
9723ffc5
RM
20615 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
20616 * sysdeps/wordsize-64/glob64.c: ... here.
20617
962e6658
RM
20618 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
20619 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
20620 New macros.
20621
ee586a6d
RM
20622 * debug/getlogin_r_chk.c: Moved to ...
20623 * login/getlogin_r_chk.c: ... here.
20624 * debug/Makefile (routines): Move getlogin_r_chk to ...
20625 * login/Makefile (routines): ... here.
20626 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
20627 * login/Versions (libc: GLIBC_2.4): ... here.
20628
355f9165
RM
20629 * io/poll.c (__poll): Renamed from poll.
20630 Add libc_hidden_def.
20631 (poll): Define as weak alias.
20632
bd9ffde6
RM
20633 * debug/ptsname_r_chk.c: Moved to ...
20634 * login/ptsname_r_chk.c: ... here.
20635 * debug/Makefile (routines): Move ptsname_r_chk to ...
20636 * login/Makefile (routines): ... here.
20637 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
20638 * login/Versions (libc: GLIBC_2.4): ... here.
20639
8fb16a04
RM
20640 * posix/getlogin.c: Moved to ...
20641 * login/getlogin.c: ... here.
20642 * posix/getlogin_r.c: Moved to ...
20643 * login/getlogin_r.c: ... here.
20644 * posix/getlogin_r.c: Moved to ...
20645 * login/getlogin_r.c: ... here.
20646 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
20647 * login/Makefile (routines): ... here.
20648 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
20649 * login/Versions (libc: GLIBC_2.0): ... here.
20650
b99b892f
RM
20651 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
20652 (setrlimit): Define as weak alias.
20653
c7405830
RM
20654 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
20655 Call __ names for open, ftruncate, and close.
20656 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
20657 (truncate): Define as weak alias.
20658
5bf96de5
JM
206592013-05-06 Joseph Myers <joseph@codesourcery.com>
20660
9ea3513c
JM
20661 * math/gen-libm-test.pl (parse_args): Initialize x before each
20662 test of frexp, modf and remquo.
20663
5bf96de5
JM
20664 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
20665 test signgam value.
20666
16e616a7
AZ
206672013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20668
20669 [BZ #15418]
20670 [BZ #15419]
20671 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
20672 internal tests.
20673 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20674
d5e82754
RM
206752013-05-06 Roland McGrath <roland@hack.frob.com>
20676
20677 * elf/dl-writev.h: New file.
20678 * elf/dl-misc.c: Include it.
20679 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
20680 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
20681
a7548d41
JM
206822013-05-04 Joseph Myers <joseph@codesourcery.com>
20683
b7dab1e4
JM
20684 * math/libm-test.inc (noXFails): Remove variable.
20685 (noXPasses): Likewise.
20686 (BUILD_COMPLEX_INT): Remove macro.
20687 (print_screen): Remove xfail argument.
20688 (print_screen_max_error): Likewise.
20689 (update_stats): Likewise.
20690 (print_max_error): Likewise. Update calls to other affected
20691 functions.
20692 (print_complex_max_error): Likewise.
20693 (test_single_exception): Update calls to print_screen.
20694 (test_single_errno): Likewise.
20695 (check_float_internal): Remove xfail argument. Update calls to
20696 other affected functions.
20697 (check_float): Likewise.
20698 (check_complex): Likewise.
20699 (check_int): Likewise.
20700 (check_long): Likewise.
20701 (check_bool): Likewise.
20702 (check_longlong): Likewise.
20703 (main): Don't print noXFails and noXPasses.
20704 * math/gen-libm-test.pl (top level): Don't mention expected
20705 failure handling in comment.
20706 (new_test): Don't handle expected failures.
20707 (parse_args): Don't mention expected failure handling in comment.
20708 (generate_testfile): Don't handle expected failures.
20709 (parse_ulps): Likewise.
20710 (print_ulps_file): Likewise.
20711 (get_failure): Remove function.
20712 (output_test): Don't handle expected failures.
20713 * make/README.libm-test: Don't mention expected failure handling.
20714
a7548d41
JM
20715 * math/libm-test.inc (plus_zero): Make const. Add initializer.
20716 (minus_zero): Likewise.
20717 (plus_infty): Likewise.
20718 (minus_infty): Likewise.
20719 (qnan_value): Likewise.
20720 (max_value): Likewise.
20721 (min_value): Likewise.
20722 (min_subnorm_value): Likewise.
20723 (initialize): Do not initialize those variables dynamically.
20724
60bfd54c
RM
207252013-05-03 Roland McGrath <roland@hack.frob.com>
20726
cc0e6ed8
RM
20727 * io/open.c (__open_2): Moved to ...
20728 * io/open_2.c: ... this new file.
20729 * io/open64.c (__open64_2): Moved to ...
20730 * io/open64_2.c: ... this new file.
20731 * io/openat.c (__openat_2): Moved to ...
20732 * io/openat_2.c: ... this new file.
20733 * io/openat64.c (__openat64_2): Moved to ...
20734 * io/openat64_2.c: ... this new file.
20735 * io/Makefile (routines): Add them.
20736 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
20737 * sysdeps/unix/sysv/linux/open_2.c: File removed.
20738 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
20739 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
20740 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
20741 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
20742 (__openat64): Add hidden_ver.
20743 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
20744 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
20745
60bfd54c
RM
20746 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
20747 Separately conditionalize setting of GLRO(dl_sysinfo) so
20748 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
20749 as well, but the actual setting is only under [NEED_DL_SYSINFO].
20750
83e7640f
AZ
207512013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20752
20753 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
20754 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
20755 definition.
20756 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
20757 * sysdeps/unix/sysv/linux/powerpc/init-first.c
20758 (_libc_vdso_platform_setup): Add __vdso_time initialization.
20759 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
20760 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
20761
d5dc2af3
JM
207622013-05-03 Joseph Myers <joseph@codesourcery.com>
20763
c31a5b1e
JM
20764 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
20765 test signgam value.
20766
d5dc2af3
JM
20767 * math/libm-test.inc (hypot_test): Do not use
20768 IGNORE_ZERO_INF_SIGN.
20769
164fd39d
AJ
207702013-05-03 Andreas Jaeger <aj@suse.de>
20771
20772 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
20773 Linux 3.9.
20774 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
20775 (PF_MAX): Adjust for VSOCK change.
20776
8237f48c
AZ
207772013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20778
20779 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20780
9df02941
CD
207812013-05-02 Carlos O'Donell <carlos@redhat.com>
20782
20783 [BZ #15264]
20784 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
20785 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
20786 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
20787
d422395e
DM
207882013-05-02 David S. Miller <davem@davemloft.net>
20789
20790 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20791
a07c5731
OB
207922013-05-01 Ondřej Bílka <neleai@seznam.cz>
20793
20794 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
20795
1324e37f
RM
207962013-05-01 Roland McGrath <roland@hack.frob.com>
20797
20798 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
20799
0695940b
RS
208002013-05-01 Richard Smith <richard@metafoo.co.uk>
20801
bb5f27ad 20802 [BZ #14952]
0695940b
RS
20803 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
20804 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20805 Use __attribute__ ((__gnu_inline__)).
20806 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20807 Don't use __attribute__ ((__gnu_inline__)).
20808
10de07f5
JM
208092013-05-01 Joseph Myers <joseph@codesourcery.com>
20810
20811 [BZ #15423]
20812 * math/s_catan.c (__catan): Handle small real or imaginary part of
20813 input specially to avoid spurious underflow.
20814 * math/s_catanf.c (__catanf): Likewise.
20815 * math/s_catanh.c (__catanh): Likewise.
20816 * math/s_catanhf.c (__catanhf): Likewise.
20817 * math/s_catanhl.c (__catanhl): Likewise.
20818 * math/s_catanl.c (__catanl): Likewise.
20819 * math/libm-test.inc (catan_test): Add more tests.
20820 (catanh_test): Likewise.
20821 * sysdeps/i386/fpu/libm-test-ulps: Update.
20822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20823
cb4d5414
AZ
208242013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20825
20826 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20827
caf84319
JM
208282013-04-30 Joseph Myers <joseph@codesourcery.com>
20829
20830 [BZ #15416]
20831 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
20832 accurately for denominator in atan2.
20833 * math/s_catanf.c (__catanf): Likewise.
20834 * math/s_catanh.c (__catanh): Likewise.
20835 * math/s_catanhf.c (__catanhf): Likewise.
20836 * math/s_catanhl.c (__catanhl): Likewise.
20837 * math/s_catanl.c (__catanl): Likewise.
20838 * math/libm-test.inc (catan_test): Add more tests.
20839 (catanh_test): Likewise.
20840 * sysdeps/i386/fpu/libm-test-ulps: Update.
20841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20842
d569c6ee
SP
208432013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20844
6dbe713d
SP
20845 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
20846
f0ee064b
SP
20847 * benchtests/Makefile (bench): Remove slow benchmarks.
20848 * benchtests/atan-inputs: Add slow benchmark inputs.
20849 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
20850 (BENCH_FUNC): Accept variant offset.
20851 (VARIANT): Define.
20852 * benchtests/bench-skeleton.c (main): Run benchmark for each
20853 variant.
20854 * benchtests/cos-inputs: Add slow benchmark inputs.
20855 * benchtests/exp-inputs: Likewise.
20856 * benchtests/pow-inputs: Likewise.
20857 * benchtests/sin-inputs: Likewise.
20858 * benchtests/slowatan-inputs: Remove.
20859 * benchtests/slowatan.c: Remove.
20860 * benchtests/slowcos-inputs: Remove.
20861 * benchtests/slowcos.c: Remove.
20862 * benchtests/slowexp-inputs: Remove.
20863 * benchtests/slowexp.c: Remove.
20864 * benchtests/slowpow-inputs: Remove.
20865 * benchtests/slowpow.c: Remove.
20866 * benchtests/slowsin-inputs: Remove.
20867 * benchtests/slowsin.c: Remove.
20868 * benchtests/slowtan-inputs: Remove.
20869 * benchtests/slowtan.c: Remove.
20870 * benchtests/tan-inputs: Add slow benchmark inputs.
20871 * scripts/bench.pl: Parse comments and directives.
20872
d569c6ee
SP
20873 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
20874 in CPPFLAGS.
20875 ($(objpfx)bench-%.c): Remove *-ITER.
20876 * benchtests/bench-modf.c: Remove definition of ITER.
20877 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
20878 (main): Loop for DURATION seconds instead of fixed number of
20879 iterations.
20880 * scripts/bench.pl: Don't expect iterations in parameters.
20881
a6a242fe
RM
208822013-04-29 Roland McGrath <roland@hack.frob.com>
20883
20884 * io/fchdir.c (__fchdir): Renamed from fchdir.
20885 (fchdir): Define as weak alias.
20886
f2da7793
JM
208872013-04-29 Joseph Myers <joseph@codesourcery.com>
20888
20889 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
20890 (ERRNO_EDOM): Likewise.
20891 (ERRNO_ERANGE): Likewise.
20892 (noErrnoTests): New variable.
20893 (init_max_error): Set errno to 0.
20894 (test_single_errno): New function.
20895 (test_errno): Likewise.
20896 (check_float_internal): Call test_errno. Set errno to 0.
20897 (check_complex): Refer to errno tests in comment.
20898 (check_int): Call test_errno. Set errno to 0.
20899 (check_long): Likewise.
20900 (check_bool): Likewise.
20901 (check_longlong): Likewise.
20902 (cos_test): Use ERRNO_* flags for errno tests instead of
20903 check_int.
20904 (expm1_test): Likewise.
20905 (fmod_test): Likewise.
20906 (ilogb_test): Likewise.
20907 (lgamma_test): Likewise.
20908 (pow_test): Likewise.
20909 (remainder_test): Likewise.
20910 (sin_test): Likewise.
20911 (tan_test): Likewise.
20912 (yn_test): Likewise.
20913 (initialize): Set errno to 0.
20914 (main): Print number of errno tests.
20915 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
20916
b1a36ceb
AJ
209172013-04-29 Andreas Jaeger <aj@suse.de>
20918
c3ed8088
AJ
20919 [BZ #15084]
20920 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
20921 and RES_USEVC.
20922
f1a24198
AJ
20923 [BZ #15085]
20924 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
20925 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
20926 unimplemented.
20927
9ce3b2cb
AJ
20928 [BZ #15380]
20929 * stdlib/random.c (__initstate): Return NULL if
20930 __initstate fails.
20931
f1a24198 20932 [BZ #15086]
b1a36ceb
AJ
20933 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
20934 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
20935 RES_SNGLKUPREOP.
20936
7e7b6f36
AZ
209372013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20938
20939 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20940
4d14f449
JM
209412013-04-29 Joseph Myers <joseph@codesourcery.com>
20942
20943 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
20944 of individual tests.
20945 (casin_test): Likewise.
20946 (casinh_test): Likewise.
20947
5b4217d7
JM
209482013-04-27 Joseph Myers <joseph@codesourcery.com>
20949
20950 [BZ #15409]
20951 * math/s_catan.c (__catan): Handle arguments with large real or
20952 imaginary part separately without squaring.
20953 * math/s_catanf.c (__catanf): Likewise.
20954 * math/s_catanh.c (__catanh): Likewise.
20955 * math/s_catanhf.c (__catanhf): Likewise.
20956 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20957 and redefine.
20958 (__catanhl): Handle arguments with large real or imaginary part
20959 separately without squaring.
20960 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20961 and redefine.
20962 (__catanl): Handle arguments with large real or imaginary part
20963 separately without squaring.
20964 * math/libm-test.inc (catan_test): Add more tests.
20965 (catanh_test): Likewise.
20966 * sysdeps/i386/fpu/libm-test-ulps: Update.
20967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20968
4220c3ef
AJ
209692013-04-27 Andreas Jaeger <aj@suse.de>
20970
20971 [BZ #15007]
20972 * stdlib/stdlib.h: Update guards for qecvt.
20973 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
20974 <stdlib.h>.
20975
4721b2d1
AM
209762013-04-27 Allan McRae <allan@archlinux.org>
20977
20978 * sysdeps/i386/fpu/libm-test-ulps: Update.
20979
f0302940
JM
209802013-04-26 Joseph Myers <joseph@codesourcery.com>
20981
9457fd95
JM
20982 [BZ #15406]
20983 * math/s_catan.c: Include <float.h>.
20984 (__catan): Ensure underflow exception occurs for underflowed
20985 result.
20986 * math/s_catanf.c: Include <float.h>.
20987 (__catanf): Ensure underflow exception occurs for underflowed
20988 result.
20989 * math/s_catanh.c: Include <float.h>.
20990 (__catanh): Ensure underflow exception occurs for underflowed
20991 result.
20992 * math/s_catanhf.c: Include <float.h>.
20993 (__catanhf): Ensure underflow exception occurs for underflowed
20994 result.
20995 * math/s_catanhl.c: Include <float.h>.
20996 (__catanhl): Ensure underflow exception occurs for underflowed
20997 result.
20998 * math/s_catanl.c: Include <float.h>.
20999 (__catanl): Ensure underflow exception occurs for underflowed
21000 result.
21001 * math/libm-test.inc (catan_test): Add more tests.
21002 (catanh_test): Likewise.
21003
f0302940
JM
21004 [BZ #15405]
21005 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
21006 underflowed result.
21007 * math/s_ccoshf.c (__ccoshf): Likewise.
21008 * math/s_ccoshl.c (__ccoshl): Likewise.
21009 * math/s_csin.c (__csin): Likewise.
21010 * math/s_csinf.c (__csinf): Likewise.
21011 * math/s_csinh.c (__csinh): Likewise.
21012 * math/s_csinhf.c (__csinhf): Likewise.
21013 * math/s_csinhl.c (__csinhl): Likewise.
21014 * math/s_csinl.c (__csinl): Likewise.
21015 * math/libm-test.inc (ccos_test): Add more tests.
21016 (ccosh_test): Likewise.
21017 (csin_test): Likewise.
21018 (csinh_test): Likewise.
21019
aa630f59
AZ
210202013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21021
21022 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
21023 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
21024 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
21025 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
21026 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
21027 powerpc/power5+/fpu folders.
21028 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
21029
21030
1b835983
MT
210312013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
21032
21033 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21034
73709b26
JM
210352013-04-25 Joseph Myers <joseph@codesourcery.com>
21036
21037 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
21038 additions to variable.
21039 [$(config-machine) = x86_64] (modules-names): Likewise.
21040 ($(objpfx)tst-audit3): Remove dependency.
21041 ($(objpfx)tst-audit3.out): Likewise.
21042 ($(objpfx)tst-audit4): Likewise.
21043 ($(objpfx)tst-audit4.out): Likewise.
21044 ($(objpfx)tst-audit5): Likewise.
21045 ($(objpfx)tst-audit5.out): Likewise.
21046 ($(objpfx)tst-audit6): Likewise.
21047 ($(objpfx)tst-audit6.out): Likewise.
21048 ($(objpfx)tst-audit7): Likewise.
21049 ($(objpfx)tst-audit7.out): Likewise.
21050 (tst-audit3-ENV): Remove variable.
21051 (tst-audit4-ENV): Likewise.
21052 (tst-audit5-ENV): Likewise.
21053 (tst-audit6-ENV): Likewise.
21054 (tst-audit7-ENV): Likewise.
21055 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
21056 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
21057 addition to variable.
21058 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
21059 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
21060 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
21061 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
21062 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
21063 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
21064 tst-audit3, tst-audit4 and tst-audit5.
21065 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
21066 tst-audit6 and tst-audit7.
21067 [$(subdir) = elf] (modules-names): Add audit modules for those
21068 tests.
21069 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
21070 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
21071 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
21072 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
21073 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
21074 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
21075 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
21076 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
21077 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
21078 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
21079 [$(subdir) = elf] (tst-audit3-ENV): New variable.
21080 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
21081 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
21082 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
21083 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
21084 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
21085 Likewise.
21086 [$(subdir) = elf && $(config-cflags-avx) = yes]
21087 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
21088 [$(subdir) = elf && $(config-cflags-avx) = yes]
21089 (CFLAGS-tst-auditmod4a.c): Likewise.
21090 [$(subdir) = elf && $(config-cflags-avx) = yes]
21091 (CFLAGS-tst-auditmod4b.c): Likewise.
21092 [$(subdir) = elf && $(config-cflags-avx) = yes]
21093 (CFLAGS-tst-auditmod6b.c): Likewise.
21094 [$(subdir) = elf && $(config-cflags-avx) = yes]
21095 (CFLAGS-tst-auditmod6c.c): Likewise.
21096 [$(subdir) = elf && $(config-cflags-avx) = yes]
21097 (CFLAGS-tst-auditmod7b.c): Likewise.
21098 * elf/tst-audit3.c: Move to ...
21099 * sysdeps/x86_64/tst-audit3.c: ... here.
21100 * elf/tst-audit4.c: Move to ...
21101 * sysdeps/x86_64/tst-audit4.c: ... here.
21102 * elf/tst-audit5.c: Move to ...
21103 * sysdeps/x86_64/tst-audit5.c: ... here.
21104 * elf/tst-audit6.c: Move to ...
21105 * sysdeps/x86_64/tst-audit6.c: ... here.
21106 * elf/tst-audit7.c: Move to ...
21107 * sysdeps/x86_64/tst-audit7.c: ... here.
21108 * elf/tst-auditmod3a.c: Move to ...
21109 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
21110 * elf/tst-auditmod3b.c: Move to ...
21111 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
21112 * elf/tst-auditmod4a.c: Move to ...
21113 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
21114 * elf/tst-auditmod4b.c: Move to ...
21115 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
21116 * elf/tst-auditmod5a.c: Move to ...
21117 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
21118 * elf/tst-auditmod5b.c: Move to ...
21119 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
21120 * elf/tst-auditmod6a.c: Move to ...
21121 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
21122 * elf/tst-auditmod6b.c: Move to ...
21123 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
21124 * elf/tst-auditmod6c.c: Move to ...
21125 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
21126 * elf/tst-auditmod7a.c: Move to ...
21127 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
21128 * elf/tst-auditmod7b.c: Move to ...
21129 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
21130
1ef74943
PP
211312013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
21132
21133 [BZ #15366]
21134 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
21135 define unconditionally.
21136 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
21137 define unconditionally.
21138 (INT8_C, INT16_C, etc.): Likewise.
21139
93fd48c5
MR
211402013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
21141
ae9552cf
MR
21142 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
21143 __ehdr_start with hidden visibility.
21144
93fd48c5
MR
21145 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
21146
418601aa
CD
211472013-04-24 Carlos O'Donell <carlos@redhat.com>
21148
21149 * math/libm-test.inc (cos_test): Use accurate hex constants.
21150 (sincost_test): Likewise.
21151
2f38fbfe
JM
211522013-04-24 Joseph Myers <joseph@codesourcery.com>
21153
5e221800
JM
21154 * math/libm-test.inc (catan_test): Add more tests.
21155 (catanh_test): Likewise.
21156
77f143fd
JM
21157 * math/s_catanf.c (__catanf): Use suffixed floating-point
21158 constants.
21159 * math/s_catanhf.c (__catanhf): Likewise.
21160 * math/s_catanhl.c (__catanhl): Likewise.
21161 * math/s_catanl.c (__catanl): Likewise.
21162
2f38fbfe
JM
21163 [BZ #15394]
21164 * math/s_catan.c (__catan): Calculate imaginary part of result
21165 with log1p not log unless computing log of number close to 0.
21166 * math/s_catanf.c (__catanf): Likewise.
21167 * math/s_catanl.c (__catanl): Likewise.
21168 * math/s_catanh.c (__catanh): Calculate real part of result with
21169 log1p not log unless computing log of number close to 0.
21170 * math/s_catanhf.c (__catanhf): Likewise.
21171 * math/s_catanhl.c (__catanhl): Likewise.
21172 * math/libm-test.inc (catan_test): Add more tests.
21173 (catanh_test): Likewise.
21174 * sysdeps/i386/fpu/libm-test-ulps: Update.
21175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21176
45d69176
SP
211772013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21178
21179 * benchtests/Makefile: Mention files in which fast and slow
21180 paths of math functions are implemented.
21181
87f51853
RM
211822013-04-23 Roland McGrath <roland@hack.frob.com>
21183
21184 * sysdeps/posix/timespec_get.c: New file.
21185
3c026539
AZ
211862013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21187
21188 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
21189 POWER.
21190 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
21191 for POWER.
21192 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
21193 powerpc/power5/fpu folders.
21194 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
21195 * benchtests/Makefile: Add modf testcase.
21196 * benchtests/bench-modf.c: New file: Benchmark test for mo
21197
ff491d14
SP
211982013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
21199
21200 [BZ #14888]
21201 * time/Makefile (tests): Add tst-strptime-whitespace.
21202 * time/strptime_l.c (get_number): Use ISSPACE.
21203 (__strptime_internal): Likewise.
21204 * time/tst-strptime-whitespace.c: New test case.
21205
7ed3f4e8
AS
212062013-04-23 Andreas Schwab <schwab@linux-m68k.org>
21207
21208 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
21209 member.
21210 (_nss_files_init): Set it here.
21211
5c95f7b6
HC
212122013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
21213
21214 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
21215 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
21216 unsigned.
21217
d34c9158
JBG
212182013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
21219
21220 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
21221
2169712d
SP
212222013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21223
21224 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
21225 size just once.
21226
29c5de99
DM
212272013-04-21 David S. Miller <davem@davemloft.net>
21228
21229 * po/ru.po: Update Russion translation from translation project.
21230
ccdad15d
AC
212312013-04-17 Adam Conrad <adconrad@0c3.net>
21232
21233 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
21234 and setfsgid.
21235
0f122b8d
CD
212362013-04-17 Carlos O'Donell <carlos@redhat.com>
21237
5c5b07da 21238 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 21239 * configure: Regenerate.
5c5b07da 21240 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
21241 Add example to error message.
21242 * sysdeps/i386/configure: Regenerate.
21243
037714dd
SP
212442013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21245
21246 * benchtests/Makefile (bench): Add cos, tan, slowcos and
21247 slowtan.
21248 * benchtests/cos-inputs: New file.
21249 * benchtests/slowcos-inputs: New file.
21250 * benchtests/slowcos.c: New file.
21251 * benchtests/slowtan-inputs: New file.
21252 * benchtests/slowtan.c: New file.
21253 * benchtests/tan-inputs: New file.
21254
e913141d
RM
212552013-04-16 Roland McGrath <roland@hack.frob.com>
21256
21257 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
21258 considered kosher.
21259
a2964074
SP
212602013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21261
4856bcd2
SP
21262 * benchtests/Makefile: Include cppflags-iterator.mk to add
21263 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
21264
a2964074
SP
21265 * Makefile.in (bench-clean): New target.
21266 * benchtests/Makefile (bench-clean): Likewise.
21267
9fbf9aca
DH
212682013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
21269
21270 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
21271
207d1e2a
TS
212722013-04-15 Thomas Schwinge <thomas@codesourcery.com>
21273
21274 * stdio-common/tstdiomisc.c: Fix coding-style violation.
21275
306dfba9
AS
212762013-04-15 Andreas Schwab <schwab@suse.de>
21277
21278 * nscd/grpcache.c (cache_addgr): Properly check for short write.
21279 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21280 * nscd/pwdcache.c (cache_addpw): Likewise.
21281 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
21282 more than recsize.
21283
206a6699
SP
212842013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21285
21286 * benchtests/Makefile (bench): Write all output to
21287 bench-out.tmp together.
21288
0582f6b3
AS
212892013-04-15 Andreas Schwab <schwab@suse.de>
21290
21291 * nscd/nscd.c (main): Don't fork again after closing files.
21292
acb4325f
SP
212932013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21294
5cb26d0a
SP
21295 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
21296
acb4325f
SP
21297 * benchtests/Rules (bench-deps): Collect dependencies into a
21298 single variable. Add Makefile to dependencies.
21299 ($(objpfx)bench-%.c): Depend on bench-deps.
21300
47792506
RM
213012013-04-12 Roland McGrath <roland@hack.frob.com>
21302 Xavier Roche <roche+kml2@exalead.com>
21303
21304 [BZ #15361]
21305 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
21306 just that it's a file descriptor.
21307 * manual/llio.texi (Synchronizing AIO Operations): Update description
21308 for EBADF error from aio_fsync.
21309
8fc1bee5
SP
213102013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21311
21312 * Rules (bench): Move target definition...
21313 * benchtests/Makefile: ... here.
21314
aba5e333
CD
213152013-04-11 Carlos O'Donell <carlos@redhat.com>
21316
21317 * math/libm-test.inc (cos_test): Fix PI/2 test.
21318 (sincos_test): Likewise.
21319 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21320 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
21321
273cdee8
AS
213222013-04-11 Andreas Schwab <schwab@suse.de>
21323
6ecec3b6
AS
21324 [BZ #13988]
21325 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
21326 accept exponent character only when digits were seen.
21327 * stdio-common/Makefile (tests): Add bug26.
21328 * stdio-common/bug26.c: New file.
21329
273cdee8
AS
21330 [BZ #14293]
21331 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
21332 non-freeable.
21333
8da491f5
SP
213342013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21335
01dc6df9
SP
21336 * Makeconfig (rtld-prefix): Define built linker prefix.
21337 * Rules (run-bench): Use it.
21338 * math/Makefile (run-regen-ulps): Likewise.
21339
8da491f5
SP
21340 * Rules (bench): Remove eval.
21341
abe7f530
SP
213422013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21343 Roland McGrath <roland@hack.frob.com>
21344 Ondrej Bilka <neleai@seznam.cz>
21345
21346 [BZ #15346]
21347 * time/getdate.c: Include ctype.h and alloca.h.
21348 (__getdate_r): Trim leading and trailing spaces of input.
21349 * time/tst-getdate.c (tests): Add tests with leading and
21350 trailing spaces.
21351
61c23e62
RM
213522013-04-08 Roland McGrath <roland@hack.frob.com>
21353
21354 [BZ #14280]
21355 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
21356 when computing value.
21357
7208a313
CD
213582013-04-06 Carlos O'Donell <carlos@redhat.com>
21359
085b2d41
CD
21360 * math/README.libm-test (How can I generate "libm-test-ulps"?):
21361 Use testrun.sh to run libm tests.
21362
7208a313
CD
21363 [BZ #15309]
21364 * elf/dl-open.c (dl_open_worker): memset all of seen array.
21365
872c0acd
MM
213662013-04-06 Marko Myllynen <myllynen@redhat.com>
21367
21368 [BZ #15264]
21369 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
21370
26510bdd
CD
213712013-04-06 Carlos O'Donell <carlos@redhat.com>
21372
21373 * Makefile.in (regen-ulps): New target.
21374 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
21375 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
21376 [ifneq (no,$(PERL)] (regen-ulps): New target.
21377 [ifeq (no,$(PERL)] (regen-ulps): New target.
21378 * math/libm-test.inc (ulps_file_name): Define.
21379 (output_dir): New variable.
21380 (options): Add "output-dir" option.
21381 (parse_opt): Handle 'o' case.
21382 (main): If output_dir is non-NULL use it as a prefix
21383 otherwise use "".
21384 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
21385
a01f19c8
CD
213862013-04-06 Carlos O'Donell <carlos@redhat.com>
21387
21388 [BZ #10060, #10062]
21389 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
21390 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
21391 fail configure if __sync_val_compare_and_swap is not inlined.
21392 * sysdeps/i386/configure: Regenerate.
21393 * configure.in: Build for i686 when configured for i386.
21394 * configure: Regenerate.
21395 * README: Remove i386 reference.
21396
b7a329a5
CD
213972013-04-06 Carlos O'Donell <carlos@redhat.com>
21398
21399 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
21400 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21401
bf0f50df
TS
214022013-04-05 Thomas Schwinge <thomas@codesourcery.com>
21403
ee091edf
TS
21404 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
21405 (lmsnanval): New variables.
21406 (F): Add conversion tests.
21407 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
21408 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
21409
a8b792d6
TS
21410 * stdio-common/tstdiomisc.c (F): Properly collect individual
21411 tests' results.
21412
a1cbf437
TS
21413 [BZ #14686, #15336]
21414 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
21415 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
21416 Instead, use input NaN values or generate a qNaN by arithmetic
21417 operation. Also fix bugs to comply with the standard.
21418 * math/libm-test.inc (remainder_test): Add more tests.
21419
8b43a0c9
TS
21420 [BZ #15335, #15342]
21421 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
21422 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
21423 input NaN values or generate a qNaN by arithmetic operation.
21424
d91da4ce
TS
21425 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
21426 unreachable code.
21427
bf0f50df
TS
21428 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
21429 definitions.
21430
05e166c8
JM
214312013-04-03 Joseph Myers <joseph@codesourcery.com>
21432
21433 [BZ #14478]
21434 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
21435 underflowed result.
21436 * math/s_cexpf.c (__cexpf): Likewise.
21437 * math/s_cexpl.c (__cexpl): Likewise.
21438 * math/libm-test.inc (cexp_test): Add more tests.
21439
1cef1b19
AS
214402013-04-03 Andreas Schwab <schwab@suse.de>
21441
21442 [BZ #15330]
21443 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
21444 order arrays from heap if bigger than alloca cutoff.
21445
74d87055
TS
214462013-04-03 Thomas Schwinge <thomas@codesourcery.com>
21447
21448 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
21449 (SNAN_TESTS_double): Refer to GCC PR56831.
21450 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
21451 GCC PR56828.
21452
d755bba4
SP
214532013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21454
90d5d5bb
SP
21455 * Rules (bench): Move bench.out after the run is complete.
21456
73e0cd5d
SP
21457 * Rules (bench): Echo currently running benchmark.
21458
64aabd4b
SP
21459 * benchtests/Makefile (bench): Add atan and slowatan.
21460 * benchtests/atan-inputs: New file.
21461 * benchtests/slowatan-inputs: New file.
21462 * benchtests/slowatan.c: New file.
21463
c871eccd
SP
21464 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
21465 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
21466 its value.
21467
d755bba4
SP
21468 [BZ #15305]
21469 * sysdeps/unix/sysv/linux/kernel-features.h
21470 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
21471 __ASSUME_XFS_RESTRICTED_CHOWN.
21472 * sysdeps/unix/sysv/linux/pathconf.c
21473 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
21474 Save and restore errno.
21475
52ce4860
JM
214762013-04-02 Joseph Myers <joseph@codesourcery.com>
21477
21478 [BZ #15327]
21479 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
21480 arguments using __kernel_casinh.
21481 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
21482 arguments using __kernel_casinhf.
21483 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
21484 arguments using __kernel_casinhl.
21485 * math/libm-test.inc (cacosh_test): Add more tests.
21486 * sysdeps/i386/fpu/libm-test-ulps: Update.
21487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21488
81f311c2
SP
214892013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21490
e7906a47
SP
21491 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
21492 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
21493
92e3664b
SP
21494 * bench/Makefile (bench): Add sin and slowsin.
21495 * benchtests/sin-inputs: New file.
21496 * benchtests/slowsin-inputs: New file.
21497 * benchtests/slowsin.c: New file.
21498
81f311c2
SP
21499 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
21500 (bench): Add slowexp and slowpow.
21501 (exp-ITER): Increase iterations.
21502 (pow-ITER): Likewise.
21503 * benchtests/exp-inputs: Change input.
21504 * benchtests/pow-inputs: Likewise.
21505 * benchtests/slowexp-inputs: New file.
21506 * benchtests/slowexp.c: New file.
21507 * benchtests/slowpow-inputs: New file.
21508 * benchtests/slowpow.c: New file.
21509
ab0f1aa9
AZ
215102013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21511
21512 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
21513 instructions.
21514 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21515 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
21516 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21517 * benchtests/Makefile: Add rint benchtest.
21518 * benchtests/rint-inputs: Input for rint benchtest.
21519
57267616
TS
215202013-04-02 Thomas Schwinge <thomas@codesourcery.com>
21521
21522 * Versions.def (libm): Add GLIBC_2.18.
21523 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
21524 hidden libm prototypes.
21525 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
21526 * math/Makefile (libm-calls): Add s_issignaling.
21527 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
21528 __issignalingf, __issignalingl. Adjust all libm.abilist files.
21529 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
21530 declaration.
21531 * math/math.h [__USE_GNU] (issignaling): New macro.
21532 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
21533 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
21534 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
21535 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
21536 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
21537 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
21538 * manual/arith.texi (issignaling): New section.
21539 * manual/libm-err-tab.pl (@all_functions): Update comment.
21540 * math/gen-libm-test.pl (parse_args): Apply special handling for
21541 issignaling.
21542 * math/libm-test.inc (print_float, issignaling_test): New
21543 functions.
21544 (check_float_internal): Add issignaling checks.
21545 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
21546 default definition.
21547 * sysdeps/powerpc/math-tests.h: New file.
21548 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
21549 tests.
21550 * math/test-snan.c (TEST_FUNC): Likewise.
21551
6142896d
DM
215522013-03-30 David S. Miller <davem@davemloft.net>
21553
21554 * po/de.po: Update from translation team.
21555
ccc8cadf
JM
215562013-03-30 Joseph Myers <joseph@codesourcery.com>
21557
21558 [BZ #10357]
21559 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21560 imaginary part less than 1.0 and real part less than 0.5
21561 specially.
21562 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21563 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21564 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
21565 (cacos_test): Add more tests.
21566 (casin_test): Likewise.
21567 (casinh_test): Likewise.
21568 * sysdeps/i386/fpu/libm-test-ulps: Update.
21569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21570
0f6a8d4b
SP
215712013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21572
0d1029de
SP
21573 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
21574 ONE with its value.
21575
c2d94018
SP
21576 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
21577 (__pow_mp): Replace ONE and MONE with their values.
21578 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21579 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
21580 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21581 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
21582 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21583 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21584
27ec37f1
SP
21585 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
21586
a64d7e0e
SP
21587 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
21588 (__pow_mp): Replace ZERO and MZERO with their values.
21589 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21590 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21591 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21592 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21593 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21594 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
21595 (__sqr): Likewise.
21596
d26dd3eb
SP
21597 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
21598
0f6a8d4b
SP
21599 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
21600
e57b0c61
RM
216012013-03-28 Roland McGrath <roland@hack.frob.com>
21602
21603 * include/stdlib.h [!SHARED] (__call_tls_dtors):
21604 Declare with __attribute__ ((weak)).
21605 * stdlib/exit.c (__libc_atexit) [!SHARED]:
21606 Call __call_tls_dtors only if it's not NULL.
21607
356b3480
RM
216082013-03-28 Roland McGrath <roland@hack.frob.com>
21609
288f7d79
RM
21610 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
21611 didn't do it already, then set _dl_phdr and _dl_phnum based on the
21612 magic __ehdr_start linker symbol if it's defined.
21613 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
21614 them up here if it was already done.
21615
dc0a0263
RM
21616 * elf/dl-support.c (_dl_phdr): Make pointer to const.
21617 (_dl_aux_init): Use const in cast when setting it.
21618 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
21619 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
21620 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
21621
3d3436ae
RM
21622 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
21623 Declare them here.
21624 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
21625 * csu/libc-tls.c: Nor here.
21626 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
21627
356b3480
RM
21628 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
21629 (__libc_message): Never call vsyslog.
21630
b0f1246a
AM
216312013-03-28 Alan Modra <amodra@gmail.com>
21632
21633 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
21634 Define as empty.
21635 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
21636 Likewise.
21637
fbbe2b9a
AZ
216382013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21639
21640 [BZ #15214]
21641 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
21642 underflow.
21643 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21644
1728ab37
SP
216452013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21646
7a86be6e
SP
21647 [BZ #15304]
21648 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21649 Don't add gid passed as argument.
21650
1728ab37
SP
21651 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
21652
3a7182a1
JM
216532013-03-27 Joseph Myers <joseph@codesourcery.com>
21654
21655 [BZ #15307]
21656 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21657 imaginary part between 1.0 and 1.5 and real part less than 0.5
21658 specially.
21659 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21660 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21661 * math/libm-test.inc (cacos_test): Add more tests.
21662 (casin_test): Likewise.
21663 (casinh_test): Likewise.
21664 * sysdeps/i386/fpu/libm-test-ulps: Update.
21665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21666
6f2e90e7
SP
216672013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21668
5739f705
SP
21669 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
21670 constants.
21671 (norm): Likewise.
21672 (denorm): Likewise.
21673 (__dbl_mp): Likewise.
21674 (add_magnitudes): Likewise.
21675 (sub_magnitudes): Likewise.
21676 (__add): Likewise.
21677 (__sub): Likewise.
21678 (__mul): Likewise.
21679 (__sqr): Likewise.
21680 (__inv): Likewise.
21681 (__dvd): Likewise.
21682
e375e83d
SP
21683 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
21684 commented code.
21685 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
21686 (__dubcos): Likewise.
21687 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
21688 (__ieee754_acos): Likewise.
21689 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21690 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
21691 (__exp1): Likewise.
21692 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21693 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21694 (log1): Likewise.
21695 (my_log2): Likewise.
21696 (checkint): Likewise.
21697 * sysdeps/ieee754/dbl-64/e_remainder.c
21698 (__ieee754_remainder): Likewise.
21699 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21700 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
21701 (bsloww): Likewise.
21702 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21703
6f2e90e7
SP
21704 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21705 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
21706 MANTISSA_STORE_T to store computations on mantissa. Use
21707 macros for rounding and division.
21708 (denorm): Likewise.
21709 (__dbl_mp): Likewise.
21710 (add_magnitudes): Likewise.
21711 (sub_magnitudes): Likewise.
21712 (__mul): Likewise.
21713 (__sqr): Likewise.
21714 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
21715 powers of two in terms of TWOPOW macro.
21716 (mp_no): Make type of mantissa as MANTISSA_T.
21717 [!RADIXI]: Define RADIXI.
21718 [!TWO52]: Define TWO52.
21719 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21720
fce14d4e
AZ
217212013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21722
21723 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
21724 llroundl symbol when building for PPC32.
21725
9ad027fb
MW
217262013-03-24 Mark H Weaver <mhw@netris.org>
21727
21728 * manual/arith.texi (Normalization Functions): Fix prototypes for
21729 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
21730
e42a38dd
AZ
217312013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21732
21733 [BZ #13889]
21734 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
21735 high value to check if expl overflow.
21736 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
21737 to check for underflow and overflow.
21738 * math/libm-test.inc: Add exp test.
21739
2e0fb521
DL
217402013-03-21 Dmitry V. Levin <ldv@altlinux.org>
21741
21742 [BZ #11120]
21743 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
21744 with NOT_IN_libc.
21745
b5784d95
AZ
217462013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21747
21748 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
21749 symbol.
21750
5aa4a1a1
TS
217512013-03-21 Thomas Schwinge <thomas@codesourcery.com>
21752
bdef0be7
TS
21753 * math/gen-libm-test.pl (parse_args, special_functions): Properly
21754 wrap blocks consisting of several statements.
21755
5aa4a1a1
TS
21756 * sysdeps/generic/math-tests.h: New file.
21757 * sysdeps/i386/fpu/math-tests.h: Likewise.
21758 * math/test-snan.c: Include it.
21759 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
21760
98c48fe5
JM
217612013-03-21 Joseph Myers <joseph@codesourcery.com>
21762
21763 [BZ #15285]
21764 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
21765 (__ieee754_j0l): Do not improve calculations using cos of twice
21766 input for inputs above LDBL_MAX / 2.0L.
21767 (__ieee754_y0l): Likewise.
21768 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
21769 (__ieee754_j1l): Do not improve calculations using cos of twice
21770 input for inputs above LDBL_MAX / 2.0L.
21771 (__ieee754_y1l): Likewise.
21772 * math/libm-test.inc (j0_test): Add another test.
21773 (j1_test): Likewise.
21774 (y0_test): Likewise.
21775 (y1_test): Likewise.
21776 * sysdeps/i386/fpu/libm-test-ulps: Update.
21777
3775a8bc
SP
217782013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21779
21780 * Rules ($(objpfx)bench-%.c): Include code from a C source
21781 file.
21782
0a1b2ae6
JM
217832013-03-21 Joseph Myers <joseph@codesourcery.com>
21784
21785 [BZ #15287]
21786 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21787 imaginary part 1.0 and real part less than 0.5 specially.
21788 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21789 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21790 * math/libm-test.inc (cacos_test): Add more tests.
21791 (casin_test): Likewise.
21792 (casinh_test): Likewise.
21793 * sysdeps/i386/fpu/libm-test-ulps: Update.
21794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21795
b33d4ce4
SP
217962013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21797
21798 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
21799 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
21800
bef0b507
JM
218012013-03-20 Joseph Myers <joseph@codesourcery.com>
21802
21803 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
21804 * config.make.in (config-cflags-sse4): Remove variable.
21805 (config-cflags-avx): Likewise.
21806 (config-cflags-sse2avx): Likewise.
21807 (config-cflags-novzeroupper): Likewise.
21808 (config-asflags-i686): Likewise.
21809 (have-mfma4): Likewise.
21810 (have-as-vis3): Likewise.
21811 (MIG): Likewise.
21812 * configure.in (MIG): Do not AC_SUBST.
21813 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
21814 (libc_cv_cc_sse4): Do not AC_SUBST.
21815 (libc_cv_cc_avx): Likewise.
21816 (libc_cv_cc_sse2avx): Likewise.
21817 (libc_cv_cc_novzeroupper): Likewise.
21818 (libc_cv_cc_fma4): Likewise.
21819 (libc_cv_as_i686): Likewise.
21820 (libc_cv_sparc_as_vis3): Likewise.
21821 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
21822 LIBC_CONFIG_VAR.
21823 (config-asflags-i686): Likewise.
21824 (config-cflags-avx): Likewise.
21825 (config-cflags-sse2avx): Likewise.
21826 (have-mfma4): Likewise.
21827 (config-cflags-novzeroupper): Likewise.
21828 * sysdeps/mach/configure.in (MIG): Likewise.
21829 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
21830 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
21831 LIBC_CONFIG_VAR.
21832 (config-cflags-avx): Likewise.
21833 (config-cflags-sse2avx): Likewise.
21834 (have-mfma4): Likewise.
21835 (config-cflags-novzeroupper): Likewise.
21836 * configure: Regenerated.
21837 * sysdeps/i386/configure: Likewise.
21838 * sysdeps/mach/configure: Likewise.
21839 * sysdeps/sparc/configure: Likewise.
21840 * sysdeps/x86_64/configure: Likewise.
21841
912cc4b3
RM
218422013-03-20 Roland McGrath <roland@hack.frob.com>
21843
21844 [BZ #14812]
21845 * locale/programs/localedef.c (options): Put N_ translation marker
21846 on argument names, not just descriptions.
21847
04eed2b0
MS
218482013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21849
21850 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
21851
a065ceff
OB
218522013-03-20 Ondřej Bílka <neleai@seznam.cz>
21853
9bb2a810 21854 [BZ #14176]
a065ceff
OB
21855 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
21856
a600e5ce
RM
218572013-03-19 Roland McGrath <roland@hack.frob.com>
21858
21859 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
21860 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
21861 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
21862 [!BEFORE_ABORT] (before_abort): New function.
21863 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
21864 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
21865 (writev_for_fatal): New function.
21866 (WRITEV_FOR_FATAL): New macro; call that.
21867 (backtrace_and_maps): New function.
21868 (BEFORE_ABORT): New macro; call that.
21869 (struct str_list): Type removed.
21870 (__libc_message, __libc_fatal): Functions removed.
21871 Include <sysdeps/posix/libc_fatal.c> instead.
21872
6b18bea6
JM
218732013-03-19 Joseph Myers <joseph@codesourcery.com>
21874
21875 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
21876 constants.
21877 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
21878 double constants.
21879
aaa8cb4b
AS
218802013-03-19 Andreas Schwab <schwab@suse.de>
21881
44673770
AS
21882 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
21883 * sysdeps/gnu/configure: Regenerate.
21884
aaa8cb4b
AS
21885 * configure.in: Substitute libc_cv_rtlddir.
21886 * configure: Regenerate.
21887 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
21888 * Makeconfig (rtlddir, inst_rtlddir): New variables.
21889 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
21890 * elf/Makefile (install-others, CFLAGS-interp.c)
21891 (ldso_install, common-ldd-rewrite): Likewise.
21892 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
21893 $(inst_slibdir)/$(rtld-installed-name).
21894 * scripts/rellns-sh: Add -p option.
21895 * Makerules (make-shlib-link): Use rellns-sh to get relative name
21896 for source.
21897
d3cfc668
SP
218982013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21899
21900 * manual/nptl.texi: Renamed to ...
21901 * manual/threads.texi: ... this.
21902 * manual/Makefile (chapters): Update.
21903
0e2b9cdd
RM
219042013-03-18 Roland McGrath <roland@hack.frob.com>
21905
21906 [BZ #14812]
21907 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
21908 on argument names, not just descriptions.
0e2b9cdd
RM
21909 * malloc/memusagestat.c (options): Likewise.
21910 * nss/getent.c (options): Likewise.
63270c24
RM
21911
219122013-03-18 Benno Schulenberg <bensberg@justemail.net>
21913
21914 [BZ #14812]
21915 * iconv/iconv_prog.c (options): Put N_ translation marker
21916 on argument names, not just descriptions.
21917 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 21918
b2e1393c
OB
219192013-03-18 Ondrej Bilka <neleai@seznam.cz>
21920
21921 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
21922 implementation which is faster on all x86_64 architectures.
21923 Tested on AMD, Intel Nehalem, SNB, IVB.
21924 * sysdeps/x86_64/strnlen.S: Likewise.
21925
21926 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21927 Remove all multiarch strlen and strnlen versions.
21928 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21929 Remove strlen and strnlen related parts.
21930
21931 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
21932 Inline strlen part.
21933 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
21934
21935 * sysdeps/x86_64/multiarch/strlen.S: Remove.
21936 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
21937 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
21938 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
21939 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21940 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
21941
ec4ff04d
CD
219422013-03-17 Carlos O'Donell <carlos@redhat.com>
21943
21944 * manual/memory.texi (Malloc Tunable Parameters):
21945 Sort parameters alphabetically. Add comments for missing entries.
21946
cd18e90a
DM
219472013-03-17 David S. Miller <davem@davemloft.net>
21948
21949 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21950
2a185d32
JM
219512013-03-16 Joseph Myers <joseph@codesourcery.com>
21952
d2f9799e
JM
21953 [BZ #15283]
21954 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
21955 for arguments at most half maximum finite value.
21956 * math/libm-test.inc (j0_test): Add more tests.
21957 (j1_test): Likewise.
21958 (y0_test): Likewise.
21959 (y1_test): Likewise.
21960 * sysdeps/i386/fpu/libm-test-ulps: Update.
21961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21962
2a185d32
JM
21963 [BZ #14155]
21964 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
21965 1 / x and functions P and Q for arguments above 0x1p256L.
21966 (__ieee754_y0l): Likewise.
21967 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
21968 (__ieee754_y1l): Likewise.
21969 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
21970 (j1_test): Likewise.
21971 (y0_test): Likewise.
21972 (y1_test): Likewise.
21973
6cbec759
TS
219742013-03-16 Thomas Schwinge <thomas@codesourcery.com>
21975
21976 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
21977 variable.
21978
bc16e260
RM
219792013-03-15 Roland McGrath <roland@hack.frob.com>
21980
aefc9b8c
RM
21981 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
21982 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
21983 zero since it's initialized to EXEC_PAGESIZE.
21984
bc16e260
RM
21985 * sysdeps/unix/sysv/linux/ldsodefs.h
21986 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
21987 * sysdeps/generic/ldsodefs.h: ... here.
21988
a57da955
TS
219892013-03-15 Thomas Schwinge <thomas@codesourcery.com>
21990
af00a34d
TS
21991 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
21992
495ded2c
TS
21993 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
21994 math/test-snan.c.
21995 * math/test-snan.c: Renamed from
21996 sysdeps/powerpc/fpu/test-powerpc-snan.c.
21997 * math/Makefile (tests): Add test-snan.
21998 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
21999 test-powerpc-snan.
22000
777b0332
TS
22001 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
22002 SUFFIX. Initialize qNaN_var with __builtin_nan family of
22003 functions.
22004 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
22005 __builtin_nan family of functions.
22006 * math/libm-test.inc (initialize): Initialize qnan_value with
22007 __builtin_nan family of functions.
22008 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
22009 Remove variables.
22010 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
22011 Remove functions.
22012 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
22013 storage class. Initialize qNaN_var and sNaN_var with
22014 __builtin_nan and __builtin_nans families of functions,
22015 respectively.
22016
64d063b8
TS
22017 * math/libm-test.inc (acosh_test): Also test with qNaN input.
22018 (sqrt_test): Remove duplicate test with qNaN input.
22019 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
22020 (round_test, signbit_test, significand_test): Note missing +/-Inf
22021 as well as qNaN tests.
22022
67e971f1
TS
22023 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
22024 qNaN_var. Fix a few strings, too.
22025 * math/libm-test.inc (nan_value): Rename to qnan_value.
22026 * math/gen-libm-test.pl (%beautify): Adjust to that.
22027 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
22028 * math/test-misc.c (main): Likewise.
22029 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
22030 to __qnan_bytes, and __qnan_union, respectively.
22031 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
22032 Likewise.
22033 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
22034 and lqnanval, respectively.
22035 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
22036 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
22037 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
22038 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
22039
64487e12
TS
22040 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
22041 * math/test-misc.c (main) [__x86_64__]: Enable test for long
22042 doubles.
22043
e015e27b
TS
22044 * math/test-misc.c (main): Fix copy'n'pastos.
22045 * misc/tst-efgcvt.c (special): Likewise.
22046
a57da955
TS
22047 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
22048 Remove declarations.
22049
1e380345
SP
220502013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22051
22052 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
22053 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
22054 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
22055 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
22056
ef26eece
AZ
220572013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22058
22059 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
22060 macro to return vdso values correctly in IFUNC implementations.
22061 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22062 Optimization by using IFUNC.
22063
8cfdb7e0
SP
220642013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22065 Richard Henderson <rth@redhat.com>
22066 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22067
22068 * Makefile.in (bench): New target.
22069 * NEWS: Mention the benchmark framework.
22070 * Rules (bench): Likewise.
22071 (binaries-bench): Generate binaries for functions to
22072 benchmark.
22073 * benchtests/Makefile: New makefile for benchmark tests.
22074 * benchtests/bench-skeleton.c: New skeleton file for benchmark
22075 programs.
22076 * benchtests/exp-inputs: New input file for EXP function.
22077 * benchtests/pow-inputs: New input file for POW function.
22078 * scripts/bench.pl: New script to generate source files for
22079 benchmark programs.
22080
bcda9880
SP
220812013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22082
d22ca8cd
SP
22083 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22084 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
22085 computations on mantissa. Use macros for rounding and
22086 division.
22087 (denorm): Likewise.
22088 (__dbl_mp): Likewise.
22089 (add_magnitudes): Likewise.
22090 (sub_magnitudes): Likewise.
22091 (__mul): Likewise.
22092 (__sqr): Likewise.
22093 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22094 powers of two in terms of TWOPOW macro.
22095 (mp_no): Make type of mantissa as MANTISSA_T.
22096 [!RADIXI]: Define RADIXI.
22097 [!TWO52]: Define TWO52.
22098 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22099
bcda9880
SP
22100 * manual/nptl.texi (cindex): Modify threads to pthreads.
22101
06d5adfb
JM
221022013-03-15 Joseph Myers <joseph@codesourcery.com>
22103
22104 * sysdeps/x86_64/preconfigure: Regenerated.
22105
41c7328e
JM
221062013-03-14 Joseph Myers <joseph@codesourcery.com>
22107
22108 [BZ #14155]
22109 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
22110 0x1p28 and above.
22111 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
22112 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
22113 0x1p28 and above.
22114 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
22115 * math/libm-test.inc (j0_test): Do not allow one spurious
22116 underflow exception.
22117 (y1_test): Likewise.
22118
e25cfa60
SP
221192013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22120
0409959c
SP
22121 * manual/Makefile (chapters): Add nptl.
22122 * manual/debug.texi (Debugging Support): Add link to Threads
22123 chapter.
22124 * manual/nptl.texi: New file.
22125
e25cfa60
SP
22126 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
22127
58a1335e
PB
221282013-03-14 Petr Baudis <pasky@ucw.cz>
22129
22130 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
22131 for non-NULL pointer before the memory validity test. Pointed
22132 out by Holger Brunck <holger.brunck@keymile.com>.
22133
9dc7c64f
AS
221342013-03-13 Andreas Schwab <schwab@suse.de>
22135
22136 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
22137 instead of .os.
22138
54206aa6
JM
221392013-03-13 Joseph Myers <joseph@codesourcery.com>
22140
22141 * timezone/zic.c: Update from tzcode 2013b.
22142
e98cdb38
CD
221432013-03-12 Carlos O'Donell <carlos@redhat.com>
22144
22145 * manual/install.texi (Configuring and compiling):
22146 Mention i686 and i586.
22147 * INSTALL: Regenerate.
22148
9967e003
RM
221492013-03-12 Roland McGrath <roland@hack.frob.com>
22150
22151 * sysdeps/init_array/elf-init.c: New file.
22152 * csu/elf-init.c
22153 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
22154 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
22155
22156 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
22157 __gmon_start__ as global, but as static with a .preinit_array pointer.
22158 * sysdeps/init_array/gmon-start.c: New file. Use that.
22159 * sysdeps/init_array/crti.S: New file, empty except for comments.
22160 * sysdeps/init_array/crtn.S: Likewise.
22161
e6b5a293 221622013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
22163
22164 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
22165 definining bcopy.
80f844c9
OB
22166 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22167 Remove Prefer_SSE_for_memop.
22168 * sysdeps/x86_64/multiarch/init-arch.h: Remove
22169 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
22170 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
22171 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22172 memset-x86-64.
80f844c9 22173 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 22174 Remove bzero, memset ifunc support.
80f844c9
OB
22175 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
22176 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
22177 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22178 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22179
fb6b0fcb
AS
221802013-03-11 Andreas Schwab <schwab@suse.de>
22181
22182 [BZ #15234]
22183 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
22184 by SHLIB_COMPAT.
22185 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
22186 (GLIBC_2.16): Remove pthread_atfork.
22187
3e6bd4b1
PP
221882013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
22189
22190 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
22191 (ptestcases.h): Likewise.
22192
222d7f00
RM
221932013-03-08 Roland McGrath <roland@hack.frob.com>
22194
22195 * Makeconfig ($(common-objpfx)config.status): Depend on
22196 sysdeps/*/preconfigure{,.in} too.
22197
1ba4f030
JM
221982013-03-08 Joseph Myers <joseph@codesourcery.com>
22199
a222d91a
JM
22200 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
22201 (__free_hook): Use void * instead of __malloc_ptr_t.
22202 (__malloc_hook): Likewise.
22203 (__realloc_hook): Likewise.
22204 (__memalign_hook): Likewise.
22205 (__after_morecore_hook): Likewise.
22206 * malloc/arena.c (save_malloc_hook): Likewise.
22207 (save_free_hook): Likewise.
22208 * malloc/hooks.c (malloc_hook_ini): Likewise.
22209 (realloc_hook_ini): Likewise.
22210 (memalign_hook_ini): Likewise.
22211 * malloc/malloc.c (malloc_hook_ini): Likewise.
22212 (realloc_hook_ini): Likewise.
22213 (memalign_hook_ini): Likewise.
22214 (__free_hook): Likewise.
22215 (__malloc_hook): Likewise.
22216 (__realloc_hook): Likewise.
22217 (__memalign_hook): Likewise.
22218 (__libc_malloc): Likewise.
22219 (__libc_free): Likewise.
22220 (__libc_realloc): Likewise.
22221 (__libc_memalign): Likewise.
22222 (__libc_valloc): Likewise.
22223 (__libc_pvalloc): Likewise.
22224 (__libc_calloc): Likewise.
22225 (__posix_memalign): Likewise.
22226 * malloc/morecore.c (__sbrk): Likewise.
22227 (__default_morecore): Likewise.
22228
5cc45e10
JM
22229 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
22230
dd54b864
JM
22231 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
22232 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
22233 __malloc_ptrdiff_t.
22234
1ba4f030
JM
22235 * malloc/malloc.h (__malloc_size_t): Remove macro.
22236 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
22237 __malloc_size_t.
22238 (old_memalign_hook): Likewise.
22239 (old_realloc_hook): Likewise.
22240 (struct hdr): Likewise.
22241 (flood): Likewise.
22242 (mallochook): Likewise.
22243 (memalignhook): Likewise.
22244 (reallochook): Likewise.
22245 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
22246 (tr_old_realloc_hook): Likewise.
22247 (tr_old_memalign_hook): Likewise.
22248 (tr_mallochook): Likewise.
22249 (tr_reallochook): Likewise.
22250 (tr_memalignhook): Likewise.
22251
edf66e57
AZ
222522013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22253
22254 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
22255 default_ldbl_pack and using as default implementation.
22256 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
22257 implementation.
22258 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
22259 redundant definition.
22260 (ldbl_insert_mantissa): Likewise.
22261 (ldbl_canonicalize): Likewise.
22262 (ldbl_nearbyint): Likewise.
22263 (ldbl_pack): Rename to ldbl_pack_ppc.
22264 (ldbl_unpack): Rename to ldbl_unpack_ppc.
22265 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
22266 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
22267
6d9145d8
SP
222682013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22269
22270 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
22271 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
22272 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
22273 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
22274 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
22275 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
22276 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
22277 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
22278
4dd4e157
AJ
222792013-03-07 Andreas Jaeger <aj@suse.de>
22280
22281 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22282 bits/mman-linux.h.
22283
adbb8027
SP
222842013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22285
ce544b5b
SP
22286 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
22287 Include mpa.h and declare __MPEXP.
22288 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
22289 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22290 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22291 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
22292 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22293 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22294 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
22295
4cc149fd
SP
22296 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
22297 (__slowpow): Use long double EXPL and LOGL functions to
22298 compute POW.
22299 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22300 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22301 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
22302 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22303 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22304 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
22305
e6ebd4a7
SP
22306 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
22307 intermediate variable to calculate exponent.
22308 (__sqr): Likewise.
22309 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22310 Likewise.
22311 (__sqr): Likewise.
22312
82a9811d
SP
22313 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
22314 [!NO__SQR]: Define __sqr.
22315 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
22316 and NO__SQR. Remove all code except __mul and __sqr. Include
22317 sysdeps/ieee754/dbl-64/mpa.c.
22318 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22319
adbb8027
SP
22320 [BZ #12723]
22321 * posix/Makefile (tests): Add tst-pathconf.
22322 * posix/tst-pathconf.c: New test case.
22323 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
22324 _PC_PIPE_BUF.
22325 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
22326
39120df9
PF
223272013-03-06 Patsy Franklin <pfrankli@redhat.com>
22328
22329 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
22330
67525cb8
AJ
223312013-03-06 Andreas Jaeger <aj@suse.de>
22332
664a9ce4
AJ
22333 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
22334 definition via __MAP_ANONYMOUS.
22335
8e39047d
AJ
22336 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
22337 it's not part of Linux headers.
22338
67525cb8
AJ
22339 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
22340 (MAP_HUGE_MASK): Define.
22341
22342 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22343 Define.
22344 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22345 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22346 Define.
22347 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22348 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22349 Define.
22350 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22351 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
22352 Define.
22353 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22354
22355 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
22356 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
22357 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
22358 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
22359 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
22360 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
22361
22362 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22363 Handle f2fs.
22364
22365 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22366 Handle f2fs and efivarfs.
22367
22368 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
22369 f2fs.
22370
22371 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
22372 (EFIVARFS_MAGIC): Add.
22373 (F2FS_LINK_MAX): Add.
22374
e1b42695
PP
223752013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22376
22377 * stdio-common/vfprintf.c: Replace __builtin_expect with
22378 __glibc_unlikely.
22379
2d67d91a
JM
223802013-03-06 Joseph Myers <joseph@codesourcery.com>
22381
22382 [BZ #13550]
22383 * sysdeps/generic/bp-sym.h: Remove file.
22384 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
22385 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
22386 <bp-sym.h> and <bp-asm.h>.
22387 (__longjmp): Don't use BP_SYM.
22388 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
22389 and <bp-asm.h>.
22390 (memcpy): Don't use BP_SYM.
22391 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
22392 <bp-sym.h> and <bp-asm.h>.
22393 (memcpy): Don't use BP_SYM.
22394 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
22395 <bp-asm.h>.
22396 (memcpy): Don't use BP_SYM.
22397 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
22398 <bp-asm.h>.
22399 (memset): Don't use BP_SYM.
22400 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22401 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22402 (__bzero): Don't use BP_SYM.
22403 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22404 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22405 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
22406 <bp-sym.h> and <bp-asm.h>.
22407 (memcmp): Don't use BP_SYM. Remove comment about bounded
22408 pointers.
22409 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
22410 <bp-sym.h> and <bp-asm.h>.
22411 (memcpy): Don't use BP_SYM.
22412 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
22413 <bp-sym.h> and <bp-asm.h>.
22414 (memset): Don't use BP_SYM.
22415 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22416 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22417 (__bzero): Don't use BP_SYM.
22418 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22419 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22420 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
22421 <bp-sym.h> and <bp-asm.h>.
22422 (strncmp): Don't use BP_SYM. Remove comment about bounded
22423 pointers.
22424 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
22425 <bp-sym.h> and <bp-asm.h>.
22426 (memcpy): Don't use BP_SYM.
22427 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
22428 <bp-sym.h> and <bp-asm.h>.
22429 (memset): Don't use BP_SYM.
22430 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22431 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22432 (__bzero): Don't use BP_SYM.
22433 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22434 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22435 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
22436 <bp-sym.h> and <bp-asm.h>.
22437 (__memchr): Don't use BP_SYM.
22438 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
22439 <bp-sym.h> and <bp-asm.h>.
22440 (memcmp): Don't use BP_SYM. Remove comment about bounded
22441 pointers.
22442 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
22443 <bp-sym.h> and <bp-asm.h>.
22444 (memcpy): Don't use BP_SYM.
22445 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
22446 <bp-sym.h> and <bp-asm.h>.
22447 (__mempcpy): Don't use BP_SYM.
22448 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
22449 <bp-sym.h> and <bp-asm.h>.
22450 (__memrchr): Don't use BP_SYM.
22451 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
22452 <bp-sym.h> and <bp-asm.h>.
22453 (memset): Don't use BP_SYM.
22454 (__bzero): Likewise.
22455 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
22456 <bp-sym.h> and <bp-asm.h>.
22457 (__rawmemchr): Don't use BP_SYM.
22458 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
22459 <bp-sym.h> and <bp-asm.h>.
22460 (__STRCMP): Don't use BP_SYM.
22461 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
22462 <bp-sym.h> and <bp-asm.h>.
22463 (strchr): Don't use BP_SYM.
22464 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
22465 <bp-sym.h> and <bp-asm.h>.
22466 (__strchrnul): Don't use BP_SYM.
22467 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
22468 <bp-sym.h> and <bp-asm.h>.
22469 (strlen): Don't use BP_SYM.
22470 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
22471 <bp-sym.h> and <bp-asm.h>.
22472 (strncmp): Don't use BP_SYM. Remove comment about bounded
22473 pointers.
22474 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
22475 <bp-sym.h> and <bp-asm.h>.
22476 (__strnlen): Don't use BP_SYM.
22477 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
22478 <bp-sym.h> and <bp-asm.h>.
22479 (__GI__setjmp): Don't use BP_SYM.
22480 (_setjmp): Likewise.
22481 (__sigsetjmp): Likewise.
22482 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
22483 (L(start_addresses)): Don't use BP_SYM.
22484 (_start): Likewise.
22485 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
22486 <bp-asm.h>.
22487 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
22488 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
22489 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22490 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22491 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
22492 <bp-asm.h>.
22493 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
22494 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
22495 about bounded pointers.
22496 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22497 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22498 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
22499 <bp-asm.h>.
22500 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
22501 about bounded pointers. Remove GKM FIXME comments.
22502 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22503 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
22504 <bp-asm.h>.
22505 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
22506 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
22507 Remove GKM FIXME comments.
22508 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22509 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22510 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
22511 <bp-asm.h>.
22512 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
22513 about bounded pointers. Remove GKM FIXME comment.
22514 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
22515 and <bp-asm.h>.
22516 (strncmp): Don't use BP_SYM. Remove comment about bounded
22517 pointers.
22518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
22519 <bp-sym.h> and <bp-asm.h>.
22520 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
22522 <bp-sym.h> and <bp-asm.h>.
22523 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
22524 comment.
22525
cdcf361f
PP
225262013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22527
22528 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
22529 call free(NULL).
22530
3c4a2b15
DM
225312013-03-05 David S. Miller <davem@davemloft.net>
22532
22533 * po/es.po: Update from translation team.
22534
cdcf361f 225352013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
22536
22537 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
22538 <bits/mman-linux.h>.
22539 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22540 is fine.
22541 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
22542 <bits/mman-linux.h> to end of file.
22543 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22544 is fine.
22545 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
22546 <bits/mman-linux.h> to end of file.
22547 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22548 is fine.
22549 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
22550 <bits/mman-linux.h> to end of file.
22551
22552 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
22553 (MCL_CURRENT, MCL_FUTURE): Define here.
22554
5f67c04f
AK
225552013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22556
8a4473cc 22557 [BZ #15232]
5f67c04f
AK
22558 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
22559 attribute_hidden.
22560 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
22561
c3e94a95
AK
225622013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22563
22564 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
22565 fourth parameter needed for rt_sigprocmask syscall.
22566 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
22567 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
22568 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
22569 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
22570 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
22571 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
22572
cfb6382a
JM
225732013-03-04 Joseph Myers <joseph@codesourcery.com>
22574
22575 [BZ #13550]
22576 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
22577 comment about bounded pointers.
22578 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
22579 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
22580
539d8e01
AJ
225812013-03-04 Andreas Jaeger <aj@suse.de>
22582
22583 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
22584 common definitions.
22585
22586 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
22587 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
22588 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
22589 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22590 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
22591 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22592
2e167a70 225932013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
22594
22595 [BZ #15055]
22596 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
22597 __ieee754_sqrl instead of __sqrl.
22598
68508633
JM
225992013-03-01 Joseph Myers <joseph@codesourcery.com>
22600
22601 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
22602 * sysdeps/powerpc/fpu_control.h: ... here.
22603 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
22604 * sysdeps/powerpc/bits/fenvinline.h: ... here.
22605 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
22606 * sysdeps/powerpc/bits/mathinline.h: ... here.
22607
7775448e
RM
226082013-03-01 Roland McGrath <roland@hack.frob.com>
22609
22610 * elf/dl-hwcaps.c (_dl_important_hwcaps):
22611 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
22612 to just [NEED_DL_SYSINFO_DSO].
22613 * elf/dl-support.c: Likewise.
22614 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
22615 * elf/rtld.c (dl_main): Likewise.
22616 * elf/setup-vdso.h (setup_vdso): Likewise.
22617 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
22618 * sysdeps/unix/sysv/linux/dl-sysdep.c
22619 (_dl_discover_osversion): Likewise.
22620
4e9b5995
CD
226212013-03-01 Carlos O'Donell <carlos@redhat.com>
22622
22623 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
22624 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22625
e23872c8
SP
226262013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
22627
e5c74c63
SP
22628 * NEWS: Mention libm performance improvements and non-x86 PI
22629 futex support.
22630
e23872c8
SP
22631 * csu/libc-start.c (__pthread_initialize_minimal): Change
22632 function arguments.
22633 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22634
b5510883
JM
226352013-02-28 Joseph Myers <joseph@codesourcery.com>
22636
22637 [BZ #13550]
22638 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
22639 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
22640 <bp-sym.h> and <bp-asm.h>.
22641 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22642 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
22643 and <bp-asm.h>.
22644 (memcpy): Don't use BP_SYM.
22645 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
22646 <bp-asm.h>.
22647 (__mpn_add_n): Don't use BP_SYM.
22648 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
22649 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
22650 and <bp-asm.h>.
22651 (__mpn_addmul_1): Don't use BP_SYM.
22652 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22653 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
22654 <bp-sym.h>.
22655 (_setjmp): Don't use BP_SYM.
22656 (__novmx_setjmp): Likewise.
22657 (__GI__setjmp): Likewise.
22658 (__vmx_setjmp): Likewise.
22659 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
22660 <bp-sym.h>.
22661 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
22662 (__bzero): Don't use BP_SYM.
22663 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22664 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22665 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
22666 <bp-sym.h> and <bp-asm.h>.
22667 (memcpy): Don't use BP_SYM.
22668 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
22669 <bp-sym.h> and <bp-asm.h>.
22670 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22671 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
22672 <bp-sym.h> and <bp-asm.h>.
22673 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22674 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
22675 <bp-asm.h>.
22676 (__mpn_lshift): Don't use BP_SYM.
22677 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22678 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
22679 <bp-asm.h>.
22680 (memset): Don't use BP_SYM.
22681 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22682 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22683 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
22684 <bp-asm.h>.
22685 (__mpn_mul_1): Don't use BP_SYM.
22686 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22687 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
22688 <bp-sym.h> and <bp-asm.h>.
22689 (memcmp): Don't use BP_SYM.
22690 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
22691 <bp-sym.h> and <bp-asm.h>.
22692 (memcpy): Don't use BP_SYM.
22693 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
22694 <bp-sym.h> and <bp-asm.h>.
22695 (memset): Don't use BP_SYM.
22696 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
22697 <bp-sym.h> and <bp-asm.h>.
22698 (strncmp): Don't use BP_SYM.
22699 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
22700 <bp-sym.h> and <bp-asm.h>.
22701 (memcpy): Don't use BP_SYM.
22702 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
22703 <bp-sym.h> and <bp-asm.h>.
22704 (memset): Don't use BP_SYM.
22705 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
22706 <bp-sym.h> and <bp-asm.h>.
22707 (__memchr): Don't use BP_SYM.
22708 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
22709 <bp-sym.h> and <bp-asm.h>.
22710 (memcmp): Don't use BP_SYM.
22711 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
22712 <bp-sym.h> and <bp-asm.h>.
22713 (memcpy): Don't use BP_SYM.
22714 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
22715 <bp-sym.h> and <bp-asm.h>.
22716 (__mempcpy): Don't use BP_SYM.
22717 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
22718 <bp-sym.h> and <bp-asm.h>.
22719 (__memrchr): Don't use BP_SYM.
22720 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
22721 <bp-sym.h> and <bp-asm.h>.
22722 (memset): Don't use BP_SYM.
22723 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
22724 <bp-sym.h> and <bp-asm.h>.
22725 (__rawmemchr): Don't use BP_SYM.
22726 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
22727 <bp-sym.h> and <bp-asm.h>.
22728 (__STRCMP): Don't use BP_SYM.
22729 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
22730 <bp-sym.h> and <bp-asm.h>.
22731 (strchr): Don't use BP_SYM.
22732 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
22733 <bp-sym.h> and <bp-asm.h>.
22734 (__strchrnul): Don't use BP_SYM.
22735 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
22736 <bp-sym.h> and <bp-asm.h>.
22737 (strlen): Don't use BP_SYM.
22738 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
22739 <bp-sym.h> and <bp-asm.h>.
22740 (strncmp): Don't use BP_SYM.
22741 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
22742 <bp-sym.h> and <bp-asm.h>.
22743 (__strnlen): Don't use BP_SYM.
22744 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
22745 <bp-asm.h>.
22746 (__mpn_rshift): Don't use BP_SYM.
22747 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22748 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
22749 <bp-sym.h> and <bp-asm.h>.
22750 (__sigsetjmp): Don't use BP_SYM.
22751 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
22752 (L(start_addresses)): Don't use BP_SYM.
22753 (_start): Likewise.
22754 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
22755 <bp-asm.h>.
22756 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
22757 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22758 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22759 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
22760 <bp-asm.h>.
22761 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
22762 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22763 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22764 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
22765 <bp-asm.h>.
22766 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22767 comments.
22768 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22769 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
22770 <bp-asm.h>.
22771 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
22772 FIXME comments.
22773 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22774 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22775 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
22776 <bp-asm.h>.
22777 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22778 comment.
22779 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
22780 and <bp-asm.h>.
22781 (strncmp): Don't use BP_SYM,
22782 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
22783 <bp-asm.h>.
22784 (__mpn_sub_n): Don't use BP_SYM.
22785 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22786 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
22787 and <bp-asm.h>.
22788 (__mpn_submul_1): Don't use BP_SYM.
22789 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
22791 <bp-sym.h> and <bp-asm.h>.
22792 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
22794 <bp-sym.h> and <bp-asm.h>.
22795 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
22796 comment.
22797
8d19fe64
SP
227982013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22799
22800 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
22801 Use ZK to minimize writes to Z.
22802 (sub_magnitudes): Simplify code a bit.
22803 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
22804 Use ZK to minimize writes to Z.
22805 (sub_magnitudes): Simplify code a bit.
22806
85bd816a
RM
228072013-02-27 Roland McGrath <roland@hack.frob.com>
22808
22809 * csu/gmon-start.c: Add special exception to license text.
22810
b5977bf2
RH
228112013-02-27 Richard Henderson <rth@redhat.com>
22812
22813 * scripts/config.guess: Update from config.git.
22814 * scripts/config.sub: Likewise.
22815
11d6e2f2
SP
228162013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22817
09c14ed2
SP
22818 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
22819
a688864e
SP
22820 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
22821
6295157a
SP
22822 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
22823
b8de2202
SP
22824 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
22825
11d6e2f2
SP
22826 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
22827
7e80ddb8
RM
228282013-02-26 Roland McGrath <roland@hack.frob.com>
22829
22830 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
22831 [$(build-shared = yes].
7e80ddb8 22832
7da6d9ed
SP
228332013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22834
45f05884
SP
22835 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
22836 (__mul): Reduce iterations for calculating mantissa.
22837
2236d359
SP
22838 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
22839 MPTWO.
22840 (__mpranred): Likewise.
22841
7da6d9ed
SP
22842 [BZ #15160]
22843 * malloc/memusagestat.c (main): Draw graphs for heap and stack
22844 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
22845
b7688c42
PE
228462013-02-26 Paul Eggert <eggert@cs.ucla.edu>
22847
22848 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
22849 Define __attribute__.
22850
53a5c423
SP
228512013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22852
22853 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
22854 unused.
22855 * posix/regex_internal.h (__attribute): Remove.
22856 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
22857 (re_string_context_at): Likewise.
22858 (bitset_not): Use __attribute__ and mark function as possibly
22859 unused.
22860 (bitset_merge): Likewise.
22861 (bitset_mask): Likewise.
22862 (re_string_char_size_at): Likewise.
22863 (re_string_wchar_at): Likewise.
22864 (re_string_elem_size_at): Likewise.
22865
60f5a8b5
SP
228662013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22867
2a983a2e
SP
22868 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
22869 code.
22870 (cc32): Likewise.
22871
e69804d1
SP
22872 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
22873 (__acr): Likewise.
22874 (__cpy): Likewise.
22875 (norm): Likewise.
22876 (denorm): Likewise.
22877 (__dbl_mp): Likewise.
22878 (add_magnitudes): Likewise.
22879 (sub_magnitudes): Likewise.
22880 (__mul): Likewise.
22881 (__inv): Likewise.
22882
2f22a1e8
SP
22883 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
22884 style.
22885
8930ddc7
SP
22886 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
22887 style.
22888
dc60cb11
SP
22889 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
22890 code.
22891
60f5a8b5
SP
22892 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
22893 up changes with default code.
22894 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
22895 Likewise.
22896
b4d1fd33
AM
228972013-02-24 Allan McRae <allan@archlinux.org>
22898
faf6f8bc
AM
22899 * manual/socket.texi (The Internet Namespace): Order menu items
22900 to match that in the file.
22901
b4d1fd33
AM
22902 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
22903 node listing of the info page menu.
22904
2366713d
JM
229052013-02-21 Joseph Myers <joseph@codesourcery.com>
22906
22907 [BZ #13550]
22908 * sysdeps/i386/bp-asm.h: Remove file.
22909 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22910 (PARMS): Do not use macros from bp-asm.h.
22911 (S1): Likewise.
22912 (S2): Likewise.
22913 (SIZE): Likewise.
22914 (__mpn_add_n): Do not use BP_SYM
22915 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
22916 "bp-asm.h".
22917 (PARMS): Do not use macros from bp-asm.h.
22918 (S1): Likewise.
22919 (SIZE): Likewise.
22920 (__mpn_addmul_1): Do not use BP_SYM
22921 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
22922 "bp-asm.h".
22923 (PARMS): Do not use macros from bp-asm.h.
22924 (SIGMSK): Likewise.
22925 (_setjmp): Likewise. Do not use BP_SYM.
22926 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
22927 "bp-asm.h".
22928 (PARMS): Do not use macros from bp-asm.h.
22929 (SIGMSK): Likewise.
22930 (setjmp): Likewise. Do not use BP_SYM.
22931 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
22932 "bp-asm.h".
22933 (PARMS): Do not use macros from bp-asm.h.
22934 (__frexp): Do not use BP_SYM.
22935 (frexp): Likewise.
22936 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
22937 "bp-asm.h".
22938 (PARMS): Do not use macros from bp-asm.h.
22939 (__frexpf): Do not use BP_SYM.
22940 (frexpf): Likewise.
22941 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
22942 "bp-asm.h".
22943 (PARMS): Do not use macros from bp-asm.h.
22944 (__frexpl): Do not use BP_SYM.
22945 (frexpl): Likewise.
22946 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
22947 "bp-asm.h".
22948 (PARMS): Do not use macros from bp-asm.h.
22949 (__remquo): Do not use BP_SYM.
22950 (remquo): Likewise.
22951 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
22952 "bp-asm.h".
22953 (PARMS): Do not use macros from bp-asm.h.
22954 (__remquof): Do not use BP_SYM.
22955 (remquof): Likewise.
22956 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
22957 "bp-asm.h".
22958 (PARMS): Do not use macros from bp-asm.h.
22959 (__remquol): Do not use BP_SYM.
22960 (remquol): Likewise.
22961 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
22962 "bp-asm.h".
22963 (PARMS): Do not use macros from bp-asm.h.
22964 (DEST): Likewise.
22965 (SRC): Likewise.
22966 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
22967 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
22968 "bp-asm.h".
22969 (PARMS): Do not use macros from bp-asm.h.
22970 (strlen): Do not use BP_SYM.
22971 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
22972 "bp-asm.h".
22973 (PARMS): Do not use macros from bp-asm.h.
22974 (S1): Likewise.
22975 (S2): Likewise.
22976 (SIZE): Likewise.
22977 (__mpn_add_n): Do not use BP_SYM.
22978 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
22979 "bp-asm.h".
22980 (PARMS): Do not use macros from bp-asm.h.
22981 (S1): Likewise.
22982 (SIZE): Likewise.
22983 (__mpn_addmul_1): Do not use BP_SYM.
22984 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
22985 weak_alias.
22986 (bzero): Likewise.
22987 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
22988 "bp-asm.h".
22989 (PARMS): Do not use macros from bp-asm.h.
22990 (S): Likewise.
22991 (SIZE): Likewise.
22992 (__mpn_lshift): Do not use BP_SYM.
22993 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
22994 "bp-asm.h".
22995 (PARMS): Do not use macros from bp-asm.h.
22996 (DEST): Likewise.
22997 (SRC): Likewise.
22998 (LEN): Likewise.
22999 (memcpy): Likewise. Do not use BP_SYM.
23000 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
23001 libc_hidden_def and weak_alias.
23002 (mempcpy): Do not use BP_SYM in weak_alias.
23003 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
23004 "bp-asm.h".
23005 (PARMS): Do not use macros from bp-asm.h.
23006 (DEST): Likewise.
23007 (LEN): Likewise.
23008 [!BZERO_P] (CHR): Likewise.
23009 (memset): Likewise. Do not use BP_SYM.
23010 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
23011 "bp-asm.h".
23012 (PARMS): Do not use macros from bp-asm.h.
23013 (S1): Likewise.
23014 (SIZE): Likewise.
23015 (__mpn_mul_1): Do not use BP_SYM.
23016 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
23017 "bp-asm.h".
23018 (PARMS): Do not use macros from bp-asm.h.
23019 (S): Likewise.
23020 (SIZE): Likewise.
23021 (__mpn_rshift): Do not use BP_SYM.
23022 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
23023 "bp-asm.h".
23024 (PARMS): Do not use macros from bp-asm.h.
23025 (STR): Likewise.
23026 (CHR): Likewise.
23027 (strchr): Likewise. Do not use BP_SYM.
23028 (index): Do not use BP_SYM in weak_alias.
23029 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
23030 "bp-asm.h".
23031 (PARMS): Do not use macros from bp-asm.h.
23032 (DEST): Likewise.
23033 (SRC): Likewise.
23034 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
23035 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
23036 "bp-asm.h".
23037 (PARMS): Do not use macros from bp-asm.h.
23038 (strlen): Do not use BP_SYM.
23039 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
23040 "bp-asm.h".
23041 (PARMS): Do not use macros from bp-asm.h.
23042 (S1): Likewise.
23043 (S2): Likewise.
23044 (SIZE): Likewise.
23045 (__mpn_sub_n): Do not use BP_SYM.
23046 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
23047 "bp-asm.h".
23048 (PARMS): Do not use macros from bp-asm.h.
23049 (S1): Likewise.
23050 (SIZE): Likewise.
23051 (__mpn_submul_1): Do not use BP_SYM.
23052 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
23053 "bp-asm.h".
23054 (PARMS): Do not use macros from bp-asm.h.
23055 (S1): Likewise.
23056 (S2): Likewise.
23057 (SIZE): Likewise.
23058 (__mpn_add_n): Do not use BP_SYM.
23059 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
23060 weak_alias.
23061 (bzero): Likewise.
23062 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
23063 "bp-asm.h".
23064 (PARMS): Do not use macros from bp-asm.h.
23065 (BLK2): Likewise.
23066 (LEN): Likewise.
23067 (memcmp): Do not use BP_SYM.
23068 (bcmp): Do not use BP_SYM in weak_alias.
23069 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
23070 "bp-asm.h".
23071 (PARMS): Do not use macros from bp-asm.h.
23072 (DEST): Likewise.
23073 (SRC): Likewise.
23074 (LEN): Likewise.
23075 (memcpy): Likewise. Do not use BP_SYM.
23076 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
23077 "bp-asm.h".
23078 (PARMS): Do not use macros from bp-asm.h.
23079 (DEST): Likewise.
23080 (SRC): Likewise.
23081 (LEN): Likewise.
23082 (memmove): Likewise. Do not use BP_SYM.
23083 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
23084 "bp-asm.h".
23085 (PARMS): Do not use macros from bp-asm.h.
23086 (DEST): Likewise.
23087 (SRC): Likewise.
23088 (LEN): Likewise.
23089 (__mempcpy): Likewise. Do not use BP_SYM.
23090 (mempcpy): Do not use BP_SYM in weak_alias.
23091 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
23092 "bp-asm.h".
23093 (PARMS): Do not use macros from bp-asm.h.
23094 (DEST): Likewise.
23095 (LEN): Likewise.
23096 [!BZERO_P] (CHR): Likewise.
23097 (memset): Likewise. Do not use BP_SYM.
23098 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
23099 "bp-asm.h".
23100 (PARMS): Do not use macros from bp-asm.h.
23101 (STR2): Likewise.
23102 (strcmp): Do not use BP_SYM.
23103 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
23104 "bp-asm.h".
23105 (PARMS): Do not use macros from bp-asm.h.
23106 (STR): Likewise.
23107 (DELIM): Likewise.
23108 [USE_AS_STRTOK_R] (SAVE): Likewise.
23109 (FUNCTION): Likewise. Do not use BP_SYM.
23110 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
23111 aliases.
23112 (strtok_r): Likewise.
23113 (__GI___strtok_r): Likewise.
23114 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23115 (PARMS): Do not use macros from bp-asm.h.
23116 (S): Likewise.
23117 (SIZE): Likewise.
23118 (__mpn_lshift): Do not use BP_SYM.
23119 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23120 (PARMS): Do not use macros from bp-asm.h.
23121 (STR): Likewise.
23122 (CHR): Likewise.
23123 (__memchr): Do not use BP_SYM.
23124 (memchr): Do not use BP_SYM in weak_alias.
23125 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23126 (PARMS): Do not use macros from bp-asm.h.
23127 (BLK2): Likewise.
23128 (LEN): Likewise.
23129 (memcmp): Do not use BP_SYM.
23130 (bcmp): Do not use BP_SYM in weak_alias.
23131 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
23132 (PARMS): Do not use macros from bp-asm.h.
23133 (S1): Likewise.
23134 (SIZE): Likewise.
23135 (__mpn_mul_1): Do not use BP_SYM.
23136 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
23137 "bp-asm.h".
23138 (PARMS): Do not use macros from bp-asm.h.
23139 (STR): Likewise.
23140 (CHR): Likewise.
23141 (__rawmemchr): Do not use BP_SYM.
23142 (rawmemchr): Do not use BP_SYM in weak_alias.
23143 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23144 (PARMS): Do not use macros from bp-asm.h.
23145 (S): Likewise.
23146 (SIZE): Likewise.
23147 (__mpn_rshift): Do not use BP_SYM.
23148 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23149 (PARMS): Do not use macros from bp-asm.h.
23150 (SIGMSK): Likewise.
23151 (__sigsetjmp): Likewise. Do not use BP_SYM.
23152 * sysdeps/i386/start.S: Do not include "bp-sym.h".
23153 (_start): Do not use BP_SYM.
23154 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
23155 (PARMS): Do not use macros from bp-asm.h.
23156 (DEST): Likewise.
23157 (SRC): Likewise.
23158 (__stpcpy): Likewise. Do not use BP_SYM.
23159 (stpcpy): Do not use BP_SYM in weak_alias.
23160 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
23161 "bp-asm.h".
23162 (PARMS): Do not use macros from bp-asm.h.
23163 (DEST): Likewise.
23164 (SRC): Likewise.
23165 (LEN): Likewise.
23166 (__stpncpy): Likewise. Do not use BP_SYM.
23167 (stpncpy): Do not use BP_SYM in weak_alias.
23168 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23169 (PARMS): Do not use macros from bp-asm.h.
23170 (STR): Likewise.
23171 (CHR): Likewise.
23172 (strchr): Likewise. Do not use BP_SYM.
23173 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
23174 "bp-asm.h".
23175 (PARMS): Do not use macros from bp-asm.h.
23176 (STR): Likewise.
23177 (CHR): Likewise.
23178 (__strchrnul): Likewise. Do not use BP_SYM.
23179 (strchrnul): Do not use BP_SYM in weak_alias.
23180 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
23181 "bp-asm.h".
23182 (PARMS): Do not use macros from bp-asm.h.
23183 (STOP): Likewise.
23184 (strcspn): Do not use BP_SYM.
23185 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
23186 "bp-asm.h".
23187 (PARMS): Do not use macros from bp-asm.h.
23188 (STR): Likewise.
23189 (STOP): Likewise.
23190 (strpbrk): Likewise. Do not use BP_SYM.
23191 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
23192 "bp-asm.h".
23193 (PARMS): Do not use macros from bp-asm.h.
23194 (STR): Likewise.
23195 (CHR): Likewise.
23196 (strrchr): Likewise. Do not use BP_SYM.
23197 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
23198 (PARMS): Do not use macros from bp-asm.h.
23199 (SKIP): Likewise.
23200 (strspn): Do not use BP_SYM.
23201 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
23202 (PARMS): Do not use macros from bp-asm.h.
23203 (STR): Likewise.
23204 (DELIM): Likewise.
23205 (SAVE): Likewise.
23206 (FUNCTION): Likewise. Do not use BP_SYM.
23207 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
23208 aliases.
23209 (strtok_r): Likewise.
23210 (__GI___strtok_r): Likewise.
23211 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23212 (PARMS): Do not use macros from bp-asm.h.
23213 (S1): Likewise.
23214 (S2): Likewise.
23215 (SIZE): Likewise.
23216 (__mpn_sub_n): Do not use BP_SYM.
23217 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
23218 "bp-asm.h".
23219 (PARMS): Do not use macros from bp-asm.h.
23220 (S1): Likewise.
23221 (SIZE): Likewise.
23222 (__mpn_submul_1): Do not use BP_SYM.
23223 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
23224 <bp-sym.h>.
23225 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
23226 and <bp-asm.h>.
23227 (PARMS): Do not use macros from bp-asm.h.
23228 (FLAGS): Likewise.
23229 (PTID): Likewise.
23230 (TLS): Likewise.
23231 (CTID): Likewise.
23232 (__clone): Do not use BP_SYM.
23233 (clone): Do not use BP_SYM in weak_alias.
23234 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
23235 and <bp-asm.h>.
23236 (PARMS): Do not use macros from bp-asm.h.
23237 (LEN): Likewise.
23238 (__mmap64): Do not use BP_SYM.
23239 (mmap64): Do not use BP_SYM in weak_alias.
23240 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23241 <bp-sym.h> and <bp-asm.h>.
23242 (PARMS): Do not use macros from bp-asm.h.
23243 (__posix_fadvise64_l64): Do not use BP_SYM.
23244 * sysdeps/unix/sysv/linux/i386/semtimedop.S
23245 (PARMS): Do not use macros from bp-asm.h.
23246 (NSOPS): Likewise.
23247 (semtimedop): Do not use BP_SYM.
23248 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
23249 and <bp-asm.h>.
23250
582a3cff
AM
232512013-02-21 Allan McRae <allan@archlinux.org>
23252
23253 * manual/message.texi (Charset conversion in gettext):
23254 Move @end statement to beginning of line.
23255
bab8a695
SP
232562013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23257
80945231
SP
23258 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
23259 static.
23260 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23261 Likewise.
23262
bab8a695
SP
23263 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
23264 (denorm): Likewise.
23265 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
23266 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
23267
e21d7aa7
AK
232682013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23269
23270 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
23271 tail-call to the resolved function if pltexit isn't needed.
23272
4c7a4263
SP
232732013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23274
23275 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
23276 or Y being zero as being unlikely.
23277 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23278 Likewise.
23279
41f49342
CD
232802013-02-20 Carlos O'Donell <carlos@redhat.com>
23281
23282 * manual/nss.texi (System Databases and Name Service Switch):
23283 Remove frobnicate @pxref.
23284
50022a93
TS
232852013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23286
23287 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23288 __attribute__ ((unused)) to __attribute__ ((__unused__)).
23289
08cbd996
PM
232902013-02-20 Petr Machata <pmachata@redhat.com>
23291
23292 * elf/elf.h (R_ARM_TARGET1): New macro.
23293 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
23294 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
23295 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
23296 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
23297 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
23298 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
23299 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
23300 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
23301 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
23302 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
23303 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
23304 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
23305 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
23306 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
23307 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
23308 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
23309 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
23310 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
23311 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
23312 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
23313 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
23314 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
23315 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
23316 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
23317 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
23318 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
23319 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
23320 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
23321 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
23322 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
23323 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
23324 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
23325 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
23326 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
23327 (R_ARM_THM_GOT_BREL12): Likewise.
23328 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
23329 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
23330 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
23331 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
23332 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
23333 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
23334 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
23335 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
23336 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
23337
c7b275d6
TS
233382013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23339
23340 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23341 __attribute_used__ to __attribute__ ((unused)).
23342
20cd7fb3
SP
233432013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23344
23345 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
23346 powerpc mpa.c.
23347 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
23348 comment formatting.
23349 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
23350
92945b52
JM
233512013-02-19 Joseph Myers <joseph@codesourcery.com>
23352
23353 [BZ #13550]
23354 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
23355 Remove macro.
23356 (ENTER): Remove both macro definitions.
23357 (LEAVE): Likewise.
23358 (CHECK_BOUNDS_LOW): Likewise.
23359 (CHECK_BOUNDS_HIGH): Likewise.
23360 (CHECK_BOUNDS_BOTH): Likewise.
23361 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
23362 (RETURN_BOUNDED_POINTER): Likewise.
23363 (RETURN_NULL_BOUNDED_POINTER): Likewise.
23364 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
23365 (POP_ERRNO_LOCATION_RETURN): Likewise.
23366 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
23367 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23368 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
23369 macros.
23370 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23371 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
23372 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
23373 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
23374 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
23375 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
23376 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
23377 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
23378 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
23379 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
23380 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
23381 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
23382 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23383 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
23384 removed macros.
23385 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23386 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
23387 macros.
23388 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23389 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
23390 * sysdeps/i386/i586/memset.S (memset): Likewise.
23391 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
23392 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23393 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
23394 macros.
23395 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23396 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
23397 Change uses of L(2) to L(out).
23398 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
23399 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
23400 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
23401 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23402 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
23403 removed macros.
23404 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23405 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
23406 macros.
23407 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23408 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
23409 (RETURN): Do not use macro LEAVE.
23410 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
23411 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
23412 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
23413 * sysdeps/i386/i686/memset.S (memset): Likewise.
23414 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
23415 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
23416 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23417 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
23418 Likewise.
23419 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23420 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
23421 L(1_2) and L(1_3) into L(1).
23422 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23423 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
23424 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23425 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
23426 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23427 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
23428 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
23429 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23430 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
23431 macros.
23432 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
23433 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23434 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
23435 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
23436 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
23437 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23438 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
23439 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
23440 * sysdeps/i386/strcspn.S (strcspn): Likewise.
23441 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
23442 * sysdeps/i386/strrchr.S (strrchr): Likewise.
23443 * sysdeps/i386/strspn.S (strspn): Likewise.
23444 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
23445 conditional code.
23446 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23447 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
23448 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23449 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
23450 L(1_3) into L(1_1).
23451 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
23452 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23453 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
23454 macros.
23455 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23456
2389741a
JJ
234572013-02-19 Jakub Jelinek <jakub@redhat.com>
23458
23459 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
23460 macro.
23461
2016b3cd
SP
234622013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23463
e4f22324
SP
23464 * math/atest-exp.c (exp_mpn): Remove ROUND.
23465 * math/atest-exp2.c (exp_mpn): Likewise.
23466 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
23467
2016b3cd
SP
23468 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
23469 * stdlib/tst-tls-atexit-lib.c: Likewise.
23470 * stdlib/tst-tls-atexit.c: Likewise.
23471
4be9b544
MF
234722013-02-18 Mike Frysinger <vapier@gentoo.org>
23473
23474 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
23475 and __attribute_alloc_size__.
23476
2f62b9ee
MF
234772013-02-18 Mike Frysinger <vapier@gentoo.org>
23478
23479 * include/programs/xmalloc.h: Change __attribute_alloc_size to
23480 __attribute_alloc_size__.
23481 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
23482 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
23483
6ff444c4
MF
234842013-02-18 Mike Frysinger <vapier@gentoo.org>
23485
23486 * include/programs/xmalloc.h: New file.
23487 * catgets/gencat.c: Include it.
23488 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
23489 * elf/pldd.c: Likewise.
23490 * iconv/iconv_charmap.c: Likewise.
23491 * iconv/iconvconfig.c: Likewise.
23492 * iconv/strtab.c: Likewise.
23493 * locale/programs/locale.c: Likewise.
23494 * locale/programs/localedef.h: Likewise.
23495 * locale/programs/simple-hash.c: Likewise.
23496 * nscd/nscd.h: Likewise.
23497 * nss/makedb.c: Likewise.
23498 * sysdeps/generic/ldconfig.h: Likewise.
23499
be179c8a
SP
235002013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23501
ba384f6e
SP
23502 * Versions.def: Add GLIBC_2.18.
23503 * include/link.h (struct link_map): New member l_tls_dtor_count.
23504 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
23505 (__call_tls_dtors): Likewise.
23506 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
23507 __cxa_thread_atexit_impl.
23508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23509 Likewise.
23510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23511 Likewise.
23512 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23513 Likewise.
23514 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23515 Likewise.
23516 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23517 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
23518 Likewise.
23519 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
23520 Likewise.
23521 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23522 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23523 Likewise.
23524 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
23525 (tests): Add test case tst-tls-atexit.
23526 (modules-names): Add shared library for tst-tls-atexit.
85891aca 23527 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
23528 (GLIBC_PRIVATE): Add __call_tls_dtors.
23529 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
23530 for libstdc++.
23531 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
23532 * stdlib/tst-tls-atexit.c: New test case.
23533 * stdlib/tst-tls-atexit-lib.c: New test case.
23534
ffaa74cf 23535 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 23536
be179c8a
SP
23537 * elf/Versions (ld): Add _dl_find_dso_for_object.
23538 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
23539 * elf/dl-open.c (_dl_find_dso_for_object): New function.
23540 (dl_open_worker): Use _dl_find_dso_for_object.
23541 * elf/dl-sym.c (do_sym): Likewise.
23542 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
23543
f78b5caa
AK
235442013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23545
23546 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
23547 Syntactic changes only.
23548 (_dl_runtime_profile): Do a tail-call to the resolved function.
23549
29691210
JM
235502013-02-17 Joseph Myers <joseph@codesourcery.com>
23551
23552 [BZ #13550]
23553 * sysdeps/x86_64/bp-asm.h: Remove file.
23554 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
23555 <bp-sym.h> and <bp-asm.h>.
23556 (__clone): Do not use BP_SYM.
23557 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
23558 <bp-sym.h> and <bp-asm.h>.
23559 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23560 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
23561 "bp-asm.h".
23562 (_setjmp): Do not use BP_SYM.
23563 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
23564 "bp-asm.h".
23565 (setjmp): Do not use BP_SYM.
23566 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
23567 libc_hidden_def.
23568 (mempcpy): Do not use BP_SYM in weak_alias.
23569 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
23570 "bp-asm.h".
23571 (strchr): Do not use BP_SYM.
23572 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
23573 "bp-asm.h".
23574 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
23575 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
23576 (_start): Do not use BP_SYM.
23577 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
23578 "bp-asm.h".
23579 (strcat): Do not use BP_SYM.
23580 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
23581 "bp-asm.h".
23582 (STRCMP): Do not use BP_SYM.
23583 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
23584 "bp-asm.h".
23585 (STRCPY): Do not use BP_SYM.
23586 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
23587 "bp-asm.h".
23588 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
23589 "bp-asm.h".
23590 (FUNCTION): Do not use BP_SYM.
23591 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
23592 weak_alias.
23593 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
23594
f238fd19
AJ
235952013-02-17 Andreas Jaeger <aj@suse.de>
23596
23597 * time/Versions: Sort entries.
23598 * string/Versions: Likewise.
23599 * resolv/Versions: Likewise.
23600 * posix/Versions: Likewise.
23601 * iconv/Versions: Likewise.
23602 * elf/Versions: Likewise.
23603 * wcsmbs/Versions: Likewise.
23604
bd07f23c 236052013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 23606
22af19f9
SP
23607 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
23608 loop termination condition.
23609
4709fe76
SP
23610 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
23611 variable to calculate EZ.
23612 (__sqr): Likewise.
2d0e0f29
SP
23613
23614 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
23615 the lower precision input.
23616
daaa7713
JM
236172013-02-15 Joseph Myers <joseph@codesourcery.com>
23618
23619 [BZ #13550]
23620 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
23621 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
23622 (run-via-rtld-prefix): Do not handle %-bp tests.
23623 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
23624 (all-object-suffixes): Remove .ob.
23625 (bppfx): Remove variable.
23626 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
23627 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
23628 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
23629 [$(build-bounded) = yes] (libtype.ob): Likewise.
23630 * Makerules (elide-routines.ob): Remove variable.
23631 (do-tests-clean): Do not handle *-bp.out.
23632 (common-mostlyclean): Do not handle *-bp and *-bp.out.
23633 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
23634 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
23635 (tests): Do not include $(tests-bp.out).
23636 (xtests): Do not include $(xtests-bp.out).
23637 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
23638 [$(build-bounded) = yes] ($(addprefix
23639 $(objpfx),$(binaries-bounded))): Remove rule.
23640 ($(objpfx)%-bp.out): Remove rule.
23641 * config.make.in (build-bounded): Remove variable.
23642 * crypt/Makefile [$(build-bounded) = yes]
23643 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
23644 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
23645 append to variable.
23646 [$(build-bounded) = yes] (install-lib): Likewise.
23647 [$(build-bounded) = yes] (generated): Likewise.
23648 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
23649 Remove rule.
23650 * intl/Makefile [$(build-bounded) = yes]
23651 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
23652 * math/Makefile [$(build-bounded) = yes]
23653 ($(tests:%=$(objpfx)%-bp): Likewise.
23654 * misc/Makefile [$(build-bounded) = yes]
23655 ($(objpfx)tst-tsearch-bp): Likewise.
23656 * nptl/Makeconfig (bounded-thread-library): Remove variable.
23657 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
23658 Remove dependency.
23659 * string/Makefile (o-objects.ob): Remove variable.
23660 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
23661 (CFLAGS-.ob): Remove variable.
23662 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
23663 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
23664 both definitions of variable.
23665 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
23666 (ASFLAGS-.ob): Remove variable.
23667
e97ed6dd
JM
236682013-02-14 Joseph Myers <joseph@codesourcery.com>
23669
2bdd4ca6
JM
23670 [BZ #13550]
23671 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
23672 Remove __BOUNDED_POINTERS__ from condition.
23673 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
23674 * string/bits/string2.h [!__NO_STRING_INLINES &&
23675 !__BOUNDED_POINTERS__]: Likewise.
23676 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
23677 Likewise.
23678 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
23679 Remove conditional code.
23680 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
23681 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
23682 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
23683 condition.
23684
e97ed6dd
JM
23685 [BZ #13550]
23686 * csu/libc-start.c: Do not include <bp-sym.h>.
23687 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
23688 * elf/dl-open.c: Do not include <bp-sym.h>.
23689 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
23690 * math/fegetenv.c: Do not include <bp-sym.h>.
23691 (fegetenv): Do not use BP_SYM in versioned symbols.
23692 * nptl/sysdeps/pthread/bits/libc-lockP.h
23693 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
23694 <bp-sym.h>.
23695 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23696 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
23697 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23698 (__pthread_mutex_destroy): Likewise.
23699 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23700 (__pthread_mutex_lock): Likewise.
23701 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23702 (__pthread_mutex_trylock): Likewise.
23703 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23704 (__pthread_mutex_unlock): Likewise.
23705 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23706 (__pthread_mutexattr_init): Likewise.
23707 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23708 (__pthread_mutexattr_destroy): Likewise.
23709 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23710 (__pthread_mutexattr_settype): Likewise.
23711 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23712 (__pthread_rwlock_init): Likewise.
23713 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23714 (__pthread_rwlock_destroy): Likewise.
23715 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23716 (__pthread_rwlock_rdlock): Likewise.
23717 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23718 (__pthread_rwlock_tryrdlock): Likewise.
23719 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23720 (__pthread_rwlock_wrlock): Likewise.
23721 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23722 (__pthread_rwlock_trywrlock): Likewise.
23723 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23724 (__pthread_rwlock_unlock): Likewise.
23725 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23726 (__pthread_key_create): Likewise.
23727 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23728 (__pthread_setspecific): Likewise.
23729 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23730 (__pthread_getspecific): Likewise.
23731 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
23732 Likewise.
23733 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23734 (_pthread_cleanup_push_defer): Likewise.
23735 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23736 (_pthread_cleanup_pop_restore): Likewise.
23737 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23738 (pthread_setcancelstate): Likewise.
23739 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
23740 <bp-sym.h>.
23741 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
23742 (memchr): Do not use BP_SYM in weak_alias.
23743 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
23744 (fegetenv): Do not use BP_SYM in versioned symbols.
23745 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
23746 (fesetenv): Do not use BP_SYM in versioned symbols.
23747 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23748 (feupdateenv): Do not use BP_SYM in versioned symbols.
23749 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23750 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23751 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
23752 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
23753 (open64): Do not use BP_SYM in weak_alias.
23754 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
23755 (fegetenv): Do not use BP_SYM in versioned symbols.
23756 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
23757 (fesetenv): Do not use BP_SYM in versioned symbols.
23758 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23759 (feupdateenv): Do not use BP_SYM in versioned symbols.
23760 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
23761 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
23762 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
23763 (feraiseexcept): Do not use BP_SYM in versioned symbols.
23764 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23765 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23766 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
23767 <bp-sym.h>.
23768 (__libc_start_main): Do not use BP_SYM.
23769
d6752ccd
SP
237702013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23771
cb57ce60
SP
23772 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
23773 redundant return line.
23774 (norm): Likewise.
23775 (denorm): Likewise.
23776 (dbl_mp): Likewise.
23777 (sub_magnitudes): Likewise.
23778 (__add): Likewise.
23779 (__sub): Likewise.
23780 (__mul): Likewise.
23781 (__inv): Likewise.
23782 (__dvd): Likewise.
23783 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
23784 (norm): Likewise.
23785 (denorm): Likewise.
23786 (dbl_mp): Likewise.
23787 (sub_magnitudes): Likewise.
23788 (__add): Likewise.
23789 (__sub): Likewise.
23790 (__mul): Likewise.
23791 (__inv): Likewise.
23792 (__dvd): Likewise.
23793
f414520d
SP
23794 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
23795 instead of __mul.
23796 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23797 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
23798 (cc32): Likewise.
23799
d6752ccd
SP
23800 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
23801 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
23802 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
23803 of __mul for squares.
23804 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
23805 function
23806 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
23807 Likewise.
23808 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
23809 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23810
70d9946a
JM
238112013-02-13 Joseph Myers <joseph@codesourcery.com>
23812
23813 [BZ #13550]
23814 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
23815 code.
23816 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
23817 prototype or function definition. Rename ubp_* variables and
23818 parameters. Remove argv definitions conditional on
23819 [__BOUNDED_POINTERS__].
23820 * debug/backtrace.c (__backtrace): Do not use __unbounded.
23821 * elf/dl-runtime.c (_dl_fixup): Likewise.
23822 * include/set-hooks.h (RUN_HOOK): Likewise.
23823 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
23824 definition.
23825 * string/strcpy.c (strcpy): Do not use __unbounded.
23826 * sysdeps/generic/frame.h (struct layout): Likewise.
23827 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
23828 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
23829 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
23830 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
23831 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
23832 (__backtrace): Likewise.
23833 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
23834 use __ptrvalue.
23835 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23836 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23837 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
23838 Likewise.
23839 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
23840 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
23841 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23842 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23843 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
23844 Do not use __unbounded.
23845 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
23846 Rename __unboundedrlimits parameter to rlimits in prototype.
23847 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
23848 Do not use __unbounded.
23849 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
23850 not use __ptrvalue.
23851 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23852 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
23853 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23854 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
23855 __ptrvalue or __unbounded.
23856 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
23857 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
23858 use __unbounded.
23859 (__new_msgctl): Do not use __ptrvalue.
23860 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
23861 __unbounded.
23862 (__libc_msgrcv): Do not use __ptrvalue.
23863 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
23864 startup_info): Do not use __unbounded.
23865 (__libc_start_main): Likewise. Rename ubp_* variables and
23866 parameters. Remove argv definitions conditional on
23867 [__BOUNDED_POINTERS__].
23868 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
23869 __ptrvalue.
23870 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
23871 use __unbounded.
23872 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
23873 or __ptrvalue.
23874 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
23875 use __unbounded.
23876 (__new_shmctl): Do not use __ptrvalue.
23877 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
23878 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
23879 Likewise.
23880 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
23881 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
23882 (__libc_sigaction): Likewise.
23883 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
23884 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
23885 Likewise.
23886 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23887
cc7834d6
OB
238882013-02-13 Ondřej Bílka <neleai@seznam.cz>
23889
ffb1ec7b 23890 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
23891
23892 * string/mempcpy.c: Implement by calling memcpy.
23893
bdf02814
SP
238942013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23895
c2af38aa
SP
23896 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
23897
4e92d59e
SP
23898 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
23899 evaluation.
23900
909279a5
SP
23901 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
23902 values in the mantissa.
23903
bdf02814
SP
23904 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
23905 minimize writes to Z.
23906 (sub_magnitudes): Simplify code a bit.
23907
cd525923
RM
239082013-02-12 Roland McGrath <roland@hack.frob.com>
23909
23910 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
23911 from the message. The linker prefixes all warnings with that already.
23912
7e2f0d2d
AS
239132013-02-12 Andreas Schwab <schwab@suse.de>
23914
a445af0b
AS
23915 [BZ #15078]
23916 * posix/regexec.c (extend_buffers): Add parameter min_len.
23917 (check_matching): Pass minimum needed length.
23918 (clean_state_log_if_needed): Likewise.
23919 (get_subexp): Likewise.
23920 * posix/Makefile (tests): Add bug-regex34.
23921 (bug-regex34-ENV): Define.
23922 * posix/bug-regex34.c: New file.
23923
7e2f0d2d
AS
23924 [BZ #11561]
23925 * posix/regcomp.c (parse_bracket_exp): When looking up collating
23926 elements compare against the byte sequence of it, not its name.
23927 * posix/Makefile (tests): Add bug-regex35.
23928 (bug-regex35-ENV): Define.
23929 * posix/bug-regex35.c: New file.
23930
a175b684
TV
239312013-02-11 Tom de Vries <tom@codesourcery.com>
23932
23933 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
23934 comment.
23935 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
23936 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
23937 (CHECK_EOL): Add undef.
23938
310998fe 239392013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
23940
23941 * bits/stdlib-bsearch.h: New file.
23942 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 23943 * stdlib/stdlib.h: Likewise.
41eda41d 23944
8ded91fb
RM
239452013-02-11 Roland McGrath <roland@hack.frob.com>
23946
23947 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
23948 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
23949 declaration.
23950 * manual/search.texi (Array Search Function): Add missing const in
23951 lfind prototype.
23952 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
23953 declaration to use rlim_t.
23954 (Basic Scheduling Functions): Remove erroneous const from
23955 sched_getparam prototype. Remove erroneous * from
23956 sched_get_priority_max and sched_get_priority_min prototypes.
23957 (Resource Usage): Fix summary @comment on vtimes to refer to
23958 sys/vtimes.h rather than vtimes.h.
23959 Add missing *s in vtimes prototype.
23960 (Limits on Resources): Fix ulimit prototype to return long int.
23961 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
23962 prototypes to use long int rather than double.
23963 (BSD Random): Fix initstate and setstate to use char *, not void *.
23964 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
23965 prototype to make second argument 'struct aiocb64 *const[]'.
23966 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
23967 (Status of AIO Operations): Remove erroneous const in aio_return and
23968 aio_return64 prototypes.
23969 (Synchronizing I/O): Fix sync prototype to return void.
23970 * manual/startup.texi (Suboptions): Remove an erroneous const in
23971 getsubopt prototype.
23972 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
23973 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
23974 use size_t rather than int.
23975 (Scanning All Users): Likewise for getpwent_r.
23976 (Setting Groups): Add missing const to setgroups prototype.
23977 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
23978 * manual/socket.texi (Host Names): Fix gethostbyaddr and
23979 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
23980 'const void *' rather than 'const char *'.
23981 (Host Address Functions): Likewise for inet_ntop.
23982 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
23983 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
23984 ssize_t for return value.
23985 (Sending Data): Likewise for send, sendto, sendmsg.
23986 (Socket Option Functions): Add a missing const in setsockopt prototype.
23987 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
23988 use wchar_t for the argument.
23989 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
23990 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
23991 take no arguments.
23992 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
23993 double/float/long double for second argument.
23994 Fix return types of significand, significandf, significandl.
23995 * manual/filesys.texi (Setting Permissions): Use mode_t for second
23996 argument in fchmod prototype.
23997 (File Owner): Use uid_t and gid_t in fchown prototype.
23998 (File Times): Add const to utimes, futimes, and lutimes prototypes.
23999 (Making Special Files): Use mode_t and dev_t in mknod prototype.
24000 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
24001 use 'const struct dirent **' as argument types to CMP function pointer
24002 argument.
24003 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
24004 (File Times): Fix summary magic @comment for struct utimbuf and utime
24005 to refer to utime.h, not time.h.
24006 * manual/string.texi (Argz Functions): Add missing const in
24007 argz_extract and argz_next prototypes.
24008 (Finding Tokens in a String): Likewise for basename.
24009 (String/Array Comparison): Fix typo in wcscasecmp prototype.
24010 (Copying and Concatenation): Fix typo in wmemmove prototype.
24011 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
24012 (Signal Stack): Remove erroneous const in sigstack prototype.
24013 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
24014 prototype.
24015 (Simple Calendar Time): Likewise for stime.
24016 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
24017 prototype.
24018 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
24019 say sys/sysctl.h instead.
24020 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
24021 and vsyslog prototypes.
24022
fe77fe6d
TV
240232013-02-11 Tom de Vries <tom@codesourcery.com>
24024
24025 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
24026 Remove.
24027
3a09b620
RM
240282013-02-11 Roland McGrath <roland@hack.frob.com>
24029
24030 * misc/sys/mman.h: Fix typo in mremap comment.
24031
550a0b89
RM
240322013-02-08 Roland McGrath <roland@hack.frob.com>
24033
24034 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
24035 the '\0' terminator.
24036
a2da1673
JM
240372013-02-08 Joseph Myers <joseph@codesourcery.com>
24038
24039 [BZ #13550]
24040 * debug/segfault.c: Don't include <bp-checks.h>.
24041 * sysdeps/generic/bp-checks.h: Remove file.
24042 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
24043 (__GETDENTS): Don't use CHECK_N.
24044 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
24045 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
24046 (__getgroups): Don't use CHECK_N.
24047 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
24048 (setgroups): Don't use CHECK_N.
24049 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
24050 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
24051 (__libc_msgrcv): Don't use CHECK_N.
24052 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
24053 (__libc_msgsnd): Don't use CHECK_N.
24054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
24055 <bp-checks.h>.
24056 (__libc_pread): Don't use CHECK_N.
24057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
24058 include <bp-checks.h>.
24059 (__libc_pread64): Don't use CHECK_N.
24060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
24061 include <bp-checks.h>.
24062 (__libc_pwrite): Don't use CHECK_N.
24063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
24064 include <bp-checks.h>.
24065 (__libc_pwrite64): Don't use CHECK_N.
24066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
24067 <bp-checks.h>.
24068 (__libc_pread): Don't use CHECK_N.
24069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
24070 include <bp-checks.h>.
24071 (__libc_pread64): Don't use CHECK_N.
24072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
24073 include <bp-checks.h>.
24074 (__libc_pwrite): Don't use CHECK_N.
24075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
24076 include <bp-checks.h>.
24077 (__libc_pwrite64): Don't use CHECK_N.
24078 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
24079 (do_pread): Don't use CHECK_N.
24080 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
24081 (do_pread64): Don't use CHECK_N.
24082 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
24083 (do_pwrite): Don't use CHECK_N.
24084 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
24085 (do_pwrite64): Don't use CHECK_N.
24086 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
24087 (__libc_readv): Don't use CHECK_N.
24088 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
24089 (semop): Don't use CHECK_N.
24090 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
24091 <bp-checks.h>.
24092 (semtimedop): Don't use CHECK_N.
24093 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
24094 (__libc_pread): Don't use CHECK_N.
24095 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
24096 <bp-checks.h>.
24097 (__libc_pread64): Don't use CHECK_N.
24098 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
24099 <bp-checks.h>.
24100 (__libc_pwrite): Don't use CHECK_N.
24101 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
24102 <bp-checks.h>.
24103 (__libc_pwrite64): Don't use CHECK_N.
24104 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
24105 <bp-checks.h>.
24106 (__libc_msgrcv): Don't use CHECK_N.
24107 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
24108 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
24109 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
24110 (__libc_writev): Don't use CHECK_N.
24111
b84660a8
RM
241122013-02-08 Roland McGrath <roland@hack.frob.com>
24113
7f3e75f8
RM
24114 * string/strcpy.c: Removed unused variable.
24115
b84660a8
RM
24116 * Makeconfig (+sysdep-includes): Define with := rather than =.
24117 Use an existing include/ subdir of each sysdeps dir before it.
24118
471514d3
CD
241192013-02-08 Carlos O'Donell <carlos@redhat.com>
24120
24121 * nscd/connection.c (register_traced_file): Comment function.
24122 [HAVE_INOTIFY] (union __inev): Define.
24123 [HAVE_INOTIFY] (inotify_check_files): New function.
24124 [HAVE_INOTIFY] (clear_db_cache): Likewise.
24125 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
24126 clear_db_cache.
24127 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
24128
b2d3c3be
CD
241292013-02-08 Carlos O'Donell <carlos@redhat.com>
24130
24131 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
24132 loaded if not already and that a failure is permanent.
24133
b39949d2
CD
241342013-02-08 Carlos O'Donell <carlos@redhat.com>
24135
ddacd1db 24136 [BZ #15006]
b39949d2
CD
24137 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
24138 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
24139
b2c9eff4
JM
241402013-02-08 Joseph Myers <joseph@codesourcery.com>
24141
f3aae3f3
JM
24142 [BZ #13550]
24143 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
24144 (CHECK_1_NULL_OK): Likewise.
24145 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
24146 (__fxstat): Do not use CHECK_1.
24147 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
24148 <bp-checks.h>.
24149 (___fxstat64): Do not use CHECK_1.
24150 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24151 <bp-checks.h>.
24152 (__fxstatat): Do not use CHECK_1.
24153 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24154 <bp-checks.h>.
24155 (__fxstatat64): Do not use CHECK_1.
24156 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
24157 <bp-checks.h>.
24158 (__fxstat): Do not use CHECK_1.
24159 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24160 <bp-checks.h>.
24161 (__fxstatat): Do not use CHECK_1.
24162 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24163 <bp-checks.h>.
24164 (__getresgid): Do not use CHECK_1.
24165 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24166 <bp-checks.h>.
24167 (__getresuid): Do not use CHECK_1.
24168 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
24169 <bp-checks.h>.
24170 (__lxstat): Do not use CHECK_1.
24171 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24172 <bp-checks.h>.
24173 (__old_msgctl): Do not use CHECK_1.
24174 (__new_msgctl): Likewise.
24175 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
24176 <bp-checks.h>.
24177 (__new_setrlimit): Do not use CHECK_1.
24178 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24179 <bp-checks.h>.
24180 (__old_shmctl): Do not use CHECK_1.
24181 (__new_shmctl): Likewise.
24182 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
24183 <bp-checks.h>.
24184 (__xstat): Do not use CHECK_1.
24185 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
24186 (__lxstat): Do not use CHECK_1.
24187 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
24188 <bp-checks.h>.
24189 (___lxstat64): Do not use CHECK_1.
24190 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
24191 (__old_msgctl): Do not use CHECK_1.
24192 (__new_msgctl): Likewise.
24193 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
24194 <bp-checks.h>.
24195 (__gettimeofday): Do not use CHECK_1.
24196 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
24197 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
24198 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
24199 <bp-checks.h>.
24200 (__gettimeofday): Do not use CHECK_1.
24201 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
24202 (__old_shmctl): Do not use CHECK_1_NULL_OK.
24203 (__new_shmctl): Do not use CHECK_1.
24204 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
24205 <bp-checks.h>.
24206 (do_sigtimedwait): Do not use CHECK_1.
24207 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
24208 <bp-checks.h>.
24209 (do_sigwaitinfo): Do not use CHECK_1.
24210 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
24211 <bp-checks.h>.
24212 (msgctl): Do not use CHECK_1.
24213 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
24214 <bp-checks.h>.
24215 (shmctl): Do not use CHECK_1.
24216 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
24217 (ustat): Do not use CHECK_1.
24218 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
24219 <bp-checks.h>.
24220 (__fxstat): Do not use CHECK_1.
24221 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
24222 <bp-checks.h>.
24223 (__fxstatat): Do not use CHECK_1.
24224 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
24225 <bp-checks.h>.
24226 (__lxstat): Do not use CHECK_1.
24227 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
24228 <bp-checks.h>.
24229 (__xstat): Do not use CHECK_1.
24230 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
24231 (__xstat): Do not use CHECK_1.
24232 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
24233 (___xstat64): Do not use CHECK_1.
24234
b2c9eff4
JM
24235 [BZ #13550]
24236 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
24237 definitions.
24238 (CHECK_BOUNDS_HIGH): Likewise.
24239 * string/strcpy.c: Do not include <bp-checks.h>.
24240 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
24241
f1d70dad
RM
242422013-02-07 Roland McGrath <roland@hack.frob.com>
24243
24244 * nscd/nscd-client.h (__nscd_drop_map_ref):
24245 Add __attribute__ ((unused)).
24246 * nis/nss-nisplus.h (niserr2nss): Likewise.
24247
24248 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
24249 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
24250
24251 * csu/libc-tls.c (init_static_tls, init_slotinfo):
24252 Remove inline keyword.
24253 * include/rounding-mode.h (round_away): Likewise.
24254 * libio/wfileops.c (adjust_wide_data): Likewise.
24255 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
24256 (__m128i_strloadu_tolower): Likewise.
24257 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
24258 (__m128i_strloadu_tolower): Likewise.
24259 * time/mktime.c (ydhms_diff): Likewise.
24260 * locale/elem-hash.h (elem_hash): Likewise.
24261 * locale/setlocale.c (setdata): Likewise.
24262 * posix/regex_internal.h (re_string_char_size_at): Likewise.
24263 (re_string_wchar_at): Likewise.
24264 (bitset_not, bitset_merge, bitset_mask): Likewise.
24265 [!(__GNUC__ > 3)] (inline): Remove macro.
24266 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
24267 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
24268 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
24269 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24270 * string/memcmp.c (memcmp_bytes): Likewise.
24271 * locale/programs/locarchive.c (compute_hashval): Likewise.
24272 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
24273 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
24274 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
24275 * nss/getent.c (print_rpc, print_protocols): Likewise.
24276 (print_passwd, print_group, print_aliases): Likewise.
24277 * nis/nss-nisplus.h (niserr2nss): Likewise.
24278 * nscd/connections.c (restart_p): Likewise.
24279 Change return type to bool.
24280
eab55bfb
RM
242812013-02-05 Roland McGrath <roland@hack.frob.com>
24282
7bd642f5
RM
24283 * Makeconfig (all-Depend-files): Add existing
24284 $(sorted-subdirs:=/Depend) files.
24285 (all-subdirs): Remove nss.
24286 * sysdeps/unix/inet/Subdirs: Add it here instead.
24287 * hesiod/Depend: New file.
24288
573c29b2
RM
24289 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
24290 instead of calling alloca.
24291
b2e25af0
RM
24292 * io/lseek.c (__lseek): Rename to __libc_lseek.
24293 Define __lseek as an alias.
24294
eab55bfb
RM
24295 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
24296
9a0d1941
CD
242972013-02-04 Carlos O'Donell <carlos@redhat.com>
24298
24299 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
24300 else clause and remove check for non-standard endianness.
24301
b83bbec4
DM
243022013-02-04 David S. Miller <davem@davemloft.net>
24303
24304 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24305
6277fdab
JM
243062013-02-04 Joseph Myers <joseph@codesourcery.com>
24307
24308 [BZ #13550]
24309 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
24310 (__ubp_memchr): Remove prototype.
24311 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
24312 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24313 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
24314 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24315 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
24316 Remove alias.
24317 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
24318 (__ubp_memchr): Likewise.
24319 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
24320 (__ubp_memchr): Likewise.
24321 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
24322 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
24323 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
24324 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
24325 CHECK_STRING.
24326 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24327 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
24328 (__getcwd): Do not use CHECK_STRING.
24329 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24330 <bp-checks.h>.
24331 (__real_chown): Do not use CHECK_STRING.
24332 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
24333 <bp-checks.h>.
24334 (fchownat): Do not use CHECK_STRING.
24335 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
24336 CHECK_STRING.
24337 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24338 <bp-checks.h>.
24339 (__lchown): Do not use CHECK_STRING.
24340 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24341 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24342 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24343 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
24344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24345 include <bp-checks.h>.
24346 (truncate64): Do not use CHECK_STRING.
24347 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24348 <bp-checks.h>.
24349 (__real_chown): Do not use CHECK_STRING.
24350 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24351 <bp-checks.h>.
24352 (__lchown): Do not use CHECK_STRING.
24353 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24354 <bp-checks.h>.
24355 (__chown): Do not use CHECK_STRING.
24356 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
24357 <bp-checks.h>.
24358 (truncate64): Do not use CHECK_STRING.
24359 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
24360 Likewise.
24361 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
24362 (__xmknod): Do not use CHECK_STRING.
24363 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
24364 <bp-checks.h>.
24365 (__xmknodat): Do not use CHECK_STRING.
24366 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24367 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
24368
903ae060
AS
243692013-02-04 Andreas Schwab <schwab@suse.de>
24370
24371 [BZ #14142]
24372 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
24373 * include/netdb.h: Likewise for h_errno.
24374 * elf/tst-stackguard1.c: Include <tls.h>.
24375
542f9466
JK
243762013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
24377
24378 * elf/link.h (struct link_map): Extend the l_addr comment.
24379 * include/link.h (struct link_map): Likewise.
24380
e782a927
JM
243812013-02-01 Joseph Myers <joseph@codesourcery.com>
24382
24383 [BZ #13550]
24384 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
24385 (BOUNDED_1): Remove macro.
24386 * debug/backtrace.c: Don't include <bp-checks.h>.
24387 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
24388 (__backtrace): Likewise.
24389 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
24390 <bp-checks.h>.
24391 (__backtrace): Don't use BOUNDED_1.
24392 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
24393 <bp-checks.h>.
24394 (__backtrace): Don't use BOUNDED_1.
24395 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
24396 (__backtrace): Don't use BOUNDED_1.
24397 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
24398 (shmat): Don't use BOUNDED_N.
24399
8cf28c5e
JM
244002013-01-31 Joseph Myers <joseph@codesourcery.com>
24401
3a7ac8a0
JM
24402 [BZ #13550]
24403 * sysdeps/generic/bp-start.h: Remove file.
24404 * csu/libc-start.c: Don't include <bp-start.h>.
24405 (LIBC_START_MAIN): Set up __environ directly instead of using
24406 INIT_ARGV_and_ENVIRON.
24407 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
24408 <bp-start.h>.
24409
f3499f95
JM
24410 [BZ #13550]
24411 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
24412 definitions.
24413 (CHECK_FCNTL): Likewise.
24414 (CHECK_N_PAGES): Likewise.
24415
32a45bea
JM
24416 [BZ #13550]
24417 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
24418 definitions.
24419 (CHECK_SIGSET_NULL_OK): Likewise.
24420 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
24421 <bp-checks.h>.
24422 (sigpending): Don't use CHECK_SIGSET.
24423 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
24424 <bp-checks.h>.
24425 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24426 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
24427 <bp-checks.h>.
24428 (do_sigsuspend): Don't use CHECK_SIGSET.
24429 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
24430 use CHECK_SIGSET.
24431 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
24432 (do_sigwait): Don't use CHECK_SIGSET.
24433 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
24434 use CHECK_SIGSET.
24435 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
24436 include <bp-checks.h>.
24437 (sigpending): Don't use CHECK_SIGSET.
24438 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
24439 include <bp-checks.h>.
24440 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24441 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
24442 <bp-checks.h>.
24443 (sigpending): Don't use CHECK_SIGSET.
24444 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
24445 <bp-checks.h>.
24446 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24447
2e8a5c8c
JM
24448 [BZ #13550]
24449 * sysdeps/generic/bp-semctl.h: Remove file.
24450 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
24451 <bp-checks.h> and <bp-semctl.h>.
24452 (__old_semctl): Don't use CHECK_SEMCTL.
24453 (__new_semctl): Likewise.
24454 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
24455 and <bp-semctl.h>.
24456 (__old_semctl): Don't use CHECK_SEMCTL.
24457 (__new_semctl): Likewise.
24458 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
24459 <bp-checks.h> and <bp-semctl.h>.
24460 (__old_semctl): Don't use CHECK_SEMCTL.
24461 (__new_semctl): Likewise.
24462 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
24463 <bp-checks.h> and <bp-semctl.h>.
24464 (semctl): Don't use CHECK_SEMCTL.
24465
c2d54929
JM
24466 [BZ #13550]
24467 * Makerules (elide-bp-thunks): Remove variable.
24468 (elide-routines.oS): Don't use $(elide-bp-thunks).
24469 (elide-routines.os): Likewise.
24470 (elide-routines.o): Likewise.
24471 (elide-routines.op): Likewise.
24472 (elide-routines.og): Likewise.
24473 (objects): Don't use $(bp-thunks).
24474 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
24475 include.
24476 (common-generated): Do not add s-proto-bp.d.
24477 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
24478 (int): Likewise.
24479 (typ): Likewise.
24480 Do not generate makefile rules for bounded-pointer thunks.
24481 * sysdeps/generic/bp-thunks.h: Remove file.
24482 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
24483 * sysdeps/unix/s-proto-bp.S: Likewise.
24484
8cf28c5e
JM
24485 [BZ #15062]
24486 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
24487 parts of result separately when argument is not close to line from
24488 -i to i and one part of argument is small.
24489 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24490 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24491 * math/libm-test.inc (cacos_test): Add more tests.
24492 (casin_test): Likewise.
24493 (casinh_test): Likewise.
24494 * sysdeps/i386/fpu/libm-test-ulps: Update.
24495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24496
c4e33b8d
DM
244972013-01-31 David S. Miller <davem@davemloft.net>
24498
24499 * po/de.po: Update from translation team.
24500
3b60b421
MK
245012013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
24502
24503 * time/tzfile.c: Include stdint.h for SIZE_MAX.
24504
bb931195
TS
245052013-01-25 Thomas Schwinge <thomas@codesourcery.com>
24506
b5a5da23
TS
24507 * configure.in (_AC_PROG_CC_C89): New definition.
24508 * configure: Regenerate.
24509
bb931195
TS
24510 * configure.in (AC_PROG_CPP): New definition.
24511 * configure: Regenerate.
24512
8c53a12c
JM
245132013-01-23 Joseph Myers <joseph@codesourcery.com>
24514
24515 * debug/tst-backtrace.h: New file.
24516 * debug/tst-backtrace2.c: Include tst-backtrace.h.
24517 (ret): Remove variable.
24518 (x): Likewise.
24519 (FAIL): Remove macro.
24520 (NO_INLINE): Likewise.
24521 (fn1): Use match function instead of strstr.
24522 * debug/tst-backtrace3.c: Include tst-backtrace.h.
24523 (ret): Remove variable.
24524 (x): Likewise.
24525 (FAIL): Remove macro.
24526 (NO_INLINE): Likewise.
24527 (fn): Use match function instead of strstr.
24528 * debug/tst-backtrace4.c: Include tst-backtrace.h.
24529 (ret): Remove variable.
24530 (x): Likewise.
24531 (FAIL): Remove macro.
24532 (NO_INLINE): Likewise.
24533 (handle_signal): Use match function instead of strstr.
24534 * debug/tst-backtrace5.c: Include tst-backtrace.h.
24535 (ret): Remove variable.
24536 (x): Likewise.
24537 (FAIL): Remove macro.
24538 (NO_INLINE): Likewise.
24539 (handle_signal): Use match function instead of strstr.
24540
4858fa2a
RM
245412013-01-23 Roland McGrath <roland@hack.frob.com>
24542
24543 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
24544
bae8e7f5
DM
245452013-01-23 David S. Miller <davem@davemloft.net>
24546
24547 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
24548 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
24549 argument of CAS if possible.
24550 * sysdeps/sparc/sparc64/bits/atomic.h
24551 (__arch_compare_and_exchange_val_32_acq): Likewise.
24552 (__arch_compare_and_exchange_val_64_acq): Likewise.
24553
9cbbc4ae
PT
245542013-01-23 Pino Toscano <toscano.pino@tiscali.it>
24555
24556 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
24557 * sysdeps/posix/ulimit.c: ... this.
92a601b8 24558 Include <limits.h>.
67b3f58c 24559 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 24560
5655a0b5
AC
245612013-01-23 Adam Conrad <adconrad@0c3.net>
24562
24563 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
24564 (LDFLAGS-tst-array5): Likewise.
24565
052aff95
JM
245662013-01-23 Joseph Myers <joseph@codesourcery.com>
24567
24568 [BZ #15036]
24569 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
24570 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
24571 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
24572 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
24573
7c1e01aa
DM
245742013-01-21 David S. Miller <davem@davemloft.net>
24575
24576 * sysdeps/sparc/backtrace.c: New file.
24577 * sysdeps/sparc/sparc32/backtrace.h: New file.
24578 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
24579 * sysdeps/sparc/sparc64/backtrace.h: New file.
24580 * sysdeps/sparc/sparc64/backtrace.c: Delete.
24581 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
24582 -funwind-tables.
24583
ab087e0a
AS
245842013-01-21 Andreas Schwab <schwab@suse.de>
24585
24586 [BZ #15020]
24587 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
24588 closed its stdout.
24589
ed689c2f
AS
245902013-01-20 Andreas Schwab <schwab@linux-m68k.org>
24591
24592 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
24593 "mpa2.h".
24594 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24595
31d470ac
JM
245962013-01-18 Joseph Myers <joseph@codesourcery.com>
24597 Mark Mitchell <mark@codesourcery.com>
24598 Tom de Vries <tom@codesourcery.com>
24599 Paul Pluzhnikov <ppluzhnikov@google.com>
24600
24601 * debug/tst-backtrace2.c: New file.
24602 * debug/tst-backtrace3.c: Likewise.
24603 * debug/tst-backtrace4.c: Likewise.
24604 * debug/tst-backtrace5.c: Likewise.
24605 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
24606 (CFLAGS-tst-backtrace3.c): Likewise.
24607 (CFLAGS-tst-backtrace4.c): Likewise.
24608 (CFLAGS-tst-backtrace5.c): Likewise.
24609 (LDFLAGS-tst-backtrace2): Likewise.
24610 (LDFLAGS-tst-backtrace3): Likewise.
24611 (LDFLAGS-tst-backtrace4): Likewise.
24612 (LDFLAGS-tst-backtrace5): Likewise.
24613 (tests): Add new tests tst-backtrace2, tst-backtrace3,
24614 tst-backtrace4 and tst-backtrace5.
24615
90567f30 246162013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
24617 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24618
24619 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
24620 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
24621 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
24622 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
24623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24624 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
24625 "+r" and remove output regs list as redundant. Add explicit inline
24626 asm to specify register of return val to work around compiler codegen
24627 bug. Remove (int) cast on return value. Add return type parameter to
24628 use in macro so that this macro does not truncate return value for
24629 64-bit values.
24630 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
24631 pass to INTERNAL_VSYSCALL_NCS.
24632 (INLINE_VSYSCALL): Add 'long int' as return type to
24633 INTERNAL_VSYSCALL_NCS macro invocation.
24634 (INTERNAL_VSYSCALL): Add 'long int' as return type to
24635 INTERNAL_VSYSCALL_NCS macro invocation.
24636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24637
d3b9ea61
SP
246382013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24639
0b57daeb
SP
24640 [BZ #14496]
24641 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
24642 Fix application of SIMD FP exception mask.
24643
caa99d06
SP
24644 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
24645 mp_no from a power of two.
24646 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
24647 __mpexp_twomm1. Use __pow_mp.
24648
d3b9ea61
SP
24649 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
24650 multiplication.
24651
1dbaee3c
DM
246522013-01-17 David S. Miller <davem@davemloft.net>
24653
24654 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24655
728d7b43
JM
246562013-01-17 Joseph Myers <joseph@codesourcery.com>
24657
24658 [BZ #15023]
24659 * include/complex.h: Condition contents on [!_COMPLEX_H].
24660 (__kernel_casinhf): New prototype.
24661 (__kernel_casinh): Likewise.
24662 (__kernel_casinhl): Likewise.
24663 * math/Makefile (libm_calls): Add k_casinh.
24664 * math/k_casinh.c: New file.
24665 * math/k_casinhf.c: Likewise.
24666 * math/k_casinhl.c: Likewise.
24667 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
24668 finite nonzero arguments.
24669 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
24670 finite nonzero arguments.
24671 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
24672 finite nonzero arguments.
24673 * math/s_casinh.c: Do not include <float.h>.
24674 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
24675 * math/s_casinhf.c: Do not include <float.h>.
24676 (__casinhf): Move code for finite nonzero arguments to
24677 k_casinhf.c.
24678 * math/s_casinhl.c: Do not include <float.h>.
24679 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
24680 redefine.
24681 (__casinhl): Move code for finite nonzero arguments to
24682 k_casinhl.c.
24683 * math/libm-test.inc (cacos_test): Add more tests.
24684 * sysdeps/i386/fpu/libm-test-ulps: Update.
24685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24686
2a26ef3a
PT
246872013-01-17 Pino Toscano <toscano.pino@tiscali.it>
24688
24689 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
24690 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
24691 [!HAVE_MREMAP]: Remove [defined linux] case.
24692 * malloc/arena.c: Do not include <malloc-sysdep.h>.
24693
a897655d
SP
246942013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24695
24696 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
24697
881ebe89 246982013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
24699
24700 * elf/elf.h (R_386_SIZE32): New relocation.
24701 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
24702 R_386_SIZE32.
24703 (elf_machine_rela): Likewise.
24704 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24705 R_X86_64_SIZE64 and R_X86_64_SIZE32.
24706
59981e9b
JM
247072013-01-17 Joseph Myers <joseph@codesourcery.com>
24708
24709 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
24710 (FP_FAST_FMA): Do not define.
24711 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
24712 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
24713 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
24714 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
24715 !_SOFT_FLOAT]: Likewise.
24716 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
24717 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
24718 value.
24719 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
24720 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
24721 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
24722 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
24723 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
24724 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
24725 file.
24726
cfa8054f
AS
247272013-01-16 Andreas Schwab <schwab@suse.de>
24728
24729 [BZ #14327]
24730 * include/stdlib.h (__mktemp): Add declaration.
24731 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
24732 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
24733
dd930cc5
SP
247342013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24735
881ebe89
SP
24736 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
24737 definitions.
24738 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24739 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
24740 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
24741 definitions here.
24742 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
24743 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
24744 definitions.
24745 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
24746 and ONE.
24747 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
24748 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
24749 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
24750 definitions.
24751 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
24752 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
24753 definitions.
24754 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 24755
dd930cc5
SP
24756 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
24757
c19a9f89
DM
247582013-01-15 David S. Miller <davem@davemloft.net>
24759
1aa61767
DM
24760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24761 trunc{,f} to libm-sysdep_routes.
24762 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
24764 file.
24765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
24766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
24767 file.
24768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
24769 file.
24770 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
24771 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
24772 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
24773 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
24774 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
24775 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
24776 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
24777 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
24778
c42d5e98
DM
24779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24780 nearbyint{,f} to libm-sysdep_routes.
24781 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
24783 New file.
24784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
24785 file.
24786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
24787 New file.
24788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
24789 file.
24790 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
24791 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
24792 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
24793 file.
24794 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
24795 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
24796 file.
24797 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
24798 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
24799 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
24800
c19a9f89
DM
24801 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24802 libc_feholdexcept and libc_fesetenv.
24803
357679d2
MF
248042013-01-15 Mike Frysinger <vapier@gentoo.org>
24805
24806 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
24807
65a82e3d
DM
248082013-01-14 David S. Miller <davem@davemloft.net>
24809
8b954ab9
DM
24810 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
24811 (SPARC_ASM_VIS2_IFUNC): Likewise.
24812 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
24813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
24814 use of 'siam' instruction.
24815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
24816 Likewise.
24817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
24818 Likewise.
24819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
24820 Likewise.
24821 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
24822 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
24823 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
24824 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
24825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
24826 file.
24827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
24828 file.
24829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
24830 file.
24831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
24832 file.
24833 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
24834 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
24835 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
24836 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
24837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
24838 new VIS2 routines.
24839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24842 Likewise.
24843 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24844 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24845 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24846 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
24848 routines to libm-sysdep_routines.
24849 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24850
65a82e3d
DM
24851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24852 fdim/fdimf to libm-sysdep_routines.
24853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
24854 file.
24855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
24856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
24857 file.
24858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
24859 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
24860 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
24861 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
24862 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
24863 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
24864 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
24865
e34ab705
SP
248662013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24867
2a91b573
SP
24868 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
24869 to optimize copies.
24870
1066a534
SP
24871 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
24872 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24873 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24874
e34ab705
SP
24875 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
24876 local variable MPTWO.
24877 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24878 Likewise.
24879
aba5e596
MF
248802013-01-13 Mike Frysinger <vapier@gentoo.org>
24881
24882 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
24883 GLOB_NOESCAPE.
24884
e557e9e5
MF
248852013-01-13 Mike Frysinger <vapier@gentoo.org>
24886
24887 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
24888
0428cec9
MF
248892013-01-13 Mike Frysinger <vapier@gentoo.org>
24890
24891 * manual/pattern.texi (glob_t): Document gl_flags.
24892 (glob64_t): Likewise.
24893
8794a964
DM
248942013-01-11 David S. Miller <davem@davemloft.net>
24895
66438c3f
RM
24896 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
24897 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
24898 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
24899 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
24900 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
24901 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
24902 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
24903 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
24904 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
24905 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
24906 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
24907 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
24908 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
24909
4ae4244d
DM
24910 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24911 sparc V9 rather than using V8 code.
24912 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24913 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24914
8794a964
DM
24915 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24916 Move to...
24917 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
24918 Here.
24919
6270516e
RM
249202013-01-11 Roland McGrath <roland@hack.frob.com>
24921
24922 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
24923 not in the main loop.
24924 * configure: Regenerated.
24925
6a57d931
JM
249262013-01-11 Joseph Myers <joseph@codesourcery.com>
24927
24928 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
24929 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
24930 to just #else.
24931 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
24932 [!__GLIBC_HAVE_LONG_LONG] case.
24933 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
24934 condition to just #else.
24935 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
24936 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
24937 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
24938 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
24939 unconditional.
24940 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
24941 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24942 #elif condition to just #else.
24943 * sysdeps/unix/sysv/linux/sys/sysmacros.h
24944 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
24945 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24946 #elif condition to just #else.
24947
0e8529e9
SE
249482013-01-11 Steve Ellcey <sellcey@mips.com>
24949
24950 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
24951 (EF_MIPS_ARCH_64): Fix value.
24952 (EF_MIPS_ARCH_32R2): New.
24953 (EF_MIPS_ARCH_64R2): New.
24954
740b3dbe
L
249552013-01-11 H.J. Lu <hongjiu.lu@intel.com>
24956
24957 * Makeconfig (+link-pie-before-libc): New.
24958 (+link-pie-after-libc): Likewise.
24959 (+link-pie-tests): Likewise.
24960 (+link-pie): Rewritten.
24961 (link-before-libc): Remove $(config-LDFLAGS).
24962 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
24963 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
24964 (config-LDFLAGS): Renamed to ...
24965 (rtld-LDFLAGS): This.
24966 (rtld-tests-LDFLAGS): New macro.
24967 (link-libc-rpath-link): Likewise.
24968 (link-libc-tests-rpath-link): Likewise.
24969 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
24970 (link-libc): Prepand $(link-libc-rpath-link).
24971 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
24972 (test-program-prefix): New macro.
24973 (test-via-rtld-prefix): Likewise.
24974 (test-program-cmd): Likewise.
24975 (host-test-program-cmd): Likewise.
24976 * Makefile ($(common-objpfx)testrun.sh): Replace
24977 $(run-program-prefix) with $(test-program-prefix).
24978 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
24979 $(rtld-LDFLAGS).
24980 ($(common-objpfx)shlib.lds): Likewise.
24981 (build-module-helper): Likewise.
24982 ($(common-objpfx)format.lds): Likewise.
24983 * Rules (binaries-pie-tests): New.
24984 (binaries-pie-notests): Likewise.
24985 (binaries-pie): Rewritten.
24986 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
24987 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
24988 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
24989 (make-test-out): Replace $(host-built-program-cmd) with
24990 $(host-test-program-cmd).
24991 * config.make.in (build-hardcoded-path-in-tests): New variable.
24992 * configure.in (--enable-hardcoded-path-in-tests): New configure
24993 option.
24994 (hardcoded_path_in_tests): New AC_SUBST.
24995 * configure: Regenerated.
24996 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
24997 $(built-program-cmd) with $(test-program-cmd).
24998 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
24999 (test_program_cmd): This.
25000 * elf/Makefile ($(objpfx)order.out): Run test with
25001 $(test-program-prefix).
25002 ($(objpfx)order2.out): Likewise.
25003 ($(objpfx)tst-initorder.out): Likewise.
25004 ($(objpfx)tst-initorder2.out): Likewise.
25005 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
25006 $(test-program-cmd).
25007 ($(objpfx)tst-array1-static.out): Likewise.
25008 ($(objpfx)tst-array2.out): Likewise.
25009 ($(objpfx)tst-array3.out): Likewise.
25010 ($(objpfx)tst-array4.out): Likewise.
25011 ($(objpfx)tst-array5.out): Likewise.
25012 ($(objpfx)tst-array5-static.out): Likewise.
25013 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
25014 $(test-program-cmd).
25015 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
25016 $(run-program-prefix) with $(test-program-prefix).
25017 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
25018 (test_program_prefix): This.
25019 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
25020 $(run-program-prefix) with $(test-program-prefix).
25021 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
25022 (test_program_prefix): This.
25023 * iconvdata/tst-tables.sh: Likewise.
25024 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
25025 $(run-program-prefix) with $(test-program-prefix).
25026 ($(objpfx)tst-translit.out): Likewise.
25027 ($(objpfx)tst-gettext2.out): Likewise.
25028 ($(objpfx)tst-gettext4.out): Likewise.
25029 ($(objpfx)tst-gettext6.out): Likewise.
25030 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
25031 (test_program_prefix): This.
25032 * intl/tst-gettext2.sh: Likewise.
25033 * intl/tst-gettext4.sh Likewise.
25034 * intl/tst-gettext6.sh: Likewise.
25035 * intl/tst-translit.sh: Likewise.
25036 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
25037 with $(test-program-cmd).
25038 * libio/Makefile ($(objpfx)test-freopen.out): Replace
25039 $(run-program-prefix) with $(test-program-prefix).
25040 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
25041 (test_program_prefix): This.
25042 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
25043 $(run-program-prefix) with $(test-program-prefix).
25044 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
25045 (test_program_prefix): This.
25046 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
25047 * posix/Makefile ($(objpfx)globtest.out): Replace
25048 $(run-via-rtld-prefix) and $(test-wrapper) with
25049 $(test-program-prefix) and $(test-via-rtld-prefix).
25050 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
25051 $(test-program-prefix).
25052 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
25053 $(host-test-program-cmd).
25054 (tst-spawn-ARGS): Likewise.
25055 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
25056 $(test-program-prefix).
25057 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
25058 (test_via_rtld_prefix): This.
25059 (test_wrapper): Renamed to ...
25060 (test_program_prefix): This.
25061 (run_program_prefix): Replaced by test_program_prefix.
25062 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
25063 (test_program_prefix): This.
25064 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
25065 with $(host-test-program-cmd).
25066 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
25067 $(run-program-prefix) with $(test-program-prefix).
25068 ($(objpfx)tst-printf.out): Likewise.
25069 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
25070 $(test-program-cmd).
25071 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
25072 (test_program_prefix): This.
25073 * stdio-common/tst-unbputc.sh: Likewise.
25074 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
25075 $(run-program-prefix) with $(test-program-prefix).
25076 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
25077 (test_program_prefix): This.
25078 * string/Makefile ($(objpfx)tst-svc.out): Replace
25079 $(built-program-cmd) with $(test-program-cmd).
25080
c6fe55cf
AJ
250812013-01-11 Andreas Jaeger <aj@suse.de>
25082
25083 [BZ #15003]
25084 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
25085 value. Sync with Linux 3.7.
25086
9e6919c8
DM
250872013-01-10 David S. Miller <davem@davemloft.net>
25088
25089 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
25090 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25091 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25092
1c9f1a02
RM
250932013-01-10 Roland McGrath <roland@hack.frob.com>
25094
25095 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
25096 never set.
25097 * configure: Regenerated.
25098
b9de2dde
DM
250992013-01-10 David S. Miller <davem@davemloft.net>
25100
25101 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25102 sparc V9 rather than using V8 code.
25103 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25104 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25105
e7f68ef4
RM
251062013-01-10 Roland McGrath <roland@hack.frob.com>
25107
25108 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
25109 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
25110 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
25111 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
25112 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
25113 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
25114 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
25115 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
25116 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
25117 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
25118 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
25119 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
25120 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
25121 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
25122 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
25123 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
25124 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
25125 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
25126 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
25127 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
25128 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
25129 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
25130 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
25131 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
25132 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
25133 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
25134 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
25135
5a47cc9c
DM
251362013-01-10 David S. Miller <davem@davemloft.net>
25137
25138 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25139
4cf8f209
L
251402013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25141
25142 * posix/Makefile (tests-static): New variable.
25143 (tests): Add $(tests-static).
25144 (tst-exec-static-ARGS): New variable.
25145 (tst-spawn-static-ARGS): Likewise.
25146 * posix/tst-exec-static.c: New file.
25147 * posix/tst-spawn-static.c: Likewise.
25148 * posix/tst-exec.c: Support run directly.
25149 * posix/tst-spawn.c: Likewise.
25150
fed0faa1
JM
251512013-01-10 Joseph Myers <joseph@codesourcery.com>
25152
828beb13
JM
25153 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
25154 long.
25155 * math/bits/mathcalls.h (llrint): Likewise.
25156 (llround): Likewise.
25157 * stdlib/stdlib.h (struct drand48_data): Likewise.
25158 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
25159 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
25160 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
25161 Likewise.
25162 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
25163 Likewise.
25164 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
25165 (elf_greg_t): Likewise.
25166 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
25167 (__jmp_buf): Likewise.
25168 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
25169 definitions.
25170 (llrint): Likewise, for all definitions.
25171 (llrintl): Likewise.
25172
fed0faa1
JM
25173 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
25174 Remove [__GNUC__] condition.
25175 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
25176 condition to just [__USE_ISOC99].
25177 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
25178
1a20cb20
L
251792013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25180
25181 [BZ #14200]
25182 * sysdeps/unix/sysv/linux/x86/bits/environments.h
25183 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
25184 defined.
25185 (_POSIX_V6_ILP32_OFF32): Likewise.
25186 (_XBS5_ILP32_OFF32): Likewise.
25187 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
25188 (__ILP32_OFFBIG_LDFLAGS): Likewise.
25189
751b85f7
SP
251902013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25191
7490eb81
SP
25192 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
25193
751b85f7
SP
25194 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
25195 doubles __mpexp_twomm1. Adjust usage.
25196 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
25197 Remove.
25198
988197f0
AS
251992013-01-10 Andreas Schwab <schwab@suse.de>
25200
25201 [BZ #14964]
25202 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
25203 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
25204
e83d7298
DM
252052013-01-09 David S. Miller <davem@davemloft.net>
25206
034ed64b 25207 [BZ #15003]
57f41c40
AS
25208 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
25209 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
25210 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
25211 (TCP_FASTOPEN): Define.
e83d7298
DM
25212 (tcp_repair_opt): New structure.
25213 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
25214 enum values.
57f41c40
AS
25215 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
25216 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
25217 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
25218 (tcp_cookie_transactions): New structure.
25219
d5e0b9bd
AB
252202013-01-09 Anton Blanchard <anton@samba.org>
25221
25222 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
25223 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
25224 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
25225 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
25226
0c07e3ea
JM
252272013-01-09 Joseph Myers <joseph@codesourcery.com>
25228
25229 * include/features.h (__USE_ANSI): Remove.
25230
232f7002
RM
252312013-01-09 Roland McGrath <roland@hack.frob.com>
25232
ad98e30c
RM
25233 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
25234
232f7002
RM
25235 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
25236
950c99ca
SP
252372013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
25238
b5792741
SP
25239 * sysdeps/s390/fpu/libm-test-ulps: Update.
25240
47cf2278
SP
25241 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25242
950c99ca
SP
25243 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
25244 (__acr): Likewise.
25245 (__cpy): Likewise.
25246 (norm): Likewise.
25247 (denorm): Likewise.
25248 (__mp_dbl): Likewise.
25249 (__dbl_mp): Likewise.
25250 (add_magnitudes): Likewise.
25251 (sub_magnitudes): Likewise.
25252 (__add): Likewise.
25253 (__sub): Likewise.
25254 (__mul): Likewise.
25255 (__inv): Likewise.
25256 (__dvd): Likewise.
25257 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
25258 (__acr): Likewise.
25259 (__cpy): Likewise.
25260 (norm): Likewise.
25261 (denorm): Likewise.
25262 (__mp_dbl): Likewise.
25263 (__dbl_mp): Likewise.
25264 (add_magnitudes): Likewise.
25265 (sub_magnitudes): Likewise.
25266 (__add): Likewise.
25267 (__sub): Likewise.
25268 (__mul): Likewise.
25269 (__inv): Likewise.
25270 (__dvd): Likewise.
25271 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
25272 (__acr): Likewise.
25273 (__cpy): Likewise.
25274 (norm): Likewise.
25275 (denorm): Likewise.
25276 (__mp_dbl): Likewise.
25277 (__dbl_mp): Likewise.
25278 (add_magnitudes): Likewise.
25279 (sub_magnitudes): Likewise.
25280 (__add): Likewise.
25281 (__sub): Likewise.
25282 (__mul): Likewise.
25283 (__inv): Likewise.
25284 (__dvd): Likewise.
25285
eede9df9
JM
252862013-01-08 Joseph Myers <joseph@codesourcery.com>
25287
25288 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
25289 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
25290 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
25291 2 && __USE_EXTERN_INLINES]: Likewise.
25292
c40ea3d9
AJ
252932013-01-08 Andreas Jaeger <aj@suse.de>
25294
25295 [BZ# 14985]
25296 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
25297 Remove.
25298 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25299 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25300
2ccdea26
AB
253012013-01-07 Anton Blanchard <anton@samba.org>
25302
25303 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
25304 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25305 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
25306 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25307 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25308 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25309 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
25310 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25311 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25312 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25313 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25314 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25315 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25316 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25317 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
25318 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25319 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25320 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25321 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
25322 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25323 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
25324 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
25325 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25326 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
25327 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
25328 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25329 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25330 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25331 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
25332 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25333 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
25334 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25335 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25336 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25337 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25338 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25339 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25340 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25341 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
25342 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25343 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
25344 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25345 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25346
a9708fed
JM
253472013-01-07 Joseph Myers <joseph@codesourcery.com>
25348
375607b9
JM
25349 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
25350 (__MALLOC_PMT): Likewise.
25351 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
25352 [__GNUC__], only on [_LIBC].
25353 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25354 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
25355 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25356 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
25357 forward declaration.
25358 (realloc_hook_ini): Likewise.
25359 (memalign_hook_ini): Likewise.
25360 (__libc_memalign): Do not use __MALLOC_PMT in variable
25361 declaration.
25362 (__libc_valloc): Likewise.
25363 (__libc_pvalloc): Likewise.
25364 (__libc_calloc): Likewise.
25365 (__posix_memalign): Likewise.
25366
a9708fed
JM
25367 [BZ #14996]
25368 * math/s_casinh.c: Include <float.h>.
25369 (__casinh): Do not do computation with squaring and square root
25370 for large arguments.
25371 * math/s_casinhf.c: Include <float.h>.
25372 (__casinhf): Do not do computation with squaring and square root
25373 for large arguments.
25374 * math/s_casinhl.c: Include <float.h>.
25375 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
25376 (__casinhl): Do not do computation with squaring and square root
25377 for large arguments.
25378 * math/libm-test.inc (casin_test): Add more tests.
25379 (casinh_test): Likewise.
25380 * sysdeps/i386/fpu/libm-test-ulps: Update.
25381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25382
afec409a
L
253832013-01-04 H.J. Lu <hongjiu.lu@intel.com>
25384
25385 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
25386 (__x86_64_raw_data_cache_size): Likewise.
25387 (__x86_64_data_cache_size_half): Likewise.
25388 (__x86_64_raw_data_cache_size_half): Likewise.
25389 (__x86_64_shared_cache_size): Likewise.
25390 (__x86_64_raw_shared_cache_size): Likewise.
25391 (__x86_64_shared_cache_size_half): Likewise.
25392 (__x86_64_raw_shared_cache_size_half): Likewise.
25393 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
25394 to ...
25395 (__x86_data_cache_size): This.
25396 (__x86_64_raw_data_cache_size): Renamed to ...
25397 (__x86_raw_data_cache_size): This.
25398 (__x86_64_data_cache_size_half): Renamed to ...
25399 (__x86_data_cache_size_half): This.
25400 (__x86_64_raw_data_cache_size_half): Renamed to ...
25401 (__x86_raw_data_cache_size_half): This.
25402 (__x86_64_shared_cache_size): Renamed to ...
25403 (__x86_shared_cache_size): This.
25404 (__x86_64_raw_shared_cache_size): Renamed to ...
25405 (__x86_raw_shared_cache_size): This.
25406 (__x86_64_shared_cache_size_half): Renamed to ...
25407 (__x86_shared_cache_size_half): This.
25408 (__x86_64_raw_shared_cache_size_half): Renamed to ...
25409 (__x86_raw_shared_cache_size_half): This.
25410 * sysdeps/x86_64/memcpy.S: Updated.
25411 * sysdeps/x86_64/memset.S: Likewise.
25412 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
25413 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25414 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25415
0b3986d0
DM
254162013-01-04 David S. Miller <davem@davemloft.net>
25417
25418 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25419
e47686e9
AS
254202013-01-04 Andreas Schwab <schwab@linux-m68k.org>
25421
d643bac1
AS
25422 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
25423 1 to avoid redefinition warning.
25424 (__USE_GNU): Don't define.
25425 (init_signaling_nan): Protoize.
25426
e47686e9
AS
25427 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25428
b18decba
SP
254292013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25430
fffb407f
SP
25431 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
25432 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
25433 (__cpymn): Likewise.
25434 (norm): Remove commented code.
25435 (denorm): Likewise.
25436 (__mp_dbl): Likewise.
25437 (__inv): Likewise.
25438 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
25439 (__cpymn): Likewise.
25440 (norm): Remove commented code.
25441 (denorm): Likewise.
25442 (__mp_dbl): Likewise.
25443 (__inv): Likewise.
25444
b18decba
SP
25445 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
25446 mp_no value for 1.0 and 2.0.
25447 (norm): Use RADIXI instead of radixi.d.
25448 (denorm): Likewise.
25449 (__mul): Use 0.0 instead of zero.d.
25450 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
25451 mp_no value for 1.0 and 2.0.
25452 (norm): Use RADIXI instead of radixi.d.
25453 (denorm): Likewise.
25454 (__mul): Use 0.0 instead of zero.d.
25455
cdc1c96f
JM
254562013-01-04 Joseph Myers <joseph@codesourcery.com>
25457
25458 [BZ #14994]
25459 * math/s_casinh.c (__casinh): Reduce finite argument to first
25460 quadrant then set signs of results at the end.
25461 * math/s_casinhf.c (__casinhf): Likewise.
25462 * math/s_casinhl.c (__casinhl): Likewise.
25463 * math/libm-test.inc (casin_test): Add more tests.
25464 (casinh_test): Likewise.
25465 * sysdeps/i386/fpu/libm-test-ulps: Update.
25466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25467
302913e1
SP
254682013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25469
6420d207
SP
25470 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
25471
a9e48ab4
SP
25472 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
25473
b7837264
SP
25474 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
25475 declarations.
25476 (denorm): Likewise.
25477 (__mp_dbl): Likewise.
25478 (__inv): Likewise.
25479
f8af25d2
SP
25480 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
25481 and adjust the header comment.
25482
302913e1
SP
25483 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
25484 variable name from declaration.
25485
5d7dd1ca
L
254862013-01-03 H.J. Lu <hongjiu.lu@intel.com>
25487
25488 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25489 Initialize COMMON_CPUID_INDEX_7 element.
25490 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
25491 (CPUID_RTM): Likewise.
25492 (HAS_RTM): Likewise.
25493 (COMMON_CPUID_INDEX_7): New enum.
25494
2f5f40f4
AS
254952013-01-03 Andreas Schwab <schwab@linux-m68k.org>
25496
25497 [BZ #14981]
25498 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
25499 size is zero, record memory as freed.
25500
4056f4a0
AJ
255012013-01-03 Andreas Jaeger <aj@suse.de>
25502
25503 * po/ia.po: Add new Interlingua translation.
25504
ab15736f 255052012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
25506
25507 * locale/programs/localedef.c: Fix description of '--posix' flag.
25508
568035b7
JM
255092013-01-02 Joseph Myers <joseph@codesourcery.com>
25510
e6898b8d
JM
25511 * NEWS: Update dates in second copyright notice.
25512 * README: Update copyright dates in example.
25513 * manual/libc.texinfo: Update copyright dates.
25514 * scripts/test-installation.pl: Update copyright date in --version
25515 output.
25516
0e2f9562
JM
25517 * hurd/ctty-input.c: Fix copyright notice formatting.
25518 * hurd/ctty-output.c: Likewise.
25519 * hurd/dtable.c: Likewise.
25520 * hurd/hurd-raise.c: Likewise.
25521 * hurd/hurdprio.c: Likewise.
25522 * hurd/msgportdemux.c: Likewise.
25523 * misc/sys/file.h: Likewise.
25524 * misc/sys/ioctl.h: Likewise.
25525 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
25526 * sysdeps/mach/hurd/chdir.c: Likewise.
25527 * sysdeps/mach/hurd/fchdir.c: Likewise.
25528 * sysdeps/mach/hurd/rename.c: Likewise.
25529 * sysdeps/mach/hurd/rmdir.c: Likewise.
25530 * sysdeps/mach/hurd/seekdir.c: Likewise.
25531 * sysdeps/mach/hurd/setsid.c: Likewise.
25532 * sysdeps/posix/wait3.c: Likewise.
25533
568035b7
JM
25534 * All files with FSF copyright notices: Update copyright dates
25535 using scripts/update-copyrights.
25536 * intl/plural.c: Regenerated.
25537 * locale/programs/charmap-kw.h: Likewise.
25538 * locale/programs/locfile-kw.h: Likewise.
25539
da08f647
SP
255402013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25541
0f5477af
SP
25542 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
25543 four values.
25544
44e0d4c2
SP
25545 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
25546 calculation loop and add branch prediction.
25547
4d55b4e5
SP
25548 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
25549 check access beyond bounds of m1np.
25550
da08f647
SP
25551 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25552 MPTWO.
25553 (__inv): Remove local variable MPTWO to use the global
25554 constant.
25555 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
25556 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25557 variable MPTWO.
25558 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
25559 MP3HALFS static const.
25560
8e051029
DM
255612013-01-01 David S. Miller <davem@davemloft.net>
25562
25563 * po/ca.po: Update from translation team.
25564
f4cf5f2d
JM
255652013-01-01 Joseph Myers <joseph@codesourcery.com>
25566
25567 * scripts/update-copyrights: New file.
25568 * Makeconfig: Reformat copyright notice.
25569 * ctype/ctype.h: Likewise.
25570 * debug/swprintf_chk.c: Likewise.
25571 * elf/dl-cache.c: Likewise.
25572 * elf/dl-debug.c: Likewise.
25573 * elf/dl-object.c: Likewise.
25574 * grp/initgroups.c: Likewise.
25575 * hurd/Makefile: Likewise.
25576 * hurd/hurd/signal.h: Likewise.
25577 * hurd/hurdfault.c: Likewise.
25578 * hurd/hurdioctl.c: Likewise.
25579 * hurd/hurdlookup.c: Likewise.
25580 * hurd/intr-msg.c: Likewise.
25581 * iconv/gconv_open.c: Likewise.
25582 * libio/swprintf.c: Likewise.
25583 * locale/lc-ctype.c: Likewise.
25584 * locale/nl_langinfo.c: Likewise.
25585 * mach/Machrules: Likewise.
25586 * mach/Makefile: Likewise.
25587 * malloc/obstack.h: Likewise.
25588 * manual/Makefile: Likewise.
25589 * manual/tsort.awk: Likewise.
25590 * misc/bits/stab.def: Likewise.
25591 * nis/nis_print_group_entry.c: Likewise.
25592 * nis/nis_table.c: Likewise.
25593 * nis/nss_compat/compat-pwd.c: Likewise.
25594 * nis/nss_compat/compat-spwd.c: Likewise.
25595 * po/Makefile: Likewise.
25596 * posix/fnmatch.c: Likewise.
25597 * posix/regex.h: Likewise.
25598 * resolv/Makefile: Likewise.
25599 * resolv/nss_dns/dns-network.c: Likewise.
25600 * resolv/res_hconf.c: Likewise.
25601 * scripts/gen-sorted.awk: Likewise.
25602 * soft-fp/soft-fp.h: Likewise.
25603 * stdio-common/printf.h: Likewise.
25604 * stdlib/monetary.h: Likewise.
25605 * stdlib/random.c: Likewise.
25606 * stdlib/random_r.c: Likewise.
25607 * sysdeps/generic/Makefile: Likewise.
25608 * sysdeps/gnu/Makefile: Likewise.
25609 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25610 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25611 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25612 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25613 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25614 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25615 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25616 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25617 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25618 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25619 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25620 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25621 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25622 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25623 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
25624 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25625 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25626 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25627 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25628 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25629 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25630 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25631 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25632 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25633 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
25634 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
25635 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
25636 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
25637 * sysdeps/mach/hurd/errnos.awk: Likewise.
25638 * sysdeps/mach/hurd/fork.c: Likewise.
25639 * sysdeps/mach/hurd/getcwd.c: Likewise.
25640 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
25641 * sysdeps/mach/hurd/mmap.c: Likewise.
25642 * sysdeps/mach/hurd/utimes.c: Likewise.
25643 * sysdeps/mach/hurd/xmknod.c: Likewise.
25644 * sysdeps/posix/profil.c: Likewise.
25645 * sysdeps/posix/readdir_r.c: Likewise.
25646 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25647 * sysdeps/powerpc/bits/setjmp.h: Likewise.
25648 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
25649 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25650 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25651 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25652 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25653 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25654 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25655 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25656 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25657 * sysdeps/pthread/lio_listio.c: Likewise.
25658 * sysdeps/sparc/dl-procinfo.h: Likewise.
25659 * sysdeps/unix/i386/sysdep.S: Likewise.
25660 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
25661 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
25662 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
25663 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
25664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25665 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
25666 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
25667 * sysdeps/unix/sysv/linux/speed.c: Likewise.
25668 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25669 * sysdeps/wordsize-32/divdi3.c: Likewise.
25670 * time/sys/time.h: Likewise.
25671 * wcsmbs/Makefile: Likewise.
25672
0549fbba
DM
256732013-01-01 David S. Miller <davem@davemloft.net>
25674
a141f1a7
DM
25675 * po/fr.po: Update from translation team.
25676
0549fbba
DM
25677 * catgets/gencat.c: Update copyright year.
25678 * csu/version.c: Likewise.
25679 * debug/catchsegv.sh: Likewise.
25680 * debug/pcprofiledump.c: Likewise.
25681 * debug/xtrace.sh: Likewise.
25682 * elf/ldconfig.c: Likewise.
25683 * elf/ldd.bash.in: Likewise.
25684 * elf/pldd.c: Likewise.
25685 * elf/sotruss.ksh: Likewise.
25686 * elf/sprof.c: Likewise.
25687 * iconv/iconv_prog.c: Likewise.
25688 * iconv/iconvconfig.c: Likewise.
25689 * locale/programs/locale.c: Likewise.
25690 * locale/programs/localedef.c: Likewise.
25691 * login/programs/pt_chown.c: Likewise.
25692 * malloc/memusage.sh: Likewise.
25693 * malloc/memusagestat.c: Likewise.
25694 * malloc/mtrace.pl: Likewise.
25695 * nscd/nscd.c: Likewise.
25696 * nss/getent.c: Likewise.
25697 * nss/makedb.c: Likewise.
25698 * posix/getconf.c: Likewise.
25699
18ea052c
SP
257002012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
25701
25702 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
25703 numbers.
25704
9c89fca6
MF
257052012-12-30 Mike Frysinger <vapier@gentoo.org>
25706
25707 * math/bits/mathcalls.h (modf): Use __nonnull.
25708
085ec079
SP
257092012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25710
25711 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
25712 (split): Use macro CN instead of the bare value.
25713 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
25714 could be used.
25715 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
25716 instead of the bare value.
25717 (power1): Likewise.
25718
6d9f97e1
SP
257192012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25720
d63f73be
SP
25721 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
25722 __ATAN_TWOM.
25723 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25724
6d9f97e1
SP
25725 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
25726 their values.
25727 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25728 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25729 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
25730 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25731
4c4febf5
AJ
257322012-12-28 Andreas Jaeger <aj@suse.de>
25733
af5843ef
AJ
25734 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
25735 values are from Linux 3.7.
25736
4c4febf5
AJ
25737 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
25738 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
25739
99136f82
SP
257402012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25741
2f216c3c 25742 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
25743 TRUE case.
25744
99136f82
SP
25745 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
25746 (norm): Likewise.
25747 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
25748 variables with preprocessor constants.
25749 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25750 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25751 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25752
7fffbdff
BH
257532012-12-27 Bruno Haible <bruno@clisp.org>
25754
25755 [BZ #14317]
25756 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
25757 only if needed.
25758
b76eb5f0
SP
257592012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25760
31a7fe5c
SP
25761 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
25762 and use variable directly.
25763 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
25764
b76eb5f0
SP
25765 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25766 MPONE.
25767 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
25768 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25769 variable MPONE.
25770 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25771 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25772 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
25773 include directive. Remove local variable MPONE.
25774 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
25775 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
25776 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25777
2c8bfe7d
DM
257782012-12-25 David S. Miller <davem@davemloft.net>
25779
25780 * version.h (RELEASE): Set to "development".
25781 (VERSION): Set to "2.17.90".
25782 * NEWS: Add 2.18 section.
25783
147d03b0
DM
257842012-12-21 David S. Miller <davem@davemloft.net>
25785
25786 * po/hr.po: Update from translation team.
25787
a8ebb2b9
AK
257882012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25789
25790 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
25791
95b4f1b6
SE
257922012-12-19 Steve Ellcey <sellcey@mips.com>
25793
b2d94007 25794 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 25795
cedb2a90
MS
257962012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25797
25798 * manual/contrib.texi (Contributors): Spelling correction.
25799
bbf527d6
DM
258002012-12-15 David S. Miller <davem@davemloft.net>
25801
25802 * po/ru.po: Update from translation team.
25803
bc38c906
DM
258042012-12-13 David S. Miller <davem@davemloft.net>
25805
85429b1a
DM
25806 * NEWS: Mention IFUNC testsuite enhancements.
25807
d283e353
DM
25808 * po/pl.po: Update from translation team.
25809 * po/bg.po: Likewise.
25810
bc38c906
DM
25811 * manual/contrib.texi (Contributors): Update entries for Hongjiu
25812 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
25813
a181b0d7
DM
258142012-12-11 David S. Miller <davem@davemloft.net>
25815
4641d57e
DM
25816 * po/sv.po: Update from translation team.
25817
f7bc6495
DM
25818 * po/vi.po: Update from translation team.
25819
6fc9048f
DM
25820 * po/cs.po: Update from translation team.
25821
a181b0d7
DM
25822 * po/de.po: Update from translation team.
25823 * po/eo.po: Likewise.
25824 * po/nl.po: Likewise.
25825
f70bfe80
SP
258262012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25827
3c8b4190
SP
25828 [BZ #14246]
25829 * manual/argp.texi (Argp Helper Functions): Move node to follow
25830 Argp Parsing State.
25831
f70bfe80
SP
25832 [BZ #14872]
25833 * manual/conf.texi (Limits on File System Capacity): Mention if
25834 terminating null is included in the max size.
25835
188f0adf
AJ
258362012-12-10 Andreas Jaeger <aj@suse.de>
25837
25838 * po/cs.po: Update from translation team.
25839
56e7d3ad
SP
258402012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25841
25842 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
25843 void pointer and cast to uintptr_t.
25844 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
25845 path.
25846 * sysdeps/s390/s390-64/memcpy.S: Likewise.
25847 * sysdeps/s390/s390-64/memset.S: Likewise.
25848
76f2d2ea 258492012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
25850
25851 [BZ #14833]
25852 * menual/message.texi (Message Translation): Fix typos.
25853 (Helper programs for gettext): Likewise.
25854
67cbf9a2
AS
258552012-12-07 Andreas Schwab <schwab@linux-m68k.org>
25856
25857 [BZ #14898]
25858 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
25859 Change to -1.
25860
682d0e9a
DM
258612012-12-07 David S. Miller <davem@davemloft.net>
25862
25863 * po/libc.pot: Update.
25864
573cd484
RH
258652012-12-07 Richard Henderson <rth@redhat.com>
25866
7e9da188 25867 [BZ #10114]
573cd484
RH
25868 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
25869 normal/normal case to before the switch.
25870 (_FP_DIV): Likewise.
25871
e933a943
MF
258722012-12-06 Carlos O'Donell <carlos@systemhalted.org>
25873 Mike Frysinger <vapier@gentoo.org>
25874
25875 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
25876 check for __NR_fadvise64_64.
25877
82123268
CM
258782012-12-06 Chris Metcalf <cmetcalf@tilera.com>
25879
25880 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
25881 0, not just to plain "0" as a statement.
25882 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
25883 with cw.
25884
d9814526
JM
258852012-12-06 Joseph Myers <joseph@codesourcery.com>
25886
25887 * NEWS: Use sourceware.org in Bugzilla URL.
25888
7728c574
SP
258892012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
25890
f16946dd
SP
25891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25892 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25893
5704bbcb
SP
25894 * stdio-common/tst-put-error.c (do_test): Add newline to the
25895 padded test to ensure flush.
25896
17aa0516
JL
258972012-12-05 Jeff Law <law@redhat.com>
25898
25899 * sunrpc/etc.rpc (fedfs_admin): Add entry.
25900
363313b5
JM
259012012-12-05 Joseph Myers <joseph@codesourcery.com>
25902
effbd42a
JM
25903 * README: Don't refer to ports add-on as distributed separately.
25904 Mention AArch64 in list of systems supported in the ports add-on.
25905
87600365
JM
25906 * LICENSES: Add more non-FSF copyright and license notices.
25907
a0d7066a
JM
25908 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
25909 ((unused)).
25910
66ca5a5b
JM
25911 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
25912
363313b5
JM
25913 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
25914 10000 as width of padded output.
25915
b37984ad
JM
259162012-12-04 Joseph Myers <joseph@codesourcery.com>
25917
9003570a
JM
25918 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
25919
b37984ad
JM
25920 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
25921 variable LX with __attribute__ ((unused)).
25922 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
25923 Likewise.
25924 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
25925 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25926 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
25927 with __attribute__ ((unused)).
25928
c8df52ec
DM
259292012-12-04 David S. Miller <davem@abraco.davemloft.net>
25930
25931 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
25932
b3b099af
JM
259332012-12-04 Joseph Myers <joseph@codesourcery.com>
25934
c33aa6e3
JM
25935 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
25936 (CFLAGS-nldbl-acos.c): New variable.
25937 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
25938 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
25939 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
25940 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
25941 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
25942 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
25943 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
25944 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
25945 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
25946 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
25947 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
25948 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
25949 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
25950 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
25951 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
25952 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
25953 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
25954 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
25955 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
25956 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
25957 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
25958 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
25959 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
25960 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
25961 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
25962 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
25963 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
25964 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
25965 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
25966 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
25967 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
25968 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
25969 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
25970 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
25971 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
25972 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
25973 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
25974 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
25975 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
25976 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
25977 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
25978 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
25979 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
25980 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
25981 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
25982 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
25983 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
25984 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
25985 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
25986 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
25987 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
25988 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
25989 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
25990 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
25991 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
25992 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
25993 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
25994 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
25995 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
25996 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
25997 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
25998 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
25999 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
26000 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
26001 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
26002 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
26003 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
26004 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
26005 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
26006 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
26007 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
26008 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
26009 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
26010 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
26011 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
26012 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
26013 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
26014 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
26015 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
26016 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
26017 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
26018 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
26019 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
26020 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
26021 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
26022 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
26023 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
26024 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
26025 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
26026 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
26027 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
26028 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
26029 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
26030 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
26031 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
26032 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
26033 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
26034
20f0018d
JM
26035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26036 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26037
b3b099af
JM
26038 [BZ #14914]
26039 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
26040 whole low double instead of just low 47 bits when splitting values
26041 into two parts.
26042
029264d1
AM
260432012-12-03 Allan McRae <allan@archlinux.org>
26044
26045 * manual/stdio.texi (Predefined Printf Handlers): Remove
26046 @hsep and @vsep usage.
26047
c9d6789e
MF
260482012-12-03 Mike Frysinger <vapier@gentoo.org>
26049
26050 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
26051 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
26052
4b7634a5
JL
260532012-12-03 Jeff Law <law@redhat.com>
26054
26055 * time/sys/time.h (settimeofday): Do not mark TV argument
26056 as __nonnull.
26057
eb6cbd24
MF
260582012-12-01 Mike Frysinger <vapier@gentoo.org>
26059
26060 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
26061 when currently writing and seek to current position when not.
26062 * libio/Makefile (tests): Remove bug-fclose1.
26063 * libio/bug-fclose1.c: Delete.
26064
f638872a
JM
260652012-12-01 Joseph Myers <joseph@codesourcery.com>
26066
26067 * manual/arith.texi (feenableexcept): Fix typo.
26068 (fedisableexcept): Likewise.
26069
48085d14
RM
260702012-11-30 Roland McGrath <roland@hack.frob.com>
26071
26072 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
26073 second, differently-typed declaration, rather than a cast.
26074
1a538b9f
SP
260752012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26076
26077 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
26078 * include/rpc/svc.h: ... here.
26079
d07f2ff1 260802012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
26081
26082 [BZ #13013]
26083 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
26084 depending n and resplen2 to catch cases where answer
26085 equals answerp2.
26086
c93ec1f0
CD
260872012-11-29 Carlos O'Donell <carlos@systemhalted.org>
26088
26089 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
26090 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
26091
37db69de
MF
260922012-11-29 Mike Frysinger <vapier@gentoo.org>
26093
26094 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
26095
e10c4e4f
RM
260962012-11-29 Roland McGrath <roland@hack.frob.com>
26097
26098 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
26099
2af1b328
JL
261002012-11-28 Jeff Law <law@redhat.com>
26101
26102 [BZ #13761]
26103 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
26104 dataset_temporary. Track alloca usage into alloca_used.
26105 If dataset is large allocate and release it via malloc/free.
26106
111db5b1
FW
261072012-06-04 Florian Weimer <fweimer@redhat.com>
26108
f06cc227 26109 [BZ #14197]
111db5b1
FW
26110 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
26111
dd694abd
DM
261122012-11-28 David S. Miller <davem@davemloft.net>
26113
26114 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26115
9984dd01
JM
261162012-11-28 Joseph Myers <joseph@codesourcery.com>
26117
26118 [BZ #14803]
26119 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
26120 of pi/2 rounded to nearest to 64 bits.
26121 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
26122 nearest to 64 bits.
26123 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
26124 bits.
26125
14bc93a9
JL
261262012-11-28 Jeff Law <law@redhat.com>
26127 Martin Osvald <mosvald@redhat.com>
26128
26129 [BZ #14889]
26130 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
26131 * sunrpc/svc.c: Include time.h.
26132 (__svc_accept_failed): New function.
26133 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
26134 any reason other than EINTR, call __svc_accept_failed.
26135 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
26136 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
26137
e3c6aa3a
AS
261382012-11-28 Andreas Schwab <schwab@suse.de>
26139
26140 * scripts/abilist.awk: Also handle indirect functions in .opd
26141 section.
26142
1bead169
JM
261432012-11-28 Joseph Myers <joseph@codesourcery.com>
26144
26145 [BZ #13881]
26146 * sysdeps/x86/fpu/powl_helper.c: New file.
26147 * sysdeps/x86/fpu/Makefile: Likewise.
26148 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
26149 (p3): New object.
26150 (__ieee754_powl): Use __powl_helper for finite arguments except
26151 integer exponents below 8.
26152 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
26153 (p3): New object.
26154 (__ieee754_powl): Use __powl_helper for finite arguments except
26155 integer exponents below 8.
26156 * math/libm-test.inc (pow_test): Add more tests and enable some
26157 previously disabled tests.
26158 * sysdeps/i386/fpu/libm-test-ulps: Update.
26159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26160
0817d63d
SP
261612012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26162 Carlos O'Donell <carlos_odonell@mentor.com>
26163
26164 * nss/makedb.c (is_prime): Assert that input is odd and greater
26165 than 4. Note that fact in a comment too.
26166 (next_prime): Add 4 to input.
26167
de2fd463
SP
261682012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26169
26170 [BZ #11741]
26171 * libio/Makefile (tests): Add test case tst-fwrite-error.
26172 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
26173 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
26174 * libio/tst-fwrite-error.c: New test case.
26175
c515fb51
L
261762012-11-26 H.J. Lu <hongjiu.lu@intel.com>
26177
26178 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
26179 before casting to void *.
26180 * include/libc-internal.h (__pointer_type): New macro.
26181 (__integer_if_pointer_type_sub): Likewise.
26182 (__integer_if_pointer_type): Likewise.
26183 (cast_to_integer): Likewise.
26184 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
26185 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
26186 before casting to atomic64_t.
26187 (atomic_exchange_acq): Likewise.
26188 (__arch_exchange_and_add_body): Likewise.
26189 (__arch_add_body): Likewise.
26190 (atomic_add_negative): Likewise.
26191 (atomic_add_zero): Likewise.
26192
4cf77aa9
JM
261932012-11-26 Joseph Myers <joseph@codesourcery.com>
26194
26195 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
26196 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
26197 (add_fdes): Likewise.
26198 (linear_search_fdes): Likewise.
26199 (binary_search_unencoded_fdes): Likewise.
26200
d260b3b4
AS
262012012-11-26 Andreas Schwab <schwab@linux-m68k.org>
26202
26203 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
26204
67060746
AC
262052012-11-24 Adam Conrad <adconrad@0c3.net>
26206
26207 * configure.in: Autodetect C++ header directories.
26208 * configure: Regenerated.
26209
800938a1
MF
262102012-11-23 Mike Frysinger <vapier@gentoo.org>
26211
26212 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
26213
4e6e34e6
AS
262142012-11-23 Andreas Schwab <schwab@linux-m68k.org>
26215
26216 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26217
7c7feb47
JM
262182012-11-22 Joseph Myers <joseph@codesourcery.com>
26219
7184dcdf
JM
26220 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
26221 LDBL_MANT_DIG == 106]: Disable some tests.
26222 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26223 Likewise.
26224 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26225 Likewise.
26226
0a42601f
JM
26227 [BZ #14871]
26228 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
26229 input for small inputs. Return +/- pi/2 for large inputs.
26230 * math/libm-test.inc (atan_test): Add more tests.
26231
79c9b9fe
JM
26232 * sysdeps/generic/unwind-dw2-fde-glibc.c
26233 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
26234 __attribute__ ((unused)).
26235
c60d3bf2
JM
26236 [BZ #14645]
26237 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
26238 x * y if x and y are nonzero and z is zero.
26239
ef1e0867
JM
26240 [BZ #14811]
26241 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
26242 nonzero exponents with absolute value below 0x1p-117 to +/-
26243 0x1p-117.
26244
1468ded3
JM
26245 [BZ #14869]
26246 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
26247 up arguments below 2**-450, not just those below 2**-500.
26248 * math/libm-test.inc (hypot_test): Add another test.
26249
8e27e3cc
JM
26250 [BZ #14868]
26251 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
26252 Return a+b for ratio over 2**120, not 2**60.
26253 * math/libm-test.inc (hypot_test): Add another test.
26254
c9c0279b
JM
26255 * math/libm-test.inc (clog_test): Use
26256 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
26257 (clog10_test): Likewise.
26258
7c7feb47
JM
26259 [BZ #6778]
26260 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
26261
fff1530e
AS
262622012-11-22 Andreas Schwab <schwab@suse.de>
26263
26264 * sysdeps/i386/fpu/libm-test-ulps: Update.
26265
94558d30
PT
262662012-11-22 Pino Toscano <toscano.pino@tiscali.it>
26267
26268 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
26269 printf output with newline.
26270
7e1be741
L
262712012-11-21 H.J. Lu <hongjiu.lu@intel.com>
26272
6bfea974
L
26273 [BZ #14865]
26274 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
26275 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
26276 -z nodlopen, -z initfirst and -z execstack support.
26277 * configure: Regenerated.
26278
7e1be741
L
26279 * elf/elf.h (DF_1_NODIRECT): New macro.
26280 (DF_1_IGNMULDEF): Likewise.
26281 (DF_1_NOKSYMS): Likewise.
26282 (DF_1_NOHDR): Likewise.
26283 (DF_1_EDITED): Likewise.
26284 (DF_1_NORELOC): Likewise.
26285 (DF_1_SYMINTPOSE): Likewise.
26286 (DF_1_GLOBAUDIT): Likewise.
26287 (DF_1_SINGLETON): Likewise.
26288 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
26289 DT_1_SUPPORTED_MASK bits.
26290 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
26291
105ce2ce
CD
262922012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
26293
26294 * sysdeps/unix/make-syscalls.sh: Document prefixes.
26295
123be9de
TS
262962012-11-20 Thomas Schwinge <thomas@codesourcery.com>
26297
d072f3f7
TS
26298 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
26299 macro.
26300
123be9de
TS
26301 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
26302 (sendmmsg): Move declarations...
26303 * socket/sys/socket.h: ... here.
26304 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
26305 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
26306 include it from...
26307 * socket/recvmmsg.c: ... this new file.
26308 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
26309 (sendmmsg): Rename to __sendmmsg, create weak alias and make
26310 definition of __sendmmsg hidden.
26311 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
26312 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
26313 Move ENOSYS stub into and include it from...
26314 * socket/sendmmsg.c: ... this new file.
26315 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
26316 (sysdep_routines): Move recvmmsg and sendmmsg...
26317 * socket/Makefile (routines): ... here.
26318 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
26319 (GLIBC_PRIVATE): Add __sendmmsg.
26320 * include/sys/socket.h (__sendmmsg): Add declarations.
26321 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
26322 sendmmsg.
26323
cf9a5d18
JM
263242012-11-20 Joseph Myers <joseph@codesourcery.com>
26325
26326 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
26327 variable I1 with __attribute__ ((unused)).
26328 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26329
ecd4caf9
JM
263302012-11-19 Joseph Myers <joseph@codesourcery.com>
26331
be14d48f
JM
26332 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
26333 DUMMY variables with __attribute__ ((unused)).
26334
ecd4caf9
JM
26335 * bits/byteswap.h: Include <bits/types.h>.
26336 (__bswap_64): Use __uint64_t instead of unsigned long long int.
26337
986cab95
PT
263382012-11-19 Pino Toscano <toscano.pino@tiscali.it>
26339
26340 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
26341 string_t. Do not manually set errno.
26342 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
26343 length with __strnlen. Make sure to both set errno and return it on
26344 failure.
26345
6d33cc9d
DM
263462012-11-19 David S. Miller <davem@davemloft.net>
26347
26348 With help from Joseph Myers.
26349 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
26350 very large arguments properly.
26351 * math/libm-test.inc (atan_test): New tests.
26352 (atan2_test): New tests.
26353 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26354 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26355
ee663277
JM
263562012-11-19 Joseph Myers <joseph@codesourcery.com>
26357
877f2d8e
JM
26358 [BZ #14856]
26359 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
26360 Define to 3.
26361
116fc08a
JM
26362 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
26363 [POSIX] (EADDRNOTAVAIL): Likewise.
26364 [POSIX] (EAFNOSUPPORT): Likewise.
26365 [POSIX] (EALREADY): Likewise.
26366 [POSIX] (ECONNABORTED): Likewise.
26367 [POSIX] (ECONNREFUSED): Likewise.
26368 [POSIX] (ECONNRESET): Likewise.
26369 [POSIX] (EDESTADDRREQ): Likewise.
26370 [POSIX] (EDQUOT): Likewise.
26371 [POSIX] (EHOSTUNREACH): Likewise.
26372 [POSIX] (EIDRM): Likewise.
26373 [POSIX] (EISCONN): Likewise.
26374 [POSIX] (ELOOP): Likewise.
26375 [POSIX] (EMULTIHOP): Likewise.
26376 [POSIX] (ENETDOWN): Likewise.
26377 [POSIX] (ENETUNREACH): Likewise.
26378 [POSIX] (ENOBUFS): Likewise.
26379 [POSIX] (ENODATA): Likewise.
26380 [POSIX] (ENOLINK): Likewise.
26381 [POSIX] (ENOMSG): Likewise.
26382 [POSIX] (ENOPROTOOPT): Likewise.
26383 [POSIX] (ENOSR): Likewise.
26384 [POSIX] (ENOSTR): Likewise.
26385 [POSIX] (ENOTCONN): Likewise.
26386 [POSIX] (ENOTSOCK): Likewise.
26387 [POSIX] (EOPNOTSUPP): Likewise.
26388 [POSIX] (EOVERFLOW): Likewise.
26389 [POSIX] (EPROTO): Likewise.
26390 [POSIX] (EPROTONOSUPPORT): Likewise.
26391 [POSIX] (EPROTOTYPE): Likewise.
26392 [POSIX] (ESTALE): Likewise.
26393 [POSIX] (ETIME): Likewise.
26394 [POSIX] (ETXTBSY): Likewise.
26395 [POSIX] (EWOULDBLOCK): Likewise.
26396 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
26397 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
26398 [POSIX] (SEEK_CUR): Likewise.
26399 [POSIX] (SEEK_END): Likewise.
26400 [POSIX || UNIX98] (mode_t): Do not require.
26401 [POSIX] (off_t): Likewise.
26402 [POSIX] (pid_t): Likewise.
26403 [POSIX] (sys/stat.h): Do not allow header.
26404 [POSIX] (unistd.h): Likewise.
26405 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
26406 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
26407 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
26408 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
26409 require.
26410 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
26411 sigevent): Specify elements.
26412 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
26413 entry.
26414 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
26415 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
26416
a483863f
JM
26417 * conform/data/cpio.h-data [POSIX]: Disable whole file.
26418 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
26419 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
26420 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
26421 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
26422 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
26423 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
26424 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
26425 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
26426 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
26427 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
26428 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
26429 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
26430 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
26431 Likewise.
26432 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
26433 Likewise.
26434 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
26435 Likewise.
26436 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
26437 Likewise.
26438 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
26439 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
26440 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
26441 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
26442 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
26443 Specify lower bound on value.
26444 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
26445 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
26446 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
26447 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
26448 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
26449 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
26450 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
26451 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
26452 value.
26453 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
26454 as optional.
26455 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
26456 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
26457 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
26458 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
26459 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
26460 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
26461 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
26462 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
26463 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
26464 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
26465 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
26466 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
26467 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
26468 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
26469 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
26470 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
26471 entry.
26472 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
26473 optional.
26474 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
26475 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
26476 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
26477 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
26478 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
26479 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
26480 Likewise.
26481 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
26482 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
26483 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
26484 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
26485 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
26486 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
26487 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
26488 as optional.
26489 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
26490 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
26491 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
26492 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
26493 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
26494 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
26495 specify as optional.
26496 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
26497 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
26498 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
26499 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
26500 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
26501 [XPG3] (NL_LANGMAX): Likewise.
26502 [POSIX || XPG3] (NL_MSGMAX): Likewise.
26503 [POSIX || XPG3] (NL_NMAX): Likewise.
26504 [POSIX || XPG3] (NL_SETMAX): Likewise.
26505 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
26506 [XPG3] (NZERO): Likewise.
26507 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
26508 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
26509 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
26510 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
26511 (REG_ERANGE): Expect.
26512 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
26513 optional-constant.
26514 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
26515 Use (void) in prototype.
26516 [POSIX] (*_t): Allow.
26517 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
26518 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
26519 (WRDE_BADVAL): Expect.
26520
5ba924e3
JM
26521 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
26522 expect.
26523 [XPG3 || XPG4] (O_RSYNC): Likewise.
26524 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
26525 Likewise.
26526 [XPG3 || XPG4] (pthread_sigmask): Likewise.
26527 [XPG3 || XPG4] (sigqueue): Likewise.
26528 [XPG3 || XPG4] (sigtimedwait): Likewise.
26529 [XPG3 || XPG4] (sigwaitinfo): Likewise.
26530 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
26531 [XPG3 || XPG4] (vsnprintf): Likewise.
26532 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
26533 Likewise.
26534 [XPG3 || XPG4] (blksize_t): Likewise.
26535 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
26536 Likewise.
26537 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
26538 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
26539 [XPG3 || XPG4] (struct itimerspec): Likewise.
26540 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
26541 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
26542 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
26543 [XPG3 || XPG4] (clockid_t): Likewise.
26544 [XPG3 || XPG4] (timer_t): Likewise.
26545 [XPG3 || XPG4] (clock_getres): Likewise.
26546 [XPG3 || XPG4] (clock_gettime): Likewise.
26547 [XPG3 || XPG4] (clock_settime): Likewise.
26548 [XPG3 || XPG4] (nanosleep): Likewise.
26549 [XPG3 || XPG4] (timer_create): Likewise.
26550 [XPG3 || XPG4] (timer_delete): Likewise.
26551 [XPG3 || XPG4] (timer_gettime): Likewise.
26552 [XPG3 || XPG4] (timer_getoverrun): Likewise.
26553 [XPG3 || XPG4] (timer_settime): Likewise.
26554 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
26555 [XPG3 || XPG4] (getlogin_r): Likewise.
26556 [XPG3 || XPG4] (pread): Likewise.
26557 [XPG3 || XPG4] (pthread_atfork): Likewise.
26558 [XPG3 || XPG4] (pwrite): Likewise.
26559
ee663277
JM
26560 [BZ #14835]
26561 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
26562 <bits/siginfo.h>.
26563
942caa16
PT
265642012-11-19 Pino Toscano <toscano.pino@tiscali.it>
26565
e19af380
PT
26566 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
26567 finalizing MALLSTREAM.
26568
942caa16
PT
26569 * sysdeps/mach/hurd/syncfs.c: New file.
26570
cfde9b46
SP
265712012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26572
26573 [BZ #14719]
26574 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
26575 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
26576 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
26577 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
26578 (_nss_dns_gethostbyname4_r): Likewise.
26579 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
26580 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
26581
f6da27e5
PH
265822012-11-19 Peng Haitao <penght@cn.fujitsu.com>
26583
26584 [BZ #13763]
26585 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
26586
6665d4a2
SM
265872012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
26588
1f51ee92
SM
26589 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
26590 * elf/cache.c (print_entry): Print ",AArch64" for
26591 FLAG_AARCH64_LIB64
26592
6665d4a2
SM
26593 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
26594 * elf/cache.c (print_entry): Print ",hard-float" for
26595 FLAG_ARM_LIBHF.
26596
05b227bd
DM
265972012-11-18 David S. Miller <davem@davemloft.net>
26598
26599 With help from Joseph Myers.
26600 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
26601 cutoff to 2**-13.
26602 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
26603 cutoff to 2**-25.
26604 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
26605 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
26606 small.
26607 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
26608 * math/libm-test.inc (y0_test): New tests.
26609 (y1_test): New tests.
26610 * sysdeps/i386/fpu/libm-test-ulps: Update.
26611 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26612 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26613
786b0b67
AS
266142012-11-18 Andreas Schwab <schwab@linux-m68k.org>
26615
26616 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
26617 64-bit targets.
26618 * configure: Regenerated.
26619
8e18b86d
DM
266202012-11-17 David S. Miller <davem@davemloft.net>
26621
26622 [BZ #14811]
26623 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
26624 nonzero exponents with absolute value below 0x1p-128 to +/-
26625 0x1p-128.
26626
531f1ae0
JM
266272012-11-17 Joseph Myers <joseph@codesourcery.com>
26628
12df29e2
JM
26629 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
26630
150dc1a0
JM
26631 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
26632
531f1ae0
JM
26633 * posix/getconf-speclist.c: New file.
26634 * posix/posix-envs.def: Likewise.
26635 * posix/confstr.c (START_ENV_GROUP): New macro.
26636 (END_ENV_GROUP): Likewise.
26637 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26638 (KNOWN_PRESENT_ENV_STRING): Likewise.
26639 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26640 (UNKNOWN_ENVIRONMENT): Likewise.
26641 (confstr): Include posix-envs.def instead of handling
26642 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
26643 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
26644 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
26645 (END_ENV_GROUP): Likewise.
26646 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26647 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26648 (UNKNOWN_ENVIRONMENT): Likewise.
26649 (__sysconf): Include posix-envs.def instead of handling associated
26650 cases directly here.
26651 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
26652 preprocessing getconf-speclist.c rather than running getconf or
26653 generating empty file.
26654
a93f9cbc
PT
266552012-11-16 Pino Toscano <toscano.pino@tiscali.it>
26656
26657 * scripts/check-local-headers.sh: Ignore 'mach' headers.
26658
d64d9f87
AL
266592012-11-16 Andrej Lajovic <natrij@gmail.com>
26660
26661 [BZ #14672]
26662 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
26663
447885eb
DM
266642012-11-16 David S. Miller <davem@davemloft.net>
26665
26666 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
26667 smaller than LDBL_EPSILON/2.0L, just return xm1.
26668
bcbf9830
L
266692012-11-16 H.J. Lu <hongjiu.lu@intel.com>
26670
26671 * elf/tst-array1.c (init): Set constructor priority to 1000.
26672 (fini): Set destructor priority to 1000.
26673 * elf/tst-array2dep.c: Likewise.
26674
2b766585
SP
266752012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26676
26677 [BZ #11741]
26678 * libio/fileops.c (_IO_new_file_write): Correctly return error.
26679 (_IO_new_file_xsputn): Also return EOF if none of the input
26680 data was written when overflow failed.
26681 * libio/iopadn.c (_IO_padn): Likewise.
26682 * libio/iowpadn.c (_IO_wpadn): Likewise.
26683 * stdio-common/tst-put-error.c: Add copyright notice.
26684 (do_test): Add case for printing padded string.
26685 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
26686 _IO_padn returned error.
26687 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
26688 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
26689 return EOF.
26690
b1848fde
SP
266912012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26692
26693 * libio/libioP.h: Add comment note that the references to C++
26694 bits are now obsolete.
26695
2fd89785
MS
266962012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26697
26698 * math/libm-test.inc (check_complex): Use asprintf.
26699
e3ea5409
JM
267002012-11-14 Joseph Myers <joseph@codesourcery.com>
26701
26702 * debug/pcprofiledump.c (print_version): Update copyright year.
26703 * malloc/memusagestat.c (print_version): Likewise.
26704
2e64d265
L
267052012-11-14 H.J. Lu <hongjiu.lu@intel.com>
26706
26707 [BZ #14831]
26708 * elf/Makefile (tests): Add tst-audit8.
26709 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
26710 ($(objpfx)tst-audit8.out): New target.
26711 (tst-audit8-ENV): New variable.
26712 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
26713 audit if l_reloc_result is NULL.
26714 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
26715 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
26716 * elf/tst-audit8.c: New file.
26717
c485e4d2
MS
267182012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26719
26720 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
26721 * misc/Makefile (CFLAGS-select.c): Define.
26722 * posix/Makefile (CFLAGS-pause.c): Define.
26723
3a0d900a
DM
267242012-11-13 David S. Miller <davem@davemloft.net>
26725
26726 * crypt/Makefile: Move test targets after toplevel Rules
26727 inclusion. Grab any necessary sysdep routines when linking.
26728 * crypt/md5.c (md5_process_block): Remove define, we will always
26729 name it __md5_process_block.
26730 (md5_finish_ctx): Update md5_process_block call.
26731 (md5_stream): Likewise.
26732 (md5_process_bytes): Likewise.
26733 (md5_process_block): Rename to __md5_process_block and move to ...
26734 * crypt/md5-block.c: ... here.
26735 * crypt/sha256.c (sha256_process_block): Move to ...
26736 * crypt/sha256-block.c: ... here.
26737 * crypt/sha512.c (sha512_process_block): Move to ...
26738 * crypt/sha512-block.c: ... here.
26739 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
26740 path.
26741 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
26742 * sysdeps/sparc/sparc64/multiarch/Makefile
26743 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
26744 crypt subdir.
26745 (localedef-aux): Add md5 crypto assembler when in locale subdir.
26746 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
26747 multiarch changes.
26748 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
26749 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
26750 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
26751 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
26752 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
26753 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
26754 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
26755 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
26756 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
26757 file.
26758 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
26759 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
26760 file.
26761 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
26762
8ca89318
JM
267632012-11-13 Joseph Myers <joseph@codesourcery.com>
26764
e27d476a
JM
26765 * timezone/tzselect.ksh: Update from tzcode git revision
26766 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
26767 * timezone/zdump.c: Likewise.
26768 * timezone/zic.c: Likewise.
26769 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
26770 in TZVERSION setting, not $(PKGVERSION).
26771 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
26772 REPORT_BUGS_TO settings.
26773
8ca89318
JM
26774 [BZ #14838]
26775 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
26776 macro.
26777
47594329
MS
267782012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26779
26780 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
26781 detection to immediately after _FP_ROUND().
26782 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
26783 bits are 0.
26784
640ac3f1
DM
267852012-11-11 David S. Miller <davem@davemloft.net>
26786
26787 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
26788 inttypes.h
26789 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
26790 __close rather than their public counterparts.
26791
3d2577bb
JM
267922012-11-10 Joseph Myers <joseph@codesourcery.com>
26793
26794 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
26795 file.
26796 [UNIX98] (sem_timedwait): Do not expect.
26797 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
26798 [XPG4 || UNIX98] (sockatmark): Do not expect.
26799 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
26800 (clock_getcpuclockid): Do not expect.
26801 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
26802 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
26803 Do not expect.
26804 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
26805 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
26806 [UNIX98] (vwscanf): Likewise.
26807 [UNIX98] (vswscanf): Likewise.
26808
fb1ae1ee
JM
268092012-11-09 Joseph Myers <joseph@codesourcery.com>
26810
9ec6f8bd
JM
26811 * timezone/version.h: Remove file.
26812 * timezone/README: Do not refer to version.h.
26813 * timezone/Makefile ($(objpfx)zic.o): New dependency on
26814 $(objpfx)version.h.
26815 ($(objpfx)zdump.o): Likewise.
c3f81911 26816 ($(objpfx)version.h): New target.
9ec6f8bd 26817
0aa8f8a1
JM
26818 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
26819 2012i.
26820 * timezone/README: Don't mention modification to tzselect.ksh.
26821 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
26822 work on unmodified tzselect.ksh. Substitute version numbers in
26823 tzselect.ksh.
26824
4e87147f
JM
26825 * Makefile (format-me): Remove.
26826 (INSTALL): Adjust indentation. Use commands directly instead of
26827 using $(format-me).
26828
8b748aed
JM
26829 * aclocal.m4 (ACX_PKGVERSION): New macro.
26830 (ACX_BUGURL): Likewise.
26831 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
26832 (PKGVERSION): New AC_DEFINE_UNQUOTED.
26833 (REPORT_BUGS_TO): Likewise.
26834 * configure: Regenerated.
26835 * config.h.in (PKGVERSION): New macro.
26836 (REPORT_BUGS_TO): Likewise.
26837 * config.make.in (PKGVERSION): New variable.
26838 (PKGVERSION_TEXI): Likewise.
26839 (REPORT_BUGS_TO): Likewise.
26840 (REPORT_BUGS_TEXI): Likewise.
26841 * Makefile (format-me): Use -I$(common-objpfx)manual.
26842 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
26843 ($(common-objpfx)manual/%): New target.
26844 (manual/%): Remove target.
26845 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
26846 (print_version): Use PKGVERSION.
26847 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
26848 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
26849 and REPORT_BUGS_TO.
26850 ($(objpfx)xtrace): Likewise.
26851 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
26852 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
26853 (print_version): Use PKGVERSION.
26854 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
26855 (do_version): Use PKGVERSION.
26856 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
26857 REPORT_BUGS_TO.
26858 (common-ldd-rewrite): Likewise.
26859 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
26860 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
26861 (print_version): Use PKGVERSION.
26862 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
26863 * elf/pldd.c (argp_program_bug_address): Remove variable.
26864 (more_help): New function.
26865 (argp): Use more_help.
26866 (print_version): Use PKGVERSION.
26867 * elf/sln.c (main): Use PKGVERSION.
26868 (usage): Use REPORT_BUGS_TO.
26869 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
26870 (top level): Use PKGVERSION.
26871 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
26872 (print_version): Use PKGVERSION.
26873 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
26874 (print_version): Use PKGVERSION.
26875 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
26876 (print_version): Use PKGVERSION.
26877 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
26878 (print_version): Use PKGVERSION.
26879 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
26880 (print_version): Use PKGVERSION.
26881 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
26882 (print_version): Use PKGVERSION.
26883 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
26884 and BUGURL.
26885 ($(objpfx)memusage): Likewise.
26886 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
26887 (do_version): Use PKGVERSION.
26888 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
26889 (print_version): Use PKGVERSION.
26890 * malloc/mtrace.pl ($PACKAGE): Remove variable.
26891 ($PKGVERSION): New variable.
26892 ($REPORT_BUGS_TO): Likewise.
26893 (usage): Use $REPORT_BUGS_TO.
26894 (top level): Use $PKGVERSION.
26895 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
26896 ($(objpfx)pkgvers.texi): New rule.
26897 ($(objpfx)stamp-pkgvers): Likewise.
26898 * manual/install.texi: Include pkgvers.texi.
26899 (--with-pkgversion): Document new configure option.
26900 (--with-bugurl): Likewise.
26901 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
26902 than necessarily for this particular distribution. Use
26903 REPORT_BUGS_TO for where to report bugs.
26904 * INSTALL: Regenerated.
26905 * manual/libc.texinfo: Include pkgvers.texi.
26906 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
26907 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
26908 (print_version): Use PKGVERSION.
26909 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
26910 (print_version): Use PKGVERSION.
26911 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
26912 (print_version): Use PKGVERSION.
26913 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
26914 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
26915 macro.
26916 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
26917 (print_version): Use PKGVERSION.
26918 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
26919 (print_version): Use PKGVERSION.
26920 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
26921 and PKGVERSION.
26922
92e4b6a9
JM
26923 * timezone/checktab.awk: Update from tzcode 2012i.
26924 * timezone/ialloc.c: Likewise.
26925 * timezone/private.h: Likewise.
26926 * timezone/scheck.c: Likewise.
26927 * timezone/tzfile.h: Likewise.
26928 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
26929 (TZVERSION): Hardcode tzcode version number.
26930 * timezone/zdump.c: Update from tzcode 2012i.
26931 * timezone/zic.c: Likewise.
26932 * timezone/version.h: New file.
26933 * timezone/README: Describe version.h. Update upstream location.
26934
9bde902c
JM
26935 [BZ #14824]
26936 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
26937 (mktemp): Enable declaration.
26938 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
26939 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
26940 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
26941 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
26942 Likewise.
26943 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
26944 Likewise.
26945 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
26946 Likewise.
26947 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
26948 Likewise.
26949 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
26950 Likewise.
26951 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
26952 Likewise.
26953
fb1ae1ee
JM
26954 [BZ #14821]
26955 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
26956 offset in buffer as u_int32_t not u_long. Consistently use memcpy
26957 for copies of such integer values.
26958 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26959 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26960
2c1adbcb
AJ
269612012-11-09 Andreas Jaeger <aj@suse.de>
26962
26963 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
26964 definitions and declarations that are provided by
26965 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26966
d0f8457e
AK
269672012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26968
3a235abb 26969 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
26970 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
26971 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
26972 definition.
26973
57241e26
MS
269742012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26975
26976 * elf/elf.h: Update comment before AArch64 relocations.
26977
60e8270d
DM
269782012-11-07 David S. Miller <davem@davemloft.net>
26979
26980 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
26981 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26982 (__start_context): Declare.
26983 (__makecontext_ret): Delete.
26984 (__makecontext): Hook up __start_context instead of
26985 __makecontext_ret.
26986 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
26987 (sysdep_routines): Add __start_context when in stdlib.
26988
0fbb0fbc
JM
269892012-11-07 Joseph Myers <joseph@codesourcery.com>
26990
26991 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
26992 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
26993 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
26994 hardcoded "nm".
26995 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
26996 (READELF): New variable. Use it instead of hardcoded "readelf".
26997
eb48db7e
L
269982012-11-07 H.J. Lu <hongjiu.lu@intel.com>
26999
27000 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
27001 * sysdeps/x86/Makefile: Here.
27002 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
27003 * sysdeps/x86/tst-xmmymm.sh: This.
27004
05bcf62a
JM
270052012-11-07 Joseph Myers <joseph@codesourcery.com>
27006
c4b6cf53
JM
27007 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
27008 expectations.
27009 [UNIX98] (pthread_barrier_t): Do not expect.
27010 [UNIX98] (pthread_barrierattr_t): Likewise.
27011 [UNIX98] (pthread_spinlock_t): Likewise.
27012 [UNIX98] (pthread_barrier_destroy): Likewise.
27013 [UNIX98] (pthread_barrier_init): Likewise.
27014 [UNIX98] (pthread_barrier_wait): Likewise.
27015 [UNIX98] (pthread_barrierattr_destroy): Likewise.
27016 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
27017 [UNIX98] (pthread_barrierattr_init): Likewise.
27018 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
27019 [UNIX98] (pthread_getcpuclockid): Likewise.
27020 [UNIX98] (pthread_mutex_timedlock): Likewise.
27021 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
27022 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
27023 [UNIX98] (pthread_sigmask): Likewise.
27024 [UNIX98] (pthread_spin_destroy): Likewise.
27025 [UNIX98] (pthread_spin_init): Likewise.
27026 [UNIX98] (pthread_spin_lock): Likewise.
27027 [UNIX98] (pthread_spin_trylock): Likewise.
27028 [UNIX98] (pthread_spin_unlock): Likewise.
27029 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
27030 Do not expect.
27031 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
27032 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
27033 [XPG3 || XPG4] (pthread_cond_t): Likewise.
27034 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
27035 [XPG3 || XPG4] (pthread_key_t): Likewise.
27036 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
27037 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
27038 [XPG3 || XPG4] (pthread_once_t): Likewise.
27039 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
27040 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
27041 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
27042 [XPG3 || XPG4] (pthread_t): Likewise.
27043
cbe6e120
JM
27044 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
27045 not expect.
27046 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
27047
1b126443
JM
27048 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
27049 Change function return type to int.
27050
b961a573
JM
27051 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
27052 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
27053 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
27054 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
27055 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
27056 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
27057 [!POSIX] (posix_madvise): Likewise.
27058 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
27059 && !UNIX98].
27060 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
27061 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
27062 (mode_t): Likewise.
27063 (posix_mem_offset): Likewise.
27064 (posix_typed_mem_get_info): Likewise.
27065 (posix_typed_mem_open): Likewise.
27066
9e188909
JM
27067 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
27068 Change condition to [XOPEN2K8].
27069
05bcf62a
JM
27070 * conform/conformtest.pl: Preprocess allow-header data with -x c
27071 instead of from stdin.
27072 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
27073 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
27074 [C99-based standards] (cerfc): Likewise.
27075 [C99-based standards] (cexp2): Likewise.
27076 [C99-based standards] (cexpm1): Likewise.
27077 [C99-based standards] (clog10): Likewise.
27078 [C99-based standards] (clog1p): Likewise.
27079 [C99-based standards] (clog2): Likewise.
27080 [C99-based standards] (clgamma): Likewise.
27081 [C99-based standards] (ctgamma): Likewise.
27082 [C99-based standards] (cerff): Likewise.
27083 [C99-based standards] (cerfcf): Likewise.
27084 [C99-based standards] (cexp2f): Likewise.
27085 [C99-based standards] (cexpm1f): Likewise.
27086 [C99-based standards] (clog10f): Likewise.
27087 [C99-based standards] (clog1pf): Likewise.
27088 [C99-based standards] (clog2f): Likewise.
27089 [C99-based standards] (clgammaf): Likewise.
27090 [C99-based standards] (ctgammaf): Likewise.
27091 [C99-based standards] (cerfl): Likewise.
27092 [C99-based standards] (cerfcl): Likewise.
27093 [C99-based standards] (cexp2l): Likewise.
27094 [C99-based standards] (cexpm1l): Likewise.
27095 [C99-based standards] (clog10l): Likewise.
27096 [C99-based standards] (clog1pl): Likewise.
27097 [C99-based standards] (clog2l): Likewise.
27098 [C99-based standards] (clgammal): Likewise.
27099 [C99-based standards] (ctgammal): Likewise.
27100 * conform/data/inttypes.h-data [C99-based standards]: Include
27101 stdint.h-data. Remove all expectations for stdint.h contents.
27102 [C99-based standards] (PRI*): Do not allow.
27103 [C99-based standards] (SCN*): Likewise.
27104 [C99-based standards] (*_t): Likewise.
27105 [C99-based-standards] (PRId8): Expect macro.
27106 [C99-based-standards] (PRIi8): Likewise.
27107 [C99-based-standards] (PRIo8): Likewise.
27108 [C99-based-standards] (PRIu8): Likewise.
27109 [C99-based-standards] (PRIx8): Likewise.
27110 [C99-based-standards] (PRIX8): Likewise.
27111 [C99-based-standards] (SCNd8): Likewise.
27112 [C99-based-standards] (SCNi8): Likewise.
27113 [C99-based-standards] (SCNo8): Likewise.
27114 [C99-based-standards] (SCNu8): Likewise.
27115 [C99-based-standards] (SCNx8): Likewise.
27116 [C99-based-standards] (PRIdLEAST8): Likewise.
27117 [C99-based-standards] (PRIiLEAST8): Likewise.
27118 [C99-based-standards] (PRIoLEAST8): Likewise.
27119 [C99-based-standards] (PRIuLEAST8): Likewise.
27120 [C99-based-standards] (PRIxLEAST8): Likewise.
27121 [C99-based-standards] (PRIXLEAST8): Likewise.
27122 [C99-based-standards] (SCNdLEAST8): Likewise.
27123 [C99-based-standards] (SCNiLEAST8): Likewise.
27124 [C99-based-standards] (SCNoLEAST8): Likewise.
27125 [C99-based-standards] (SCNuLEAST8): Likewise.
27126 [C99-based-standards] (SCNxLEAST8): Likewise.
27127 [C99-based-standards] (PRIdFAST8): Likewise.
27128 [C99-based-standards] (PRIiFAST8): Likewise.
27129 [C99-based-standards] (PRIoFAST8): Likewise.
27130 [C99-based-standards] (PRIuFAST8): Likewise.
27131 [C99-based-standards] (PRIxFAST8): Likewise.
27132 [C99-based-standards] (PRIXFAST8): Likewise.
27133 [C99-based-standards] (SCNdFAST8): Likewise.
27134 [C99-based-standards] (SCNiFAST8): Likewise.
27135 [C99-based-standards] (SCNoFAST8): Likewise.
27136 [C99-based-standards] (SCNuFAST8): Likewise.
27137 [C99-based-standards] (SCNxFAST8): Likewise.
27138 [C99-based-standards] (PRId16): Likewise.
27139 [C99-based-standards] (PRIi16): Likewise.
27140 [C99-based-standards] (PRIo16): Likewise.
27141 [C99-based-standards] (PRIu16): Likewise.
27142 [C99-based-standards] (PRIx16): Likewise.
27143 [C99-based-standards] (PRIX16): Likewise.
27144 [C99-based-standards] (SCNd16): Likewise.
27145 [C99-based-standards] (SCNi16): Likewise.
27146 [C99-based-standards] (SCNo16): Likewise.
27147 [C99-based-standards] (SCNu16): Likewise.
27148 [C99-based-standards] (SCNx16): Likewise.
27149 [C99-based-standards] (PRIdLEAST16): Likewise.
27150 [C99-based-standards] (PRIiLEAST16): Likewise.
27151 [C99-based-standards] (PRIoLEAST16): Likewise.
27152 [C99-based-standards] (PRIuLEAST16): Likewise.
27153 [C99-based-standards] (PRIxLEAST16): Likewise.
27154 [C99-based-standards] (PRIXLEAST16): Likewise.
27155 [C99-based-standards] (SCNdLEAST16): Likewise.
27156 [C99-based-standards] (SCNiLEAST16): Likewise.
27157 [C99-based-standards] (SCNoLEAST16): Likewise.
27158 [C99-based-standards] (SCNuLEAST16): Likewise.
27159 [C99-based-standards] (SCNxLEAST16): Likewise.
27160 [C99-based-standards] (PRIdFAST16): Likewise.
27161 [C99-based-standards] (PRIiFAST16): Likewise.
27162 [C99-based-standards] (PRIoFAST16): Likewise.
27163 [C99-based-standards] (PRIuFAST16): Likewise.
27164 [C99-based-standards] (PRIxFAST16): Likewise.
27165 [C99-based-standards] (PRIXFAST16): Likewise.
27166 [C99-based-standards] (SCNdFAST16): Likewise.
27167 [C99-based-standards] (SCNiFAST16): Likewise.
27168 [C99-based-standards] (SCNoFAST16): Likewise.
27169 [C99-based-standards] (SCNuFAST16): Likewise.
27170 [C99-based-standards] (SCNxFAST16): Likewise.
27171 [C99-based-standards] (PRId32): Likewise.
27172 [C99-based-standards] (PRIi32): Likewise.
27173 [C99-based-standards] (PRIo32): Likewise.
27174 [C99-based-standards] (PRIu32): Likewise.
27175 [C99-based-standards] (PRIx32): Likewise.
27176 [C99-based-standards] (PRIX32): Likewise.
27177 [C99-based-standards] (SCNd32): Likewise.
27178 [C99-based-standards] (SCNi32): Likewise.
27179 [C99-based-standards] (SCNo32): Likewise.
27180 [C99-based-standards] (SCNu32): Likewise.
27181 [C99-based-standards] (SCNx32): Likewise.
27182 [C99-based-standards] (PRIdLEAST32): Likewise.
27183 [C99-based-standards] (PRIiLEAST32): Likewise.
27184 [C99-based-standards] (PRIoLEAST32): Likewise.
27185 [C99-based-standards] (PRIuLEAST32): Likewise.
27186 [C99-based-standards] (PRIxLEAST32): Likewise.
27187 [C99-based-standards] (PRIXLEAST32): Likewise.
27188 [C99-based-standards] (SCNdLEAST32): Likewise.
27189 [C99-based-standards] (SCNiLEAST32): Likewise.
27190 [C99-based-standards] (SCNoLEAST32): Likewise.
27191 [C99-based-standards] (SCNuLEAST32): Likewise.
27192 [C99-based-standards] (SCNxLEAST32): Likewise.
27193 [C99-based-standards] (PRIdFAST32): Likewise.
27194 [C99-based-standards] (PRIiFAST32): Likewise.
27195 [C99-based-standards] (PRIoFAST32): Likewise.
27196 [C99-based-standards] (PRIuFAST32): Likewise.
27197 [C99-based-standards] (PRIxFAST32): Likewise.
27198 [C99-based-standards] (PRIXFAST32): Likewise.
27199 [C99-based-standards] (SCNdFAST32): Likewise.
27200 [C99-based-standards] (SCNiFAST32): Likewise.
27201 [C99-based-standards] (SCNoFAST32): Likewise.
27202 [C99-based-standards] (SCNuFAST32): Likewise.
27203 [C99-based-standards] (SCNxFAST32): Likewise.
27204 [C99-based-standards] (PRId64): Likewise.
27205 [C99-based-standards] (PRIi64): Likewise.
27206 [C99-based-standards] (PRIo64): Likewise.
27207 [C99-based-standards] (PRIu64): Likewise.
27208 [C99-based-standards] (PRIx64): Likewise.
27209 [C99-based-standards] (PRIX64): Likewise.
27210 [C99-based-standards] (SCNd64): Likewise.
27211 [C99-based-standards] (SCNi64): Likewise.
27212 [C99-based-standards] (SCNo64): Likewise.
27213 [C99-based-standards] (SCNu64): Likewise.
27214 [C99-based-standards] (SCNx64): Likewise.
27215 [C99-based-standards] (PRIdLEAST64): Likewise.
27216 [C99-based-standards] (PRIiLEAST64): Likewise.
27217 [C99-based-standards] (PRIoLEAST64): Likewise.
27218 [C99-based-standards] (PRIuLEAST64): Likewise.
27219 [C99-based-standards] (PRIxLEAST64): Likewise.
27220 [C99-based-standards] (PRIXLEAST64): Likewise.
27221 [C99-based-standards] (SCNdLEAST64): Likewise.
27222 [C99-based-standards] (SCNiLEAST64): Likewise.
27223 [C99-based-standards] (SCNoLEAST64): Likewise.
27224 [C99-based-standards] (SCNuLEAST64): Likewise.
27225 [C99-based-standards] (SCNxLEAST64): Likewise.
27226 [C99-based-standards] (PRIdFAST64): Likewise.
27227 [C99-based-standards] (PRIiFAST64): Likewise.
27228 [C99-based-standards] (PRIoFAST64): Likewise.
27229 [C99-based-standards] (PRIuFAST64): Likewise.
27230 [C99-based-standards] (PRIxFAST64): Likewise.
27231 [C99-based-standards] (PRIXFAST64): Likewise.
27232 [C99-based-standards] (SCNdFAST64): Likewise.
27233 [C99-based-standards] (SCNiFAST64): Likewise.
27234 [C99-based-standards] (SCNoFAST64): Likewise.
27235 [C99-based-standards] (SCNuFAST64): Likewise.
27236 [C99-based-standards] (SCNxFAST64): Likewise.
27237 [C99-based-standards] (PRIdMAX): Likewise.
27238 [C99-based-standards] (PRIiMAX): Likewise.
27239 [C99-based-standards] (PRIoMAX): Likewise.
27240 [C99-based-standards] (PRIuMAX): Likewise.
27241 [C99-based-standards] (PRIxMAX): Likewise.
27242 [C99-based-standards] (PRIXMAX): Likewise.
27243 [C99-based-standards] (SCNdMAX): Likewise.
27244 [C99-based-standards] (SCNiMAX): Likewise.
27245 [C99-based-standards] (SCNoMAX): Likewise.
27246 [C99-based-standards] (SCNuMAX): Likewise.
27247 [C99-based-standards] (SCNxMAX): Likewise.
27248 [C99-based-standards] (PRIdPTR): Likewise.
27249 [C99-based-standards] (PRIiPTR): Likewise.
27250 [C99-based-standards] (PRIoPTR): Likewise.
27251 [C99-based-standards] (PRIuPTR): Likewise.
27252 [C99-based-standards] (PRIxPTR): Likewise.
27253 [C99-based-standards] (PRIXPTR): Likewise.
27254 [C99-based-standards] (SCNdPTR): Likewise.
27255 [C99-based-standards] (SCNiPTR): Likewise.
27256 [C99-based-standards] (SCNoPTR): Likewise.
27257 [C99-based-standards] (SCNuPTR): Likewise.
27258 [C99-based-standards] (SCNxPTR): Likewise.
27259 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
27260 allow.
27261 * conform/data/stdint.h-data: Update comments to clarify
27262 requirements.
27263 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
27264 type.
27265 [C99-based standards] (INT8_MAX): Likewise.
27266 [C99-based standards] (INT16_MIN): Likewise.
27267 [C99-based standards] (INT16_MAX): Likewise.
27268 [C99-based standards] (INT32_MIN): Likewise.
27269 [C99-based standards] (INT32_MAX): Likewise.
27270 [C99-based standards] (INT64_MIN): Likewise.
27271 [C99-based standards] (INT64_MAX): Likewise.
27272 [C99-based standards] (UINT8_MAX): Likewise.
27273 [C99-based standards] (UINT16_MAX): Likewise.
27274 [C99-based standards] (UINT32_MAX): Likewise.
27275 [C99-based standards] (UINT64_MAX): Likewise.
27276 [C99-based standards] (INT_LEAST8_MIN): Likewise.
27277 [C99-based standards] (INT_LEAST8_MAX): Likewise.
27278 [C99-based standards] (INT_LEAST16_MIN): Likewise.
27279 [C99-based standards] (INT_LEAST16_MAX): Likewise.
27280 [C99-based standards] (INT_LEAST32_MIN): Likewise.
27281 [C99-based standards] (INT_LEAST32_MAX): Likewise.
27282 [C99-based standards] (INT_LEAST64_MIN): Likewise.
27283 [C99-based standards] (INT_LEAST64_MAX): Likewise.
27284 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
27285 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
27286 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
27287 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
27288 [C99-based standards] (INT_FAST8_MIN): Likewise.
27289 [C99-based standards] (INT_FAST8_MAX): Likewise.
27290 [C99-based standards] (INT_FAST16_MIN): Likewise.
27291 [C99-based standards] (INT_FAST16_MAX): Likewise.
27292 [C99-based standards] (INT_FAST32_MIN): Likewise.
27293 [C99-based standards] (INT_FAST32_MAX): Likewise.
27294 [C99-based standards] (INT_FAST64_MIN): Likewise.
27295 [C99-based standards] (INT_FAST64_MAX): Likewise.
27296 [C99-based standards] (UINT_FAST8_MAX): Likewise.
27297 [C99-based standards] (UINT_FAST16_MAX): Likewise.
27298 [C99-based standards] (UINT_FAST32_MAX): Likewise.
27299 [C99-based standards] (UINT_FAST64_MAX): Likewise.
27300 [C99-based standards] (INTPTR_MIN): Likewise.
27301 [C99-based standards] (INTPTR_MAX): Likewise.
27302 [C99-based standards] (UINTPTR_MAX): Likewise.
27303 [C99-based standards] (INTMAX_MIN): Likewise.
27304 [C99-based standards] (INTMAX_MAX): Likewise.
27305 [C99-based standards] (UINTMAX_MAX): Likewise.
27306 [C99-based standards] (PTRDIFF_MIN): Likewise.
27307 [C99-based standards] (PTRDIFF_MAX): Likewise.
27308 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
27309 [C99-based standards] (SIZE_MAX): Likewise.
27310 [C99-based standards] (WCHAR_MAX): Likewise.
27311 [C99-based standards] (WINT_MAX): Likewise.
27312 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
27313 constraint on value.
27314 [C99-based standards] (WCHAR_MIN): Likewise.
27315 [C99-based standards] (WINT_MIN): Likewise.
27316 [C99-based standards] (*_t): Allow.
27317 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
27318 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
27319 Include math.h-data and complex.h-data. Remove all expectations
27320 of math.h and complex.h contents.
27321 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
27322 at end of line.
27323 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
27324 (struct tm): Expect tag.
27325 [C99-based-standards] (wcstof): Expect function.
27326 [C99-based-standards] (wcstold): Likewise.
27327 [C99-based-standards] (wcstoll): Likewise.
27328 [C99-based-standards] (wcstoull): Likewise.
27329 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
27330 macro-int-constant. Specify type.
27331 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
27332 constraint on value.
27333 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27334 Specify type.
27335 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
27336 Specify value.
27337 [ISO C standards]: Do not allow headers.
27338 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
27339 wcs[abcdefghijklmnopqrstuvwxyz]*.
27340 [ISO C standards] (*_t): Do not allow.
27341 * conform/data/wctype.h-data [C99-based standards] (iswblank):
27342 Expect function.
27343 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
27344 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27345 Specify type.
27346 [ISO C standards]: Do not allow headers.
27347 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
27348 is[abcdefghijklmnopqrstuvwxyz]*.
27349 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
27350 to[abcdefghijklmnopqrstuvwxyz]*.
27351 [ISO C standards] (*_t): Do not allow.
27352 * conform/data/stdalign.h-data: New file.
27353 * conform/data/stdbool.h-data: Likewise.
27354 * conform/data/stdnoreturn.h-data: Likewise.
27355
7514feb8
RM
273562012-11-07 Roland McGrath <roland@hack.frob.com>
27357
27358 [BZ #14815]
27359 * manual/filesys.texi (Directory Entries): Typo fix.
27360 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
27361
19b2ecfc
MS
273622012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27363
27364 * elf/elf.h (EM_AARCH64): New macro.
27365 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
27366 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
27367 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
27368 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
27369 (R_AARCH64_TLSDESC): Likewise.
27370 (NT_ARM_TLS): Likewise.
27371 (NT_ARM_HW_BREAK): Likewise.
27372 (NT_ARM_HW_WATCH): Likewise.
27373
60e235ee
JM
273742012-11-07 Joseph Myers <joseph@codesourcery.com>
27375
27376 [BZ #14811]
27377 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
27378 (__ieee754_powl): Saturate nonzero exponents with absolute value
27379 below 0x1p-79 to +/- 0x1p-79.
27380 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
27381 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
27382 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
27383 nonzero exponents with absolute value below 0x1p-32 to +/-
27384 0x1p-32.
27385 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
27386 (__ieee754_powl): Saturate nonzero exponents with absolute value
27387 below 0x1p-79 to +/- 0x1p-79.
27388 * math/libm-test.inc (pow_test): Add more tests.
27389
0ab234b7
AK
273902012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27391
27392 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
27393 _dl_s390_cap_flags with kernel. Increase string length.
27394 (_dl_s390_platforms): Add z196 and zEC12.
27395
45832f74
JM
273962012-11-07 Joseph Myers <joseph@codesourcery.com>
27397
27398 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
27399 Change XOPEN21K to XOPEN2K.
27400
19218757
MK
274012012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
27402
27403 * string/memmove.c: Use memcpy when possible.
27404
c5f45721
AJ
274052012-11-06 Andreas Jaeger <aj@suse.de>
27406
27407 * po/eo.po: Update from translation team.
27408
82477c28
JM
274092012-11-06 Joseph Myers <joseph@codesourcery.com>
27410
27411 [BZ #14793]
27412 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
27413 exponent and small x and y exponents, scale x or y up. Increase
27414 by 2 the exponent used in scaling up.
27415 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27416 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27417 * math/libm-test.inc (fma_test): Add more tests.
27418 (fma_test_towardzero): Likewise.
27419 (fma_test_downward): Likewise.
27420 (fma_test_upward): Likewise.
27421
99252c8c
JM
274222012-11-05 Joseph Myers <joseph@codesourcery.com>
27423
acfa885f
JM
27424 [BZ #14805]
27425 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
27426 fenv_t *.
27427
99252c8c
JM
27428 [BZ #14801]
27429 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
27430 namespace for names of struct fields.
27431 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
27432 fenv_t fields.
27433 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
27434 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
27435
d6d98dea
ST
274362012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
27437
27438 [BZ #3665]
27439 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
27440
e10bb107
TS
274412012-11-04 Thomas Schwinge <thomas@codesourcery.com>
27442
27443 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
27444 PTR_DEMANGLE.
27445
27446 [BZ #5246]
27447 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
27448 PTR_DEMANGLE.
27449
a0c2940d
JM
274502012-11-04 Joseph Myers <joseph@codesourcery.com>
27451
27452 [BZ #14797]
27453 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
27454 definitely overflow as x * y not x * y + z.
27455 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27456 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27457 * math/libm-test.inc (fma_test): Add more tests.
27458 (fma_test_towardzero): Likewise.
27459 (fma_test_downward): Likewise.
27460 (fma_test_upward): Likewise.
27461
b830319d
TS
274622012-11-04 Thomas Schwinge <thomas@codesourcery.com>
27463
27464 [BZ #157]
27465
27466 * include/stub-tag.h: Remove file.
27467 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
27468 '#include' of it.
27469 * manual/maint.texi (Porting): Don't reference it.
27470 * Makerules ($(objpfx)stubs): Likewise.
27471 * dirent/closedir.c: Don't include <stub-tag.h>.
27472 * dirent/dirfd.c: Likewise.
27473 * dirent/fdopendir.c: Likewise.
27474 * dirent/getdents.c: Likewise.
27475 * dirent/getdents64.c: Likewise.
27476 * dirent/opendir.c: Likewise.
27477 * dirent/readdir.c: Likewise.
27478 * dirent/readdir64.c: Likewise.
27479 * dirent/readdir64_r.c: Likewise.
27480 * dirent/readdir_r.c: Likewise.
27481 * dirent/rewinddir.c: Likewise.
27482 * dirent/seekdir.c: Likewise.
27483 * dirent/telldir.c: Likewise.
27484 * gmon/profil.c: Likewise.
27485 * grp/setgroups.c: Likewise.
27486 * inet/if_index.c: Likewise.
27487 * io/access.c: Likewise.
27488 * io/chdir.c: Likewise.
27489 * io/chmod.c: Likewise.
27490 * io/chown.c: Likewise.
27491 * io/close.c: Likewise.
27492 * io/dup.c: Likewise.
27493 * io/dup2.c: Likewise.
27494 * io/dup3.c: Likewise.
27495 * io/euidaccess.c: Likewise.
27496 * io/faccessat.c: Likewise.
27497 * io/fchdir.c: Likewise.
27498 * io/fchmod.c: Likewise.
27499 * io/fchmodat.c: Likewise.
27500 * io/fchown.c: Likewise.
27501 * io/fchownat.c: Likewise.
27502 * io/fcntl.c: Likewise.
27503 * io/flock.c: Likewise.
27504 * io/fstatfs.c: Likewise.
27505 * io/fstatfs64.c: Likewise.
27506 * io/fstatvfs.c: Likewise.
27507 * io/fstatvfs64.c: Likewise.
27508 * io/futimens.c: Likewise.
27509 * io/fxstat.c: Likewise.
27510 * io/fxstat64.c: Likewise.
27511 * io/fxstatat.c: Likewise.
27512 * io/fxstatat64.c: Likewise.
27513 * io/getcwd.c: Likewise.
27514 * io/isatty.c: Likewise.
27515 * io/lchmod.c: Likewise.
27516 * io/lchown.c: Likewise.
27517 * io/link.c: Likewise.
27518 * io/linkat.c: Likewise.
27519 * io/lseek.c: Likewise.
27520 * io/lseek64.c: Likewise.
27521 * io/lxstat64.c: Likewise.
27522 * io/mkdir.c: Likewise.
27523 * io/mkdirat.c: Likewise.
27524 * io/mkfifo.c: Likewise.
27525 * io/mkfifoat.c: Likewise.
27526 * io/open.c: Likewise.
27527 * io/open64.c: Likewise.
27528 * io/openat.c: Likewise.
27529 * io/openat64.c: Likewise.
27530 * io/pipe.c: Likewise.
27531 * io/pipe2.c: Likewise.
27532 * io/poll.c: Likewise.
27533 * io/posix_fadvise.c: Likewise.
27534 * io/posix_fadvise64.c: Likewise.
27535 * io/posix_fallocate.c: Likewise.
27536 * io/posix_fallocate64.c: Likewise.
27537 * io/read.c: Likewise.
27538 * io/readlink.c: Likewise.
27539 * io/readlinkat.c: Likewise.
27540 * io/rmdir.c: Likewise.
27541 * io/sendfile.c: Likewise.
27542 * io/sendfile64.c: Likewise.
27543 * io/statfs.c: Likewise.
27544 * io/statfs64.c: Likewise.
27545 * io/statvfs.c: Likewise.
27546 * io/statvfs64.c: Likewise.
27547 * io/symlink.c: Likewise.
27548 * io/symlinkat.c: Likewise.
27549 * io/ttyname.c: Likewise.
27550 * io/ttyname_r.c: Likewise.
27551 * io/umask.c: Likewise.
27552 * io/unlink.c: Likewise.
27553 * io/unlinkat.c: Likewise.
27554 * io/utime.c: Likewise.
27555 * io/utimensat.c: Likewise.
27556 * io/write.c: Likewise.
27557 * io/xmknod.c: Likewise.
27558 * io/xmknodat.c: Likewise.
27559 * io/xstat.c: Likewise.
27560 * io/xstat64.c: Likewise.
27561 * login/getpt.c: Likewise.
27562 * login/grantpt.c: Likewise.
27563 * login/unlockpt.c: Likewise.
27564 * math/e_acoshl.c: Likewise.
27565 * math/e_acosl.c: Likewise.
27566 * math/e_asinl.c: Likewise.
27567 * math/e_atan2l.c: Likewise.
27568 * math/e_atanhl.c: Likewise.
27569 * math/e_coshl.c: Likewise.
27570 * math/e_expl.c: Likewise.
27571 * math/e_fmodl.c: Likewise.
27572 * math/e_gammal_r.c: Likewise.
27573 * math/e_hypotl.c: Likewise.
27574 * math/e_j0l.c: Likewise.
27575 * math/e_j1l.c: Likewise.
27576 * math/e_jnl.c: Likewise.
27577 * math/e_lgammal_r.c: Likewise.
27578 * math/e_log10l.c: Likewise.
27579 * math/e_log2l.c: Likewise.
27580 * math/e_logl.c: Likewise.
27581 * math/e_powl.c: Likewise.
27582 * math/e_rem_pio2l.c: Likewise.
27583 * math/e_sinhl.c: Likewise.
27584 * math/e_sqrtl.c: Likewise.
27585 * math/fclrexcpt.c: Likewise.
27586 * math/fedisblxcpt.c: Likewise.
27587 * math/feenablxcpt.c: Likewise.
27588 * math/fegetenv.c: Likewise.
27589 * math/fegetexcept.c: Likewise.
27590 * math/fegetround.c: Likewise.
27591 * math/feholdexcpt.c: Likewise.
27592 * math/fesetenv.c: Likewise.
27593 * math/fesetround.c: Likewise.
27594 * math/feupdateenv.c: Likewise.
27595 * math/fgetexcptflg.c: Likewise.
27596 * math/fraiseexcpt.c: Likewise.
27597 * math/fsetexcptflg.c: Likewise.
27598 * math/ftestexcept.c: Likewise.
27599 * math/k_cosl.c: Likewise.
27600 * math/k_rem_pio2l.c: Likewise.
27601 * math/k_sinl.c: Likewise.
27602 * math/k_tanl.c: Likewise.
27603 * math/s_asinhl.c: Likewise.
27604 * math/s_atanl.c: Likewise.
27605 * math/s_cbrtl.c: Likewise.
27606 * math/s_erfl.c: Likewise.
27607 * math/s_expm1l.c: Likewise.
27608 * math/s_log1pl.c: Likewise.
27609 * math/s_tanhl.c: Likewise.
27610 * misc/acct.c: Likewise.
27611 * misc/brk.c: Likewise.
27612 * misc/chflags.c: Likewise.
27613 * misc/chroot.c: Likewise.
27614 * misc/fchflags.c: Likewise.
27615 * misc/fgetxattr.c: Likewise.
27616 * misc/flistxattr.c: Likewise.
27617 * misc/fremovexattr.c: Likewise.
27618 * misc/fsetxattr.c: Likewise.
27619 * misc/fsync.c: Likewise.
27620 * misc/ftruncate.c: Likewise.
27621 * misc/futimes.c: Likewise.
27622 * misc/futimesat.c: Likewise.
27623 * misc/getdomain.c: Likewise.
27624 * misc/getdtsz.c: Likewise.
27625 * misc/gethostid.c: Likewise.
27626 * misc/gethostname.c: Likewise.
27627 * misc/getloadavg.c: Likewise.
27628 * misc/getpagesize.c: Likewise.
27629 * misc/getsysstats.c: Likewise.
27630 * misc/getxattr.c: Likewise.
27631 * misc/gtty.c: Likewise.
27632 * misc/ioctl.c: Likewise.
27633 * misc/lgetxattr.c: Likewise.
27634 * misc/listxattr.c: Likewise.
27635 * misc/llistxattr.c: Likewise.
27636 * misc/lremovexattr.c: Likewise.
27637 * misc/lsetxattr.c: Likewise.
27638 * misc/lutimes.c: Likewise.
27639 * misc/madvise.c: Likewise.
27640 * misc/mincore.c: Likewise.
27641 * misc/mlock.c: Likewise.
27642 * misc/mlockall.c: Likewise.
27643 * misc/mmap.c: Likewise.
27644 * misc/mprotect.c: Likewise.
27645 * misc/msync.c: Likewise.
27646 * misc/munlock.c: Likewise.
27647 * misc/munlockall.c: Likewise.
27648 * misc/munmap.c: Likewise.
27649 * misc/preadv.c: Likewise.
27650 * misc/preadv64.c: Likewise.
27651 * misc/ptrace.c: Likewise.
27652 * misc/pwritev.c: Likewise.
27653 * misc/pwritev64.c: Likewise.
27654 * misc/readv.c: Likewise.
27655 * misc/reboot.c: Likewise.
27656 * misc/remap_file_pages.c: Likewise.
27657 * misc/removexattr.c: Likewise.
27658 * misc/revoke.c: Likewise.
27659 * misc/select.c: Likewise.
27660 * misc/setdomain.c: Likewise.
27661 * misc/setegid.c: Likewise.
27662 * misc/seteuid.c: Likewise.
27663 * misc/sethostid.c: Likewise.
27664 * misc/sethostname.c: Likewise.
27665 * misc/setregid.c: Likewise.
27666 * misc/setreuid.c: Likewise.
27667 * misc/setxattr.c: Likewise.
27668 * misc/sstk.c: Likewise.
27669 * misc/stty.c: Likewise.
27670 * misc/swapoff.c: Likewise.
27671 * misc/swapon.c: Likewise.
27672 * misc/sync.c: Likewise.
27673 * misc/syncfs.c: Likewise.
27674 * misc/syscall.c: Likewise.
27675 * misc/truncate.c: Likewise.
27676 * misc/ualarm.c: Likewise.
27677 * misc/usleep.c: Likewise.
27678 * misc/ustat.c: Likewise.
27679 * misc/utimes.c: Likewise.
27680 * misc/vhangup.c: Likewise.
27681 * misc/writev.c: Likewise.
27682 * posix/_exit.c: Likewise.
27683 * posix/alarm.c: Likewise.
27684 * posix/execve.c: Likewise.
27685 * posix/fexecve.c: Likewise.
27686 * posix/fork.c: Likewise.
27687 * posix/fpathconf.c: Likewise.
27688 * posix/getaddrinfo.c: Likewise.
27689 * posix/getegid.c: Likewise.
27690 * posix/geteuid.c: Likewise.
27691 * posix/getgid.c: Likewise.
27692 * posix/getgroups.c: Likewise.
27693 * posix/getlogin.c: Likewise.
27694 * posix/getlogin_r.c: Likewise.
27695 * posix/getpgid.c: Likewise.
27696 * posix/getpid.c: Likewise.
27697 * posix/getppid.c: Likewise.
27698 * posix/getresgid.c: Likewise.
27699 * posix/getresuid.c: Likewise.
27700 * posix/getsid.c: Likewise.
27701 * posix/getuid.c: Likewise.
27702 * posix/glob64.c: Likewise.
27703 * posix/nanosleep.c: Likewise.
27704 * posix/pathconf.c: Likewise.
27705 * posix/pause.c: Likewise.
27706 * posix/posix_madvise.c: Likewise.
27707 * posix/pread.c: Likewise.
27708 * posix/pread64.c: Likewise.
27709 * posix/pwrite.c: Likewise.
27710 * posix/pwrite64.c: Likewise.
27711 * posix/sched_getaffinity.c: Likewise.
27712 * posix/sched_getp.c: Likewise.
27713 * posix/sched_gets.c: Likewise.
27714 * posix/sched_primax.c: Likewise.
27715 * posix/sched_primin.c: Likewise.
27716 * posix/sched_rr_gi.c: Likewise.
27717 * posix/sched_setaffinity.c: Likewise.
27718 * posix/sched_setp.c: Likewise.
27719 * posix/sched_sets.c: Likewise.
27720 * posix/sched_yield.c: Likewise.
27721 * posix/setgid.c: Likewise.
27722 * posix/setlogin.c: Likewise.
27723 * posix/setpgid.c: Likewise.
27724 * posix/setresgid.c: Likewise.
27725 * posix/setresuid.c: Likewise.
27726 * posix/setsid.c: Likewise.
27727 * posix/setuid.c: Likewise.
27728 * posix/sleep.c: Likewise.
27729 * posix/spawni.c: Likewise.
27730 * posix/sysconf.c: Likewise.
27731 * posix/times.c: Likewise.
27732 * posix/wait.c: Likewise.
27733 * posix/wait3.c: Likewise.
27734 * posix/wait4.c: Likewise.
27735 * posix/waitpid.c: Likewise.
27736 * resolv/gai_sigqueue.c: Likewise.
27737 * resource/getpriority.c: Likewise.
27738 * resource/getrlimit.c: Likewise.
27739 * resource/getrusage.c: Likewise.
27740 * resource/nice.c: Likewise.
27741 * resource/setpriority.c: Likewise.
27742 * resource/setrlimit.c: Likewise.
27743 * resource/ulimit.c: Likewise.
27744 * rt/aio_cancel.c: Likewise.
27745 * rt/aio_fsync.c: Likewise.
27746 * rt/aio_read.c: Likewise.
27747 * rt/aio_sigqueue.c: Likewise.
27748 * rt/aio_suspend.c: Likewise.
27749 * rt/aio_write.c: Likewise.
27750 * rt/clock_getres.c: Likewise.
27751 * rt/clock_gettime.c: Likewise.
27752 * rt/clock_nanosleep.c: Likewise.
27753 * rt/clock_settime.c: Likewise.
27754 * rt/lio_listio.c: Likewise.
27755 * rt/mq_close.c: Likewise.
27756 * rt/mq_getattr.c: Likewise.
27757 * rt/mq_notify.c: Likewise.
27758 * rt/mq_open.c: Likewise.
27759 * rt/mq_receive.c: Likewise.
27760 * rt/mq_send.c: Likewise.
27761 * rt/mq_setattr.c: Likewise.
27762 * rt/mq_timedreceive.c: Likewise.
27763 * rt/mq_timedsend.c: Likewise.
27764 * rt/mq_unlink.c: Likewise.
27765 * rt/shm_open.c: Likewise.
27766 * rt/shm_unlink.c: Likewise.
27767 * rt/timer_create.c: Likewise.
27768 * rt/timer_delete.c: Likewise.
27769 * rt/timer_getoverr.c: Likewise.
27770 * rt/timer_gettime.c: Likewise.
27771 * rt/timer_settime.c: Likewise.
27772 * setjmp/__longjmp.c: Likewise.
27773 * setjmp/setjmp.c: Likewise.
27774 * signal/kill.c: Likewise.
27775 * signal/killpg.c: Likewise.
27776 * signal/raise.c: Likewise.
27777 * signal/sigaction.c: Likewise.
27778 * signal/sigaltstack.c: Likewise.
27779 * signal/sigblock.c: Likewise.
27780 * signal/sigignore.c: Likewise.
27781 * signal/sigintr.c: Likewise.
27782 * signal/signal.c: Likewise.
27783 * signal/sigpause.c: Likewise.
27784 * signal/sigpending.c: Likewise.
27785 * signal/sigqueue.c: Likewise.
27786 * signal/sigreturn.c: Likewise.
27787 * signal/sigset.c: Likewise.
27788 * signal/sigsetmask.c: Likewise.
27789 * signal/sigstack.c: Likewise.
27790 * signal/sigsuspend.c: Likewise.
27791 * signal/sigtimedwait.c: Likewise.
27792 * signal/sigvec.c: Likewise.
27793 * signal/sigwait.c: Likewise.
27794 * signal/sigwaitinfo.c: Likewise.
27795 * signal/sysv_signal.c: Likewise.
27796 * socket/accept.c: Likewise.
27797 * socket/accept4.c: Likewise.
27798 * socket/bind.c: Likewise.
27799 * socket/connect.c: Likewise.
27800 * socket/getpeername.c: Likewise.
27801 * socket/getsockname.c: Likewise.
27802 * socket/getsockopt.c: Likewise.
27803 * socket/isfdtype.c: Likewise.
27804 * socket/listen.c: Likewise.
27805 * socket/recv.c: Likewise.
27806 * socket/recvfrom.c: Likewise.
27807 * socket/recvmsg.c: Likewise.
27808 * socket/send.c: Likewise.
27809 * socket/sendmsg.c: Likewise.
27810 * socket/sendto.c: Likewise.
27811 * socket/setsockopt.c: Likewise.
27812 * socket/shutdown.c: Likewise.
27813 * socket/sockatmark.c: Likewise.
27814 * socket/socket.c: Likewise.
27815 * socket/socketpair.c: Likewise.
27816 * stdio-common/ctermid.c: Likewise.
27817 * stdio-common/cuserid.c: Likewise.
27818 * stdio-common/remove.c: Likewise.
27819 * stdio-common/rename.c: Likewise.
27820 * stdio-common/renameat.c: Likewise.
27821 * stdio-common/tempname.c: Likewise.
27822 * stdlib/getcontext.c: Likewise.
27823 * stdlib/makecontext.c: Likewise.
27824 * stdlib/setcontext.c: Likewise.
27825 * stdlib/swapcontext.c: Likewise.
27826 * stdlib/system.c: Likewise.
27827 * streams/fattach.c: Likewise.
27828 * streams/fdetach.c: Likewise.
27829 * streams/getmsg.c: Likewise.
27830 * streams/getpmsg.c: Likewise.
27831 * streams/putmsg.c: Likewise.
27832 * streams/putpmsg.c: Likewise.
27833 * sysdeps/unix/bsd/getpt.c: Likewise.
27834 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
27835 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
27836 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27838 Likewise.
27839 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
27840 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27841 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
27842 * sysvipc/msgctl.c: Likewise.
27843 * sysvipc/msgget.c: Likewise.
27844 * sysvipc/msgrcv.c: Likewise.
27845 * sysvipc/msgsnd.c: Likewise.
27846 * sysvipc/semctl.c: Likewise.
27847 * sysvipc/semget.c: Likewise.
27848 * sysvipc/semop.c: Likewise.
27849 * sysvipc/semtimedop.c: Likewise.
27850 * sysvipc/shmat.c: Likewise.
27851 * sysvipc/shmctl.c: Likewise.
27852 * sysvipc/shmdt.c: Likewise.
27853 * sysvipc/shmget.c: Likewise.
27854 * termios/tcdrain.c: Likewise.
27855 * termios/tcflow.c: Likewise.
27856 * termios/tcflush.c: Likewise.
27857 * termios/tcgetattr.c: Likewise.
27858 * termios/tcgetpgrp.c: Likewise.
27859 * termios/tcsendbrk.c: Likewise.
27860 * termios/tcsetattr.c: Likewise.
27861 * termios/tcsetpgrp.c: Likewise.
27862 * time/adjtime.c: Likewise.
27863 * time/clock.c: Likewise.
27864 * time/getitimer.c: Likewise.
27865 * time/gettimeofday.c: Likewise.
27866 * time/setitimer.c: Likewise.
27867 * time/settimeofday.c: Likewise.
27868 * time/stime.c: Likewise.
27869 * time/time.c: Likewise.
27870
278712012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 27872
a20492cf
PT
27873 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
27874 /usr/old/bin.
27875
72e182e3
PT
27876 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
27877 instead of spaces.
27878 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
27879
fbeafede
JM
278802012-11-03 Joseph Myers <joseph@codesourcery.com>
27881
5b5b04d6
JM
27882 [BZ #14796]
27883 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
27884 FE_TONEAREST before applying Dekker multiplication and Knuth
27885 addition. Clear inexact exceptions and check for exact zero
27886 results afterwards.
27887 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27888 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27889 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27890 * math/libm-test.inc (fma_test): Add more tests.
27891 (fma_test_towardzero): Likewise.
27892 (fma_test_downward): Likewise.
27893 (fma_test_upward): Likewise.
27894 * sysdeps/generic/math_private.h (default_libc_fesetround): New
27895 function.
27896 (libc_fesetround): New macro.
27897 (libc_fesetroundf): Likewise.
27898 (libc_fesetroundl): Likewise.
27899 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
27900 function.
27901 (libc_fesetround_387): Likewise.
27902 (libc_fesetroundf): New macro.
27903 (libc_fesetround): Likewise.
27904 (libc_fesetroundl): Likewise.
27905 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
27906 function.
27907 (libc_fesetroundf): New macro.
27908 (libc_fesetround): Likewise.
27909 (libc_fesetroundl): Likewise.
27910 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
27911 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
27912 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
27913 libm_hidden_ver.
27914 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
27915 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
27916 libm_hidden_def.
27917 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
27918 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
27919 libm_hidden_ver.
27920 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
27921 libm_hidden_def.
27922
fbeafede
JM
27923 [BZ #3439]
27924 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
27925 integer constant usable in #if and use that to give value to enum
27926 constant.
27927 (FE_DIVBYZERO): Likewise.
27928 (FE_UNDERFLOW): Likewise.
27929 (FE_OVERFLOW): Likewise.
27930 (FE_INVALID): Likewise.
27931 (FE_INVALID_SNAN): Likewise.
27932 (FE_INVALID_ISI): Likewise.
27933 (FE_INVALID_IDI): Likewise.
27934 (FE_INVALID_ZDZ): Likewise.
27935 (FE_INVALID_IMZ): Likewise.
27936 (FE_INVALID_COMPARE): Likewise.
27937 (FE_INVALID_SOFTWARE): Likewise.
27938 (FE_INVALID_SQRT): Likewise.
27939 (FE_INVALID_INTEGER_CONVERSION): Likewise.
27940 (FE_TONEAREST): Likewise.
27941 (FE_TOWARDZERO): Likewise.
27942 (FE_UPWARD): Likewise.
27943 (FE_DOWNWARD): Likewise.
27944 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
27945 (FE_DIVBYZERO): Likewise.
27946 (FE_OVERFLOW): Likewise.
27947 (FE_UNDERFLOW): Likewise.
27948 (FE_INEXACT): Likewise.
27949 (FE_TONEAREST): Likewise.
27950 (FE_DOWNWARD): Likewise.
27951 (FE_UPWARD): Likewise.
27952 (FE_TOWARDZERO): Likewise.
27953 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
27954 (FE_UNDERFLOW): Likewise.
27955 (FE_OVERFLOW): Likewise.
27956 (FE_DIVBYZERO): Likewise.
27957 (FE_INVALID): Likewise.
27958 (FE_TONEAREST): Likewise.
27959 (FE_TOWARDZERO): Likewise.
27960 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
27961 (FE_OVERFLOW): Likewise.
27962 (FE_UNDERFLOW): Likewise.
27963 (FE_DIVBYZERO): Likewise.
27964 (FE_INEXACT): Likewise.
27965 (FE_TONEAREST): Likewise.
27966 (FE_TOWARDZERO): Likewise.
27967 (FE_UPWARD): Likewise.
27968 (FE_DOWNWARD): Likewise.
27969 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
27970 (FE_DIVBYZERO): Likewise.
27971 (FE_OVERFLOW): Likewise.
27972 (FE_UNDERFLOW): Likewise.
27973 (FE_INEXACT): Likewise.
27974 (FE_TONEAREST): Likewise.
27975 (FE_DOWNWARD): Likewise.
27976 (FE_UPWARD): Likewise.
27977 (FE_TOWARDZERO): Likewise.
27978
105ca950
CM
279792012-11-02 Chris Metcalf <cmetcalf@tilera.com>
27980
27981 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
27982
a542b389
AS
279832012-11-03 Andreas Schwab <schwab@linux-m68k.org>
27984
27985 * scripts/cross-test-ssh.sh (command): Use newlines to separate
27986 commands. Quote $PWD.
27987 (blacklist_exports): Don't use remove_newlines. Replace "declare
27988 -x" by "export".
27989 (remove_newlines): Remove.
27990
f62c8abc
L
279912012-11-02 H.J. Lu <hongjiu.lu@intel.com>
27992
27993 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
27994 * stdlib/stdlib.h (atof): Moved to ...
27995 * include/bits/stdlib-float.h: Here. New file.
27996 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
27997 * stdlib/bits/stdlib-float.h: New file.
27998 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
27999 -mno-sse -mno-mmx.
28000 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
28001 <xmmintrin.h>.
28002
0155d5b2
JM
280032012-11-02 Joseph Myers <joseph@codesourcery.com>
28004
a68d0680
JM
28005 * conform/conformtest.pl (@headers): Add fenv.h.
28006 * conform/data/fenv.h-data: New file.
28007 * include/fenv.h [_ISOMAC]: Disable all contents of file except
28008 include of <math/fenv.h>.
28009
caf7f573
JM
28010 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
28011 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
28012 && !UNIX98]. Enables tests for XOPEN2K8.
28013 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
28014 POSIX2008]: Likewise.
28015
6c073ad6
JM
28016 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
28017 (struct rusage): Do not expect type or its members.
28018
0155d5b2
JM
28019 [BZ #3439]
28020 * math/math.h (FP_NAN): Define macro to integer constant usable in
28021 #if and use that to give value to enum constant.
28022 (FP_INFINITE): Likewise.
28023 (FP_ZERO): Likewise.
28024 (FP_SUBNORMAL): Likewise.
28025 (FP_NORMAL): Likewise.
28026
b5dcacb4
AS
280272012-11-02 Andreas Schwab <schwab@linux-m68k.org>
28028
28029 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
28030 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
28031 arguments.
28032
f7934be8
RM
280332012-11-02 Roland McGrath <roland@hack.frob.com>
28034
28035 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
28036 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
28037 autoconf-time if not.
28038 * configure.in: Remove AC_PREREQ.
28039
d7d08bde
TMQMF
280402012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28041
28042 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
28043 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
28044 of the internal implementation.
28045
dcdae19a
JM
280462012-11-02 Joseph Myers <joseph@codesourcery.com>
28047
28048 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
28049 except include of <misc/sys/syslog.h>.
28050
d6cffd3e
AS
280512012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28052
28053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
28054 function returns with a NULL context exit with zero.
28055
b3563932
TMQMF
280562012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28057
28058 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
28059
b288a93d
L
280602012-11-01 H.J. Lu <hongjiu.lu@intel.com>
28061
28062 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
28063 (run_program_cmd): This.
28064 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
28065 (tst_langinfo): New variable. Use it.
28066
a2421a68
SAS
280672012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
28068
28069 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
28070 floating point opcodes.
28071
6f796e1b
TS
280722012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28073
7402596b
TS
28074 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
28075 variable.
28076
d0d4f868
TS
28077 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
28078
6f796e1b
TS
28079 * sysdeps/mach/hurd/powerpc: Remove directory.
28080 * sysdeps/mach/powerpc: Likewise.
28081
4da224a2
AS
280822012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28083
28084 * scripts/check-local-headers.sh: Ignore c++ headers.
28085
341dd673
TS
280862012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28087
28088 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
28089 __libc_cleanup_region_start argument.
28090
473611b2
JM
280912012-11-01 Joseph Myers <joseph@codesourcery.com>
28092
28093 [BZ #14784]
28094 [BZ #14785]
28095 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
28096 x * y using scaling, not as x * y + z.
28097 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28098 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28099 * math/libm-test.inc (fma_test): Add more tests.
28100 (fma_test_towardzero): Likewise.
28101 (fma_test_downward): Likewise.
28102 (fma_test_upward): Likewise.
28103
4078da3d
TS
281042012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28105
28106 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
28107
903252aa
JM
281082012-10-31 Joseph Myers <joseph@codesourcery.com>
28109
28110 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
28111 New variable.
28112
cbc818d0
TS
281132012-10-31 Thomas Schwinge <thomas@codesourcery.com>
28114
28115 * rt/tst-shm.c (worker): Correct checking for mmap failure.
28116
5a03cb1e
AS
281172012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28118
28119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28120 Fix sort order.
28121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28122 Likewise.
28123
90aff2ff
TMQMF
281242012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28125
28126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28127 Fix the order of the list for glibc 2.17.
28128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28129 Likewise.
28130
1818fcb7
AS
281312012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28132
28133 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28134
ef82f4da
JM
281352012-10-31 Joseph Myers <joseph@codesourcery.com>
28136
16a0e2ec
JM
28137 [BZ #14610]
28138 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
28139 for low part of x being zero before using __atanl (y).
28140 * math/libm-test.inc (atan2_test): Add another test.
28141
0eb69512
JM
28142 * manual/install.texi (Configuring and compiling): Document
28143 general use of test-wrapper and test-wrapper-env.
28144 * INSTALL: Regenerated.
28145
ef82f4da
JM
28146 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
28147 (__fma): Do not extract and scale down low bits on after-rounding
28148 systems when result rounded to normal precision would have normal
28149 exponent.
28150 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
28151 (__fmal): Do not extract and scale down low bits on after-rounding
28152 systems when result rounded to normal precision would have normal
28153 exponent.
28154 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
28155 (__fmal): Do not extract and scale down low bits on after-rounding
28156 systems when result rounded to normal precision would have normal
28157 exponent.
28158 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
28159 macro.
28160 (fma_test): Add more tests.
28161 (fma_test_towardzero): Likewise.
28162 (fma_test_downward): Likewise.
28163 (fma_test_upward): Likewise.
28164
954ef0d9
L
281652012-10-30 H.J. Lu <hongjiu.lu@intel.com>
28166
28167 * sysdeps/i386/tininess.h: Renamed to ...
28168 * sysdeps/x86/tininess.h: This.
28169 * sysdeps/x86_64/tininess.h: Removed.
28170
df61ffb2
JM
281712012-10-30 Joseph Myers <joseph@codesourcery.com>
28172
28173 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
28174 input. Use $(build-program-cmd).
28175 ($(objpfx)tst-array1-static.out): Likewise.
28176 ($(objpfx)tst-array2.out): Likewise.
28177 ($(objpfx)tst-array3.out): Likewise.
28178 ($(objpfx)tst-array4.out): Likewise.
28179 ($(objpfx)tst-array5.out): Likewise.
28180 ($(objpfx)tst-array5-static.out): Likewise.
28181
01767843
CM
281822012-10-30 Chris Metcalf <cmetcalf@tilera.com>
28183
47cc1490
CM
28184 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
28185 if defined.
28186
01767843
CM
28187 * nss/nsswitch.h (nss_interface_function): Provide new
28188 macro for use with NSS functions.
28189 * grp/initgroups.c: Use new macro.
28190 * nss/getXXbyYY.c: Likewise.
28191 * nss/getXXbyYY_r.c: Likewise.
28192 * nss/getXXent.c: Likewise.
28193 * nss/getXXent_r.c: Likewise.
28194 * sysdeps/posix/getaddrinfo.c: Likewise.
28195
8321aa97
AJ
281962012-10-30 Andreas Jaeger <aj@suse.de>
28197
28198 * po/ru.po: Update Russion translation from translation project.
28199
2a27fd6d
JM
282002012-10-30 Joseph Myers <joseph@codesourcery.com>
28201
8627a232
JM
28202 [BZ #14152]
28203 [BZ #14783]
28204 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
28205 result and shift together with sticky bit instead of replicating
28206 round-to-nearest rounding.
28207 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28208 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28209 * math/libm-test.inc (fma_test): Add more tests. Do not permit
28210 missing underflow exceptions.
28211 (fma_test_towardzero): Add more tests.
28212 (fma_test_downward): Likewise.
28213 (fma_test_upward): Likewise.
28214
2a27fd6d
JM
28215 [BZ #14047]
28216 * sysdeps/generic/tininess.h: New file.
28217 * sysdeps/i386/tininess.h: Likewise.
28218 * sysdeps/sh/tininess.h: Likewise.
28219 * sysdeps/x86_64/tininess.h: Likewise.
28220 * stdlib/tst-strtod-underflow.c: Likewise.
28221 * stdlib/tst-tininess.c: Likewise.
28222 * stdlib/strtod_l.c: Include <tininess.h>.
28223 (round_and_return): Do not set errno for exact underflow cases.
28224 Force an underflow exception when setting errno for underflow.
28225 Determine underflow based on rounding to normal precision if
28226 TININESS_AFTER_ROUNDING.
28227 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
28228 ERANGE for exact underflow cases.
28229 * stdlib/Makefile (tests): Add tst-tininess and
28230 tst-strtod-underflow.
28231 ($(objpfx)tst-tininess): Use $(link-libm).
28232 ($(objpfx)tst-strtod-underflow): Likewise.
28233
e7170363
AJ
282342012-10-30 Andreas Jaeger <aj@suse.de>
28235
e5088dc6
AJ
28236 [BZ#14767]
28237 * elf/Makefile (tests): Remove conditional for have-initfini-array
28238 since this is now always required and the variable does not exist
28239 anymore.
28240 (tests-static): Likewise.
28241 (modules-names): Likewise.
28242
e7170363 28243 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
28244
28245 * elf/tst-array1.c (fini_array): Make writeable so that it can be
28246 merged with constructor/destructor.
28247 (init_array): Likewise.
28248 * elf/tst-array2dep.c (fini_array): Likewise.
28249 (init_array): Likewise.
28250
60457d8a
MF
282512012-10-29 Mike Frysinger <vapier@gentoo.org>
28252
28253 * manual/message.texi: Delete @cartouche tags.
28254
8bece752
PT
282552012-10-29 Pino Toscano <toscano.pino@tiscali.it>
28256
94ce799f
PT
28257 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
28258 EOPNOTSUPP.
28259 * sysdeps/mach/hurd/fsync.c: Likewise.
28260
8bece752
PT
28261 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
28262 [_POSIX_REALTIME_SIGNALS]: Change condition to
28263 [_POSIX_REALTIME_SIGNALS > 0].
28264
86ebe6b1
AJ
282652012-10-27 Andreas Jaeger <aj@suse.de>
28266
28267 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
28268 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
28269 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
28270 [__WORDSIZE != 64]: Likewise.
28271
54399c08
L
282722012-10-26 H.J. Lu <hongjiu.lu@intel.com>
28273
28274 * iconvdata/tst-table.sh: Remove ${SHELL}.
28275 * iconvdata/tst-tables.sh: Likewise.
28276
e2211bed
DM
282772012-10-25 David S. Miller <davem@davemloft.net>
28278
28279 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28280 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
28281 of strtoull.
28282
f303f97c
DM
28283 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
28284 ifunc-impl-list.c
28285 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28286 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
28287 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
28288 file.
28289
1e9d84cd
RM
282902012-10-25 Roland McGrath <roland@hack.frob.com>
28291
28292 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28293 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
28294 __getdirentries.
28295
df381762
JM
282962012-10-25 Joseph Myers <joseph@codesourcery.com>
28297 Jim Blandy <jimb@codesourcery.com>
28298
28299 * scripts/cross-test-ssh.sh: New file.
28300 * manual/install.texi (Configuring and compiling): Document use of
28301 cross-test-ssh.sh.
28302 * INSTALL: Regenerated.
28303
bff64913
PT
283042012-10-25 Pino Toscano <toscano.pino@tiscali.it>
28305
28306 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
28307 EOPNOTSUPP.
28308
25fe8932
JM
283092012-10-25 Joseph Myers <joseph@codesourcery.com>
28310
28311 * Makeconfig (run-program-prefix): Fix comment.
28312
cc1290d0
JM
283132012-10-24 Joseph Myers <joseph@codesourcery.com>
28314 Jim Blandy <jimb@codesourcery.com>
28315
28316 * Makeconfig (test-wrapper): New variable,
28317 (test-wrapper-env): Likewise.
28318 [$(cross-compiling) = yes && $(test-wrapper) != ""]
28319 (run-built-tests): Define to yes.
28320 (run-program-prefix): Use $(test-wrapper).
28321 (built-program-cmd): Likewise.
28322 * Rules (make-test-out): Use $(test-wrapper-env) and
28323 $(host-built-program-cmd).
28324 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
28325 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
28326 tst-pathopt.sh.
28327 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
28328 $(test-wrapper-env) to tst-rtld-load-self.sh.
28329 ($(objpfx)order2.out): Use $(test-wrapper).
28330 ($(objpfx)tst-initorder.out): Likewise.
28331 ($(objpfx)tst-initorder2.out): Likewise.
28332 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
28333 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
28334 (test_wrapper_env): New variable. Use it to run ld.so.
28335 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
28336 Use it to run ld.so.
28337 (test_wrapper_env): Likewise.
28338 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
28339 $(test-wrapper) to run-iconv-test.sh.
28340 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
28341 (ICONV): Use $test_wrapper.
28342 * posix/Makefile ($(objpfx)globtest.out): Pass
28343 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
28344 globtest.sh, not $(run-program-prefix).
28345 * posix/globtest.sh (run_via_rtld_prefix): New variable.
28346 (test_wrapper): Likewise.
28347 (test_wrapper_env): Likewise. Use it to run globtest with HOME
28348 set together with run_via_rtld_prefix.
28349 (run_program_prefix): Define in terms of test_wrapper and
28350 run_via_rtld_prefix.
28351
6e6249d0
RM
283522012-10-24 Roland McGrath <roland@hack.frob.com>
28353
28354 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
28355 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
28356 Targets removed.
28357
28358 [BZ #14743]
28359 * include/time.h: Remove librt_hidden_proto (clock_gettime).
28360 Declare __clock_getres, __clock_gettime, __clock_settime,
28361 __clock_nanosleep, and __clock_getcpuclockid.
28362 * rt/clock_gettime.c: Define __clock_gettime as an alias.
28363 Remove librt_hidden_def (clock_gettime).
28364 * sysdeps/unix/clock_gettime.c: Likewise.
28365 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
28366 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
28367 * rt/clock_getres.c: Define __clock_getres as an alias.
28368 * sysdeps/posix/clock_getres.c: Likewise.
28369 * rt/clock_settime.c: Define __clock_settime as an alias.
28370 * sysdeps/unix/clock_settime.c: Likewise.
28371 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
28372 * sysdeps/unix/clock_nanosleep.c: Likewise.
28373 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
28374 * rt/clock-compat.c: New file.
28375 * rt/Makefile (librt-routines): Add clock-compat and move
28376 $(clock-routines) to ...
28377 (routines): ... here, new variable.
28378 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
28379 Don't add get_clockfreq here.
28380 * rt/Versions (libc: GLIBC_2.17): New version set.
28381 Add clock_* symbols here.
28382 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
28383 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
28384 (GLIBC_2.17): Add clock_* symbols.
28385 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28386 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28387 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28389 Likewise.
28390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28391 Likewise.
28392 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28393 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
28394 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28395 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28396 * NEWS: Mention the move.
28397
28398 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
28399 Use __open, __read, __close rather than their public counterparts.
28400 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28401 (__get_clockfreq_via_cpuinfo): Likewise.
28402 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
28403 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
28404
28405 * config.h.in (HAVE_IFUNC): New #undef.
28406 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
28407 was successful.
28408 * configure: Regenerated.
28409
0cae3f4b
MF
284102012-10-24 Mike Frysinger <vapier@gentoo.org>
28411
28412 * configure.in: Move READELF check to start of file.
28413 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
28414 libc_cv_asm_gnu_indirect_function in the process.
28415 * configure: Regenerated.
28416
8175a253
MF
284172012-10-24 Mike Frysinger <vapier@gentoo.org>
28418
28419 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
28420 send the output to /dev/null.
28421 (libc_cv_cc_with_libunwind): Likewise.
28422 (libc_cv_as_noexecstack): Likewise.
28423 * configure: Regenerate.
28424
0708a7d1
JM
284252012-10-24 Joseph Myers <joseph@codesourcery.com>
28426
10b40d85
JM
28427 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
28428
0708a7d1
JM
28429 * posix/globtest.sh (TMPDIR): Do not set.
28430 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
28431 (testout): Likewise.
28432
9fddec1a
AJ
284332012-10-24 Andreas Jaeger <aj@suse.de>
28434
3a8db22f
AJ
28435 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
28436 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
28437 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
28438 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
28439 posix_fadvise64, posix_fallocate64.
28440
9fddec1a
AJ
28441 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
28442 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
28443 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
28444 Likewise.
28445 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
28446 Likewise.
28447 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
28448
28449 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
28450 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
28451 <bits/fcntl-linux.h>.
28452 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
28453
28454 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
28455 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
28456 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
28457 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
28458 [__WORDSIZE != 64]: Likewise.
28459
ebfd1bbd
JM
284602012-10-23 Joseph Myers <joseph@codesourcery.com>
28461
03ac099f
JM
28462 * Makeconfig (run-built-tests): New variable.
28463 * Rules [$(cross-compiling) = yes]: Change condition to
28464 [$(run-built-tests) = no].
28465 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
28466 to [$(run-built-tests) = yes].
28467 * elf/Makefile [$(cross-compiling) = no]: Likewise
28468 * grp/Makefile [$(cross-compiling) = no]: Likewise.
28469 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
28470 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
28471 * intl/Makefile [$(cross-compiling) = no]: Likewise.
28472 * io/Makefile [$(cross-compiling) = no]: Likewise.
28473 * libio/Makefile [$(cross-compiling) = no]: Likewise.
28474 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
28475 * misc/Makefile [$(cross-compiling) = no]: Likewise.
28476 * posix/Makefile [$(cross-compiling) = no]: Likewise.
28477 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
28478 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
28479 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
28480 * string/Makefile [$(cross-compiling) = no]: Likewise.
28481
ebfd1bbd
JM
28482 * posix/Makefile ($(objpfx)globtest.out): Pass
28483 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
28484 $(rtld-installed-name).
28485 * posix/globtest.sh (elf_objpfx): Remove variable.
28486 (rtld_installed_name): Likewise.
28487 (library_path): Likewise.
28488 (run_program_prefix): New variable. Use for running globtest
28489 binary.
28490
166bca24
JB
284912012-10-23 Jim Blandy <jimb@codesourcery.com>
28492 Joseph Myers <joseph@codesourcery.com>
28493
28494 * Makeconfig (host-built-program-cmd): New variable.
28495 * elf/Makefile (tst-stackguard1-ARGS): Use
28496 $(host-built-program-cmd).
28497 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
28498 (tst-spawn-ARGS): Likewise.
28499 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
28500
88866099
JM
285012012-10-23 Joseph Myers <joseph@codesourcery.com>
28502 Jim Blandy <jimb@codesourcery.com>
28503
28504 * Makeconfig (run-via-rtld-prefix): New variable.
28505 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
28506 (built-program-cmd): Likewise.
28507
b4b4c296
AJ
285082012-10-22 Andreas Jaeger <aj@suse.de>
28509
28510 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
28511 __O_RSYNC if it exists, otherwise to O_SYNC.
28512
6fb54a22
JB
285132012-10-22 Jim Blandy <jimb@codesourcery.com>
28514 Joseph Myers <joseph@codesourcery.com>
28515
28516 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
28517 /dev/null.
28518 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
28519 from /dev/null
28520 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
28521 /dev/null.
28522
481b90b9
AJ
285232012-10-22 Andreas Jaeger <aj@suse.de>
28524
2a0e2669
AJ
28525 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
28526 Define always.
28527 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
28528
76e38f9a
AJ
28529 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28530 bits/fcntl-linux.h.
28531
7cd37b43
AJ
28532 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
28533 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
28534
481b90b9
AJ
28535 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
28536 to __O_LARGEFILE.
28537 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
28538 to __O_LARGEFILE.
28539
aba75984
JB
285402012-10-21 Jim Blandy <jimb@codesourcery.com>
28541 Joseph Myers <joseph@codesourcery.com>
28542
28543 * config.make.in (NM): New variable.
28544
88d4247f
AJ
285452012-10-21 Andreas Jaeger <aj@suse.de>
28546
28547 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
28548 definitions and declarations that are provided by
28549 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28550
f2eed205
L
285512012-10-20 H.J. Lu <hongjiu.lu@intel.com>
28552
28553 [BZ #14683]
28554 * elf/Makefile (tests-static): Add tst-leaks1-static.
28555 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
28556 ($(objpfx)tst-leaks1-static): New rule.
28557 ($(objpfx)tst-leaks1-static-mem): Likewise.
28558 (tst-leaks1-static-ENV): New macro.
28559 * elf/dl-open.c (dl_open_worker): Check the main application
28560 only if SHARED is defined.
28561 * elf/tst-leaks1-static.c: New file.
28562
335e6931
AJ
285632012-10-20 Andreas Jaeger <aj@suse.de>
28564
28565 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
28566 generic values for Linux.
28567 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
28568 and declarations that are provided by <bits/fcntl-linux.h> and
28569 include <bits/fcntl-linux.h>.
28570 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28571 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28572
ac5c94d3
RM
285732012-10-20 Roland McGrath <roland@hack.frob.com>
28574
28575 * io/fcntl.h: Move include of <bits/types.h> to the top and
28576 include it unconditionally.
28577
de54b33a
L
285782012-10-20 H.J. Lu <hongjiu.lu@intel.com>
28579
228cfb01
L
28580 * wcsmbs/Makefile (tests-ifunc): New variable.
28581 (tests): Add $(tests-ifunc).
28582 * wcsmbs/test-wcschr-ifunc.c: New file.
28583 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
28584 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
28585 * wcsmbs/test-wcslen-ifunc.c: Likewise.
28586 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
28587 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
28588
69f07e5f
L
28589 * string/Makefile (tests-ifunc): New variable.
28590 (tests): Add $(tests-ifunc).
28591 * string/test-memccpy.c (TEST_NAME): New macro.
28592 * string/test-memchr.c (TEST_NAME): Likewise.
28593 * string/test-memcmp.c (TEST_NAME): Likewise.
28594 * string/test-memcpy.c (TEST_NAME): Likewise.
28595 * string/test-memmem.c (TEST_NAME): Likewise.
28596 * string/test-memmove.c (TEST_NAME): Likewise.
28597 * string/test-memset.c (TEST_NAME): Likewise.
28598 * string/test-rawmemchr.c (TEST_NAME): Likewise.
28599 * string/test-stpcpy.c (TEST_NAME): Likewise.
28600 * string/test-stpncpy.c (TEST_NAME): Likewise.
28601 * string/test-strcasecmp.c (TEST_NAME): Likewise.
28602 * string/test-strcasestr.c (TEST_NAME): Likewise.
28603 * string/test-strcat.c (TEST_NAME): Likewise.
28604 * string/test-strchr.c (TEST_NAME): Likewise.
28605 * string/test-strcmp.c(TEST_NAME): Likewise.
28606 * string/test-strcpy.c (TEST_NAME): Likewise.
28607 * string/test-strcspn.c (TEST_NAME): Likewise.
28608 * string/test-strlen.c (TEST_NAME): Likewise.
28609 * string/test-strncasecmp.c (TEST_NAME): Likewise.
28610 * string/test-strncmp.c (TEST_NAME): Likewise.
28611 * string/test-strncpy.c (TEST_NAME): Likewise.
28612 * string/test-strnlen.c (TEST_NAME): Likewise.
28613 * string/test-strpbrk.c (TEST_NAME): Likewise.
28614 * string/test-strrchr.c (TEST_NAME): Likewise.
28615 * string/test-strspn.c (TEST_NAME): Likewise.
28616 * string/test-strstr.c (TEST_NAME): Likewise.
28617 * string/test-bcopy-ifunc.c: New file.
28618 * string/test-bzero-ifunc.c: Likewise.
28619 * string/test-memccpy-ifunc.c: Likewise.
28620 * string/test-memchr-ifunc.c: Likewise.
28621 * string/test-memcmp-ifunc.c: Likewise.
28622 * string/test-memcpy-ifunc.c: Likewise.
28623 * string/test-memmem-ifunc.c: Likewise.
28624 * string/test-memmove-ifunc.c: Likewise.
28625 * string/test-mempcpy-ifunc.c: Likewise.
28626 * string/test-memset-ifunc.c: Likewise.
28627 * string/test-rawmemchr-ifunc.c: Likewise.
28628 * string/test-stpcpy-ifunc.c: Likewise.
28629 * string/test-stpncpy-ifunc.c: Likewise.
28630 * string/test-strcasecmp-ifunc.c: Likewise.
28631 * string/test-strcasestr-ifunc.c: Likewise.
28632 * string/test-strcat-ifunc.c: Likewise.
28633 * string/test-strchr-ifunc.c: Likewise.
28634 * string/test-strchrnul-ifunc.c: Likewise.
28635 * string/test-strcmp-ifunc.c: Likewise.
28636 * string/test-strcpy-ifunc.c: Likewise.
28637 * string/test-strcspn-ifunc.c: Likewise.
28638 * string/test-strlen-ifunc.c: Likewise.
28639 * string/test-strncasecmp-ifunc.c: Likewise.
28640 * string/test-strncat-ifunc.c: Likewise.
28641 * string/test-strncmp-ifunc.c: Likewise.
28642 * string/test-strncpy-ifunc.c: Likewise.
28643 * string/test-strnlen-ifunc.c: Likewise.
28644 * string/test-strpbrk-ifunc.c: Likewise.
28645 * string/test-strrchr-ifunc.c: Likewise.
28646 * string/test-strspn-ifunc.c: Likewise.
28647 * string/test-strstr-ifunc.c: Likewise.
28648
de54b33a
L
28649 * debug/Makefile (tests-ifunc): New variable.
28650 (tests): Add $(tests-ifunc).
28651 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
28652 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
28653 * debug/test-stpcpy_chk-ifunc.c: New file.
28654 * debug/test-strcpy_chk-ifunc.c: Likewise.
28655
88481c16
SP
286562012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28657
28658 [BZ #13601]
28659 * elf/dl-load.c (open_verify): Retry read if the entire ELF
28660 header is not read in.
28661
135948bd
JM
286622012-10-19 Joseph Myers <joseph@codesourcery.com>
28663
89f1c388
JM
28664 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
28665 script to $(SHELL) as $<. Pass $(common-objpfx) to script
28666 directly. Pass built executable to script as
28667 $(built-program-cmd).
28668 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
28669 $testprogram without using LD_LIBRARY_PATH and $ldso.
28670
e40a0d21
JM
28671 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
28672 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
28673 $(rtld-installed-name).
28674 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
28675 (rtld_installed_name): Likewise.
28676 (library_path): Likewise.
28677 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
28678 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
28679 $(run-program-prefix) to tst-tables.sh.
28680 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
28681 it to run tst-table-from and tst-table-to.
28682 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
28683 Pass it to tst-table.sh.
28684 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
28685 $(run-program-prefix) to tst-gettext.sh.
28686 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
28687 tst-translit.sh.
28688 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
28689 tst-gettext2.sh.
28690 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
28691 to run tst-gettext.
28692 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
28693 to run tst-gettext2.
28694 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
28695 to run tst-translit.
28696 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
28697 $(run-program-prefix) to tst-mtrace.sh.
28698 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
28699 to run tst-mtrace.
28700 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
28701 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
28702 $(rtld-installed-name).
28703 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
28704 (rtld_installed_name): Likewise.
28705 (run_program_prefix): New variable. Use it to run wordexp-test.
28706
728e272a
JM
28707 * Makeconfig (ARCH): Remove all definitions.
28708 (machine): Likewise.
28709 [ARCH]: Remove conditional code.
28710 [!objdir]: Give error.
28711 [!objdir] (objpfx): Remove.
28712 [!objdir] (common-objpfx): Likewise.
28713 [!objdir] (common-objdir): Likewise.
28714 * configure.in (config_makefile): Remove. Hardcode Makefile in
28715 AC_CONFIG_FILES call.
28716 * configure: Regenerated.
28717
d528cdcf
JM
28718 [BZ #13888]
28719 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
28720 or TMPDIR.
28721 (testout): Likewise.
28722
135948bd
JM
28723 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
28724 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
28725 $(rtld-installed-name).
28726 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
28727 (rtld_installed_name): Likwise.
28728 (runit): Remove function.
28729 (run_getconf): New variable, Use it for running getconf binary.
28730
38c78296
L
287312012-10-18 H.J. Lu <hongjiu.lu@intel.com>
28732
28733 [BZ #14716]
28734 * string/test-memmem.c (check_result): New function.
28735 (do_one_test): Use it.
28736 (check1): New function.
28737 (test_main): Use it.
28738
d077f65f
MT
287392012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
28740
28741 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
28742
ced52c71
JM
287432012-10-18 Joseph Myers <joseph@codesourcery.com>
28744
28745 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
28746 (_G_LSEEK64): Likewise.
28747 (_G_MMAP64): Likewise.
28748 (_G_FSTAT64): Likewise.
28749 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
28750 (_G_LSEEK64): Likewise.
28751 (_G_MMAP64): Likewise.
28752 (_G_FSTAT64): Likewise.
28753 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
28754 unconditional. Call __mmap64 directly.
28755 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
28756 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
28757 __lseek64 directly.
28758 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
28759 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
28760 __mmap64 directly.
28761 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
28762 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
28763 __lseek64 directly.
28764 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
28765 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
28766 __lseek64 directly.
28767 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
28768 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
28769 __lseek64 directly.
28770 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
28771 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
28772 __fxstat64 directly.
28773 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
28774 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
28775 unconditional.
28776 (freopen64) [!_G_OPEN64]: Remove conditional code.
28777 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
28778 unconditional.
28779 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
28780 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
28781 unconditional.
28782 (ftello64) [!_G_LSEEK64]: Remove conditional code.
28783 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
28784 unconditional.
28785 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28786 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
28787 unconditional.
28788 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
28789 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
28790 unconditional.
28791 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28792 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
28793 unconditional.
28794 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28795 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
28796 unconditional.
28797 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28798
b741de23
SP
287992012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28800
28801 [BZ #12140]
28802 * manual/memory.texi (Malloc Tunable Parameters): Add note
28803 about free list pointers overwriting some perturb bytes.
28804 Wording suggested by Roland McGrath.
28805
f9b9d9c9
JM
288062012-10-17 Joseph Myers <joseph@codesourcery.com>
28807
28808 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
28809 (lgamma_test): Likewise.
28810 (tgamma_test): Likewise.
28811
172a631a
FW
288122012-10-16 Florian Weimer <fweimer@redhat.com>
28813
28814 [BZ #14700]
28815 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
28816 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
28817
e9f37252
MK
288182012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
28819
28820 * NEWS: Mention BZ #14716.
28821 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
28822 when removing AVAILABLE1_USES_J macro.
28823
d394eb74
L
288242012-10-12 H.J. Lu <hongjiu.lu@intel.com>
28825
28826 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
28827 (__bswap_64): __uint64_t for unsigned 64-bit int.
28828
ca38dc17
AS
288292012-10-12 Andreas Schwab <schwab@linux-m68k.org>
28830
28831 * include/string.h (memmem): Declare libc hidden alias.
28832 * string/memmem.c (memmem): Define libc hidden alias.
28833 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
28834 __read, __close instead of open, read, close.
28835
9a387d1f
L
288362012-10-11 H.J. Lu <hongjiu.lu@intel.com>
28837
ac49ecaf
L
28838 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
28839 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
28840 global and hidden.
28841 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
28842 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
28843 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
28844 Likewise.
28845 (__rawmemchr_sse2): Likewise.
28846 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
28847 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
28848 (__strchr_sse2): Likewise.
28849 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
28850 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
28851 (__strcasecmp_sse2): Likewise.
28852 (__strncasecmp_sse2): Likewise.
28853 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
28854 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
28855 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
28856 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
28857 (__strrchr_sse2): Likewise.
28858 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
28859 ifunc-impl-list.c.
28860 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28861 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28862 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28863 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28864 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28865 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28866 * sysdeps/x86_64/multiarch/memset.S: Likewise.
28867 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28868 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
28869 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
28870 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
28871 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
28872 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
28873 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28874 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28875 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28876 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28877 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28878 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
28879 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
28880 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
28881 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
28882 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
28883 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28884 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
28885 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28886 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28887 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28888 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28889 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28890
b090e8ea
L
28891 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
28892 global and hidden.
28893 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
28894 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
28895 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
28896 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
28897 Likewise.
28898 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
28899 Likewise.
28900 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
28901 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
28902 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
28903 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
28904 ifunc-impl-list.c.
28905 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28906 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28907 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28908 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28909 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28910 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28911 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28912 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28913 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28914 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28915 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28916 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28917 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28918 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
28919 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
28920 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28921 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
28922 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
28923 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28924 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28925 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28926 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28927 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28928 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28929 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28930 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
28931 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
28932 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
28933 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
28934 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28935 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
28936 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28937 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28938 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
28939 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28940 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28941 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28942 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28943 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28944 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28945 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
28946
11dd4af6
L
28947 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
28948 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
28949 * include/ifunc-impl-list.h: New file.
28950 * misc/ifunc-impl-list.c: Likewise.
28951 * misc/Makefile (routines): Add ifunc-impl-list.
28952 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
28953 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
28954 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
28955 TEST_NAME]: New variables.
11dd4af6
L
28956 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
28957 are defined.
28958 (test_init): Call __libc_ifunc_impl_list to initialize
28959 func_list if TEST_IFUNC and TEST_NAME are defined.
28960
9a387d1f
L
28961 * string/Makefile (strop-tests): Add bcopy and bzero.
28962 * string/test-bcopy.c: New file.
28963 * string/test-bzero.c: Likewise.
28964 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
28965 defined.
28966 * string/test-memset.c: Support bzero test if TEST_BZERO is
28967 defined.
28968 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
28969 __libc_memmove.
28970 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
28971 __libc_memset.
28972 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
28973 of memset.
28974
472371b9
JM
289752012-10-10 Joseph Myers <joseph@codesourcery.com>
28976
1e4a9536
JM
28977 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
28978 * configure: Regenerated.
28979
d173d12e
JM
28980 * Makeconfig (+link-static-before-libc): Don't include
28981 $(link-static-libc).
28982
472371b9
JM
28983 * libio/libio.h (_IO_pos_t): Remove.
28984
89a3ad0b
AO
289852012-10-10 Alexandre Oliva <aoliva@redhat.com>
28986
28987 * NEWS: Add note about FIPS mode. Wording suggested by Roland
28988 McGrath.
28989
e7451425
AO
289902012-10-10 Alexandre Oliva <aoliva@redhat.com>
28991
28992 * crypt/crypt-entry.c: Include fips-private.h.
28993 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
28994 * crypt/md5c-test.c (main): Tolerate disabled MD5.
28995 * sysdeps/unix/sysv/linux/fips-private.h: New file.
28996 * sysdeps/generic/fips-private.h: New file, dummy fallback.
28997
4ba74a35
AO
289982012-10-10 Alexandre Oliva <aoliva@redhat.com>
28999
29000 * crypt/crypt-private.h: Include stdbool.h.
29001 (_ufc_setup_salt_r): Return bool.
29002 * crypt/crypt-entry.c: Include errno.h.
29003 (__crypt_r): Return NULL with EINVAL for bad salt.
29004 * crypt/crypt_util.c (bad_for_salt): New.
29005 (_ufc_setup_salt_r): Check that salt is long enough and within
29006 the specified alphabet.
29007 * crypt/badsalttest.c: New file.
29008 * crypt/Makefile (tests): Add it.
29009 ($(objpfx)badsalttest): New.
29010
f96f1242
MK
290112012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
29012
29013 * NEWS: Add entry for BZ #14602.
29014
0e8e0c1c
JM
290152012-10-09 Joseph Myers <joseph@codesourcery.com>
29016
29017 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
29018 type-generic.
29019 * math/libm-test.inc: Update comment listing what functions and
29020 macros are tested.
29021 (isgreater_test): New function.
29022 (isgreaterequal_test): Likewise.
29023 (isless_test): Likewise.
29024 (islessequal_test): Likewise.
29025 (islessgreater_test): Likewise.
29026 (isunordered_test): Likewise.
29027 (main): Call the new functions.
29028
273edc5e
RM
290292012-10-09 Roland McGrath <roland@hack.frob.com>
29030
b8493de0
RM
29031 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
29032 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
29033 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
29034 * sysdeps/i386/configure: Regenerated.
29035 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
29036 * sysdeps/mach/configure: Regenerated.
29037 * sysdeps/mach/hurd/configure: Regenerated.
29038 * sysdeps/powerpc/configure: Regenerated.
29039 * sysdeps/powerpc/powerpc32/configure: Regenerated.
29040 * sysdeps/powerpc/powerpc64/configure: Regenerated.
29041 * sysdeps/s390/s390-32/configure: Regenerated.
29042 * sysdeps/s390/s390-64/configure: Regenerated.
29043 * sysdeps/sh/configure: Regenerated.
29044 * sysdeps/sparc/configure: Regenerated.
29045 * sysdeps/unix/sysv/linux/configure: Regenerated.
29046 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
29047 * sysdeps/x86_64/configure: Regenerated.
29048
273edc5e
RM
29049 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
29050 defined. Don't check if MAP is NULL.
29051
c8450f70
JM
290522012-10-09 Joseph Myers <joseph@codesourcery.com>
29053
29054 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
29055 (_G_stat64): Likewise.
29056 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
29057 (_G_stat64): Likewise.
29058 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
29059 instead of struct _G_stat64.
29060 * libio/fileops.c (mmap_remap_check): Likewise.
29061 (decide_maybe_mmap): Likewise.
29062 (_IO_new_file_seekoff): Likewise.
29063 (_IO_file_stat): Likewise.
29064 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
29065 _G_off64_t.
29066 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
29067 instead of struct _G_stat64.
29068 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29069
57e605ba
MK
290702012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
29071
29072 [BZ #14602]
29073 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29074 Replace with ...
29075 (CHECK_EOL): New macro.
29076 (two_way_short_needle): Check beginning of haystack for EOL. Use
29077 CHECK_EOL.
29078 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29079 Replace with CHECK_EOL.
29080 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29081 Replace with CHECK_EOL.
29082
ef1bb361
JM
290832012-10-08 Joseph Myers <joseph@codesourcery.com>
29084
29085 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
29086 type-generic.
29087 * math/libm-test.inc: Update comment listing what functions and
29088 macros are tested.
29089 (finite_test): New function.
29090 (isinf_test): Likewise.
29091 (isnan_test): Likewise.
29092 (fpclassify_test): Test subnormal input.
29093 (isfinite_test): Likewise.
29094 (isnormal_test): Likewise.
29095 (main): Call the new functions.
29096
55f11534
JN
290972012-10-08 Jonathan Nieder <jrnieder@gmail.com>
29098
29099 [BZ #14660]
29100 * Makerules (%.dynsym): Force C locale when running
29101 $(OBJDUMP) --dynamic-syms.
29102
1ab29350
AS
291032012-10-08 Andreas Schwab <schwab@linux-m68k.org>
29104
29105 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
29106 <stdint.h>.
29107
f1ecb7ef
DM
291082012-10-06 David S. Miller <davem@davemloft.net>
29109
29110 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
29111 upper 32-bits of the length value in %o2 since we use branch-on-register
29112 tests which consider the entire 64-bit register.
29113
5d41d91a
L
291142012-10-06 H.J. Lu <hongjiu.lu@intel.com>
29115
29116 * string/test-strstr.c (check2): Add a test for page boundary.
29117
3baddb72
DM
291182012-10-05 David S. Miller <davem@davemloft.net>
29119
29120 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
29121 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
29122 file.
29123 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29124 sysdep_routines.
29125 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29126 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
29127 and bzero when HWCAP_SPARC_CRYPTO is present.
29128
9cee5585
L
291292012-10-05 H.J. Lu <hongjiu.lu@intel.com>
29130
d7e0dab9
L
29131 [BZ #14602]
29132 * string/test-strstr.c (check2): New function.
29133 (test_main): Call check2.
29134
03759f47
L
29135 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
29136 and bug-strchr1.
29137 * string/bug-strcasestr1.c (do_test): Moved to ...
29138 * string/test-strcasestr.c (check1): Here. New function.
29139 (do_one_test): Break out result checking code into ...
29140 (check_result): This. New function.
29141 (do_one_test): Call check_result.
29142 (test_main): Call check1.
29143 * string/bug-strchr1.c (do_test): Moved to ...
29144 * string/test-strchr.c (check1): Here. New function.
29145 (do_one_test): Break out result checking code into ...
29146 (check_result): This. New function.
29147 (do_one_test): Call check_result.
29148 (test_main): Call check1.
29149 * string/bug-strstr1.c (main): Moved to ...
046f153e 29150 * string/test-strstr.c (check1): Here. New function.
03759f47
L
29151 (do_one_test): Break out result checking code into ...
29152 (check_result): This. New function.
29153 (do_one_test): Call check_result.
29154 (test_main): Call check1.
29155 * string/bug-strcasestr1.c: Removed.
29156 * string/bug-strchr1.c: Likewise.
29157 * string/bug-strstr1.c: Likewise.
29158
53cea63e
L
29159 * elf/Makefile (dl-routines): Add hwcaps.
29160 * elf/dl-support.c (_dl_important_hwcaps): Removed.
29161 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
29162 (_dl_important_hwcaps): Moved to ...
29163 * elf/dl-hwcaps.c: Here. New file.
29164 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
29165
9cee5585 29166 [BZ #14557]
bb859b06
L
29167 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
29168 if IS_IN_rtld isn't defined.
29169
9cee5585
L
29170 * elf/dl-support.c (_dl_sysinfo_map): New.
29171 Include "get-dynamic-info.h" and "setup-vdso.h".
29172 (_dl_non_dynamic_init): Call setup_vdso.
29173 * elf/dynamic-link.h: Don't include <assert.h>.
29174 (elf_get_dynamic_info): Moved to ...
29175 * elf/get-dynamic-info.h: Here. New file.
29176 * elf/dynamic-link.h: Include "get-dynamic-info.h".
29177 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
29178 * elf/setup-vdso.h: Here. New file.
29179 * elf/rtld.c: Include "setup-vdso.h".
29180 (dl_main): Call setup_vdso.
29181
23c31b76
JM
291822012-10-05 Joseph Myers <joseph@codesourcery.com>
29183
28234b07
JM
29184 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
29185 creal in comment listing functions tested. List finite, isinf,
29186 isnan, isless, islessequal, isgreater, isgreaterequal,
29187 islessgreater, isunordered, lgamma_r and pow10 as functions and
29188 macros not tested. Mention which functions not tested are aliases
29189 for other functions. Fix typo. Note that signs of NaNs are not
29190 tested.
29191
23c31b76
JM
29192 * scripts/config.guess: Update from config.git.
29193 * scripts/config.sub: Likewise.
29194
9043e228
RM
291952012-10-04 Roland McGrath <roland@hack.frob.com>
29196
29197 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
29198 * misc/madvise.c (madvise): Renamed to __madvise.
29199 Make madvise a weak alias.
29200 * include/sys/mman.h: Declare __madvise.
29201 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
29202 * sysdeps/unix/syscalls.list
29203 (madvise): Make __madvise the strong name, and madvise a weak alias.
29204 * sysdeps/unix/sysv/linux/syscalls.list
29205 (madvise, mmap): Remove redundant entries.
29206 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
29207 * malloc/malloc.c (mtrim): Likewise.
29208 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
29209
f57f8055
RM
292102012-10-03 Roland McGrath <roland@hack.frob.com>
29211
29212 * sysdeps/mach/hurd/dl-cache.c: File removed.
29213 * config.h.in (USE_LDCONFIG): New #undef.
29214 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
29215 * configure: Regenerated.
29216 * elf/Makefile (dl-routines): Add dl-cache only under
29217 [$(use-ldconfig) = yes].
29218 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
29219 cache on [USE_LDCONFIG].
29220 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
29221 [USE_LDCONFIG].
29222 * elf/rtld.c (dl_main): Likewise.
29223
5bb0c10a
PT
292242012-10-03 Pino Toscano <toscano.pino@tiscali.it>
29225
29226 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
29227 _SC_LEVEL4_CACHE_LINESIZE.
29228
010188c6
RM
292292012-10-03 Roland McGrath <roland@hack.frob.com>
29230
29231 * sysdeps/unix/bsd/confstr.h: File removed.
29232
b6c5ec07
AO
292332012-10-02 Alexandre Oliva <aoliva@redhat.com>
29234
29235 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
29236 sys/sdt-config.h.
29237
408223d4
RM
292382012-10-02 Roland McGrath <roland@hack.frob.com>
29239
29240 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
29241 Make 'mapoff' field ElfW(Off) rather than off_t.
29242
bb9510dc
DL
292432012-10-02 Dmitry V. Levin <ldv@altlinux.org>
29244
fc997c6e
DL
29245 * nscd/Makefile: Remove nscd-cflags and all its users.
29246 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
29247 (CFLAGS-nonlib): Add compiler flags for nscd modules.
29248
bb9510dc
DL
29249 [BZ #10631]
29250 * malloc.c (malloc_printerr): Clarify error message.
29251
05699367
L
292522012-10-02 H.J. Lu <hongjiu.lu@intel.com>
29253
29254 [BZ #14648]
29255 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29256 Set bit_FMA_Usable if FMA is supported.
29257 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
29258 macro.
29259 (bit_FMA4_Usable): Updated.
29260 (index_FMA_Usable): New macro.
29261 (CPUID_FMA): Likewise
29262 (HAS_FMA): Defined with bit_FMA_Usable.
29263
51367701
RM
292642012-10-01 Roland McGrath <roland@hack.frob.com>
29265
29266 * bits/types.h (__swblk_t): Type removed.
29267 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
29268 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
29269 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29270 (__SWBLK_T_TYPE): Likewise.
29271 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29272 (__SWBLK_T_TYPE): Likewise.
29273 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29274 (__SWBLK_T_TYPE): Likewise.
29275 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29276 (__SWBLK_T_TYPE): Likewise.
29277
4d57bf63 292782012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 29279 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
29280
29281 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
29282 (xdr_mapname): Use YPMAXMAP as maxsize.
29283 (xdr_peername): Use YPMAXPEER as maxsize.
29284 (xdr_keydat): Use YPAXRECORD as maxsize.
29285 (xdr_valdat): Use YPMAXRECORD as maxsize.
29286
93c65d43
RM
292872012-10-01 Roland McGrath <roland@hack.frob.com>
29288
497a03d6
RM
29289 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
29290
93c65d43
RM
29291 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
29292 * csu/init-first.c: ... here.
29293 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
29294 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
29295 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
29296 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29297 * sysdeps/i386/init-first.c: File removed.
29298 * sysdeps/sh/init-first.c: File removed.
29299
bec749fd
JM
293002012-10-01 Joseph Myers <joseph@codesourcery.com>
29301
29302 [BZ #14645]
29303 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
29304 if x * y might underflow to zero and z is zero.
29305 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29306 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29307 * math/libm-test.inc (min_subnorm_value): New variable.
29308 (fma_test): Add more tests.
29309 (fma_test_towardzero): Likewise.
29310 (fma_test_downward): Likewise
29311 (fma_test_upward): Likewise.
29312 (initialize): Set min_subnorm_value.
29313
8ec5b013
JM
293142012-09-29 Joseph Myers <joseph@codesourcery.com>
29315
29316 [BZ #14638]
29317 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
29318 0 + 0.
29319 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
29320 mode for addition resulting in exact zero.
29321 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
29322 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
29323 exact 0 + 0.
29324 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29325 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29326 * math/libm-test.inc (fma_test): Add more tests.
29327 (fma_test_towardzero): New function.
29328 (fma_test_downward): Likewise.
29329 (fma_test_upward): Likewise.
29330 (main): Call the new functions.
29331
b1fa802e
DM
293322012-09-28 David S. Miller <davem@davemloft.net>
29333
29334 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
29335
d3b9fd9e
RM
293362012-09-28 Roland McGrath <roland@hack.frob.com>
29337
ea4d37b3
RM
29338 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
29339 instead of SIGALRM.
29340
ac51c949
RM
29341 * sysdeps/gnu/_G_config.h: Moved to ...
29342 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
29343 * sysdeps/mach/hurd/_G_config.h: Moved to ...
29344 * sysdeps/generic/_G_config.h: ... here.
29345
28c195f7
RM
29346 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
29347
848917f9
RM
29348 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
29349
6bacf05b
RM
29350 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
29351 Conditionalize target on [libnss_test1.so-version].
29352
91363dbb
RM
29353 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
29354
cc87f7d8
RM
29355 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
29356 (elfobjdir): Move out of conditionals.
29357
b1c608fe
RM
29358 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
29359 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
29360 (__nss_lookup_function): Conditionalize label remove_from_tree on
29361 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 29362
1d9a6d96
DM
293632012-09-28 David S. Miller <davem@davemloft.net>
29364
29365 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
29366 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
29367 file.
29368 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29369 sysdep_routines.
29370 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29371 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
29372 when HWCAP_SPARC_CRYPTO is present.
29373
72581615
PT
293742012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29375
29376 * io/tst-mknodat.c: Create a FIFO instead of a socket.
29377
715a900c
JL
293782012-09-28 Andreas Schwab <schwab@linux-m68k.org>
29379
29380 [BZ #6530]
29381 * stdio-common/vfprintf.c (process_string_arg): Revert
29382 2000-07-22 change.
29383
293842011-09-28 Jonathan Nieder <jrnieder@gmail.com>
29385
29386 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
29387 for testcase.
29388 * stdio-common/tst-sprintf.c: Include <locale.h>
29389 (main): Test sprintf's handling of incomplete multibyte
29390 characters.
29391
9bac1d86
L
293922012-09-28 H.J. Lu <hongjiu.lu@intel.com>
29393
29394 * elf/dl-runtime.c (VERSYMIDX): Removed.
29395 * elf/dl-version.c (VERSYMIDX): Likewise.
29396 * elf/do-rel.h (VERSYMIDX): Likewise.
29397 (VALIDX): Likewise.
29398 * elf/dynamic-link.h (VERSYMIDX): Likewise.
29399 * elf/rtld.c (VALIDX): Likewise.
29400 (ADDRIDX): Likewise.
9bac1d86
L
29401 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
29402 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
29403 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
29404 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
29405 (VALIDX): Likewise.
29406 (ADDRIDX): Likewise.
9bac1d86 29407
b31606c0
PT
294082012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29409
29410 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
29411
11541177
JL
294122012-09-28 Dmitry V. Levin <ldv@altlinux.org>
29413
29414 [BZ #11438]
29415 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
29416 to global scope.
29417 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
29418 addresses are in the same scope as 192.0.2/24.
29419 * posix/gai.conf: Document new scope table defaults.
29420
adb26fae
SP
294212012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29422
29423 [BZ #5298]
29424 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
29425 for ftell. Compute offsets from write pointers instead.
29426 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29427
4573c6b0
SP
294282012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29429
29430 [BZ #14543]
29431 * libio/Makefile (tests): New test case tst-fseek.
29432 * libio/tst-fseek.c: New test case to verify that fseek/ftell
29433 combination works in wide mode.
29434 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
29435 state when the external buffer state changes.
29436
aa9bbfe6
DM
294372012-09-27 David S. Miller <davem@davemloft.net>
29438
29439 [BZ #14376]
29440 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
29441 pass reloc->r_addend in as the 'high' argument to
29442 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
29443
784421e7
DM
29444 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29445
c39bc8b8
PT
294462012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29447
29448 * rt/tst-aio2.c: Include <pthread.h>.
29449 * rt/tst-aio3.c: Likewise.
29450
1ccc2399
SE
294512012-09-27 Steve Ellcey <sellcey@mips.com>
29452
29453 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
29454
31ed4153
L
294552012-09-27 H.J. Lu <hongjiu.lu@intel.com>
29456
25f5f885
L
29457 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
29458 contents on [SHARED].
31ed4153 29459
b7bfe116
MP
294602012-09-26 Marek Polacek <polacek@redhat.com>
29461
29462 [BZ #14530]
29463 [BZ #13741]
29464 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
29465 for C++ and GCC <4.3 as well as for non GCC compilers.
29466
43c4edba
MT
294672012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
29468
29469 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29470
6a1bf82f
RM
294712012-09-25 Roland McGrath <roland@hack.frob.com>
29472
29473 * Makefile.in (all, install): Declare with .PHONY.
29474 Reported by Michael Hope <michael.hope@linaro.org>.
29475
8ad11b9a
TMQMF
294762012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29477
29478 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
29479 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
29480 system header.
29481 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
29482 Likewise.
29483 (sydep_routines): Add the new and the internal functions.
29484 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
29485 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
29486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
29487 (GLIBC_2.17): Add the new function.
29488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29489 (GLIBC_2.17): Likewise.
29490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
29491 (GLIBC_2.17): Likewise.
29492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
29493 (GLIBC_2.17): Likewise.
29494 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
29495
7e2fca8d
AM
294962012-09-25 Alan Modra <amodra@gmail.com>
29497
29498 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
29499 Add release barrier before setting once_control to say
29500 initialisation is done. Add hints on lwarx. Use macro in
29501 place of isync.
29502 (clear_once_control): Add release barrier.
29503
b87c4b24
JM
295042012-09-25 Joseph Myers <joseph@codesourcery.com>
29505
d032e0d2
JM
29506 [BZ #13629]
29507 * math/s_clog.c (__clog): Handle more values close to |z| = 1
29508 specially.
29509 * math/s_clog10.c (__clog10): Likewise.
29510 * math/s_clog10f.c (__clog10f): Likewise.
29511 * math/s_clog10l.c (__clog10l): Likewise.
29512 * math/s_clogf.c (__clogf): Likewise.
29513 * math/s_clogl.c (__clogl): Likewise.
29514 * math/Makefile (libm-calls): Add x2y2m1.
29515 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
29516 (__x2y2m1): Likewise.
29517 (__x2y2m1l): Likewise.
29518 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
29519 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
29520 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
29521 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
29522 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
29523 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
29524 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
29525 * sysdeps/i386/fpu/libm-test-ulps: Update.
29526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29527
b87c4b24
JM
29528 [BZ #14621]
29529 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
29530 int as type of variable DEPTH.
29531 (glob): Use size_t instead of int as type of variables NEWCOUNT
29532 and OLD_PATHC.
29533
6d3bf199
LD
295342012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29535
22bf5c17
LD
29536 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29537 Add s_sincosf-sse2.
29538 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
29539 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
29540 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
29541 macros for using routine as __sincosf_ia32.
29542 Use macro for function declaration and weak_alias.
29543 * sysdeps/i386/fpu/libm-test-ulps: Update.
29544
29545 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
29546 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29547
29548 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
29549 subnormal argument.
29550 * math/s_cexpf.c (__cexpf): Likewise.
29551 * math/s_csinf.c (__csinf): Likewise.
29552 * math/s_csinhf.c (__csinhf): Likewise.
29553 * math/s_ctanf.c (__ctanf): Likewise.
29554 * math/s_ctanhf.c (__ctanhf): Likewise.
29555 * math/s_ccosh.c (__ccoshf): Likewise.
29556 * math/s_cexp.c (__cexpl): Likewise.
29557 * math/s_csin.c (__csin): Likewise.
29558 * math/s_csinh.c (__csinh): Likewise.
29559 * math/s_ctan.c (__ctan): Likewise.
29560 * math/s_ctanh.c (ctanh): Likewise.
29561 * math/s_ccoshl.c (__ccoshl): Likewise.
29562 * math/s_cexpl.c (__cexpl): Likewise.
29563 * math/s_csinl.c (__csinl): Likewise.
29564 * math/s_csinhl.c (__csinhl): Likewise.
29565 * math/s_ctanl.c (__ctanl): Likewise.
29566 * math/s_ctanhl.c (__ctanhl): Likewise.
29567
203e5603
JM
295682012-09-25 Joseph Myers <joseph@codesourcery.com>
29569
29570 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
29571 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
29572 (_IO_off_t): Define to __off_t, not _G_off_t.
29573 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
29574 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
29575 (_IO_wint_t): Define to wint_t, not _G_wint_t.
29576 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
29577 type of __dummy and __dummy2 fields.
29578 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
29579 (_G_ssize_t): Likewise.
29580 (_G_off_t): Likewise.
29581 (_G_pid_t): Likewise.
29582 (_G_uid_t): Likewise.
29583 (_G_wchar_t): Likewise.
29584 (_G_wint_t): Likewise.
29585 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
29586 (_G_ssize_t): Likewise.
29587 (_G_off_t): Likewise.
29588 (_G_pid_t): Likewise.
29589 (_G_uid_t): Likewise.
29590 (_G_wchar_t): Likewise.
29591 (_G_wint_t): Likewise.
29592 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
29593 (_G_ssize_t): Likewise.
29594 (_G_off_t): Likewise.
29595 (_G_pid_t): Likewise.
29596 (_G_uid_t): Likewise.
29597 (_G_wchar_t): Likewise.
29598 (_G_wint_t): Likewise.
29599
9fab36eb
SP
296002012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29601
29602 * malloc/arena.c: Include malloc-sysdep.h.
29603 (shrink_heap): Use check_may_shrink_heap to decide if madvise
29604 is sufficient to shrink the heap or an unmap is needed.
29605 * sysdeps/generic/malloc-sysdep.h: New file. Define
29606 new function check_may_shrink_heap.
29607 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
29608 new function check_may_shrink_heap.
29609
2b4f00d1
SP
296102012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29611
29612 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
29613 comments.
29614
9a9028b1
DL
296152012-09-24 Dmitry V. Levin <ldv@altlinux.org>
29616
57c69bef
DL
29617 * catgets/test-gencat.sh: Add "set -e".
29618 * elf/tst-pathopt.sh: Likewise.
29619 * grp/tst_fgetgrent.sh: Likewise.
29620 * iconvdata/run-iconv-test.sh: Likewise.
29621 * intl/tst-gettext.sh: Likewise.
29622 * intl/tst-gettext2.sh: Likewise.
29623 * intl/tst-gettext4.sh: Likewise.
29624 * intl/tst-gettext6.sh: Likewise.
29625 * intl/tst-translit.sh: Likewise.
29626 * io/ftwtest-sh: Likewise.
29627 * libio/test-freopen.sh: Likewise.
29628 * malloc/tst-mtrace.sh: Likewise.
29629 * posix/globtest.sh: Likewise.
29630 * posix/tst-getconf.sh: Likewise.
29631 * posix/wordexp-tst.sh: Likewise.
29632 * stdio-common/tst-printf.sh: Likewise.
29633 * stdio-common/tst-unbputc.sh: Likewise.
29634 * stdlib/tst-fmtmsg.sh: Likewise.
29635 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29636 * catgets/Makefile: Do not specify -e option when running
29637 testsuite shell scripts.
29638 * elf/Makefile: Likewise.
29639 * grp/Makefile: Likewise.
29640 * iconvdata/Makefile: Likewise.
29641 * intl/Makefile: Likewise.
29642 * io/Makefile: Likewise.
29643 * libio/Makefile: Likewise.
29644 * malloc/Makefile: Likewise.
29645 * posix/Makefile: Likewise.
29646 * stdio-common/Makefile: Likewise.
29647 * stdlib/Makefile: Likewise.
29648 * sysdeps/x86_64/Makefile: Likewise.
29649
9a9028b1
DL
29650 * io/ftwtest-sh: Add copyright header.
29651 * posix/globtest.sh: Likewise.
29652 * posix/tst-getconf.sh: Likewise.
29653 * posix/wordexp-tst.sh: Likewise.
29654 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29655
ced6f16e
L
296562012-09-24 H.J. Lu <hongjiu.lu@intel.com>
29657
94b32c39
L
29658 [BZ #13679]
29659 * Makeconfig (+link): Defined as $(+link-static) if
29660 $(build-shared) isn't yes.
29661 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
29662 isn't yes.
29663 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
29664
189e935b
L
29665 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
29666
ced6f16e
L
29667 [BZ #14562]
29668 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
29669 new chunk size with MALLOC_ALIGN_MASK.
29670
a9f8e53a
JM
296712012-09-24 Joseph Myers <joseph@codesourcery.com>
29672
29673 [BZ #5044]
29674 * stdio-common/printf_fphex.c: Include <stdbool.h> and
29675 <rounding-mode.h>.
29676 (__printf_fphex): Determine rounding using get_rounding_mode and
29677 round_away.
29678 * stdio-common/tst-printf-round.c (struct hex_test): New
29679 structure.
29680 (hex_tests): New variable.
29681 (test_hex_in_one_mode): New function.
29682 (do_test): Also run tests for hex float output.
29683
43153109
JM
296842012-09-21 Joseph Myers <joseph@codesourcery.com>
29685
29686 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29687 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29688 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
29689 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29690 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29691 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
29692 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29693 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29694
8a26625d
JM
296952012-09-20 Joseph Myers <joseph@codesourcery.com>
29696
29697 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
29698 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
29699 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
29700 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
29701
f3fd569c
DL
297022012-09-19 Dmitry V. Levin <ldv@altlinux.org>
29703
29704 [BZ #14579]
29705 * elf/rtld.c (dl_main): Limit the check for self loading to normal
29706 mode only.
29707 * elf/tst-rtld-load-self.sh: New test.
29708 * elf/Makefile: Run it.
29709
63bbedd4
JM
297102012-09-18 Joseph Myers <joseph@codesourcery.com>
29711
29712 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
29713 (tst-writev-ENV): Remove.
29714 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
29715
626f8b6a
CM
297162012-09-17 Chris Metcalf <cmetcalf@tilera.com>
29717
29718 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
29719
b7aaa4d6
JM
297202012-09-17 Joseph Myers <joseph@codesourcery.com>
29721
29722 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
29723 unconditional.
29724 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
29725 Likewise.
29726 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
29727 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
29728 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
29729 Likewise.
29730
65513990
L
297312012-09-14 H.J. Lu <hongjiu.lu@intel.com>
29732
29733 [BZ #14587]
29734 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
29735 * config.make.in (have-cpp-asm-debuginfo): Removed.
29736 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
29737 * configure: Regenerated.
29738
784761be
JM
297392012-09-14 Joseph Myers <joseph@codesourcery.com>
29740
29741 [BZ #5044]
29742 * stdio-common/printf_fp.c: Include <stdbool.h> and
29743 <rounding-mode.h>.
29744 (___printf_fp): Determine rounding using get_rounding_mode and
29745 round_away.
29746 * stdio-common/tst-printf-round.c: New file.
29747 * stdio-common/Makefile (tests): Add tst-printf-round.
29748 (link-libm): New variable.
29749 ($(objpfx)tst-printf-round): Depend in $(link-libm).
29750
9503345f
L
297512012-09-13 H.J. Lu <hongjiu.lu@intel.com>
29752
29753 [BZ #14576]
29754 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
29755 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
29756 Likewise.
29757 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
29758 Likewise.
29759
ad35fc00
JM
297602012-09-13 Joseph Myers <joseph@codesourcery.com>
29761
29762 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
29763 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29764 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29765 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29766
6c9b0f68
JM
297672012-09-12 Joseph Myers <joseph@codesourcery.com>
29768
29769 [BZ #14518]
29770 * include/rounding-mode.h: New file.
29771 * sysdeps/generic/get-rounding-mode.h: Likewise.
29772 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
29773 * stdlib/strtod_l.c: Include <rounding-mode.h>.
29774 (MAX_VALUE): New macro.
29775 (MIN_VALUE): Likewise.
29776 (overflow_value): New function.
29777 (underflow_value): Likewise.
29778 (round_and_return): Use overflow_value and underflow_value to
29779 determine return values in overflow and underflow cases. Use
29780 round_away to determine rounding depending on rounding mode.
29781 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
29782 determine return values in overflow and underflow cases.
29783 * stdlib/tst-strtod-round.c: Include <fenv.h>.
29784 (struct test_results): New structure.
29785 (struct test): Use struct test_results to store expected results
29786 for all rounding modes.
29787 (TEST): Include expected results for all rounding modes.
29788 (test_in_one_mode): New function.
29789 (do_test): Use test_in_one_mode to compute and check results.
29790 Check results for all rounding modes.
29791 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
29792 $(link-libm).
29793
19fcedd5
AM
297942012-12-09 Allan McRae <allan@archlinux.org>
29795
1e9d84cd 29796 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 29797
8bbfd2f1
JM
297982012-09-11 Joseph Myers <joseph@codesourcery.com>
29799
29800 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
29801 (_G_int32_t): Likewise.
29802 (_G_uint16_t): Likewise.
29803 (_G_uint32_t): Likewise.
29804 (_G_HAVE_BOOL): Likewise.
29805 (_G_HAVE_ATEXIT): Likewise.
29806 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29807 (_G_HAVE_IO_FILE_OPEN): Likewise.
29808 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
29809 (_G_int32_t): Likewise.
29810 (_G_uint16_t): Likewise.
29811 (_G_uint32_t): Likewise.
29812 (_G_HAVE_BOOL): Likewise.
29813 (_G_HAVE_ATEXIT): Likewise.
29814 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29815 (_G_HAVE_IO_FILE_OPEN): Likewise.
29816 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
29817 (_G_int32_t): Likewise.
29818 (_G_uint16_t): Likewise.
29819 (_G_uint32_t): Likewise.
29820 (_G_HAVE_BOOL): Likewise.
29821 (_G_HAVE_ATEXIT): Likewise.
29822 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29823 (_G_HAVE_IO_FILE_OPEN): Likewise.
29824
b1dc5912
L
298252012-09-11 H.J. Lu <hongjiu.lu@intel.com>
29826
29827 * csu/libc-tls.c: Update copyright years.
29828
0e886ef9
JM
298292012-09-10 Joseph Myers <joseph@codesourcery.com>
29830
28361c5e
JM
29831 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
29832 [!_G_USING_THUNKS]: Remove conditional code.
29833 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
29834 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
29835
0e886ef9
JM
29836 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
29837 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
29838 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29839 (_G_VTABLE_LABEL_PREFIX): Likewise.
29840 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29841 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29842 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29843 (_G_VTABLE_LABEL_PREFIX): Likewise.
29844 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29845 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29846 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29847 (_G_VTABLE_LABEL_PREFIX): Likewise.
29848 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29849
bcba7aa2
L
298502012-09-10 H.J. Lu <hongjiu.lu@intel.com>
29851
29852 * libio/Makefile: Include ../Makeconfig before tests.
29853 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
29854 only if $(build-shared) is yes.
29855
06585ee8
L
29856 * iconv/gconv_db.c: Update copyright years.
29857
80ccd52c
LD
298582012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29859
29860 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
29861 unwind info if defined PIC. Fix special cases description.
29862 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
29863
29864 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
29865 DP_HI_MASK entry.
29866 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
29867
691bc9c1
L
298682012-09-07 H.J. Lu <hongjiu.lu@intel.com>
29869
3d9b46b3
L
29870 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
29871
de2139a9
L
29872 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
29873 is NULL.
29874
5ca78dd0
L
29875 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
29876 (LDLIBS-tst-chk4): This.
29877 (LDFLAGS-tst-chk5): Renamed to ...
29878 (LDLIBS-tst-chk5): This.
29879 (LDFLAGS-tst-chk6): Renamed to ...
29880 (LDLIBS-tst-chk6): This.
29881 (LDFLAGS-tst-lfschk4): Renamed to ...
29882 (LDLIBS-tst-lfschk4): This.
29883 (LDFLAGS-tst-lfschk5): Renamed to ...
29884 (LDLIBS-tst-lfschk5): This.
29885 (LDFLAGS-tst-lfschk6): Renamed to ...
29886 (LDLIBS-tst-lfschk6): This.
29887
691bc9c1
L
29888 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
29889 on $(common-objpfx)soversions.mk.
29890
65cafb1c
JM
298912012-09-07 Joseph Myers <joseph@codesourcery.com>
29892
29893 [BZ #10014]
29894 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
29895 example host name.
29896
c78ab094
SP
298972012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
29898
29899 * malloc/arena.c (arena_get_retry): New function that gets
29900 another arena for the caller to try its request on.
29901 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
29902 current arena cannot fulfill the request.
29903 (__libc_memalign): Likewise.
29904 (__libc_memalign): Likewise.
29905 (__libc_pvalloc): Likewise.
29906 (__libc_calloc): Likewise.
29907
01f49f59
JT
299082012-09-05 John Tobey <john.tobey@gmail.com>
29909
29910 [BZ #13542]
29911 * manual/arith.texi (Operations on Complex): Fix description
29912 of carg branch cut.
29913
4c23fed5
JM
299142012-09-06 Joseph Myers <joseph@codesourcery.com>
29915
1d3c8572
JM
29916 [BZ #10014]
29917 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
29918 host name.
29919
4c23fed5
JM
29920 [BZ #10038]
29921 * manual/memory.texi (Memory): Make order of menu items match
29922 order of sections.
29923
04570aaa
L
299242012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29925
29926 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
29927 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
29928 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
29929
b80af2f4
L
299302012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29931
29932 * csu/libc-tls.c (static_dtv): Renamed to ...
29933 (_dl_static_dtv): This. Make it global.
29934 (_dl_initial_dtv): Removed.
29935 (__libc_setup_tls): Updated.
29936 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
29937 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
29938 DL_INITIAL_DTV.
29939
2abe9f15
PM
299402012-09-06 Petr Machata <pmachata@redhat.com>
29941
29942 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
29943 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
29944 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
29945 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
29946
0948c3af
L
299472012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29948
29949 [BZ #14545]
29950 * csu/libc-tls.c (_dl_initial_dtv): New variable.
29951 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
29952 freeing dtv[-1].
29953
a5055ad1
L
299542012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29955
29956 [BZ #14544]
29957 * Makeconfig (link-static-before-libc): Replace $(+prector)
29958 with $(+prectorT).
29959 (link-static-after-libc): Replace $(+postctor) with
29960 $(+postctorT).
29961 (link-bounded): Replace $(+prector)/$(+postctor) with
29962 $(+prectorT)/$(+postctorT).
29963 (+prectorT): New macro.
29964 (+postctorT): Likewise.
29965
ed8c2ecd
JM
299662012-09-06 Joseph Myers <joseph@codesourcery.com>
29967
29968 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
29969 (round_str): Handle values above the maximum for IBM long double
29970 as inexact.
29971 * stdlib/tst-strtod-round.c (tests): Regenerated.
29972
14c996c8
AK
299732012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29974
29975 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
29976 assembler flag.
29977 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
29978 zarch_nohighgprs around the zarch optimized routines.
29979 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
29980 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
29981 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
29982 for zarch.
29983
430d6ce6
DM
299842012-09-05 David S. Miller <davem@davemloft.net>
29985
29986 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29987
57f41c40
AS
29988 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
29989 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
29990 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
29991 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29992 entries.
29993
24d4e01b
AO
299942012-09-05 Alexandre Oliva <aoliva@redhat.com>
29995
29996 * malloc/arena.c: Fold copyright years.
29997 * malloc/mcheck.c, malloc/memusage.c: Likewise.
29998
61d58174
AO
299992012-09-05 Alexandre Oliva <aoliva@redhat.com>
30000
30001 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
30002
20196a5e
AO
300032012-09-05 Alexandre Oliva <aoliva@redhat.com>
30004
30005 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
30006
5c447383
AO
300072012-09-05 Alexandre Oliva <aoliva@redhat.com>
30008
30009 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
30010 change internal state upon failure.
30011
fad64255
AO
300122012-09-05 Alexandre Oliva <aoliva@redhat.com>
30013
30014 * malloc/mcheck.c (mcheck_check_all): Fix typo.
30015 * malloc/memusage.c (mmap): Likewise.
30016 (mmap64, mremap): Likewise. Adjust name in comment.
30017
1ffb8c90
SP
300182012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30019
30020 * libio/fileops.c: Fix typos in comments.
30021 * libio/oldfileops.c: Likewise.
30022 * libio/wfileops.c: Likewise.
30023
6ef9cc37
SP
300242012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30025
30026 [BZ #1349]
30027 * malloc/Makefile (tests): Add tst-malloc-usable test case.
30028 (tst-malloc-usable-ENV): Set environment for test case.
30029 * malloc/hooks.c (malloc_check_get_size): New function to get
30030 requested size.
30031 * malloc/malloc.c (musable): Use malloc_check_get_size.
30032 * malloc/tst-malloc-usable.c: New test case.
30033
4d038ae3
AS
300342012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30035
30036 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
30037
c4e85184
AM
300382012-09-05 Allan McRae <allan@archlinux.org>
30039
b9dafc56 30040 [BZ #13966]
c4e85184
AM
30041 * configure.in (CXX_SYSINCLUDES): Use compiler output to
30042 determine header location.
30043 * configure: Regenerated.
30044
e1343020
AS
300452012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30046
30047 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
30048 float format.
30049 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
30050 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
30051 format.
e1343020
AS
30052 (test): Regenerate.
30053
0a9f1987
DM
300542012-09-04 David S. Miller <davem@davemloft.net>
30055
30056 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
30057 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
30058 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
30059
29237804
FW
300602012-09-04 Florian Weimer <fweimer@redhat.com>
30061
30062 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
30063 failures.
30064
edb3cb88
FW
30065 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
30066
60160d83
JM
300672012-09-04 Joseph Myers <joseph@codesourcery.com>
30068
30069 [BZ #9914]
30070 * libio/iogetdelim.c: Include <limits.h>.
30071 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
30072 + len + 1 would overflow.
30073
bcd6c8dc
AJ
300742012-09-03 Andreas Jaeger <aj@suse.de>
30075
30076 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30077 * sysdeps/i386/fpu/libm-test-ulps: Update.
30078
4ffffbd2
LD
300792012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30080
30081 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30082 Add s_sinf-sse2, s_conf-sse2.
30083
30084 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
30085 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
30086 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
30087 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
30088
30089 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
30090 for using routine as __sinf_ia32.
30091 Use macro for function declaration and weak_alias.
30092 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
30093 for using routine as __cosf_ia32.
30094 Use macro for function declaration and weak_alias.
30095
30096 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
30097 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
30098
30099 * sysdeps/x86_64/fpu/s_sinf.S: New file.
30100 * sysdeps/x86_64/fpu/s_cosf.S: New file.
30101 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30102
30103 * math/libm-test.inc (cos_test): Add more test cases.
30104 (sin_test): Likewise.
30105 (sincos_test): Likewise.
30106
511fa286
AK
301072012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30108
30109 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30110 (IFUNC_RESOLVE): Make pointers to the specialized implementations
30111 hidden.
30112 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30113
5f30cfec
L
301142012-09-02 H.J. Lu <hongjiu.lu@intel.com>
30115
30116 [BZ #14538]
30117 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
30118 first element of the GOT.
30119 (elf_machine_load_address): Return the difference between
30120 the runtime address of _DYNAMIC and elf_machine_dynamic ().
30121
0786794f
AM
301222012-09-01 Allan McRae <allan@archlinux.org>
30123
5f30cfec
L
30124 [BZ #13412]
30125 * configure.in (AWK): Require gawk version 3.0 or later.
30126 * configure: Regenerated.
0786794f 30127
26889eac
JM
301282012-09-01 Joseph Myers <joseph@codesourcery.com>
30129
30130 * sysdeps/unix/sysv/linux/kernel-features.h
30131 (__ASSUME_POSIX_CPU_TIMERS): Remove.
30132 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30133 [__NR_clock_getres]: Make code unconditional.
30134 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
30135 (clock_getcpuclockid): Remove code left unreachable by removal of
30136 conditionals.
30137 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
30138 code unconditional.
30139 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30140 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30141 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
30142 Make code unconditional.
30143 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30144 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30145 * sysdeps/unix/sysv/linux/clock_settime.c
30146 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
30147 conditional code.
30148 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
30149 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30150
d22e28b0
L
301512012-08-29 H.J. Lu <hongjiu.lu@intel.com>
30152
30153 [BZ #14476]
30154 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
30155 scripts/test-installation.pl.
30156
30157 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
30158 and $ld_so_version if it is set.
30159
050af9c4
SP
301602012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30161
30162 [BZ #14516]
30163 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
30164 failure if reading from procfs failed.
30165 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
30166
ad845c0b
JM
301672012-08-27 Joseph Myers <joseph@codesourcery.com>
30168
30169 * sysdeps/unix/sysv/linux/kernel-features.h
30170 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
30171 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30172 Remove conditional code.
30173 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30174 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
30175 Remove conditional code.
30176 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30177 * sysdeps/unix/sysv/linux/i386/fxstat.c
30178 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30179 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30180 * sysdeps/unix/sysv/linux/i386/fxstatat.c
30181 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30182 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30183 * sysdeps/unix/sysv/linux/i386/lxstat.c
30184 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30185 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30186 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
30187 Remove conditional code.
30188 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30189 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30190 Remove conditional code.
30191 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30192 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
30193 <kernel-features.h>.
30194 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
30195 Remove.
30196 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
30197 Remove conditional code.
30198 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30199 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
30200 Remove conditional.
30201
5dbf56af
MF
302022012-08-27 Mike Frysinger <vapier@gentoo.org>
30203
30204 [BZ #5400]
30205 * NEWS: Add fixed bug number.
30206
d6e70f43
JM
302072012-08-27 Joseph Myers <joseph@codesourcery.com>
30208
7efb4737
JM
30209 [BZ #14519]
30210 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
30211 underflowing exponent in case of negative sign.
30212 * stdlib/tst-strtod-round-data: Add more tests.
30213 * stdlib/tst-strtod-round.c (tests): Regenerated.
30214
af92131a
JM
30215 [BZ #3479]
30216 * stdlib/strtod_l.c (NDIG): Remove.
30217 (HEXNDIG): Likewise.
30218 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
30219 smallest representable value.
30220 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
30221 lie within an exact representation of 1/2 ulp of the result.
30222 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
30223 unconditionally.
30224 (TENS_P9_IDX): Define unconditionally.
30225 (TENS_P9_SIZE): Likewise.
30226 (TENS_P10_IDX): Likewise.
30227 (TENS_P10_SIZE): Likewise.
30228 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
30229 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
30230 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
30231 entries for 10^2^13 and 10^2^14.
30232 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
30233 (TENS_P13_IDX): Define.
30234 (TENS_P13_SIZE): Likewise.
30235 (TENS_P14_IDX): Likewise.
30236 (TENS_P14_SIZE): Likewise.
30237 (_fpioconst_pow10): Change array size to
30238 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
30239 unconditional.
30240 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
30241 1024]: Add entries for 10^2^13 and 10^2^14.
30242 [LAST_POW10 > _LAST_POW10]: Remove #error.
30243 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
30244 (_fpioconst_pow10): Change array size to
30245 FPIOCONST_POW10_ARRAY_SIZE.
30246 * stdlib/gen-fpioconst.c: New file.
30247 * stdlib/gen-tst-strtod-round.c: Likewise.
30248 * stdlib/tst-strtod-round-data: Likewise.
30249 * stdlib/tst-strtod-round.c: Likewise.
30250 * stdlib/Makefile (tests): Add tst-strtod-round.
30251
d6e70f43
JM
30252 [BZ #14459]
30253 * stdlib/strtod_l.c: Include <stdint.h>.
30254 (NDEBUG): Do not define.
30255 (round_and_return): Change EXPONENT parameter to type intmax_t.
30256 Rearrange calculations to avoid internal overflow possibilities.
30257 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
30258 Rearrange calculations to avoid internal overflow possibilities.
30259 Assert that number fits inside MPNSIZE limbs.
30260 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
30261 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
30262 calculations and add assertions to avoid internal overflow
30263 possibilities. Add casts to avoid signed/unsigned operations.
30264 * stdlib/tst-strtod-overflow.c: New file.
30265 * stdlib/Makefile (tests): Add tst-strtod-overflow.
30266
1f529f7d
MP
302672012-08-25 Marek Polacek <polacek@redhat.com>
30268
30269 * time/time.h: Fix some typos in comments.
30270
59a629f1
RM
302712012-08-23 Roland McGrath <roland@hack.frob.com>
30272
30273 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
30274 * posix/tst-rfc3484-2.c: Likewise.
30275 * posix/tst-rfc3484-3.c: Likewise.
30276
d3bafbc9
SM
302772012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
30278
30279 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
30280 (EF_ARM_ABI_FLOAT_HARD): Likewise.
30281
4efcc022
JM
302822012-08-23 Joseph Myers <joseph@codesourcery.com>
30283
30284 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
30285 #include of fxstatat64.c.
30286
3cc3ef96
RM
302872012-08-22 Roland McGrath <roland@hack.frob.com>
30288
f04e2132
RM
30289 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
30290 * shadow/getspent_r.c: Likewise.
30291 * shadow/getspnam.c: Likewise.
30292 * shadow/getspnam_r.c: Likewise.
30293 * gshadow/getsgent.c: Likewise.
30294 * gshadow/getsgent_r.c: Likewise.
30295 * gshadow/getsgnam.c: Likewise.
30296 * gshadow/getsgnam_r.c: Likewise.
30297 * inet/getnetbyad.c: Likewise.
30298 * inet/getnetbyad_r.c: Likewise.
30299 * inet/getnetbynm.c: Likewise.
30300 * inet/getnetbynm_r.c: Likewise.
30301 * inet/getnetent.c: Likewise.
30302 * inet/getnetent_r.c: Likewise.
30303 * inet/getproto.c: Likewise.
30304 * inet/getproto_r.c: Likewise.
30305 * inet/getprtent.c: Likewise.
30306 * inet/getprtent_r.c: Likewise.
30307 * inet/getprtname.c: Likewise.
30308 * inet/getprtname_r.c: Likewise.
30309 * inet/getrpcbyname.c: Likewise.
30310 * inet/getrpcbyname_r.c: Likewise.
30311 * inet/getrpcbynumber.c: Likewise.
30312 * inet/getrpcbynumber_r.c: Likewise.
30313 * inet/getrpcent.c: Likewise.
30314 * inet/getrpcent_r.c: Likewise.
30315 * inet/getaliasent.c: Likewise.
30316 * inet/getaliasent_r.c: Likewise.
30317 * inet/getaliasname.c: Likewise.
30318 * inet/getaliasname_r.c: Likewise.
30319 * nscd/getgrgid_r.c: Likewise.
30320 * nscd/getgrnam_r.c: Likewise.
30321 * nscd/gethstbyad_r.c: Likewise.
30322 * nscd/gethstbynm3_r.c: Likewise.
30323 * nscd/getpwnam_r.c: Likewise.
30324 * nscd/getpwuid_r.c: Likewise.
30325 * nscd/getsrvbynm_r.c: Likewise.
30326 * nscd/getsrvbypt_r.c: Likewise.
30327 * nscd/gai.c: Likewise.
30328
c53d909c
RM
30329 * configure.in (build_nscd): New substituted variable, set
30330 by --disable-build-nscd and defaults to $use_nscd.
30331 * configure: Regenerated.
30332 * config.make.in (build-nscd): New substituted variable.
30333 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
30334 Change conditional to require [$(build-nscd) = yes] as well.
30335 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
30336
3cc3ef96
RM
30337 [BZ# 13696]
30338 * configure.in (use_nscd): New substituted variable, set by
30339 --disable-nscd. If enabled, define USE_NSCD.
30340 * configure: Regenerated.
30341 * config.h.in: Add USE_NSCD.
30342 * config.make.in (use-nscd): New substituted variable.
30343 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
30344 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
30345 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
30346 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
30347 (CFLAGS-getgrnam_r.c): Likewise.
30348 (CFLAGS-initgroups.c): Likewise.
30349 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
30350 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
30351 Variables removed.
30352 * inet/getnetgrent_r.c
30353 (nscd_setnetgrent): New function, broken out of ...
30354 (setnetgrent): ... here. Call it.
30355 (innetgr): Conditionalize nscd bits on [USE_NSCD].
30356 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
30357 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
30358 * nscd/Makefile (routines, aux): Move definitions after include of
30359 Makeconfig. Conditionalize on [$(use-nscd) != no].
30360 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
30361 Conditionalize on [USE_NSCD].
30362 (is_nscd, nscd_init_cb): Likewise.
30363 (nss_load_library): Conditionalize init callback on [USE_NSCD].
30364 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
30365 * nss/nss_db/db-init.c: Likewise.
30366 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
30367 [USE_NSCD].
30368 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
30369 (make_request): Use it.
30370 (cache_valid_p): New function.
30371 (__check_pf): Use it.
30372 * NEWS: Add item for --disable-nscd.
30373
07e51550
DL
303742012-08-22 Dmitry V. Levin <ldv@altlinux.org>
30375
30376 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
30377 to support sed >= 4.2.1-20-ga9bf076.
30378 * configure: Regenerated.
30379
35a5b08b
RM
303802012-08-22 Roland McGrath <roland@hack.frob.com>
30381
30382 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
30383 Conditionalize whole body on [IREL].
30384
8479f23a
JL
303852012-08-22 Jeff Law <law@redhat.com>
30386
30387 [BZ #14505]
30388 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
30389 if the family is PF_UNSPEC.
30390
48da0b21
MF
303912012-08-22 Mike Frysinger <vapier@gentoo.org>
30392
30393 * Makerules (lib-version): Rename from V.
30394 (install-lib-nosubdir): Change V to lib-version.
30395
15d0da8c
WS
303962012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
30397
30398 [BZ #14252]
30399 * powerpc32/power6/wcschr.c: New file.
30400 * powerpc32/power6/wcscpy.c: New file.
30401 * powerpc32/power6/wcsrchr.c: New file.
30402 * powerpc64/power6/wcschr.c: New file.
30403 * powerpc64/power6/wcscpy.c: New file.
30404 * powerpc64/power6/wcsrchr.c: New file.
30405
bcca0895
MK
304062012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
30407
30408 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
30409 (two_way_short_needle): Use it.
5a4aaa33
RM
30410 * string/strstr.c (AVAILABLE1_USES_J): Define.
30411 * string/strcasestr.c: Likewise.
99677e57
MK
30412
30413 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
30414 array references.
30415 * string/strcasestr.c (TOLOWER): Make side-effect safe.
30416
400726de
MK
30417 [BZ #11607]
30418 * NEWS: Add an entry.
30419 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
30420 define their defaults.
30421 (two_way_short_needle): Detect end-of-string on-the-fly.
30422 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
30423 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
30424 * string/bug-strcasestr1.c: New test.
30425 * string/Makefile: Run it.
30426
20a71f2c
MK
304272012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
30428
30429 [BZ #11607]
30430 * string/str-two-way.h (two_way_short_needle): Optimize matching of
30431 the first character.
30432
21ad0558
RM
304332012-08-21 Roland McGrath <roland@hack.frob.com>
30434
30435 * csu/elf-init.c (__libc_csu_irel): Function removed.
30436 * csu/libc-start.c (apply_irel): New function.
30437 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
30438
0e1d9911
JM
304392012-08-21 Joseph Myers <joseph@codesourcery.com>
30440
30441 * sysdeps/unix/sysv/linux/kernel-features.h
30442 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
30443 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30444 <kernel-features.h>.
30445 [__NR_fadvise64_64]: Make code unconditional.
30446 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
30447 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30448 !__NR_fadvise64_64)]: Likewise.
30449 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30450 !__NR_fadvise64_64))]: Likewise.
30451 [__NR_fadvise64]: Make code unconditional.
30452 [!__NR_fadvise64]: Remove conditional code.
30453 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
30454 <kernel-features.h>.
30455 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30456 unconditional.
30457 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30458 conditional code.
30459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
30460 not include <kernel-features.h>.
30461 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30462 unconditional.
30463 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30464 conditional code.
30465 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
30466 include <kernel-features.h>.
30467 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30468 unconditional.
30469 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30470 conditional code.
30471
14a50c9d
WS
304722012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
30473
30474 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
30475 slight instruction rearrangements per scrollpipe analysis.
30476 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30477
c0f4faf0
RM
304782012-08-20 Roland McGrath <roland@hack.frob.com>
30479
696da859
RM
30480 * manual/syslog.texi (syslog; vsyslog, closelog):
30481 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
30482 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
30483
c0f4faf0
RM
30484 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
30485 DSOCAPS to match condition on defining it.
30486
348363b2
JM
304872012-08-20 Joseph Myers <joseph@codesourcery.com>
30488
a35cbf28
JM
30489 * sysdeps/unix/sysv/linux/kernel-features.h
30490 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
30491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
30492 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30493 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
30495 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30496 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
30498 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30499 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30500
445f7ecd
JM
30501 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
30502 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
30503
348363b2
JM
30504 * sysdeps/unix/sysv/linux/kernel-features.h
30505 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
30506 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
30507 unconditional.
30508 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30509 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
30510 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30511 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30512 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
30513 Make code unconditional.
30514 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30515 (__mmap64) [!__NR_mmap2]: Likewise.
30516 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
30517 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30518 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30519 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
30520 [__NR_mmap2]: Make code unconditional.
30521 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30522 (__mmap64) [!__NR_mmap2]: Likewise.
30523
bc5bc0e5
AK
305242012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30525
30526 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
30527
88d506de
AJ
305282012-08-18 Andreas Jaeger <aj@suse.de>
30529
30530 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
30531
493387d2
MF
305322012-08-18 Mike Frysinger <vapier@gentoo.org>
30533
30534 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
30535 * include/unistd.h (__have_sock_cloexec): Likewise.
30536 (__have_pipe2): Likewise.
30537 (__have_dup3): Likewise.
30538
a277af22
MF
305392012-08-18 Mike Frysinger <vapier@gentoo.org>
30540
30541 [BZ #9685]
30542 * include/unistd.h (__have_pipe2): Change define into an extern int.
30543 (__have_dup3): Likewise.
30544 * socket/have_sock_cloexec.c: Include fcntl.h.
30545 (__have_pipe2): New variable.
30546 (__have_dup3): Likewise.
30547
fdab8fd3
MF
305482012-08-17 Mike Frysinger <vapier@gentoo.org>
30549
30550 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
30551
31035e80
MP
305522012-08-17 Marek Polacek <polacek@redhat.com>
30553
30554 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
30555 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
30556
3bd9e993
RM
305572012-08-17 Roland McGrath <roland@hack.frob.com>
30558
c91c505f
RM
30559 * configure.in: Add AC_SUBST for sysheaders.
30560 * configure: Regenerated.
30561 * config.make.in (sysheaders): New substituted variable.
30562
7c6f9d53
RM
30563 * sysdeps/unix/mkfifo.c: Moved ...
30564 * sysdeps/posix/mkfifo.c: ... here.
30565 * sysdeps/unix/mkfifoat.c: Moved ...
30566 * sysdeps/posix/mkfifoat.c: ... here.
30567
30568 * sysdeps/unix/utime.c: Moved ...
30569 * sysdeps/posix/utime.c: ... here.
30570
30571 * sysdeps/unix/time.c: Moved ...
30572 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
30573 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
30574 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
30575
30576 * sysdeps/unix/nice.c: Moved ...
30577 * sysdeps/posix/nice.c: ... here.
30578
30579 * sysdeps/unix/alarm.c: Moved ...
30580 * sysdeps/posix/alarm.c: ... here.
30581
3bd9e993
RM
30582 * intl/Makefile ($(codeset_mo)): Depend on the input file.
30583
d1f09384
JL
305842012-08-17 Jeff Law <law@redhat.com>
30585
30586 * intl/Makefile (codeset_mo): New variable.
30587 ($(codeset_mo)): New target.
30588 (tst-codeset.out): Depend on that. Remove explicit rule.
30589 (tst-gettext3.out, tst-gettext5.out): Likewise.
30590 (LOCPATH-ENV, tst-codeset-ENV): New variables.
30591 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
30592 * intl/tst-codeset.sh: Remove.
30593 * intl/tst-gettext3.sh: Likewise.
30594 * intl/tst-gettext5.sh: Likewise.
30595
2ae1ae5c
RM
305962012-08-17 Roland McGrath <roland@hack.frob.com>
30597
c31fdb83
RM
30598 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
30599 * sysdeps/unix/syscalls.list: ... here.
30600
a0844057
RM
30601 * sysdeps/posix/getaddrinfo.c
30602 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
30603 (gaiconf_init, gaiconf_reload): Use them.
30604 [!_STATBUF_ST_NSEC]
30605 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
30606 Define using time_t rather than struct timespec.
30607
750c1f2a
RM
30608 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
30609 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
30610 Macros removed.
30611 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
30612 [!NO_THREADS].
30613 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
30614 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
30615 Likewise.
30616
2ae1ae5c
RM
30617 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
30618 __libc_cleanup_push argument.
30619
e66a42f5
RM
30620 * bits/param.h: New file.
30621 * misc/sys/param.h: New file.
30622 * include/sys/param.h: New file.
30623 * misc/Makefile (headers): Add bits/param.h.
30624 * sysdeps/generic/sys/param.h: File removed.
30625 * sysdeps/unix/sysv/linux/bits/param.h: New file.
30626 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
30627 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 30628 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 30629
b7c08a66
RM
30630 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
30631 last change.
30632
b2e1c562
RM
30633 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
30634 [_IO_MTSAFE_IO].
30635 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
30636 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
30637 New macros.
30638
c75ccd4c
RM
30639 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
30640 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
30641 rather than -D_IO_MTSAFE_IO conditionally.
30642 * stdio-common/Makefile (CPPFLAGS): Likewise.
30643 * wcsmbs/Makefile (CPPFLAGS): Likewise.
30644 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
30645 Use $(libio-mtsafe).
30646 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
30647 of -D_IO_MTSAFE_IO.
30648 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
30649 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
30650 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
30651 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
30652 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
30653 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
30654 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
30655 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
30656 (CFLAGS-fread_u_chk.c): Likewise.
30657 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
30658 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
30659 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
30660 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
30661 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
30662 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
30663 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
30664 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
30665 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
30666
30667 * libio/Makefile: Test [$(libc-reentrant) = yes]
30668 instead of [$(filter %REENTRANT, $(defines)) nonempty].
30669
30670 * Makeconfig
30671 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
30672 * sysdeps/pthread/configure: File removed.
30673 * sysdeps/pthread/Makeconfig: New file.
30674 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
30675 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
30676
d9195db8
GB
306772012-08-16 Gary Benson <gbenson@redhat.com>
30678
30679 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
30680 unmapping the first object in a namespace.
30681
86466cd9
RM
306822012-08-16 Roland McGrath <roland@hack.frob.com>
30683
30684 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
30685 (__internal_setnetgrent): ... this. Add internal_function to
30686 definition. Add libc_hidden_def.
30687 (setnetgrent): Update caller.
30688 (internal_endnetgrent): Renamed to ...
30689 (__internal_endnetgrent): ... this. Add internal_function to
30690 definition. Add libc_hidden_def.
30691 (endnetgrent): Update caller.
30692 (internal_getnetgrent_r): Renamed to ...
30693 (__internal_getnetgrent_r): ... this. Add internal_function to
30694 definition. Add libc_hidden_def.
30695 (__getnetgrent_r): Update caller.
30696 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
30697
c3c8283c
JM
306982012-08-16 Joseph Myers <joseph@codesourcery.com>
30699
30700 * stdlib/longlong.h: Update from GCC.
30701
db1ee0a8
RM
307022012-08-16 Roland McGrath <roland@hack.frob.com>
30703
30704 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
30705 on _QL, which is set by umul_ppmm but never used.
30706 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
30707 variables, which are set by GMP macros but never used.
30708 * stdio-common/_itowa.c (_itowa): Likewise.
30709 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
30710 * stdlib/mod_1.c (mpn_mod_1): Likewise.
30711
30f69637
CD
307122012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
30713
30714 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
30715 struct La_sh_regs is not constant.
30716 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
30717 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
30718 and struct La_sparc64_regs are not constant.
30719
93a78ac4
JM
307202012-08-16 Joseph Myers <joseph@codesourcery.com>
30721
30722 * sysdeps/unix/sysv/linux/kernel-features.h
30723 (__ASSUME_POSIX_TIMERS): Remove.
30724 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30725 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30726 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
30727 Make code unconditional.
30728 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30729 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
30730 Make code unconditional.
30731 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30732 * sysdeps/unix/sysv/linux/clock_nanosleep.c
30733 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
30734 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30735 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
30736 Make code unconditional.
30737 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30738 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
30739 (__libc_missing_posix_timers): Remove.
30740
dd924cd7
RM
307412012-08-15 Roland McGrath <roland@hack.frob.com>
30742
4b4f2771
RM
30743 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
30744 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
30745
601c888b
RM
30746 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
30747
176790a7
RM
30748 * elf/dl-sym.c: Include <stdlib.h>.
30749
329bc018
RM
30750 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
30751 constants, which avoids warnings in 32-bit builds.
30752
e04e272d
RM
30753 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
30754 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
30755
952bf94a
RM
30756 * misc/lseek.c: File moved to ...
30757 * io/lseek.c: ... here.
30758
7c99b50a
RM
30759 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
30760
dd924cd7
RM
30761 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
30762 shifting LEN more than 31 bits at once.
30763
b3f479a8
LD
307642012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30765
30766 [BZ #14195]
8c4ae0d4
RM
30767 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
30768 segmentation fault for a case of two empty input strings.
b3f479a8
LD
30769 * string/test-strncasecmp.c (check1): Renamed to...
30770 (bz12205): ...this.
30771 (bz14195): Add new testcase for two empty input strings and N > 0.
30772 (test_main): Call new testcase, adapt for renamed function.
30773
9c55864e
AJ
307742012-08-15 Andreas Jaeger <aj@suse.de>
30775
30776 [BZ #14090]
30777 * crypt/md5test2.c: New test, based on test supplied by Serge
30778 Belyshev <belyshev@depni.sinp.msu.ru>.
30779 * crypt/Makefile (xtests): Add md5test-giant..
30780 * crypt/Makefile ($(objpfx)md5test-giant): Add.
30781
02dcb6c5
PE
307822012-08-15 Paul Eggert <eggert@cs.ucla.edu>
30783
30784 [BZ #14090]
30785 * crypt/md5.c (md5_process_block): Don't assume the buffer
30786 length is less than 2**32.
30787 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
30788 length is less than 2**64.
30789
a3f95dcc
RM
307902012-08-15 Roland McGrath <roland@hack.frob.com>
30791
be75d758
RM
30792 * string/str-two-way.h: Include <sys/param.h>.
30793 (MAX): Macro removed.
30794
7312ca90
RM
30795 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
30796 Move #define and #undef of memmove to just before and after
30797 including <string.h>.
30798
9a0a5486
RM
30799 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
30800 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
30801 and after including <string.h>. Move declarations of
30802 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
30803 to before #include "string/memmove.c".
30804
67cc348d
RM
30805 * include/dirent.h: Declare __getdirentries.
30806
a3f95dcc
RM
30807 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
30808 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
30809
ca98e171
MF
308102012-08-14 Mike Frysinger <vapier@gentoo.org>
30811
30812 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
30813 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
30814 * sysdeps/i386/configure: Regenerated.
30815 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
30816 STABS_CURRENT_FILE, and STABS_FUN.
30817 (END): Remove call to STABS_FUN_END.
30818 (STABS_CURRENT_FILE1): Delete.
30819 (STABS_CURRENT_FILE): Likewise.
30820 (STABS_FUN): Likewise.
30821 (STABS_FUN_END): Likewise.
30822 (STABS_FUN2): Likewise.
30823 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
30824 * sysdeps/x86_64/configure: Regenerated.
30825
5908bf46
RM
308262012-08-14 Roland McGrath <roland@hack.frob.com>
30827
30828 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 30829 * elf/dl-lookup.c: Likewise.
5908bf46 30830
f2c05b9e
JM
308312012-08-14 Joseph Myers <joseph@codesourcery.com>
30832
30833 * sysdeps/unix/sysv/linux/kernel-features.h
30834 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
30835 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
30836 unconditionally.
30837 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
30838 unconditionally.
30839 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
30840 condition on __ASSUME_CLONE_THREAD_FLAGS.
30841
e11f5155
AJ
308422012-08-14 Andreas Jaeger <aj@suse.de>
30843
30844 * sysdeps/i386/fpu/libm-test-ulps: Update.
30845
51a9ba86
MK
308462012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
30847
2fdd4f78
AJ
30848 * include/atomic.h (atomic_exchange_and_add): Split into ...
30849 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
30850 New atomic macros.
51a9ba86 30851
ba6cba9e
MT
308522012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
30853
30854 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30855
42443a47
JL
308562012-08-13 Jeff Law <law@redhat.com>
30857
30858 * manual/stdio.texi (snprintf): Clarify handling of the trailing
30859 null byte in the output string.
30860
121dce05
JM
308612012-08-10 Joseph Myers <joseph@codesourcery.com>
30862
30863 * sysdeps/unix/sysv/linux/kernel-features.h
30864 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
30865 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
30866 (__ASSUME_ARG_MAX_STACK_BASED): Define.
30867 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
30868 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
30869 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
30870 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
30871
bf51f568
JL
308722012-08-09 Jeff Law <law@redhat.com>
30873
30874 [BZ #13939]
30875 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
30876 When avoid_arena is set, don't retry in the that arena. Pick the
30877 next one, whatever it might be.
30878 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
30879 (arena_lock): Pass in new parameter to arena_get2.
30880 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
30881 arena_get2.
30882 (__libc_malloc): Unify retrying after main arena failure with
30883 __libc_memalign version.
30884 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
30885
f85fa270
L
308862012-08-09 H.J. Lu <hongjiu.lu@intel.com>
30887
30888 [BZ #14166]
30889 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
30890 to __redirect_strstr.
30891 (__strstr_sse42): Use typeof __redirect_strstr.
30892 (__strstr_ia32): Likewise.
30893 (__libc_strstr): New prototype.
30894 (strstr): Renamed to ...
30895 (__libc_strstr): This.
30896 (strstr): New strong alias of __libc_strstr.
30897 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30898 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
30899 __redirect_time.
30900 Include <time.h>.
30901 (__libc_time): New prototype.
30902 (time_ifunc): Replace time with __libc_time.
30903 (time): New strong alias and hidden definition of __libc_time.
30904 (__GI_time): Remove strong alias.
30905 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
30906 Include <stddef.h>.
30907 (memmove): Redefined to __redirect_memmove.
30908 (__memmove_sse2): Use typeof __redirect_memmove.
30909 (__memmove_ssse3): Likewise.
30910 (__memmove_ssse3_back): Likewise.
30911 (__libc_memmove): New prototype.
30912 (memmove): Renamed to ...
30913 (__libc_memmove): This.
30914 (memmove): New strong alias of __libc_memmove.
30915
33b4a91e
MS
309162012-08-08 Mark Salter <msalter@redhat.com>
30917
30918 * elf/elf.h
30919 (R_MN10300_TLS_GD): Define.
30920 (R_MN10300_TLS_LD): Likewise.
30921 (R_MN10300_TLS_LDO): Likewise.
30922 (R_MN10300_TLS_GOTIE): Likewise.
30923 (R_MN10300_TLS_IE): Likewise.
30924 (R_MN10300_TLS_LE): Likewise.
30925 (R_MN10300_TLS_DTPMOD): Likewise.
30926 (R_MN10300_TLS_DTPOFF): Likewise.
30927 (R_MN10300_TLS_TPOFF): Likewise.
30928 (R_MN10300_SYM_DIFF): Likewise.
30929 (R_MN10300_ALIGN): Likewise.
30930 (R_MN10300_NUM): Update.
30931
b36137f1
JM
309322012-08-08 Joseph Myers <joseph@codesourcery.com>
30933
30934 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
30935 Remove.
30936
cdd915fd
RM
309372012-08-08 Roland McGrath <roland@hack.frob.com>
30938
a2433aac
RM
30939 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
30940
cdd915fd
RM
30941 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
30942 sysdeps/unix -> sysdeps/posix move.
30943 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30944
bf9b740a
AM
309452012-08-07 Allan McRae <allan@archlinux.org>
30946
30947 [BZ #14303]
30948 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
30949 (SUNOS_CPP): Likewise.
30950 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
30951 not found.
30952 (open_input): Call CPP using execvp.
30953
93df14ee
JM
309542012-08-07 Joseph Myers <joseph@codesourcery.com>
30955
30956 * sysdeps/unix/sysv/linux/kernel-features.h
30957 (__ASSUME_PROT_GROWSUPDOWN): Remove.
30958 (__ASSUME_NO_CLONE_DETACHED): Likewise.
30959 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30960 (__ASSUME_WAITID_SYSCALL): Likewise.
30961 * sysdeps/unix/sysv/linux/dl-execstack.c
30962 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
30963 code unconditional.
30964 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
30965 conditional code.
30966 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
30967 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
30968 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
30969 code.
30970 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
30971 unconditional.
30972 [__ASSUME_WAITID_SYSCALL]: Likewise.
30973 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
30974
d34689de
RM
309752012-08-07 Roland McGrath <roland@hack.frob.com>
30976
a281decc
RM
30977 * sysdeps/unix/closedir.c: Renamed to ...
30978 * sysdeps/posix/closedir.c: ... here.
30979 * sysdeps/unix/dirfd.c: Renamed to ...
30980 * sysdeps/posix/dirfd.c: ... here.
30981 * sysdeps/unix/dirstream.h: Renamed to ...
30982 * sysdeps/posix/dirstream.h: ... here.
30983 * sysdeps/unix/fdopendir.c: Renamed to ...
30984 * sysdeps/posix/fdopendir.c: ... here.
30985 * sysdeps/unix/opendir.c: Renamed to ...
30986 * sysdeps/posix/opendir.c: ... here.
30987 * sysdeps/unix/readdir.c: Renamed to ...
30988 * sysdeps/posix/readdir.c: ... here.
30989 * sysdeps/unix/readdir_r.c: Renamed to ...
30990 * sysdeps/posix/readdir_r.c: ... here.
30991 * sysdeps/unix/rewinddir.c: Renamed to ...
30992 * sysdeps/posix/rewinddir.c: ... here.
30993 * sysdeps/unix/seekdir.c: Renamed to ...
30994 * sysdeps/posix/seekdir.c: ... here.
30995 * sysdeps/unix/telldir.c: Renamed to ...
30996 * sysdeps/posix/telldir.c: ... here.
30997 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
30998 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
30999 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31000 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
31001
22895b47
RM
31002 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
31003 * bits/fcntl.h: ... here.
31004
707a53b6
RM
31005 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
31006 not 0.
31007 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
31008 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
31009 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
31010 (struct flock): Move l_start, l_len to the beginning.
31011 Use __pid_t for l_pid.
31012 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
31013 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
31014 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
31015 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
31016 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
31017 [__USE_LARGEFILE64] (struct flock64): New type.
31018 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
31019
f0bd3e25
RM
31020 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
31021 * bits/dirent.h: ... here.
31022
d34689de
RM
31023 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
31024 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
31025
6dad2c06
JM
310262012-08-07 Joseph Myers <joseph@codesourcery.com>
31027
31028 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31029 Change from 2.6.0 to 2.6.16.
31030 * sysdeps/unix/sysv/linux/configure: Regenerated.
31031 * sysdeps/unix/sysv/linux/kernel-features.h
31032 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
31033 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
31034 version.
31035 (__ASSUME_UTIMES): Likewise.
31036 (__ASSUME_CLONE_STOPPED): Remove.
31037 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
31038 architectures, not kernel version.
31039 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
31040 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31041 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31042 (__ASSUME_WAITID_SYSCALL): Likewise.
31043 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
31044 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
31045 * README: State 2.6.16 as minimum Linux kernel version. Do not
31046 refer to older versions.
31047
03af9520
RM
310482012-08-06 Roland McGrath <roland@hack.frob.com>
31049
8e49df1d
RM
31050 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
31051 Define alphasort64 as an alias.
31052 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
31053 Define versionsort64 as an alias.
31054 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
31055 Define scandir64 as an alias.
31056 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
31057 Define scandirat64 as an alias.
31058 * dirent/alphasort64.c (alphasort64):
31059 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
31060 * dirent/versionsort64.c: Likewise.
31061 * dirent/scandir64.c: Likewise.
31062 * dirent/scandirat64.c: Likewise.
31063 * sysdeps/wordsize-64/alphasort.c: File removed.
31064 * sysdeps/wordsize-64/alphasort64.c: File removed.
31065 * sysdeps/wordsize-64/scandir.c: File removed.
31066 * sysdeps/wordsize-64/scandir64.c: File removed.
31067 * sysdeps/wordsize-64/scandirat.c: File removed.
31068 * sysdeps/wordsize-64/scandirat64.c: File removed.
31069 * sysdeps/wordsize-64/versionsort.c: File removed.
31070 * sysdeps/wordsize-64/versionsort64.c: File removed.
31071 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
31072 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
31073 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
31074 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
31075 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
31076 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
31077 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
31078 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
31079
31080 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
31081 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31082 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
31083 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31084 [defined __arch64__ || defined __sparcv9]
31085 (__INO_T_MATCHES_INO64_T): New macro.
31086 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31087 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
31088 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
31089 * sysdeps/unix/sysv/linux/bits/dirent.h
31090 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
31091 (_DIRENT_MATCHES_DIRENT64): New macro.
31092
03af9520
RM
31093 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
31094 Define lockf64 as an alias.
31095 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
31096 Define fseeko64 as an alias.
31097 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
31098 Define ftello64 as an alias.
31099 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
31100 Define _IO_fgetpos64 and fgetpos64 as aliases.
31101 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
31102 Define _IO_fsetpos64 and fsetpos64 as aliases.
31103 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
31104 Conditionalize body on this.
31105 * libio/fseeko64.c: Likewise.
31106 * libio/ftello64.c: Likewise.
31107 * libio/iofgetpos64.c: Likewise.
31108 * libio/iofsetpos64.c: Likewise.
31109 * sysdeps/wordsize-64/lockf.c: File removed.
31110 * sysdeps/wordsize-64/lockf64.c: File removed.
31111 * sysdeps/wordsize-64/fseeko.c: File removed.
31112 * sysdeps/wordsize-64/fseeko64.c: File removed.
31113 * sysdeps/wordsize-64/ftello.c: File removed.
31114 * sysdeps/wordsize-64/ftello64.c: File removed.
31115 * sysdeps/wordsize-64/iofgetpos.c: File removed.
31116 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
31117 * sysdeps/wordsize-64/iofsetpos.c: File removed.
31118 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
31119 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
31120 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
31121 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
31122 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
31123 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
31124 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
31125 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
31126 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
31127 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
31128 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
31129
31130 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31131 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31132 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
31133 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31134 [defined __arch64__ || defined __sparcv9]
31135 (__OFF_T_MATCHES_OFF64_T): New macro.
31136 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31137 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31138 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31139 (__OFF_T_MATCHES_OFF64_T): New macro.
31140
c5757acd
L
311412012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31142
31143 * stdlib/secure-getenv.c (__secure_getenv): Replace
31144 GLIBC_2_16 with GLIBC_2_17.
31145
3a31811e
L
311462012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31147
31148 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
31149 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31150
faa2bccb
DM
311512012-08-03 David S. Miller <davem@davemloft.net>
31152
31153 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31154
85fe1997
JM
311552012-08-03 Joseph Myers <joseph@codesourcery.com>
31156
31157 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
31158 Remove.
31159 (__ASSUME_CORRECT_SI_PID): Likewise.
31160 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
31161 (__ASSUME_TMPFS_NAME): Likewise.
31162 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
31163 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
31164 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
31165 (HAVE_AUX_SECURE): Make definition unconditional.
31166 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
31167 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
31168
4f75b7a0
RM
311692012-08-03 Roland McGrath <roland@hack.frob.com>
31170
31171 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
31172 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
31173 * sysdeps/mach/hurd/eloop-threshold.h: New file.
31174 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31175 __eloop_threshold instead of SYMLOOP_MAX.
31176
31177 * sysdeps/generic/eloop-threshold.h: New file.
31178 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
31179 of MAXSYMLINKS.
31180 * elf/chroot_canon.c (chroot_canon): Likewise.
31181
7aab07e4
JM
311822012-08-03 Joseph Myers <joseph@codesourcery.com>
31183
31184 [BZ #13717]
31185 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31186 Change to 2.6.0 everywhere.
31187 * sysdeps/unix/sysv/linux/configure: Regenerated.
31188 * sysdeps/unix/sysv/linux/kernel-features.h
31189 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
31190 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
31191 kernel versions.
31192 (__ASSUME_POSIX_TIMERS): Define unconditionally.
31193 (__ASSUME_FUTEX_REQUEUE): Remove.
31194 (__ASSUME_STATFS64): Define unconditionally.
31195 (__ASSUME_AT_SECURE): Likewise.
31196 (__ASSUME_CORRECT_SI_PID): Likewise.
31197 (__ASSUME_TGKILL): Define without depending on kernel version for
31198 i386.
31199 (__ASSUME_UTIMES): Likewise.
31200 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
31201 kernel version.
31202 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
31203 (__ASSUME_TMPFS_NAME): Likewise.
31204 * README: Update reference to Linux kernel versions.
31205
b67e9372
MP
312062012-08-02 Marek Polacek <polacek@redhat.com>
31207
1f529f7d 31208 [BZ# 14150]
b67e9372
MP
31209 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
31210 libc_cv_asm_type_prefix with %.
31211 * configure: Regenerated.
d2441631
RM
31212 * include/libc-symbols.h: Remove comment about
31213 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
31214 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
31215 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
31216 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
31217 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
31218 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31219 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
31220 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
31221 * elf/tst-unique2mod1.c: Likewise.
31222 * elf/tst-unique1mod2.c: Likewise.
31223 * elf/tst-unique1mod1.c: Likewise.
31224 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
31225 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
31226 Replace ASM_TYPE_DIRECTIVE with .type.
31227 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31228 * sysdeps/i386/sysdep.h: Likewise.
31229 * sysdeps/x86_64/sysdep.h: Likewise.
31230 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
31231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31232 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 31233 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
31234 * sysdeps/powerpc/powerpc32/sysdep.h:
31235 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
31236 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31237 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31238 * sysdeps/i386/fpu/e_powf.S: Likewise.
31239 * sysdeps/i386/fpu/e_expl.S: Likewise.
31240 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31241 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31242 * sysdeps/i386/fpu/e_pow.S: Likewise.
31243 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31244 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31245 * sysdeps/i386/fpu/s_expm1.S: Likewise.
31246 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31247 * sysdeps/i386/fpu/e_log2.S: Likewise.
31248 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31249 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31250 * sysdeps/i386/fpu/e_powl.S: Likewise.
31251 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31252 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31253 * sysdeps/i386/fpu/e_logl.S: Likewise.
31254 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31255 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31256 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31257 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31258 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31259 * sysdeps/i386/fpu/e_log.S: Likewise.
31260 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31261 * sysdeps/i386/fpu/e_logf.S: Likewise.
31262 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31263 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31264 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31265 * sysdeps/i386/fpu/e_log10.S: Likewise.
31266 * sysdeps/i386/fpu/s_frexp.S: Likewise.
31267 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31268 * sysdeps/i386/fpu/s_asinh.S: Likewise.
31269 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31270 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31271 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
31272 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31273 * sysdeps/i386/i686/strtok.S: Likewise.
31274 * sysdeps/i386/i386-mcount.S: Likewise.
31275 * sysdeps/i386/strtok.S: Likewise.
31276 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
31277 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31278 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31279 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31280 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
31281 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31282 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31283 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31284 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31285 * sysdeps/x86_64/_mcount.S: Likewise.
31286 * sysdeps/x86_64/strtok.S: Likewise.
31287 * sysdeps/sh/_mcount.S: Likewise.
31288
2747bf9a
RM
312892012-08-01 Roland McGrath <roland@hack.frob.com>
31290
31291 * libio/iofopen.c: Include <fcntl.h>.
31292 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
31293 (_IO_fopen64, fopen64): Define as aliases.
31294 * libio/iofopen64.c: Include <fcntl.h>.
31295 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
31296 Conditionalize body on this.
31297 * sysdeps/wordsize-64/iofopen.c: File removed.
31298 * sysdeps/wordsize-64/iofopen64.c: File removed.
31299
3fb791b8
MP
313002012-08-01 Marek Polacek <polacek@redhat.com>
31301
31302 * libc/Makeconfig: Use elf in place of binfmt-subdir.
31303 Use dlfcn directly instead of a variable.
31304 (binfmt-subdir): Do not define.
31305 (dlfcn): Likewise.
31306
a9f1039f
JM
313072012-08-01 Joseph Myers <joseph@codesourcery.com>
31308
23bddc06
JM
31309 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
31310 Remove all definitions.
31311 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
31312 <kernel-features.h>.
31313 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31314 (miss_F_GETOWN_EX): Remove all definitions.
31315 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
31316 macro definition.
31317 [!__ASSUME_FCNTL64]: Remove conditional code.
31318 [__ASSUME_FCNTL64]: Make code unconditional.
31319 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
31320 <kernel-features.h>.
31321 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31322 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
31323 (lockf64) [__NR_fcntl64]: Make code unconditional.
31324 (lockf64) [__ASSUME_FCNTL64]: Likewise.
31325
a9f1039f
JM
31326 * sysdeps/unix/sysv/linux/kernel-features.h
31327 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
31328 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
31329 Make code unconditional.
31330 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31331 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
31333 [__NR_vfork]: Make code unconditional.
31334 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31335 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
31337 [__NR_vfork]: Make code unconditional.
31338 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31339 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31340
09c0ee5f
RM
313412012-08-01 Roland McGrath <roland@hack.frob.com>
31342
48aec5b9
RM
31343 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
31344 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
31345
cd97c966
RM
31346 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31347 Define mkstemp64 as an alias.
3f55550c
RM
31348 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31349 Define mkstemps64 as an alias.
cd97c966
RM
31350 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31351 Define mkostemp64 as an alias.
b8625cfc
RM
31352 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31353 Define mkostemps64 as an alias.
cd97c966
RM
31354 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
31355 Conditionalize body on this.
31356 * misc/mkostemp64.c: Likewise.
b8625cfc 31357 * misc/mkostemps64.c: Likewise.
3f55550c 31358 * misc/mkstemps64.c: Likewise.
cd97c966
RM
31359 * sysdeps/wordsize-64/mkstemp64.c: File removed.
31360 * sysdeps/wordsize-64/mkostemp64.c: File removed.
31361 * sysdeps/wordsize-64/mkostemp.c: File removed.
31362 * sysdeps/wordsize-64/mkstemp.c: File removed.
31363 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
31364 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
31365 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
31366 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
31367
09c0ee5f
RM
31368 [BZ #14138]
31369 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
31370 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
31371 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
31372 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
31373
31374 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
31375 compat_symbol macros from <shlib-compat.h> rather than the underlying
31376 default_symbol_version and symbol_version macros, so that DEFAULT
31377 lines in shlib-versions are respected.
31378 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
31379
7e66ee51
FW
313802012-08-01 Florian Weimer <fweimer@redhat.com>
31381
31382 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
31383 Declare with warn_unused_result.
31384 (setgid, setregid, setegid, setresgid): Likewise.
31385 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
31386 Likewise.
31387 * WUR-REPORT: Remove set*id functions.
31388
d2a54255
PT
313892012-07-31 Pino Toscano <toscano.pino@tiscali.it>
31390
31391 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
31392
7ecdb005
RM
313932012-07-31 Roland McGrath <roland@hack.frob.com>
31394
b4180a5e 31395 [BZ #10191]
789bd351
RM
31396 * include/sys/socket.h (__libc_accept, __libc_accept4):
31397 Add attribute_hidden.
31398 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
31399
40ce302d
RM
31400 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
31401 use of PTR_MANGLE.
31402 * inet/getnetgrent_r.c (setup): Likewise.
31403
7ecdb005
RM
31404 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
31405
e2eabb2c
DM
314062012-07-31 David S. Miller <davem@davemloft.net>
31407
31408 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31409
d0419dbf
JM
314102012-07-31 Joseph Myers <joseph@codesourcery.com>
31411
31412 [BZ #13629]
31413 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
31414 value between 1.0 and 2.0 and smaller part has absolute value less
31415 than 1.0.
31416 * math/s_clog10.c (__clog10): Likewise.
31417 * math/s_clog10f.c (__clog10f): Likewise.
31418 * math/s_clog10l.c (__clog10l): Likewise.
31419 * math/s_clogf.c (__clogf): Likewise.
31420 * math/s_clogl.c (__clogl): Likewise.
31421 * math/libm-test.inc (clog_test): Add more tests.
31422 (clog10_test): Likewise.
31423 * sysdeps/i386/fpu/libm-test-ulps: Update.
31424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31425
2bc13872
FW
314262012-07-31 Florian Weimer <fweimer@redhat.com>
31427
31428 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
31429 Exit with zero in case no suitable GID is found, and write a
31430 message to standard error.
31431
bea9b193
RM
314322012-07-30 Roland McGrath <roland@hack.frob.com>
31433
31434 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
31435 rather than to 1.
31436 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
31437 (MAXPATHLEN): Removed.
31438 (NOGROUP, NODEV): New macros.
31439 (setbit, clrbit, isset, isclr): New macros.
31440 (howmany, roundup, powerof2): New macros.
31441 (DEV_BSIZE): New macro.
31442
31443 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
31444 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
31445
31446 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
31447 definition on [!__NO_LONG_DOUBLE_MATH].
31448
31449 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
31450 PTR_MANGLE and PTR_DEMANGLE.
31451
31452 * socket/accept4.c (accept4): Rename to __libc_accept4.
31453 Define accept4 as a weak alias.
31454
31455 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
31456 on [_DIRENT_HAVE_D_TYPE].
31457 * io/ftw.c (ftw_dir): Likewise.
31458
31459 * io/xmknod.c (__xmknod): Don't check PATH for being null.
31460
31461 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
31462
31463 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
31464 Use the BSD numbers rather than the arbitrary ones we had.
31465 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
31466 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
31467 (SIGXCPU, SIGXFSZ): New macros.
31468 (_NSIG): Now 32.
31469
31470 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
31471 initializer on [_LIBC_REENTRANT].
31472
31473 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
31474 definitions inside [_POSIX_MAPPED_FILES].
31475
31476 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
31477
31478 * dirent/opendir.c: Include <fcntl.h>.
31479
31480 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
31481 (__libc_getspecific): Likewise.
31482 (__libc_key_create): Likewise.
31483
31484 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
31485 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
31486 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
31487 (tmpfile64): Define as alias.
31488 * sysdeps/wordsize-64/tmpfile.c: File removed.
31489 * sysdeps/wordsize-64/tmpfile64.c: File removed.
31490 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
31491 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
31492
31493 * stdio-common/vfscanf.c: Include <stdbool.h>.
31494 * nss/makedb.c: Likewise.
31495 * stdio-common/_i18n_number.h: Likewise.
31496 * argp/argp-help.c: Likewise.
31497 * posix/wordexp.c: Likewise.
31498 * sysdeps/posix/spawni.c: Likewise.
31499 * nss/nss_files/files-initgroups.c: Likewise.
31500 * stdio-common/reg-modifier.c: Include <stdlib.h>.
31501 * nss/nss_files/files-initgroups.c: Likewise.
31502 * nss/nss_db/db-netgrp.c: Likewise.
31503 * nss/nss_db/db-initgroups.c: Likewise.
31504 * io/fchmodat.c: Include <sys/stat.h>.
31505
31506 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
31507 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
31508
31509 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
31510 [HAVE_MMAP].
31511
31512 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
31513 Add multiple inclusion protection.
31514
e5abc686
DM
315152012-07-27 David S. Miller <davem@davemloft.net>
31516
31517 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31518
815e6fa3
GB
315192012-07-27 Gary Benson <gbenson@redhat.com>
31520
31521 [BZ #14298]
31522 * elf/rtld.c: Include <stap-probe.h>.
31523 (dl_main): Added static probes "init_start" and "init_complete".
31524 * elf/dl-load.c: Include <stap-probe.h>.
31525 (lose): Take new parameter "nsid".
31526 Added static probe "map_failed".
31527 (_dl_map_object_from_fd): Pass namespace id to lose.
31528 Added static probe "map_start".
31529 (open_verify): Pass namespace id to lose.
31530 * elf/dl-open.c: Include <stap-probe.h>.
31531 (dl_open_worker) Added static probes "map_complete", "reloc_start"
31532 and "reloc_complete".
31533 * elf/dl-close.c: Include <stap-probe.h>.
31534 (_dl_close_worker): Added static probes "unmap_start" and
31535 "unmap_complete".
31536 * elf/rtld-debugger-interface.txt: New file documenting the above.
31537
9f98c16c
RM
315382012-07-26 Roland McGrath <roland@hack.frob.com>
31539
31540 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
31541 rather than a string variable.
31542 * sunrpc/rpc_main.c (h_output): Likewise.
31543 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
31544
f3c22df3
PT
315452012-07-26 Pino Toscano <toscano.pino@tiscali.it>
31546
31547 * inet/check_native.c: New file.
31548
3129cfc6
JM
315492012-07-26 Joseph Myers <joseph@codesourcery.com>
31550
da865e95
JM
31551 [BZ #13629]
31552 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
31553 if larger part has absolute value 1.0.
31554 * math/s_clog10.c (__clog10): Likewise.
31555 * math/s_clog10f.c (__clog10f): Likewise.
31556 * math/s_clog10l.c (__clog10l): Likewise.
31557 * math/s_clogf.c (__clogf): Likewise.
31558 * math/s_clogl.c (__clogl): Likewise.
31559 * math/libm-test.inc (clog_test): Add more tests.
31560 (clog10_test): Likewise.
31561 * sysdeps/i386/fpu/libm-test-ulps: Update.
31562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31563
3129cfc6
JM
31564 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
31565 (pltexit): Likewise.
31566 (La_regs): Likewise.
31567 (La_retval): Likewise.
31568 (int_retval): Likewise.
31569 Update #error for removed macros to refer only to definitions in
31570 tst-audit.h.
31571 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
31572 macro.
31573 (pltexit): Likewise.
31574 (La_regs): Likewise.
31575 (La_retval): Likewise.
31576 (int_retval): Likewise.
31577 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
31578 macro.
31579 (pltexit): Likewise.
31580 (La_regs): Likewise.
31581 (La_retval): Likewise.
31582 (int_retval): Likewise.
31583 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
31584 macro.
31585 (pltexit): Likewise.
31586 (La_regs): Likewise.
31587 (La_retval): Likewise.
31588 (int_retval): Likewise.
31589 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
31590 macro.
31591 (pltexit): Likewise.
31592 (La_regs): Likewise.
31593 (La_retval): Likewise.
31594 (int_retval): Likewise.
31595 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
31596 macro.
31597 (pltexit): Likewise.
31598 (La_regs): Likewise.
31599 (La_retval): Likewise.
31600 (int_retval): Likewise.
31601 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
31602 macro.
31603 (pltexit): Likewise.
31604 (La_regs): Likewise.
31605 (La_retval): Likewise.
31606 (int_retval): Likewise.
31607 * sysdeps/generic/tst-audit.h: Update comment to refer only to
31608 macro definitions in tst-audit.h.
31609 * sysdeps/i386/tst-audit.h: New file.
31610 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
31611 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
31612 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
31613 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
31614 * sysdeps/sh/tst-audit.h: Likewise.
31615 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
31616 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
31617 * sysdeps/x86_64/tst-audit.h: Likewise.
31618
bfc07087
AJ
316192012-07-26 Andreas Jaeger <aj@suse.de>
31620
b1b2aaf8
AJ
31621 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
31622 ptrace.
31623
31624 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
31625 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
31626 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
31627 PTRACE_O_MASK.
31628 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
31629 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
31630 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
31631
bfc07087
AJ
31632 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
31633 value.
31634
31635 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
31636 _sigsys.
31637 (si_call_addr, si_syscall, si_arch): Define new macro.
31638 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
31639 _sigsys.
31640 (si_call_addr, si_syscall, si_arch): Define new marcro.
31641 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
31642 _sigsys.
31643 (si_call_addr, si_syscall, si_arch): Define new macro.
31644 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
31645 _sigsys.
31646 (si_call_addr, si_syscall, si_arch): Define new macro.
31647
89b4b02f
JM
316482012-07-25 Joseph Myers <joseph@codesourcery.com>
31649
31650 [BZ #13717]
31651 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31652 Change to 2.4.21 where previously 2.4.1.
31653 * sysdeps/unix/sysv/linux/configure: Regenerated.
31654 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
31655 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
31656 Linux kernel version.
31657 (__ASSUME_STD_AUXV): Remove.
31658 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
31659 kernel version.
31660 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
31661 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
31662 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
31663 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
31664 (__ASSUME_NETLINK_SUPPORT): Likewise.
31665 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
31666 (__no_netlink_support): Remove conditional definition.
31667 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
31668 Remove.
31669 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31670 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
31671 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
31672 (if_nameindex_ioctl): Remove.
31673 (if_nameindex_netlink): Do not handle __no_netlink_support.
31674 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31675 code.
31676 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
31677 Remove conditional code.
31678 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31679 code.
31680 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
31681 unconditional.
31682 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31683 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
31684 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
31685 Remove.
31686 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
31687 [!__ASSUME_STD_AUXV]: Remove conditional code.
31688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
31689 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
31690 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
31691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
31692 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
31693 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31694 code.
31695 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31697 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
31698 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31699 conditional code.
31700 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31702 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31703 code.
31704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31705 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31706 conditional code.
31707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
31708 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31709 code unconditional.
31710 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31711 conditional code.
31712 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31713 unconditional.
31714 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31715 conditional code.
31716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31717 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31718 unconditional.
31719 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31720 conditional code.
31721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
31722 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31723 code unconditional.
31724 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31725 conditional code.
31726 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31727 unconditional.
31728 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31729 conditional code.
31730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
31731 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31732 code unconditional.
31733 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31734 conditional code.
31735 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31736 unconditional.
31737 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31738 conditional code.
31739
842a39cd
AS
317402012-07-25 Andreas Schwab <schwab@linux-m68k.org>
31741
31742 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
31743 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
31744 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
31745 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
31746 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
31747 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
31748 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
31749 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
31750 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
31751 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
31752 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
31753 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
31754 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
31755 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31756 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
31757 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
31758 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
31759 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
31760 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
31761 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
31762 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
31763 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
31764 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31765
84b3fd84
FW
317662012-07-25 Florian Weimer <fweimer@redhat.com>
31767
31768 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
31769 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
31770 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
31771 Introduce __libc_secure_getenv.
0c7936d5
FW
31772 * stdlib/Versions (2.17): Add secure_getenv
31773 (GLIBC_PRIVATE): Add __libc_secure_getenv.
31774 * stdlib/secure-getenv.c: Rename __secure_getenv to
31775 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
31776 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
31777 * stdlib/tst-secure-getenv.c: New.
31778 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
31779 * manual/startup.texi (Environment Access): Document
31780 secure_getenv.
84b3fd84
FW
31781 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
31782 __libc_secure_getenv.
31783 * inet/ruserpass.c (ruserpass): Likewise.
31784 * malloc/mtrace.c (mtrace): Likewise.
31785 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 31786 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
31787 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
31788 * sysdeps/posix/tempname.c: Likewise. Evaluate
31789 HAVE_SECURE_GETENV.
31790 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 31791 __secure_getenv to __libc_secure_getenv.
84b3fd84 31792 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
31793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31794 Likewise.
31795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31796 Likewise.
31797 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31798 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31799 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31800 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31801 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31802 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31803 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 31804
56e49b71
JM
318052012-07-25 Joseph Myers <joseph@codesourcery.com>
31806
31807 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
31808 (struct La_i86_retval): Likewise.
31809 (struct La_x86_64_regs): Likewise.
31810 (struct La_x86_64_retval): Likewise.
31811 (struct La_x32_regs): Likewise.
31812 (struct La_x32_retval): Likewise.
31813 (struct La_ppc32_regs): Likewise.
31814 (struct La_ppc32_retval): Likewise.
31815 (struct La_ppc64_regs): Likewise.
31816 (struct La_ppc64_retval): Likewise.
31817 (struct La_sh_regs): Likewise.
31818 (struct La_sh_retval): Likewise.
31819 (struct La_s390_32_regs): Likewise.
31820 (struct La_s390_32_retval): Likewise.
31821 (struct La_s390_64_regs): Likewise.
31822 (struct La_s390_64_retval): Likewise.
31823 (struct La_sparc32_regs): Likewise.
31824 (struct La_sparc32_retval): Likewise.
31825 (struct La_sparc64_regs): Likewise.
31826 (struct La_sparc64_retval): Likewise.
31827 (struct audit_ifaces): Remove architecture-specific pltenter and
31828 pltexit members.
31829 * sysdeps/i386/ldsodefs.h: New file.
31830 * sysdeps/powerpc/ldsodefs.h: Likewise.
31831 * sysdeps/s390/ldsodefs.h: Likewise.
31832 * sysdeps/sh/ldsodefs.h: Likewise.
31833 * sysdeps/sparc/ldsodefs.h: Likewise.
31834 * sysdeps/x86_64/ldsodefs.h: Likewise.
31835
354691b7
MP
318362012-07-25 Marek Polacek <polacek@redhat.com>
31837
31838 [BZ #6808]
31839 * math/libm-test.inc (yn_test): Add another test.
31840 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
31841 to ERANGE when the result is +-Inf.
31842 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
31843 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31844 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
31845 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
31846
bf9e2071
JM
318472012-07-24 Joseph Myers <joseph@codesourcery.com>
31848
31849 * conform/data/time.h-data (NULL): Use macro-constant. Require
31850 equal to 0.
31851 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
31852 clock_t.
31853 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
31854
57633811
TS
318552012-07-23 Thomas Schwinge <thomas@codesourcery.com>
31856
31857 * configure.in <sysdeps resolving>: Correct printing
31858 Implies_before.
31859 * configure: Regenerate.
31860
c23c33b0
TS
318612012-07-22 Thomas Schwinge <thomas@codesourcery.com>
31862
31863 * math/w_ilogb.c: Include <limits.h>.
31864 * math/w_ilogbl.c: Likewise.
31865
b5982523
JM
318662012-07-20 Joseph Myers <joseph@codesourcery.com>
31867
31868 * manual/lang.texi (__va_copy): Document primarily as ISO C99
31869 va_copy. Document allowing for unavailable va_copy only as
31870 pre-C99 compatibility.
31871 * manual/string.texi (Copying and Concatenation): Use va_copy
31872 instead of __va_copy in concat example.
31873
ac4ea442
PT
318742012-07-20 Pino Toscano <toscano.pino@tiscali.it>
31875
31876 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
31877 (__sendto): Use create_address_port. Initialize APORT and deallocate
31878 it if not null.
31879
f98eafbd
PT
31880 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
31881 with O_NOLINK passed to __file_name_lookup.
31882
898c7aab
PT
31883 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
31884 with O_NOLINK passed to __file_name_lookup.
31885
0ced335a
PT
31886 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
31887 negative N or less than NGIDS.
31888
b3404dbd
PT
31889 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
31890 type to string_t. Set ERANGE as errno and return it if NAME is not big
31891 enough. Use memcpy instead of strncpy.
31892
0f48659e
JM
318932012-07-20 Joseph Myers <joseph@codesourcery.com>
31894
31895 * elf/Makefile (check-data): Remove.
31896 (localplt.data): New vpath directive.
31897 ($(objpfx)check-localplt.out): Use localplt.data from vpath
31898 instead of $(check-data).
31899 * scripts/data/localplt-generic.data: Move to ...
31900 * sysdeps/generic/localplt.data: ... here.
31901 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
31902 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
31903 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
31904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
31905 ... here.
31906 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
31907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
31908 ... here.
31909 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
31910 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
31911 ... here.
31912 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
31913 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
31914 ... here.
31915 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
31916 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
31917 ... here.
31918 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
31919 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
31920 ... here.
31921
d37cbdaa
AZ
319222012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31923
31924 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
31925 PPC32 and PPC64 files.
31926 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
31927 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
31928
46f85fc2
AK
319292012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31930
31931 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
31932 __makecontext_ret to ...
31933 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
31934 ... here and call exit if uc_link is NULL. New file.
31935 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
31936 __makecontext_ret.S.
31937 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
31938 __makecontext_ret to ...
31939 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
31940 ... here and call exit if uc_link is NULL. New file.
31941 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
31942 __makecontext_ret.S.
31943
08f43f9b
AK
319442012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31945
31946 * elf/elf.h (R_390_IRELATIVE): New definition.
31947 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
31948 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
31949 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
31950 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31951 (elf_machine_lazy_rel): Likewise.
31952 * sysdeps/s390/dl-irel.h: New file.
31953 * sysdeps/s390/s390-64/memcpy.S: New asm code.
31954 * sysdeps/s390/s390-64/memset.S: New asm code.
31955 * sysdeps/s390/s390-64/memcmp.S: New asm code.
31956 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
31957 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
31958 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
31959 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
31960 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
31961 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
31962 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
31963 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
31964 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
31965 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
31966 * sysdeps/s390/s390-32/memcpy.S: New asm code.
31967 * sysdeps/s390/s390-32/memset.S: New asm code.
31968 * sysdeps/s390/s390-32/memcmp.S: New asm code.
31969
3b05db33
MP
319702012-07-17 Marek Polacek <polacek@redhat.com>
31971
31972 [BZ #14349]
31973 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
31974 * sysdeps/s390/s390-64/configure.in: Likewise.
31975 * sysdeps/sparc/configure.in: Likewise.
31976 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
31977 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
31978 * sysdeps/i386/configure.in: Likewise.
31979 * sysdeps/x86_64/configure.in: Likewise.
31980 * sysdeps/sh/configure.in: Likewise.
31981 * sysdeps/s390/s390-32/configure: Regenerated.
31982 * sysdeps/s390/s390-64/configure: Likewise.
31983 * sysdeps/x86_64/configure: Likewise.
31984 * sysdeps/sh/configure: Likewise.
31985 * sysdeps/powerpc/powerpc64/configure: Likewise.
31986 * sysdeps/powerpc/powerpc32/configure: Likewise.
31987 * sysdeps/sparc/configure: Likwise.
31988 * sysdeps/i386/configure: Likewise.
31989
a66877c6
MP
31990 * elf/dl-open.c: Comment fixes.
31991
cfc82fd8
JM
319922012-07-17 Joseph Myers <joseph@codesourcery.com>
31993
bd29910a
JM
31994 * Makefile [CXX] (check-data): Remove.
31995 [CXX] (c++-types.data): New vpath directive.
31996 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
31997 vpath. Do not allow for C++ type data being missing.
31998 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
31999 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
32000 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
32001 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
32002 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
32003 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
32004 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
32005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32006 ... here.
32007 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
32008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32009 ... here.
32010 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
32011 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
32012 ... here.
32013 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
32014 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
32015 ... here.
32016 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
32017 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
32018 ... here.
32019 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
32020 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
32021 ... here.
32022 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
32023 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
32024 ... here.
32025 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
32026 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
32027
cfc82fd8
JM
32028 * elf/tls-macros.h (TLS_LE): Move architecture-specific
32029 definitions to architecture-specific files.
32030 (TLS_IE): Likewise.
32031 (TLS_LD): Likewise.
32032 (TLS_GD): Likewise.
32033 * sysdeps/i386/tls-macros.h: New file.
32034 * sysdeps/powerpc/tls-macros.h: Likewise.
32035 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
32036 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
32037 * sysdeps/sh/tls-macros.h: Likewise.
32038 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
32039 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
32040 * sysdeps/x86_64/tls-macros.h: Likewise.
32041
f7db3170
TS
320422012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32043
07cbfc23
TS
32044 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
32045 zero value for regular exit case.
32046
f7db3170
TS
32047 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
32048 (__start_context): Preserve zero value for regular exit case.
32049
dc97c227
TS
320502012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32051 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32052
32053 * manual/setjmp.texi (setcontext): Clarify normal process
32054 termination when uc_link is the null pointer.
32055 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
32056 exit call.
32057
d0cd7d02
AS
320582012-07-16 Andreas Schwab <schwab@linux-m68k.org>
32059
32060 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
32061 preprocessor. Test for each exception mask separately.
32062
dd318934
AJ
320632012-07-16 Andreas Jaeger <aj@suse.de>
32064
32065 * po/ru.po: Update from translation team.
32066
8048311a
JM
320672012-07-15 Joseph Myers <joseph@codesourcery.com>
32068
32069 * conform/data/string.h-data (NULL): Use macro-constant. Require
32070 equal to 0.
32071 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32072 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32073 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
32074 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
32075 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32076
b637d46e
AJ
320772012-07-13 Andreas Jaeger <aj@suse.de>
32078
32079 * po/fr.po: Update from translation team.
32080
541428fe
MP
320812012-07-12 Marek Polacek <polacek@redhat.com>
32082
32083 [BZ #14173]
32084 * math/libm-test.inc (yn_test): Add test for BZ #14173.
32085 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
32086 loop condition.
32087
ec332e94
JM
320882012-07-12 Joseph Myers <joseph@codesourcery.com>
32089
32090 [BZ #13717]
32091 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32092 Change to 2.4.1 where previously 2.4.0.
32093 * sysdeps/unix/sysv/linux/configure: Regenerated.
32094 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
32095 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
32096 version.
32097 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
32098 (__ASSUME_AT_CLKTCK): Remove.
32099 (__ASSUME_AT_PAGESIZE): Likewise.
32100 (__ASSUME_AT_XID): Likewise.
32101 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
32102 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
32103 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
32104 unconditionally.
32105 (HAVE_AUX_PAGESIZE): Likewise.
32106 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
32107 [__ASSUME_AT_CLKTCK]: Make code unconditional.
32108 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
32109
7b6e99be
JB
321102012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
32111
32112 [BZ #14307]
32113 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
32114 the temporary buffer used to invoke __gethostbyname2_r,
32115 __gethostbyaddr_r and gethostbyname4_r to make room for struct
32116 host_data / struct gaih_addrtuple.
32117 * resolv/nss_dns/dns-host.c (global scope): Move definition of
32118 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
32119 header file nss/nsswitch.h.
32120 * nss/nsswitch.h (global scope): Add definition of implementation
32121 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
32122 resolv/nss_dns/dns-host.c).
32123
608404eb
AJ
321242012-07-11 Andreas Jaeger <aj@suse.de>
32125
32126 * po/fr.po: Update from translation team.
32127
71220aca
AJ
32128 * po/sv.po: Update from translation team
32129 * po/fr.po: Another update from translation team.
32130
28cfe843
AZ
321312012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32132
32133 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
32134 for subnormals or multiply small sinh result by itself.
32135 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32136 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32137
6b90f981
DM
321382012-07-11 David S. Miller <davem@davemloft.net>
32139
32140 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32141
c6825772
AS
321422012-07-10 Andreas Schwab <schwab@linux-m68k.org>
32143
32144 [BZ #14347]
32145 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
32146 (INTERNAL_MARK): Shift it here.
32147
7b8e0d49
MP
321482012-07-10 Marek Polacek <polacek@redhat.com>
32149
32150 [BZ #14151]
32151 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
32152 libc_cv_asm_global_directive with .globl.
32153 * configure: Regenerated.
32154 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
32155 with .globl.
32156 * sysdeps/i386/configure: Regenerated.
32157 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
32158 with .globl.
32159 * sysdeps/x86_64/configure: Regenerated.
32160 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
32161 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
32162 * elf/tst-unique2mod2.c: Likewise.
32163 * elf/tst-unique2mod1.c: Likewise.
32164 * elf/tst-unique1mod2.c: Likewise.
32165 * elf/tst-unique1mod1.c: Likewise.
32166 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32167 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32168 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32169 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32170 * sysdeps/mach/sysdep.h: Likewise.
32171 * sysdeps/i386/sysdep.h: Likewise.
32172 * sysdeps/i386/i386-mcount.S: Likewise.
32173 * sysdeps/x86_64/_mcount.S: Likewise.
32174 * sysdeps/x86_64/sysdep.h: Likewise.
32175 * sysdeps/sh/_mcount.S: Likewise.
32176 * sysdeps/sh/sysdep.h: Likewise.
32177 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
32178 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
32179 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
32180 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32181 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
32182 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
32183 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
32184 * locale/localeinfo.h: Likewise.
32185 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
32186 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
32187
6c55cda3
RM
321882012-07-09 Roland McGrath <roland@hack.frob.com>
32189
32190 [BZ #14336]
32191 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
32192 system".
32193 * manual/message.texi (The Uniforum approach): Likewise.
32194 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
32195 (glibc iconv Implementation): Likewise.
32196
638a572e
JM
321972012-07-09 Joseph Myers <joseph@codesourcery.com>
32198
32199 [BZ #14337]
32200 * math/s_clog.c (__clog): Avoid scaling a value down where that
32201 could result in underflow.
32202 * math/s_clog10.c (__clog10): Likewise.
32203 * math/s_clog10f.c (__clog10f): Likewise.
32204 * math/s_clog10l.c (__clog10l): Likewise.
32205 * math/s_clogf.c (__clogf): Likewise.
32206 * math/s_clogl.c (__clogl): Likewise.
32207 * math/libm-test.inc (clog_test): Add more tests.
32208 (clog10_test): Likewise.
32209 * sysdeps/i386/fpu/libm-test-ulps: Update.
32210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32211
261f4859
AS
322122012-07-06 Andreas Schwab <schwab@linux-m68k.org>
32213
0abaf3e4
AS
32214 [BZ #14283]
32215 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
32216 by 7 not 8 to examine high bit of fractional part.
32217
261f4859
AS
32218 [BZ #14042]
32219 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
32220 for call to __mcount_internal.
32221 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
32222 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
32223 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
32224
f17ac40d
JM
322252012-07-06 Joseph Myers <joseph@codesourcery.com>
32226
9ad63c23
JM
32227 [BZ #14154]
32228 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
32229 approximation for values within 0x1p-13f of an odd multiple of
32230 pi/4.
32231 * math/libm-test.inc (tan_test): Do not allow spurious underflow
32232 exception. Add more tests.
32233 * sysdeps/i386/fpu/libm-test-ulps: Update.
32234
f17ac40d
JM
32235 [BZ #6778]
32236 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
32237 inputs and return -1 for them. Do not check for +Inf in case not
32238 reachable for +Inf.
32239 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
32240 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
32241 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32242 and return -1 for them. Do not check for +Inf in case not
32243 reachable for +Inf.
32244 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
32245 define.
32246 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32247 and return -1 for them. Do not check for +Inf in case not
32248 reachable for +Inf.
32249 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
32250 spurious underflow.
32251 * sysdeps/i386/fpu/libm-test-ulps: Update.
32252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32253
fb21f89b
MF
322542012-07-06 Mike Frysinger <vapier@gentoo.org>
32255
32256 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
32257
cdfe2c5e
JM
322582012-07-05 Joseph Myers <joseph@codesourcery.com>
32259
32260 [BZ #14157]
32261 [BZ #14331]
32262 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
32263 could result in spurious underflow. Scale down values above
32264 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
32265 * math/s_csqrtf.c (__csqrtf): Likewise.
32266 * math/s_csqrtl.c (__csqrtl): Likewise.
32267 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
32268 spurious underflow.
32269 * sysdeps/i386/fpu/libm-test-ulps: Update.
32270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32271
70d35b67
AS
322722012-07-04 Andreas Schwab <schwab@linux-m68k.org>
32273
704bc459
AS
32274 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
32275 xopen-msg.sed.
32276 * catgets/xopen-msg.awk: New file.
32277 * catgets/xopen-msg.sed: Removed.
32278
70d35b67
AS
32279 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
32280 po2text.sed.
32281 * intl/po2test.awk: New file.
32282 * intl/po2test.sed: Removed.
32283
ca61cf32
JM
322842012-07-04 Joseph Myers <joseph@codesourcery.com>
32285
32286 [BZ #14328]
32287 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
32288 or multiply small sinh result by itself.
32289 * math/s_ctanf.c (__ctanf): Likewise.
32290 * math/s_ctanh.c (__ctanh): Likewise.
32291 * math/s_ctanhf.c (__ctanhf): Likewise.
32292 * math/s_ctanhl.c (__ctanhl): Likewise.
32293 * math/s_ctanl.c (__ctanl): Likewise.
32294 * math/libm-test.inc (ctan_test_tonearest): New function.
32295 (ctan_test_towardzero): Likewise.
32296 (ctan_test_downward): Likewise.
32297 (ctan_test_upward): Likewise.
32298 (ctanh_test_tonearest): Likewise.
32299 (ctanh_test_towardzero): Likewise.
32300 (ctanh_test_downward): Likewise.
32301 (ctanh_test_upward): Likewise.
32302 (main): Call these new functions.
32303 * sysdeps/i386/fpu/libm-test-ulps: Update.
32304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32305
ca48a46a
MF
323062012-07-03 Mike Frysinger <vapier@gentoo.org>
32307
32308 * .gitignore: Delete /ports entry.
32309
9d63d37d
AJ
323102012-07-03 Andreas Jaeger <aj@suse.de>
32311
32312 * po/bg.po: Update from translation team.
32313 * po/cs.po: Likewise.
32314 * po/de.po: Likewise.
32315 * po/hr.po: Likewise.
32316 * po/nl.pl: Likewise.
32317 * po/pl.po: Likewise.
32318 * po/vi.po: Likewise.
32319
370ca3d2
JM
323202012-07-03 Joseph Myers <joseph@codesourcery.com>
32321
95f5a9a8
JM
32322 * Makeconfig [!+link] (+link-before-libc): New variable.
32323 [!+link] (+link-after-libc): Likewise.
32324 [!+link] (+link-tests): Likewise.
32325 [!+link] (+link): Define in terms of $(+link-before-libc) and
32326 $(+link-after-libc).
32327 [!+link-static] (+link-static-before-libc): New variable.
32328 [!+link-static] (+link-static-after-libc): Likewise.
32329 [!+link-static] (+link-static-tests): Likewise.
32330 [!+link-static] (+link-static): Define in terms of
32331 $(+link-static-before-libc) and $(+link-static-after-libc).
32332 [build-shared] (link-libc-before-gnulib): New variable.
32333 [build-shared] (link-libc-tests): Likewise.
32334 [build-shared] (link-libc): Define in terms of
32335 $(link-libc-before-gnulib).
32336 [!build-shared] (link-libc-tests): New variable.
32337 (link-libc-static-tests): New variable.
32338 [!gnulib] (gnulib-arch): New variable.
32339 [!gnulib] (gnulib-tests): Likewise.
32340 [!gnulib] (static-gnulib-arch): Likewise.
32341 [!gnulib] (static-gnulib-tests): Likewise.
32342 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
32343 Define with "=" instead of ":=".
32344 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
32345 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
32346 * Rules (binaries-all-notests): New variable.
32347 (binaries-all-tests): Likewise.
32348 (binaries-static-notests): Likewise.
32349 (binaries-static-tests): Likewise.
32350 (binaries-all): Define using $(binaries-all-notests) and
32351 $(binaries-all-tests).
32352 (binaries-static): Define using $(binaries-static-notests) and
32353 $(binaries-static-tests).
32354 (binaries-shared-tests): New variable.
32355 (binaries-shared-notests): Likewise.
32356 (binaries-shared): Remove variable.
32357 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
32358 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
32359 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
32360 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
32361 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
32362 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
32363 * elf/Makefile (sln-modules): New variable.
32364 (extra-objs): Add $(sln-modules:=.o).
32365 (ldconfig-modules): Add static-stubs.
32366 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
32367 * elf/static-stubs.c: New file.
32368
7a845b2c
JM
32369 [BZ #14283]
32370 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
32371 by 7 not 8 to examine high bit of fractional part. Use volatile
32372 variables when splitting into final array of floats if
32373 __FLT_EVAL_METHOD__ != 0.
32374 * math/libm-test.inc (cos_test): Add another test.
32375 (sin_test): Likewise.
32376 * sysdeps/i386/fpu/libm-test-ulps: Update.
32377
e2283f38
JM
32378 [BZ #14273]
32379 * math/libm-test.inc (cosh_test): Add more tests.
32380
370ca3d2
JM
32381 * version.h (RELEASE): Set to "development".
32382 (VERSION): Set to "2.16.90".
32383
ee9247c3
CD
323842012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
32385
32386 * NEWS: Update copyright. Remove last-updated date.
32387 Mention math library bug fixes and timezone data changes.
32388 * README: Mention GNU/Hurd, x32, and HPPA support status.
32389
4648c381
TS
323902012-06-28 Thomas Schwinge <thomas@codesourcery.com>
32391
32392 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
32393
aac78a43
AJ
323942012-06-27 Andreas Jaeger <aj@suse.de>
32395
32396 * manual/contrib.texi (Contributors): Add Samuel Thibault.
32397
ed3dbfad
AJ
323982012-06-25 Andreas Jaeger <aj@suse.de>
32399
32400 * sysdeps/s390/fpu/libm-test-ulps: Update.
32401
4d0ee855
AS
324022012-06-23 Andreas Schwab <schwab@linux-m68k.org>
32403 Thomas Schwinge <thomas@codesourcery.com>
32404
32405 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
32406 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
32407 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
32408 fanotify_mark.
32409
af1bce34
TS
324102012-06-23 Thomas Schwinge <thomas@codesourcery.com>
32411
a9fa33ba
TS
32412 * sysdeps/mach/start.c: Remove file.
32413 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
32414 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
32415 * sysdeps/sh/init-first.c: Likewise.
32416
58f902b8
TS
32417 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
32418 registers for frame unwinding purposes, add CFI directives.
32419 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32420 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
32421 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
32422 Likewise.
32423
1518f58b
TS
32424 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
32425 __fortify_fail returning.
32426 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32427
db9b5059
TS
32428 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
32429 sysdeps/sh/____longjmp_chk.S.
32430 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
32431 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
32432 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
32433 (gen-as-const-headers): Append sigaltstack-offsets.sym.
32434
967705fe
TS
32435 * sysdeps/sh/abort-instr.h: New file.
32436 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
32437 process in case exit returns.
32438
a9def8c4
TS
32439 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
32440 initialize the GOT register before use.
32441
2a649725
TS
32442 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
32443 calculation of ARGC > 4.
32444
af1bce34
TS
32445 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
32446 meaningful names to some local labels.
32447
d230f50a
KK
324482012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32449 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32450
32451 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
32452 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
32453 (__arch_compare_and_exchange_val_16_acq): Likewise.
32454 (__arch_compare_and_exchange_val_32_acq): Likewise.
32455 (atomic_exchange_and_add): Fix gUSA sequence.
32456 (atomic_add): Likewise.
32457 (atomic_add_negative): Likewise.
32458 (atomic_add_zero): Likewise.
32459 (atomic_bit_test_set): Likewise.
32460
0479b305
AS
324612012-06-22 Andreas Schwab <schwab@redhat.com>
32462
32463 [BZ #13579]
32464 * include/link.h (struct link_map): Add l_free_initfini.
32465 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
32466 l_initfini.
32467 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
32468 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
32469 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
32470 set.
32471
0e3933b9
CD
324722012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
32473
32474 * configure.in: Use AC_LANG_SOURCE.
32475 * configure: Regenerate.
32476
4248b1b1
RM
324772012-06-22 Roland McGrath <roland@hack.frob.com>
32478
32479 * configure.in (libc_cv_localstatedir): New substituted variable.
32480 * configure: Regenerated.
32481 * config.make.in (localstatedir): New variable, substituted from
32482 libc_cv_localstatedir.
32483 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
32484 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
32485 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
32486 * sysdeps/gnu/configure: Regenerated.
32487
006dd861
JL
324882012-06-21 Jeff Law <law@redhat.com>
32489
32490 [BZ #14277]
32491 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
32492 free. Simplify list management for _LIBC case.
32493
79662d42
JM
324942012-06-21 Joseph Myers <joseph@codesourcery.com>
32495
b7abb4bf
JM
32496 [BZ #14273]
32497 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
32498 Clear sign bit of 64-bit integer value before comparing against
32499 overflow value.
32500
79662d42
JM
32501 * sysdeps/mach/configure: Regenerated.
32502
1f150908
L
325032012-06-21 H.J. Lu <hongjiu.lu@intel.com>
32504
32505 [BZ #14278]
32506 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
32507
28363bbf
JL
325082012-06-21 Jeff Law <law@redhat.com>
32509
32510 [BZ #13882]
32511 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
32512 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 32513 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
32514 * elf/dl-open.c (dl_open_worker): Likewise.
32515
09615db4
CD
325162012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
32517
32518 * scripts/list-sources.sh: Scan PORTS for translations.
32519 * po/libc.pot: Regenerated.
32520
2174c6dd
AJ
325212012-06-21 Andreas Jaeger <aj@suse.de>
32522
32523 [BZ #12194]
32524 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
32525 warning.
32526 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
32527 * bits/byteswap-16.h (__bswap_16): Likewise.
32528 * bits/byteswap.h (__bswap_constant_16): Likewise.
32529
3ee947b1
L
325302012-06-18 H.J. Lu <hongjiu.lu@intel.com>
32531
32532 [BZ #14117]
a2f34833
L
32533 * sysdeps/i386/fpu_control.h: Removed.
32534 * sysdeps/x86_64/fpu_control.h: Moved to ...
32535 * sysdeps/x86/fpu_control.h: Here.
32536
3ee947b1
L
32537 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
32538 (_FPU_SETCW): Likewise.
32539
ed1825f8
L
325402012-06-15 H.J. Lu <hongjiu.lu@intel.com>
32541
25f1282a
L
32542 [BZ #14117]
32543 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
32544 * sysdeps/x86/fpu/bits/mathinline.h: This.
32545 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
32546
ed1825f8
L
32547 [BZ #14050]
32548 [BZ #14117]
32549 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
32550 functions if __x86_64__ is defined.
32551
36d54b74
CLT
325522012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
32553
32554 * string/endian.h: Add !__ASSEMBLER__ condition for including
32555 conversion interfaces.
32556
10285c21
JM
325572012-06-15 Joseph Myers <joseph@codesourcery.com>
32558
32559 [BZ #14241]
32560 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
32561 of ABS(x) in calculating zero to negative powers other than odd
32562 integers.
32563 * math/libm-test.inc (pow_test): Add more tests.
32564
06c5abbd
AJ
325652012-06-15 Andreas Jaeger <aj@suse.de>
32566
32567 * manual/contrib.texi (Contributors): Update entry of Liubov
32568 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
32569 Machado Filho.
32570
a3aeac40
CH
325712012-06-15 Cyril Hrubis <metan@ucw.cz>
32572
32573 * string/string.h: Add __wur to GNU version of strerror_r.
32574
49bdf4c1
L
325752012-06-14 H.J. Lu <hongjiu.lu@intel.com>
32576
32577 [BZ #14229]
32578 * string/Makefile (tests): Add tst-strtok_r.
32579 * string/tst-strtok_r.c: New file.
32580 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
32581 RAX_LP/RDX_LP on SAVE_PTR.
32582
834f9b8d
RM
325832012-06-14 Roland McGrath <roland@hack.frob.com>
32584
32585 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
32586
75fa1921
JM
325872012-06-14 Joseph Myers <joseph@codesourcery.com>
32588
32589 * libm_test.inc (csqrt_test): Allow more spurious underflow
32590 exceptions.
32591 (j0_test): Likewise.
32592 (j1_test): Likewise.
32593 (y0_test): Likewise.
32594 (y1_test): Likewise.
32595
771766df
CD
325962012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
32597
32598 * po/Makefile (libc.pot): Use UTF-8 charset.
32599
ceb9e56b
PP
326002012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
32601
32602 [BZ #14210]
32603 Suppress sign-conversion warning from FD_SET.
32604 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
32605 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
32606 not unsigned long int.
32607 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
32608
ddb28975
L
326092012-06-12 H.J. Lu <hongjiu.lu@intel.com>
32610
32611 [BZ #14050]
32612 [BZ #14117]
32613 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
32614 __extern_always_inline instead of __extern_inline.
32615 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
32616 (__signbit): Likewise.
32617 (__signbitl): Support C++ namespace.
32618 (lrintf): New inline function.
32619 (lrint): Likewise.
32620 (llrintf): Likewise.
32621 (llrint): Likewise.
32622 (fmaxf): Likewise.
32623 (fmax): Likewise.
32624 (fminf): Likewise.
32625 (fmin): Likewise.
32626 (rint): Likewise.
32627 (rintf): Likewise.
32628 (ceil): Likewise.
32629 (ceilf): Likewise.
32630 (floor): Likewise.
32631 (floorf): Likewise.
32632 (nearbyint): Likewise.
32633 (nearbyintf): Likewise.
32634
d7b4fb26
TS
326352012-06-12 Thomas Schwinge <thomas@codesourcery.com>
32636
32637 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
32638 non-default versions.
32639
eb55f5c2
RM
326402012-06-11 Roland McGrath <roland@hack.frob.com>
32641
32642 [BZ #14218]
32643 * manual/argp.texi (Argp): Reword argp_parse description slightly.
32644
366af02c
TS
326452012-06-09 Thomas Schwinge <thomas@codesourcery.com>
32646
99ff6e5c
TS
32647 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
32648 (FE_UPWARD, FE_DOWNWARD): Don't define.
32649 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
32650 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32651
366af02c
TS
32652 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
32653 reading it.
32654 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32655 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32656
793ea851
KK
326572012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32658
32659 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32660 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
32661 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
32662 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
32663
a728a38f
L
326642012-06-06 H.J. Lu <hongjiu.lu@intel.com>
32665
32666 [BZ #14117]
c08010c7
L
32667 * sysdeps/i386/fpu/bits/fenv.h: Removed.
32668 * sysdeps/i386/fpu/Implies: New file.
32669 * sysdeps/x86_64/fpu/Implies: Likewise.
32670 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
32671 * sysdeps/x86/fpu/bits/fenv.h: This.
32672
a728a38f
L
32673 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
32674 __SSE_MATH__.
32675
6e230d11
SP
326762012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
32677
32678 [BZ #14134]
32679 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
32680 character 0xffff that matches the last element of the
32681 conversion table.
32682
1b671feb
AZ
326832012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32684
32685 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
32686 fmodl commit.
32687
6043738b
AZ
326882012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32689
32690 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
32691 values higher than 25.6283.
32692
34ae0b32
AZ
326932012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32694
32695 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
32696 subnormal exponent extraction and add some __builtin_expect.
32697 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
32698 Fix for subnormal mantissa calculation.
32699
1214ec8f
MF
327002012-06-04 Mike Frysinger <vapier@gentoo.org>
32701
32702 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
32703 cpu2 is -1 and errno is not ENOSYS.
32704
f3d1f93c
L
327052012-06-04 H.J. Lu <hongjiu.lu@intel.com>
32706
32707 [BZ #14117]
0e4a3cd7
L
32708 * sysdeps/i386/i486/bits/string.h: Renamed to ...
32709 * sysdeps/x86/bits/string.h: This.
32710 * sysdeps/x86_64/bits/string.h: Removed.
32711
6704c645
L
32712 * sysdeps/i386/i486/bits/string.h: Define inline functions only
32713 if not compiling for x86-64, but compiling for >= i486.
32714
48495318
L
32715 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
32716 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
32717
14adcbfc
L
32718 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
32719 New macro from Linux kernel 3.4.0.
32720 (FP_XSTATE_MAGIC2): Likewise.
32721 (FP_XSTATE_MAGIC2_SIZE): Likewise.
32722 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
32723 (struct _fpx_sw_bytes): New struct.
32724 (struct _xsave_hdr): Likewise.
32725 (struct _ymmh_state): Likewise.
32726 (struct _xstate): Likewise.
32727
68e408ab
L
32728 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
32729 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
32730 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
32731 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
32732 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
32733 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
32734
f3d1f93c
L
32735 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
32736 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
32737 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
32738 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
32739 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
32740 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
32741
d9dc34cd
TMQMF
327422012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32743
32744 [BZ #13743]
32745 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
32746 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
32747 (sysdep_headers): Include sys/platform/ppc.h.
32748 * sysdeps/powerpc/test-gettimebase.c: Test for
32749 __ppc_get_timebase() to catch future ISA opcode/insn changes.
32750 * manual/Makefile (appendices): Include platform.texi.
32751 * manual/contrib.texi (Contributors): Update @node pointers.
32752 * manual/maint.texi (Maintenance): Likewise.
32753 (Platform): New node.
32754 * manual/platform.texi: New file. Document the new features.
32755
4af3879c
SP
327562012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32757 Jakub Jelinek <jakub@redhat.com>
32758
32759 [BZ #14188]
32760 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
32761 where __builtin_expect is unavailable.
32762
2fd6ff13
DM
327632012-06-03 David S. Miller <davem@davemloft.net>
32764
32765 * stdlib/longlong.h: Updated from GCC.
32766
173f7220
AS
327672012-06-02 Andreas Schwab <schwab@linux-m68k.org>
32768
32769 [BZ #14042]
32770 * sysdeps/powerpc/powerpc32/mcount.c: New file.
32771 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
32772 __mcount_internal.
32773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32774 (GLIBC_2.16): Likewise.
32775
f34a1c6f
L
327762012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32777
32778 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
32779
88a4576f
JM
327802012-06-01 Joseph Myers <joseph@codesourcery.com>
32781
ea32bcdd
JM
32782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
32783 (default-abi): New variable.
32784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
32785 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
32786 variable.
32787 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
32788 Likewise.
32789 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
32790 Likewise.
32791 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
32792 Likewise.
32793
88a4576f
JM
32794 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
32795 definition. Document in comment.
32796
402fe938
DM
327972012-06-01 David S. Miller <davem@davemloft.net>
32798
32799 * stdlib/longlong.h: Updated from GCC.
32800
3553723f
L
328012012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32802
32803 [BZ #14117]
3bd872c4
L
32804 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
32805 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
32806 sys/debugreg.h sys/io.h here.
32807 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
32808 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
32809 sys/io.h.
32810 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
32811 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
32812 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
32813 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
32814 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
32815 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
32816
3553723f
L
32817 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
32818 Define only if __x86_64__ is defined.
32819
4842e4fe
JM
328202012-06-01 Joseph Myers <joseph@codesourcery.com>
32821
c5bfe3d5
JM
32822 [BZ #14048]
32823 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
32824 Use int64_t for variable i.
32825 * math/libm-test.inc (fmod_test): Add more tests.
32826
4842e4fe
JM
32827 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
32828 z computation is not scheduled after fetestexcept.
32829 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
32830 Use math_force_eval instead of asm to ensure calculation scheduled
32831 before exception test.
32832 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
32833 Ensure a1 + u.d computation is not scheduled after fetestexcept.
32834
efb73488
AJ
328352012-06-01 Aurelien Jarno <aurelien@aurel32.net>
32836
32837 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
32838 computation is not scheduled after fetestexcept.
32839
29bcce7c
L
328402012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32841
32842 [BZ #14117]
32843 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
32844 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
32845
73a68f94
AZ
328462012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32847
32848 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
32849 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32850
67b6df78
L
328512012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32852
edf2933a 32853 [BZ #14117]
ebc64a18
L
32854 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
32855 <bits/wordsize.h>.
32856 (__WCHAR_MIN): Support __WORDSIZE == 64.
32857 (__WCHAR_MAX): Likewise.
32858
edf2933a
L
32859 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
32860 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
32861
57c6cf40
L
32862 [BZ #14183]
32863 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
32864 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
32865
67b6df78 32866 [BZ #14117]
8eb6281e
L
32867 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
32868 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
32869
aac639f4
L
32870 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
32871 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
32872
67b6df78
L
32873 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
32874 Defined to 1 if __x86_64__ isn't defined.
32875 (_STAT_VER_LINUX_OLD): New.
32876 (st_atime): Remove duplicate.
32877 (st_mtime): Likewise.
32878 (st_ctime): Likewise.
32879
1c2cfe81
DM
328802012-05-31 David S. Miller <davem@davemloft.net>
32881
32882 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
32883 entries.
32884
5be8418c
AS
328852012-06-01 Andreas Schwab <schwab@linux-m68k.org>
32886
e7725326
AS
32887 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
32888 gen-libm-test.pl.
32889
5be8418c
AS
32890 [BZ #14132]
32891 * elf/dl-reloc.c: Include <_itoa.h>.
32892 (_dl_reloc_bad_type): Remove use of INTUSE.
32893 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
32894 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
32895 * stdio-common/psiginfo.c (psiginfo): Likewise.
32896 * stdio-common/psignal.c (psignal): Likewise.
32897 * string/strsignal.c (strsignal): Likewise.
32898 * include/signal.h (_sys_siglist): Declare hidden proto.
32899 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
32900 INTVARDEF with libc_hidden_data_def.
32901 * stdio-common/itoa-udigits.c: Likewise.
32902 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
32903 (_itoa_lower_digits_internal): Remove declaration.
32904 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
32905 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
32906 (_sys_sigabbrev_internal): Remove aliases.
32907 (_sys_siglist): Define hidden alias.
32908
507352f1
MT
329092012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
32910
32911 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32912 bits/sysctl.h.
32913
42bbb1c3
L
329142012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32915
32916 [BZ #14117]
6bd784b6
L
32917 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
32918 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
32919
8bca20f0
L
32920 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
32921 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
32922 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
32923 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
32924 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
32925 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
32926
f9e890a9
L
32927 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
32928 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
32929 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
32930
471101a1
L
32931 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
32932 with __addr.
32933 (insw): Likewise.
32934 (insl): Likewise.
32935 (outsb): Likewise.
32936 (outsw): Likewise.
32937 (outsl): Likewise.
32938
6451c862
L
32939 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
32940 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
32941 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
32942
a254b8c9
L
32943 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
32944 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
32945 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
32946 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
32947 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
32948 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
32949
b8dfdd92
L
32950 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
32951 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
32952
578cd270
L
32953 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
32954 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
32955
de662f5f
L
32956 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
32957 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
32958 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
32959
25653439
L
32960 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
32961 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
32962 to ...
32963 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
32964
6bad24a0
L
32965 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
32966 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
32967 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
32968
42bbb1c3
L
32969 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
32970 for x86-64.
32971 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
32972
2d10d547
JM
329732012-05-31 Joseph Myers <joseph@codesourcery.com>
32974
32975 * math/math.h (M_El): Use two more decimal places.
32976 (M_LOG2El): Likewise.
32977 (M_LOG10El): Likewise.
32978 (M_LN2l): Likewise.
32979 (M_LN10l): Likewise.
32980 (M_PIl): Likewise.
32981 (M_PI_2l): Likewise.
32982 (M_PI_4l): Likewise.
32983 (M_1_PIl): Likewise.
32984 (M_2_PIl): Likewise.
32985 (M_2_SQRTPIl): Likewise.
32986 (M_SQRT2l): Likewise.
32987 (M_SQRT1_2l): Likewise.
32988
f230c29b
DM
329892012-05-31 David S. Miller <davem@davemloft.net>
32990
32991 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
32992 values between float registers.
32993 * sysdeps/sparc/sparc64/memset.S: Likewise.
32994 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32995
fed806c3
MF
329962012-05-31 Mike Frysinger <vapier@gentoo.org>
32997
32998 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
32999 -D_FORTIFY_SOURCE=1.
33000 (CPPFLAGS-tst-longjmp_chk.c): Define.
33001 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
33002 (CPPFLAGS-tst-longjmp_chk2.c): Define.
33003 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
33004 CFLAGS-tst-wchar-h.c.
33005
30917259
MP
330062012-05-31 Marek Polacek <polacek@redhat.com>
33007
33008 [BZ #14132]
33009 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
33010 __endmntent_internal): Remove declaration.
33011 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
33012 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
33013 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
33014
1c58d5dc
DM
330152012-05-30 David S. Miller <davem@davemloft.net>
33016
33017 * sysdeps/sparc/sparc32/soft-fp/q_util.c
33018 (___Q_simulate_exceptions): Use real FP ops rather than writing
33019 into the %fsr.
33020 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
33021 Likewise.
33022
7dc00e0d
L
330232012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33024
33025 [BZ #14117]
0bd53985
L
33026 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
33027 * sysdeps/x86/bits/xtitypes.h: This.
33028
3a257e66
L
33029 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
33030 * sysdeps/x86/bits/wordsize.h: This.
33031
62f62904
L
33032 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
33033 * sysdeps/x86/bits/huge_vall.h: This.
33034
404fe9d9
L
33035 * sysdeps/i386/bits/select.h: Removed.
33036 * sysdeps/x86_64/bits/select.h: Renamed to ...
33037 * sysdeps/x86/bits/select.h: This.
33038
d48d0446
L
33039 * sysdeps/i386/bits/setjmp.h: Removed.
33040 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
33041 * sysdeps/x86/bits/setjmp.h: This.
33042
7dc00e0d
L
33043 * sysdeps/i386/bits/mathdef.h: Removed.
33044 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
33045 * sysdeps/x86/bits/mathdef.h: This.
33046
03277f8f
AS
330472012-05-30 Andreas Schwab <schwab@linux-m68k.org>
33048
33049 [BZ #14132]
33050 * include/sys/socket.h (__connect_internal)
33051 (__libc_sa_len_internal): Remove declaration.
33052 (__connect, __libc_sa_len): Declare hidden_proto.
33053 (SA_LEN): Remove use of INTUSE.
33054 * socket/connect.c: Add libc_hidden_def.
33055 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
33056 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
33057 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
33058 alias.
33059 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33060 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
33061 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
33062 of adding _internal alias.
33063
13764867
L
330642012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33065
33066 [BZ #14117]
6bd97696
L
33067 * sysdeps/i386/bits/link.h: Removed.
33068 * sysdeps/i386/bits/linkmap.h: Likewise.
33069 * sysdeps/x86_64/bits/link.h: Renamed to ...
33070 * sysdeps/x86/bits/link.h: This.
33071 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
33072 * sysdeps/x86/bits/linkmap.h: This.
33073
f726f0bb
L
33074 * sysdeps/i386/bits/endian.h: Removed.
33075 * sysdeps/x86_64/bits/endian.h: Renamed to ...
33076 * sysdeps/x86/bits/endian.h: This.
33077
13764867
L
33078 * sysdeps/i386/bits/byteswap.h: Removed.
33079 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33080 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
33081 * sysdeps/x86/bits/byteswap.h: This.
33082 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
33083 * sysdeps/x86/bits/byteswap-16.h: This.
33084 * sysdeps/i386/Implies: Add x86.
33085 * sysdeps/x86_64/Implies: Likewise.
33086
ae251b0b
DM
330872012-05-30 David S. Miller <davem@davemloft.net>
33088
33089 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
33090 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
33091 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33092 (FP_TRAPPING_EXCEPTIONS): Define.
33093 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33094 (FP_TRAPPING_EXCEPTIONS): Define.
33095 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
33096 subnormals only when inexact has been signalled or underflow
33097 exceptions are enabled.
33098 (_FP_PACK_CANONICAL): Likewise.
33099
d5c90867
L
331002012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33101
33102 [BZ #14183]
33103 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
33104 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
33105
63f1549e
RH
331062012-05-30 Richard Henderson <rth@twiddle.net>
33107
8d8f2279
RH
33108 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
33109 with #ifndef NOT_IN_libc.
33110
63f1549e
RH
33111 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
33112 marked to avoid plt entry.
33113
0ab0291b
L
331142012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33115
33116 [BZ #14112]
33117 * Makeconfig (default-abi): New macro.
33118 (abi-includes): Likewise.
33119 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
33120 $(abi-$(default-abi)-lib-soname) for soname if defined.
33121 ($(common-objpfx)gnu/lib-names.stmp): Generate from
33122 abi-variants.
33123 * Makefile (installed-stubs): Likewise.
33124 * include/stubs-biarch.h: Removed.
33125 * scripts/lib-names.awk: Only handle one library at a time.
33126 * scripts/soversions.awk: Remove WORDSIZE support.
33127 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
33128 entries.
33129 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
33130 Removed.
33131 (syscall-list-default-condition): Likewise.
33132 (syscall-list-default-condition): Likewise.
33133 (syscall-list-includes): Likewise.
33134 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
33135 syscall-list-* with abi-*. Handle undefined abi-variants.
33136 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
33137 * sysdeps/unix/sysv/linux/i386/Implies: New file.
33138 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
33139 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
33140 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
33141 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
33142 Removed.
33143 (syscall-list-32-options): Likewise.
33144 (syscall-list-32-condition): Likewise.
33145 (syscall-list-64-options): Likewise.
33146 (syscall-list-64-condition): Likewise.
33147 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
33148 macro.
33149 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
33150 Renamed to ...
33151 (abi-*): This.
33152 (abi-64-ld-soname): New macro.
33153 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
33154 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
33155 Renamed to ...
33156 (abi-*): This.
33157 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
33158 * sysdeps/x86_64/x32/shlib-versions: Likewise.
33159
4da0431d
JM
331602012-05-30 Joseph Myers <joseph@codesourcery.com>
33161
3a85279c
JM
33162 * sysdeps/unix/sysv/linux/kernel-features.h
33163 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
33164 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
33165 include <kernel-features.h>.
33166 [!__NR_ftruncate64]: Remove conditional code.
33167 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33168 [__NR_ftruncate64]: Make code unconditional.
33169 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33170 * sysdeps/unix/sysv/linux/truncate64.c: Do not
33171 include <kernel-features.h>.
33172 [!__NR_ftruncate64]: Remove conditional code.
33173 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33174 [__NR_ftruncate64]: Make code unconditional.
33175 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
33177 include <kernel-features.h>.
33178 [!__NR_ftruncate64]: Remove conditional code.
33179 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33180 [__NR_ftruncate64]: Make code unconditional.
33181 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33183 include <kernel-features.h>.
33184 [!__NR_ftruncate64]: Remove conditional code.
33185 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33186 [__NR_ftruncate64]: Make code unconditional.
33187 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33188
4da0431d
JM
33189 * configure.in (libc_cv_fpie): Weaken to a compile test using
33190 LIBC_TRY_CC_OPTION.
33191 * configure: Regenerated.
33192
11ef492c
AK
331932012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33194
33195 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
33196 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
33197 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
33198 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33199 Refreshed.
33200 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
33201 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
33202 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
33203 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
33204 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
33205 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33206 Refreshed.
33207
d66ef399
DM
332082012-05-27 David S. Miller <davem@davemloft.net>
33209
33210 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
33211 (___Q_zero): New.
33212 (__Q_simulate_exceptions): Return void. Change to simulate
33213 exceptions by writing into the %fsr.
33214 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
33215 (__Qp_handle_exceptions): Likewise.
33216 (numbers): Delete.
33217 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
33218 __Qp_handle_exceptions.
33219 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
33220 __Qp_handle_exceptions.
33221 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33222 as unused and give dummy FP_RND_NEAREST initializer.
33223 (FP_INHIBIT_RESULTS): Define.
33224 (___Q_simulate_exceptions): Update declaration.
33225 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
33226 formatting.
33227 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33228 as unused and give dummy FP_RND_NEAREST initializer.
33229 (__Qp_handle_exceptions): Update declaration.
33230 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
33231 formatting.
33232
04fb54b5
TS
332332012-05-27 Thomas Schwinge <thomas@codesourcery.com>
33234
33235 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
33236 the temporary FPU control word.
33237 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33238 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
33239 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
33240 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33241 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33242 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
33243 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
33244 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33245 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33246 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
33247 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33248
3f99608f
KK
332492012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33250
33251 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
33252 fields.
33253
65a4de4e
CLT
332542012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
33255
33256 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
33257 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
33258 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
33259 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
33260 Likewise.
33261 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
33262 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
33263 Likewise.
33264
15749d40
UD
332652012-05-27 Ulrich Drepper <drepper@gmail.com>
33266
33267 * po/h.po: Update from translation team.
33268
25dbcb27
AS
332692012-05-26 Andreas Schwab <schwab@linux-m68k.org>
33270
3d3f8e55
AS
33271 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
33272
25dbcb27
AS
33273 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
33274 handling of denormals.
33275 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33276 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
33277 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33278 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33279 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33280 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
33281 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
33282 Likewise.
33283
7ad47a80 332842012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
33285
33286 [BZ #14152]
33287 * math/libm-test.inc (fma_test): Don't always expect underflow
33288 exception.
33289
9c6ea9fa
SP
332902012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33291
33292 [BZ #12416]
33293 * elf/tst-execstack.c: Include stackinfo.h.
33294 (do_test): Adjust test case to ensure that pthread_getattr_np
33295 behaviour remains the same after marking stack executable.
33296
a8239222
JM
332972012-05-25 Joseph Myers <joseph@codesourcery.com>
33298
33299 * sysdeps/unix/sysv/linux/kernel-features.h
33300 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
33301 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
33302 kernel-features.h.
33303 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33304 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33305 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
33306 kernel-features.h.
33307 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33308 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33309
918b5606
L
333102012-05-25 H.J. Lu <hongjiu.lu@intel.com>
33311
33312 * configure.in: Define the default includes to being none.
33313 * configure: Regenerated.
33314
3a097cc7
RM
333152012-05-25 Roland McGrath <roland@hack.frob.com>
33316
8422c9a5
RM
33317 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
33318 * sysdeps/x86_64/setjmp.S: Likewise.
33319 * sysdeps/i386/bsd-setjmp.S: Likewise.
33320 * sysdeps/i386/bsd-_setjmp.S: Likewise.
33321 * sysdeps/i386/setjmp.S: Likewise.
33322 * sysdeps/i386/__longjmp.S: Likewise.
33323 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33324 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
33325
3a097cc7
RM
33326 * include/stap-probe.h: New file.
33327 * configure.in: Handle --enable-systemtap.
33328 * configure: Regenerated.
33329 * config.h.in (USE_STAP_PROBE): New #undef.
33330 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
33331 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
33332 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33333
21708942
JM
333342012-05-25 Joseph Myers <joseph@codesourcery.com>
33335
33336 [BZ #13717]
33337 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33338 to 2.4.0 where earlier.
33339 * sysdeps/unix/sysv/linux/configure: Regenerated.
33340 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33341 <kernel-features.h>.
33342 [__ASSUME_32BITUIDS]: Make code unconditional.
33343 [!__ASSUME_32BITUIDS]: Remove conditional code.
33344 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
33345 <kernel-features.h>.
33346 [__ASSUME_32BITUIDS]: Make code unconditional.
33347 [!__ASSUME_32BITUIDS]: Remove conditional code.
33348 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
33349 [__ASSUME_32BITUIDS]: Make code unconditional.
33350 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
33351 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
33352 <kernel-features.h>.
33353 [__ASSUME_32BITUIDS]: Make code unconditional.
33354 [!__ASSUME_32BITUIDS]: Remove conditional code.
33355 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
33356 <kernel-features.h>.
33357 [__ASSUME_32BITUIDS]: Make code unconditional.
33358 [!__ASSUME_32BITUIDS]: Remove conditional code.
33359 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
33360 <kernel-features.h>.
33361 [__ASSUME_32BITUIDS]: Make code unconditional.
33362 [!__ASSUME_32BITUIDS]: Remove conditional code.
33363 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
33364 <kernel-features.h>.
33365 [__ASSUME_32BITUIDS]: Make code unconditional.
33366 [!__ASSUME_32BITUIDS]: Remove conditional code.
33367 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33368 <kernel-features.h>.
33369 [__ASSUME_32BITUIDS]: Make code unconditional.
33370 [!__ASSUME_32BITUIDS]: Remove conditional code.
33371 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33372 <kernel-features.h>.
33373 [__ASSUME_32BITUIDS]: Make code unconditional.
33374 [!__ASSUME_32BITUIDS]: Remove conditional code.
33375 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
33376 <kernel-features.h>.
33377 [__ASSUME_32BITUIDS]: Make code unconditional.
33378 [!__ASSUME_32BITUIDS]: Remove conditional code.
33379 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33380 <kernel-features.h>.
33381 [__ASSUME_32BITUIDS]: Make code unconditional.
33382 [!__ASSUME_32BITUIDS]: Remove conditional code.
33383 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33384 <kernel-features.h>.
33385 [__ASSUME_32BITUIDS]: Make code unconditional.
33386 [!__ASSUME_32BITUIDS]: Remove conditional code.
33387 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
33388 <kernel-features.h>.
33389 [__ASSUME_32BITUIDS]: Make code unconditional.
33390 [!__ASSUME_32BITUIDS]: Remove conditional code.
33391 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
33392 <kernel-features.h>.
33393 [__NR_setresgid] (__setresgid): Do not declare.
33394 [__ASSUME_32BITUIDS]: Make code unconditional.
33395 [!__ASSUME_32BITUIDS]: Remove conditional code.
33396 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
33397 <kernel-features.h>.
33398 [__NR_setresuid] (__setresuid): Do not declare.
33399 [__ASSUME_32BITUIDS]: Make code unconditional.
33400 [!__ASSUME_32BITUIDS]: Remove conditional code.
33401 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
33402 <kernel-features.h>.
33403 [__ASSUME_32BITUIDS]: Make code unconditional.
33404 [!__ASSUME_32BITUIDS]: Remove conditional code.
33405 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
33406 <kernel-features.h>.
33407 [__ASSUME_32BITUIDS]: Make code unconditional.
33408 [!__ASSUME_32BITUIDS]: Remove conditional code.
33409 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
33410 <kernel-features.h>.
33411 [__ASSUME_32BITUIDS]: Make code unconditional.
33412 [!__ASSUME_32BITUIDS]: Remove conditional code.
33413 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
33414 <kernel-features.h>.
33415 [__ASSUME_32BITUIDS]: Make code unconditional.
33416 [!__ASSUME_32BITUIDS]: Remove conditional code.
33417 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
33418 <kernel-features.h>.
33419 [__ASSUME_32BITUIDS]: Make code unconditional.
33420 [!__ASSUME_32BITUIDS]: Remove conditional code.
33421 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
33422 <kernel-features.h>.
33423 [__ASSUME_32BITUIDS]: Make code unconditional.
33424 [!__ASSUME_32BITUIDS]: Remove conditional code.
33425 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
33426 <kernel-features.h>.
33427 [__ASSUME_32BITUIDS]: Make code unconditional.
33428 [!__ASSUME_32BITUIDS]: Remove conditional code.
33429 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
33430 <kernel-features.h>.
33431 [__ASSUME_32BITUIDS]: Make code unconditional.
33432 [!__ASSUME_32BITUIDS]: Remove conditional code.
33433 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
33434 <kernel-features.h>.
33435 [__ASSUME_32BITUIDS]: Make code unconditional.
33436 [!__ASSUME_32BITUIDS]: Remove conditional code.
33437 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33438 <kernel-features.h>.
33439 [__ASSUME_32BITUIDS]: Make code unconditional.
33440 [!__ASSUME_32BITUIDS]: Remove conditional code.
33441 * sysdeps/unix/sysv/linux/kernel-features.h
33442 (__ASSUME_SETRESUID_SYSCALL): Remove.
33443 (__ASSUME_SETRESGID_SYSCALL): Likewise.
33444 (__ASSUME_32BITUIDS): Likewise.
33445 (__ASSUME_LDT_WORKS): Likewise.
33446 (__ASSUME_O_DIRECTORY): Likewise.
33447 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
33448 architecture but not kernel version.
33449 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
33450 (__ASSUME_MMAP2_SYSCALL): Likewise.
33451 (__ASSUME_STAT64_SYSCALL): Likewise.
33452 (__ASSUME_IPC64): Likewise.
33453 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
33454 <kernel-features.h>.
33455 [__ASSUME_32BITUIDS]: Make code unconditional.
33456 [!__ASSUME_32BITUIDS]: Remove conditional code.
33457 * sysdeps/unix/sysv/linux/opendir.c: Do not include
33458 <kernel-features.h>.
33459 [__ASSUME_O_DIRECTORY]: Make code unconditional.
33460 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
33461 132096]: Remove conditional code.
33462 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
33463 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33464 <kernel-features.h>.
33465 [__ASSUME_32BITUIDS]: Make code unconditional.
33466 [!__ASSUME_32BITUIDS]: Remove conditional code.
33467 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33468 <kernel-features.h>.
33469 [__ASSUME_32BITUIDS]: Make code unconditional.
33470 [!__ASSUME_32BITUIDS]: Remove conditional code.
33471 * sysdeps/unix/sysv/linux/setegid.c: Do not include
33472 <kernel-features.h>.
33473 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
33474 unconditional.
33475 (__setresgid): Do not declare.
33476 [__ASSUME_32BITUIDS]: Make code unconditional.
33477 [!__ASSUME_32BITUIDS]: Remove conditional code.
33478 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
33479 <kernel-features.h>.
33480 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
33481 unconditional.
33482 (__setresuid): Do not declare.
33483 [__ASSUME_32BITUIDS]: Make code unconditional.
33484 [!__ASSUME_32BITUIDS]: Remove conditional code.
33485 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33486 <kernel-features.h>.
33487 [__ASSUME_32BITUIDS]: Make code unconditional.
33488 [!__ASSUME_32BITUIDS]: Remove conditional code.
33489 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
33490 <kernel-features.h>.
33491 [__ASSUME_32BITUIDS]: Make code unconditional.
33492 [!__ASSUME_32BITUIDS]: Remove conditional code.
33493
a386f1cc
RH
334942012-05-25 Richard Henderson <rth@twiddle.net>
33495
33496 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
33497 dl_hwcap to ifunc resolver.
33498 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
33499 elf_ifunc_invoke.
33500 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
33501 dl_hwcap to ifunc resolver.
33502 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
33503
b6550497
JM
335042012-05-24 Joseph Myers <joseph@codesourcery.com>
33505
33506 [BZ #14153]
33507 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
33508 for |x| <= 2**-26, not 2**-57.
33509 * math/libm-test.inc (acos_test): Do not allow spurious underflow
33510 exception.
33511
b0bc23a1
JL
335122012-05-24 Jeff Law <law@redhat.com>
33513
33514 * stdio-common/Makefile (tests): Add bug25.
33515 * stdio-common/bug25.c: New test.
33516
347c92e9
L
335172012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33518
33519 [BZ #13576]
33520 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
33521 multiple of MALLOC_ALIGNMENT in size.
33522 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
33523
6bcc8b3f
JM
335242012-05-24 Joseph Myers <joseph@codesourcery.com>
33525
33526 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
33527 Require >= 256.
33528 (FILENAME_MAX): Use macro-int-constant.
33529 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
33530 (_IOFBF): Use macro-int-constant.
33531 (_IOLBF): Likewise.
33532 (_IONBF): Likewise.
33533 (SEEK_CUR): Likewise.
33534 (SEEK_END): Likewise.
33535 (SEEK_SET): Likewise.
33536 (TMP_MAX): Likewise.
33537 (EOF): Use macro-int-constant. Require < 0.
33538 (NULL): Use macro-constant. Require == 0.
33539 (stdin): Require type to be FILE *.
33540 (stdout): Likewise.
33541 (stderr): Likewise.
33542 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
33543 macro-int-constant.
33544 (EXIT_SUCCESS): Likewise.
33545 (NULL): Use macro-constant. Require == 0.
33546 (RAND_MAX): Use macro-int-constant.
33547 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
33548 [C99-based standards] (strtof): Require function.
33549 [C99-based standards] (strtold): Likewise.
33550 [C99-based standards] (strtoll): Likewise.
33551 [C99-based standards] (strtoull): Likewise.
33552 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33553 [ISO || ISO99 || ISO11] (limits.h): Likewise.
33554 [ISO || ISO99 || ISO11] (math.h): Likewise.
33555 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
33556 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33557 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33558
d18ea0c5
AS
335592012-05-24 Andreas Schwab <schwab@linux-m68k.org>
33560
33561 [BZ #14132]
56d25bb8
AS
33562 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
33563 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
33564 * intl/dgettext.c (DCGETTEXT): Likewise.
33565 * intl/gettext.c (DCGETTEXT): Likewise.
33566 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
33567 * posix/regex_internal.h (gettext): Likewise.
33568 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
33569 Remove declaration.
33570 * include/argz.h (__argz_count_internal)
33571 (__argz_stringify_internal): Remove declaration.
33572 (__argz_count, __argz_stringify): Declare hidden proto.
33573 * intl/dcgettext.c: Remove use of INTDEF.
33574 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
33575 * string/argz-stringify.c: Likewise.
33576 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33577 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33578 Declare hidden proto.
d18ea0c5
AS
33579 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33580 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33581 Declare hidden proto.
33582 * include/stdio.h (__asprintf_internal): Don't declare.
33583 (__asprintf): Don't define as macro. Declare hidden proto.
33584 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
33585 (__fsetlocking): Declare hidden proto.
33586 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
33587 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
33588 hidden proto.
33589 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
33590 (_IO_setlinebuf): Remove use of INTUSE.
33591 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
33592 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
33593 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
33594 Remove declaration.
33595 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
33596 (_IO_do_flush): Remove use of INTUSE.
33597 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
33598 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
33599 (_IO_adjust_column, _IO_least_wmarker)
33600 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
33601 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
33602 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
33603 (_IO_default_doallocate, _IO_wdefault_doallocate)
33604 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
33605 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
33606 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
33607 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
33608 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
33609 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
33610 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
33611 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
33612 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
33613 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
33614 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
33615 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
33616 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
33617 proto.
33618 (_IO_flush_all_internal, _IO_adjust_column_internal)
33619 (_IO_default_uflow_internal, _IO_default_finish_internal)
33620 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
33621 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
33622 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
33623 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
33624 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
33625 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
33626 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
33627 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
33628 (_IO_file_close_internal, _IO_file_close_it_internal)
33629 (_IO_file_underflow_internal, _IO_file_overflow_internal)
33630 (_IO_file_init_internal, _IO_file_attach_internal)
33631 (_IO_file_fopen_internal, _IO_file_read_internal)
33632 (_IO_file_sync_internal, _IO_file_seek_internal)
33633 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
33634 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
33635 (_IO_str_underflow_internal, _IO_str_overflow_internal)
33636 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
33637 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
33638 (_IO_list_all_internal, _IO_link_in_internal)
33639 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
33640 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
33641 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
33642 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
33643 (_IO_do_write_internal, _IO_padn_internal)
33644 (_IO_getline_info_internal, _IO_getline_internal)
33645 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
33646 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
33647 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
33648 (_IO_vfscanf_internal, _IO_vfprintf_internal)
33649 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
33650 (_IO_init_internal, _IO_un_link_internal): Don't declare.
33651 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
33652 with libc_hidden_ver, remove use of INTUSE.
33653 * libio/genops.c: Likewise.
33654 * libio/freopen.c: Likewise.
33655 * libio/freopen64.c: Likewise.
33656 * libio/iofclose.c: Likewise.
33657 * libio/iofdopen.c: Likewise.
33658 * libio/iofflush.c: Likewise.
33659 * libio/iofflush_u.c: Likewise.
33660 * libio/iofgets.c: Likewise.
33661 * libio/iofgets_u.c: Likewise.
33662 * libio/iofopen.c: Likewise.
33663 * libio/iofopncook.c: Likewise.
33664 * libio/iofread.c: Likewise.
33665 * libio/iofread_u.c: Likewise.
33666 * libio/ioftell.c: Likewise.
33667 * libio/iofwrite.c: Likewise.
33668 * libio/iogetline.c: Likewise.
33669 * libio/iogets.c: Likewise.
33670 * libio/iogetwline.c: Likewise.
33671 * libio/iopadn.c: Likewise.
33672 * libio/iopopen.c: Likewise.
33673 * libio/ioseekoff.c: Likewise.
33674 * libio/ioseekpos.c: Likewise.
33675 * libio/iosetbuffer.c: Likewise.
33676 * libio/iosetvbuf.c: Likewise.
33677 * libio/ioungetc.c: Likewise.
33678 * libio/ioungetwc.c: Likewise.
33679 * libio/iovdprintf.c: Likewise.
33680 * libio/iovsprintf.c: Likewise.
33681 * libio/iovsscanf.c: Likewise.
33682 * libio/memstream.c: Likewise.
33683 * libio/obprintf.c: Likewise.
33684 * libio/oldfileops.c: Likewise.
33685 * libio/oldiofclose.c: Likewise.
33686 * libio/oldiofdopen.c: Likewise.
33687 * libio/oldiofopen.c: Likewise.
33688 * libio/oldiopopen.c: Likewise.
33689 * libio/oldstdfiles.c: Likewise.
33690 * libio/putc.c: Likewise.
33691 * libio/setbuf.c: Likewise.
33692 * libio/setlinebuf.c: Likewise.
33693 * libio/stdfiles.c: Likewise.
33694 * libio/strops.c: Likewise.
33695 * libio/vasprintf.c: Likewise.
33696 * libio/vscanf.c: Likewise.
33697 * libio/vsnprintf.c: Likewise.
33698 * libio/vswprintf.c: Likewise.
33699 * libio/wfiledoalloc.c: Likewise.
33700 * libio/wfileops.c: Likewise.
33701 * libio/wgenops.c: Likewise.
33702 * libio/wmemstream.c: Likewise.
33703 * libio/wstrops.c: Likewise.
33704 * libio/__fpurge.c: Likewise.
33705 * libio/__fsetlocking.c: Likewise.
33706 * assert/assert.c: Likewise.
33707 * debug/fgets_chk.c: Likewise.
33708 * debug/fgets_u_chk.c: Likewise.
33709 * debug/fread_chk.c: Likewise.
33710 * debug/fread_u_chk.c: Likewise.
33711 * debug/gets_chk.c: Likewise.
33712 * debug/obprintf_chk.c: Likewise.
33713 * debug/vasprintf_chk.c: Likewise.
33714 * debug/vdprintf_chk.c: Likewise.
33715 * debug/vsnprintf_chk.c: Likewise.
33716 * debug/vsprintf_chk.c: Likewise.
33717 * malloc/mtrace.c: Likewise.
33718 * misc/error.c: Likewise.
33719 * misc/syslog.c: Likewise.
33720 * stdio-common/asprintf.c: Likewise.
33721 * stdio-common/fxprintf.c: Likewise.
33722 * stdio-common/getw.c: Likewise.
33723 * stdio-common/isoc99_fscanf.c: Likewise.
33724 * stdio-common/isoc99_scanf.c: Likewise.
33725 * stdio-common/isoc99_vfscanf.c: Likewise.
33726 * stdio-common/isoc99_vscanf.c: Likewise.
33727 * stdio-common/isoc99_vsscanf.c: Likewise.
33728 * stdio-common/printf-prs.c: Likewise.
33729 * stdio-common/printf_fp.c: Likewise.
33730 * stdio-common/printf_fphex.c: Likewise.
33731 * stdio-common/printf_size.c: Likewise.
33732 * stdio-common/putw.c: Likewise.
33733 * stdio-common/scanf.c: Likewise.
33734 * stdio-common/sprintf.c: Likewise.
33735 * stdio-common/tmpfile.c: Likewise.
33736 * stdio-common/vfprintf.c: Likewise.
33737 * stdio-common/vfscanf.c: Likewise.
33738 * stdlib/strfmon_l.c: Likewise.
33739 * sunrpc/openchild.c: Likewise.
33740 * sunrpc/xdr_stdio.c: Likewise.
33741 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
33742 * sysdeps/mach/hurd/tmpfile.c: Likewise.
33743
d6c33fda
RM
337442012-05-24 Roland McGrath <roland@hack.frob.com>
33745
c1487492
RM
33746 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33747
33748 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
33749 in the third column, to generate for the shared library an IFUNC
33750 that uses _dl_vdso_vsym.
33751 * Makerules (COMPILE.c, compile-stdin.c): New variables.
33752 * Makeconfig (object-suffixes-noshared): New variable.
33753
33754 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
33755 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
33756 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
33757 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
33758
d6c33fda
RM
33759 [BZ #14132]
33760 * include/sys/time.h (__gettimeofday): Remove macro.
33761 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
33762 * time/gettimeofday.c (__gettimeofday): Remove #undef.
33763 Remove INTDEF.
33764 (__gettimeofday): Add libc_hidden_def.
33765 (gettimeofday): Add libc_hidden_weak.
33766 * sysdeps/mach/gettimeofday.c: Likewise.
33767 * sysdeps/posix/gettimeofday.c: Likewise.
33768 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
33769 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
33770 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
33771 (__gettimeofday_internal): Remove strong_alias.
33772 (__gettimeofday): Add libc_hidden_def.
33773 (gettimeofday): Add libc_hidden_weak.
33774 * sysdeps/unix/syscalls.list (gettimeofday):
33775 Remove __gettimeofday_internal alias.
33776
b5a2bbe6
L
337772012-05-24 Daniel Jacobowitz <drow@false.org>
33778 H.J. Lu <hongjiu.lu@intel.com>
33779
33780 [BZ #12495]
33781 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
33782 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
33783 (largebin_index_32_big): New.
33784 (largebin_index): Use it for 16-byte alignment.
33785 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
33786 correction with front_misalign.
33787
cfba4fda
L
337882012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33789
7f907421
L
33790 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
33791 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33792 Likewise.
33793 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
33794 Likewise.
33795 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
33796 Likewise.
33797 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
33798 Likewise.
33799 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
33800 Likewise.
33801 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
33802 Likewise.
33803 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
33804 Likewise.
33805 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33806 Likewise.
33807 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
33808 Likewise.
33809 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
33810 Likewise.
33811 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33812 Likewise.
33813 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
33814 Likewise.
33815
cfba4fda
L
33816 * scripts/data/c++-types-x32-linux-gnu.data: New file.
33817 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
33818
80bad0cc
JM
338192012-05-24 Joseph Myers <joseph@codesourcery.com>
33820
7a25eb06
JM
33821 [BZ #10846]
33822 [BZ #14036]
33823 * math/libm-test.inc (exp_test): Add test from bug 14036.
33824 (pow_test): Add test from bug 10846.
33825
795405f9
JM
33826 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
33827 and other flags.
33828 (special_function): Do not include flags in test name.
33829 (parse_args): Likewise.
33830 * sysdeps/i386/fpu/libm-test-ulps: Update.
33831 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33832 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33833 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33835
80bad0cc
JM
33836 * math/gen-libm-test.pl (%beautify): Add entries for underflow
33837 exceptions.
33838 * math/libm-test.inc ("Philosophy"): Update comment about
33839 exception testing.
33840 (UNDERFLOW_EXCEPTION): New macro.
33841 (UNDERFLOW_EXCEPTION_OK): Likewise.
33842 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
33843 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
33844 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
33845 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
33846 (INVALID_EXCEPTION_OK): Update value.
33847 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33848 (OVERFLOW_EXCEPTION_OK): Likewise.
33849 (IGNORE_ZERO_INF_SIGN): Likewise.
33850 (test_exceptions): Handle underflow exceptions.
33851 (acos_test): Update for underflow exception expectations.
33852 (cexp_test): Likewise.
33853 (clog_test): Likewise.
33854 (clog10_test): Likewise.
33855 (csqrt_test): Likewise.
33856 (ctan_test): Likewise.
33857 (ctanh_test): Likewise.
33858 (exp_test): Likewise.
33859 (exp10_test): Likewise.
33860 (exp2_test): Likewise.
33861 (expm1_test): Likewise.
33862 (fma_test): Likewise.
33863 (j0_test): Likewise.
33864 (jn_test): Likewise.
33865 (nexttoward_test): Likewise.
33866 (pow_test): Likewise.
33867 (scalbn_test): Likewise.
33868 (scalbln_test): Likewise.
33869 (tan_test): Likewise.
33870 (y1_test): Likewise.
33871 * sysdeps/i386/fpu/libm-test-ulps: Update.
33872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33873
9e0e3d0b
DM
338742012-05-23 David S. Miller <davem@davemloft.net>
33875
33876 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33877 (__libc_sigaction): Remove unused local variables.
33878
ccd0a08f
L
338792012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33880
33881 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
33882
62bdf9a6
PE
338832012-05-23 Paul Eggert <eggert@cs.ucla.edu>
33884
f8591f80
PE
33885 mktime: avoid signed integer overflow
33886 * time/mktime.c (__mktime_internal): Do not mishandle the case
33887 where diff == INT_MIN.
33888
94c7d826
PE
33889 mktime: simplify computation of average
33890 * time/mktime.c (ranged_convert): Use new time_t_avg function
33891 instead of rolling our own (probably-slower) code.
33892
ce73d683
PE
33893 mktime: do not assume signed right shift propagates sign bit
33894 * time/mktime.c (isdst_differ): New static function.
33895 (__mktime_internal): No need to normalize tm_isdst now.
33896 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
33897 tm_isdst values.
33898
72a22e59
PE
33899 mktime: merge another wrapv change from gnulib
33900 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
33901 from some compilers.
33902
68605433
PE
33903 mktime: remove incorrect attempt at unusual arithmetics
33904 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
33905 The code didn't really work on such machines anyway.
33906 (TYPE_MINIMUM): Assume two's complement.
33907 (twos_complement_arithmetic): Verify that long_int and time_t
33908 are two's complement (or unsigned, in the latter case).
33909
03cf7fe3
PE
33910 mktime: check signed shifts on long_int and time_t, too
33911 * time/mktime.c (SHR): Check that shifts work as desired
33912 on the types long_int and time_t too, as SHR is used on
33913 such types.
33914
f04dfbc2
PE
33915 mktime: do not assume 'long' is wide enough
33916 * time/mktime.c (verify): Move decl up.
33917 (long_int): New type.
33918 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
33919 to remove assumption in the code that 'long' is wide enough to
33920 store year values. This assumption is not true on x32 and on
33921 some non-glibc platforms.
33922
62bdf9a6
PE
33923 mktime: merge wrapv change from gnulib
33924 * time/mktime.c (WRAPV): New macro.
33925 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
33926 (guess_time_tm, __mktime_internal): Do not assume that signed
33927 integer overflow wraps around; modern compilers generate code
33928 where this assumption is no longer valid.
33929
5e292e4f
L
339302012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33931
33932 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33933 Replace "jmp L(pseudo_end)" with "ret".
33934 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
33935 Likewise.
33936
8caf8c87
AJ
339372012-05-23 Andreas Jaeger <aj@suse.de>
33938
33939 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
33940 * sysdeps/unix/sysv/linux/poll.c: Remove file.
33941
1a09dc56
AJ
339422012-05-23 Andreas Jaeger <aj@suse.de>
33943 Maximilian Attems <max@stro.at>
33944
33945 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
33946 New macros.
33947
1c87aba0
L
339482012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33949
33950 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
33951 code so that pseudo_end is just ret and the stack pointer is
33952 correct also for static library in error case.
33953
40e45bd5
JM
339542012-05-23 Joseph Myers <joseph@codesourcery.com>
33955
c2670533
JM
33956 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
33957 move to syscalls.list.
33958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
33959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33962
40e45bd5
JM
33963 * manual/install.texi (Running make install): Do not mention Linux
33964 kernel version for which pt_chown is not needed.
33965 (Linux): Do not mention problems with nscd with 2.0 kernels.
33966 * INSTALL: Regenerated.
33967
be08eda5
AJ
339682012-05-23 Andreas Jaeger <aj@suse.de>
33969
33970 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
33971 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
33972 macro.
33973 * sysdeps/unix/sysv/linux/s390/bits/mman.h
33974 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33975 * sysdeps/unix/sysv/linux/sh/bits/mman.h
33976 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33977 * sysdeps/unix/sysv/linux/i386/bits/mman.h
33978 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33979 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
33980 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33981 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
33982 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33983 * sysdeps/unix/sysv/linux/bits/in.h
33984 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
33985
a6a056bb
RM
339862012-05-22 Roland McGrath <roland@hack.frob.com>
33987
33988 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
33989 (PREPARE_VERSION): Just use assert instead, it will be elided
33990 under [NDEBUG] anyway.
33991
c9009328
L
339922012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33993
33994 * sysdeps/unix/sysv/linux/Makefile: Include
33995 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 33996 (sysdep_routines): Remove sysctl.
c9009328
L
33997 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
33998 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
33999 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
34000 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
34001 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
34002
73338355
AJ
340032012-05-22 Andreas Jaeger <aj@suse.de>
34004
34005 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
34006 that pseudo_end is just ret and the stack pointer is correct also
34007 for static library in error case.
34008
d44638b0
PP
340092012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
34010
34011 [BZ #14122]
34012 * nss/nsswitch.c (defconfig_entries): New variable.
34013 (__nss_database_lookup): Don't leak defconfig entries.
34014 (nss_parse_service_list): Don't leak on error paths.
34015 (free_database_entries): New function.
34016 (free_defconfig): New function.
34017 (free_mem): Move common code to free_database_entries.
34018
31a39bd8
L
340192012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34020
da0331a8
L
34021 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
34022 Add arch_prctl.
34023 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
34024
31a39bd8
L
34025 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34026 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
34027 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
34028 New macro.
34029 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
34030 (INTERNAL_SYSCALL_TYPES): Likewise.
34031 (LOAD_ARGS_TYPES_[1-6]): Likewise.
34032 (LOAD_REGS_TYPES_[1-6]): Likewise.
34033 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
34034 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
34035
45470df3
AZ
340362012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34037
34038 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
34039 copysignl for GLIBC_2_0.
34040 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
34041 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
34042 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
34043 logbl for GLIBC_2_0.
34044 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
34045 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
34046
98a61bcb
L
340472012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34048
a4f6e481
L
34049 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
34050 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34051
f63d5db6
L
34052 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34053 Use "neg %eax".
34054
98a61bcb
L
34055 * time/mktime.c: Update copyright years.
34056
95770f14
PE
340572012-05-22 Paul Eggert <eggert@cs.ucla.edu>
34058
6226efbd
PE
34059 mktime: merge comment-quoting-style change from gnulib
34060 * time/mktime.c: Quote 'like this' in comments.
34061 The GNU coding standards suggest that we no longer quote `like this',
34062 as "`" and "'" are typically rendered asymmetrically nowadays.
34063 The typical gnulib style is to quote 'like this' when quoting
34064 code, and "like this" when quoting English.
34065
b99e4f78
PE
34066 * time/mktime.c (compile-command): Add "-I.".
34067
643e01e6
PE
34068 mktime: merge mktime-internal.h change from gnulib
34069 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
34070
2554247d
PE
34071 mktime: merge time_r change from gnulib
34072 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
34073
826dd0ab
PE
34074 mktime: merge DEBUG change from gnulib
34075 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
34076 case system <time.h> has a #define.
34077
bd83aabe
PE
34078 mktime: merge <sys/types.h> change from gnulib
34079 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
34080 since <time.t> is now guaranteed to define time_t.
34081
95770f14
PE
34082 mktime: merge HAVE_CONFIG_H change from gnulib
34083 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
34084
5e1a27a9
L
340852012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34086
0e44a77e
L
34087 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34088 Use "neg %eax".
34089
5e1a27a9
L
34090 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
34091 __rlim_t cast.
34092 (struct rusage): Use anonymous union to pad each field to
34093 __syscall_slong_t.
34094
46259bec
DM
340952012-05-21 David S. Miller <davem@davemloft.net>
34096
34097 * Makefules (o-iterator): Remove .s cases.
34098 (compile-command.s): Delete.
34099 (COMPILE.s): Delete.
34100 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
34101
59f0c22e
JM
341022012-05-21 Joseph Myers <joseph@codesourcery.com>
34103
34104 * configure.in (libc_cv_predef_stack_protector): Only consider
34105 "foobar" and "__stack_chk_fail" lines in libc_undefs.
34106 * configure: Regenerated.
34107
20c07380
L
341082012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34109
bbb3154b
L
34110 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34111 New macro. Use R*LP on int and pointer.
34112 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
34113 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
34114 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
34115 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
34116
20c07380
L
34117 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
34118 [__WORDSIZE_TIME64_COMPAT32] instead of
34119 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
34120 (struct utmp): Likewise.
34121 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
34122 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
34123 Renamed to ...
34124 (__WORDSIZE_TIME64_COMPAT32): This.
34125 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
34126 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
34127 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
34128 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
34129 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
34130 (__WORDSIZE_TIME64_COMPAT32): New macro.
34131
d8d1017e
AJ
341322012-05-21 Andreas Jaeger <aj@suse.de>
34133
34134 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
34135 only if [SHARED]. Add prototype for __wcschr_ia32.
34136
6c7fb145
RM
341372012-05-21 Roland McGrath <roland@hack.frob.com>
34138
34139 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
34140 of %rbp unmolested in the jmp_buf while mangling the low bits.
34141 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
34142 unmolested high bits of %rbp while demangling the low bits.
34143 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34144
66274218
AJ
341452012-05-21 Andreas Jaeger <aj@suse.de>
34146
07c58f8f
AJ
34147 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
34148 * sunrpc/svc_simple.c: Use it for registerrpc.
34149 * sunrpc/xcrypt.c: Use it for passwd2des.
34150
66274218
AJ
34151 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
34152
61f65140
L
341532012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34154
34155 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
34156 Don't define if [__SYSCALL_WORDSIZE != 32].
34157 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
34158 New macro.
34159
5fefb436
AJ
341602012-05-21 Bruno Haible <bruno@clisp.org>
34161 Andreas Jaeger <aj@suse.de>
34162
34163 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
34164 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
34165 inptr and inend for must_buffer_ch.
34166 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
34167 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
34168 * stdio-common/Makefile (tests): Remove bug15.
34169 (bug15-ENV): Remove macro.
34170 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
34171 anymore.
34172
d8e272ab
AJ
341732012-05-19 Andreas Jaeger <aj@suse.de>
34174 Roland McGrath <roland@hack.frob.com>
34175
34176 * manual/contrib.texi: Completely rewritten. It contains now an
34177 alphabetical list of contributors and their contributions.
34178
4a56a162
RH
341792012-05-21 Richard Henderson <rth@twiddle.net>
34180
34181 * misc/getauxval.c (__getauxval): Use unsigned long int.
34182 * misc/sys/auxv.h: Include <sys/cdefs.h>.
34183 (getauxval): Use unsigned long int.
34184
d024d23c
L
341852012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34186
34187 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34188
cbc00a03
RM
341892012-05-21 Roland McGrath <roland@hack.frob.com>
34190
34191 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
34192 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
34193 __alignof__ (long double).
34194
478143fa
AZ
341952012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34196
34197 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34198
c7683a6d
RH
341992012-05-20 Richard Henderson <rth@twiddle.net>
34200
34201 * misc/getauxval.c: New file.
34202 * misc/sys/auxv.h: New file.
34203 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
34204 (routines): Add getauxval.
34205 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
34206 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
34207 * elf/dl-sysdep.c (_dl_auxv): Remove.
34208 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
34209 * elf/dl-support.c (_dl_auxv): New variable.
34210 (_dl_aux_init): Initialize it.
34211 * manual/startup.texi (Auxiliary Vector): New node.
34212 * sysdeps/generic/bits/hwcap.h: New file.
34213 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
34214 * sysdeps/powerpc/sysdep.h: ... here. Include it.
34215 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
34216 * sysdeps/sparc/sysdep.h: ... here. Include it.
34217 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
34218 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
34219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34220 Update.
c7683a6d
RH
34221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
34222 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
34223 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
34224 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
34225 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34226 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34227 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
34228 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
34229
a6f1845d
AZ
342302012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34231
34232 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34233
cbcbe830
DM
342342012-05-19 David S. Miller <davem@davemloft.net>
34235
34236 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34237
e0b16cc2
JM
342382012-05-19 Joseph Myers <joseph@codesourcery.com>
34239
34240 [BZ #14123]
34241 * math/s_ccosh.c: Include <float.h>
34242 (__ccosh): Avoid internal overflow calculating sinh and cosh
34243 values before multiplying by sin and cos values.
34244 * math/s_ccoshf.c: Likewise.
34245 * math/s_ccoshl.c: Likewise.
34246 * math/s_csin.c: Likewise.
34247 * math/s_csinf.c: Likewise.
34248 * math/s_csinl.c: Likewise.
34249 * math/s_csinh.c: Likewise.
34250 * math/s_csinhf.c: Likewise.
34251 * math/s_csinhl.c: Likewise.
34252 * math/libm-test.inc (ccos_test): Add more tests.
34253 (ccosh_test): Likewise.
34254 (csin_test): Likewise.
34255 (csinh_test): Likewise.
34256 * sysdeps/i386/fpu/libm-test-ulps: Update.
34257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34258
6ad13e08
L
342592012-05-19 H.J. Lu <hongjiu.lu@intel.com>
34260
f66f0ce8
L
34261 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
34262 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
34263
6ad13e08
L
34264 * sysdeps/x86_64/x32/_itoa.h: Add comment.
34265
b1d072a7
JM
342662012-05-19 Joseph Myers <joseph@codesourcery.com>
34267
34268 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
34269 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
34270 * sysdeps/powerpc/soft-fp/Versions: Likewise.
34271 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
34272 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
34273 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
34274 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
34275 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
34276 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
34277 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
34278 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
34279 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
34280 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
34281 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
34282 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
34283 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
34284 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
34285 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
34286 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
34287 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
34288 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
34289 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
34290 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
34291 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
34292 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
34293 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
34294 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
34295 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
34296 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
34297 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
34298 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
34299
9eae47cb
AJ
343002012-05-18 Andreas Jaeger <aj@suse.de>
34301
34302 * csu/.gitignore: Delete.
34303
bb07f69f
L
343042012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34305
34306 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
34307 (timex): Use __syscall_slong_t.
34308
e6bdb741
AJ
343092012-05-18 Andreas Jaeger <aj@suse.de>
34310 Carlos O'Donell <carlos_odonell@mentor.com>
34311
34312 * manual/install.texi (Configuring and compiling): Update
34313 description about files modified in the source directory.
d6c33fda 34314 * INSTALL: Regenerated.
e6bdb741 34315
1b74487e
L
343162012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34317
34318 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
34319 value. Use "or" to set return value to -1.
34320 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
34321 negate return value.
34322
a88b64b9
TMQMF
343232012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34324
57f41c40
AS
34325 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
34326 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
34327 failure if the compiler has Graphite support disabled.
34328 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
34329 Likewise.
57f41c40
AS
34330 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
34331 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
34332 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
34333 Likewise.
34334
3707636e
L
343352012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34336
610b8622
L
34337 * sysdeps/x86_64/x32/_itoa.h: New file.
34338
7cd195df
L
34339 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
34340 getdents system call only if kernel and user dirents have the
34341 same d_ino and d_off.
34342
94b07d20
L
34343 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34344 LLONG_MAX != LONG_MAX.
34345 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34346 (_fitoa_word): Likewise.
34347
18298070
L
34348 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
34349 years.
34350 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
34351 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
34352 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
34353
553c7ea4
L
34354 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
34355 include <bits/wordsize.h>. Check __x86_64__ instead of
34356 __WORDSIZE.
34357 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
34358 if __x86_64__ is defined. Use anonymous union on fpstate.
34359
3707636e
L
34360 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
34361 anonymous union.
34362
b53ef01a
AS
343632012-05-18 Andreas Schwab <schwab@linux-m68k.org>
34364
37fb1dc0
AS
34365 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
34366 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
34367 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
34368 Refer to _rtld_local_ro instead of _rtld_global_ro.
34369 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
34370 Likewise.
34371 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
34372 Likewise.
34373 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
34374 Likewise.
34375 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
34376 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
34377 of _rtld_global, and rtld_progname instead of _dl_argv[0].
34378
b53ef01a
AS
34379 * sysdeps/powerpc/powerpc32/dl-machine.c
34380 (__elf_machine_runtime_setup) [PROF]: Don't reference
34381 _dl_prof_resolve.
34382
7a185db2
AJ
343832012-05-18 Andreas Jaeger <aj@suse.de>
34384
34385 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
34386 function only available for GCCs before 3.4 since GCC 3.4
34387 introduced a builtin.
34388 (lrint): Likewise.
34389 (llrintf): Likewise.
34390 (llrint): Likewise.
34391 (fmaxf): Likewise.
34392 (fmax): Likewise.
34393 (fminf): Likewise.
34394 (fmin): Likewise.
34395 (rint): Likewise.
34396 (rintf): Likewise.
34397 (nearbyint): Likewise.
34398 (nearbyintf): Likewise.
34399 (ceil): Likewise.
34400 (ceilf): Likewise.
34401 (floor): Likewise.
34402 (floorf): Likewise.
34403
3e5aef87
L
344042012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34405
428bd707
L
34406 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
34407 on both fields and cast pointer to __syscall_ulong_t.
34408
3e5aef87
L
34409 * bits/types.h (__fsword_t): New type.
34410 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
34411 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
34412 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34413 (__FSWORD_T_TYPE): Likewise.
34414 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34415 (__FSWORD_T_TYPE): Likewise.
34416 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34417 (__FSWORD_T_TYPE): Likewise.
34418 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
34419 (__FSWORD_T_TYPE): Likewise.
34420 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
34421 __SWORD_TYPE with __fsword_t.
34422 (statfs64): Likewise.
34423
1ba7c3dc
DM
344242012-05-17 David S. Miller <davem@davemloft.net>
34425
34426 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
34427
59910343
AJ
344282012-05-17 Andreas Jaeger <aj@suse.de>
34429
34430 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
34431 warning.
34432
2e4c1e9e
L
344332012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34434
34435 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
34436
de7f5ce7
AJ
344372012-05-17 Andreas Jaeger <aj@suse.de>
34438
34439 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
34440 when it is used.
34441
286abc3d
CM
344422012-05-17 Chris Metcalf <cmetcalf@tilera.com>
34443
34444 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
34445
477cc68e
L
344462012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34447
34448 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
34449 * sysdeps/x86_64/tst-mallocalign1.c: New file.
34450
1a0994f5
CD
344512012-05-17 Andreas Jaeger <aj@suse.de>
34452 Carlos O'Donell <carlos_odonell@mentor.com>
34453
34454 [BZ #14059]
34455 * sysdeps/x86_64/multiarch/init-arch.h
34456 (bit_YMM_Usable): Rename to...
34457 (bit_AVX_Usable): ... this.
34458 (bit_FMA4_Usable): New macro.
34459 (bit_XMM_state): New macro.
34460 (bit_YMM_state): New macro.
34461 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
34462 [__ASSEMBLER__] (index_AVX_Usable): ... this.
34463 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
34464 (CPUID_OSXSAVE): New macro.
34465 (CPUID_AVX): New macro.
34466 (CPUID_FMA4): New macro.
34467 (index_YMM_Usable): Rename to...
34468 (index_AVX_Usable): ... this.
34469 (HAS_AVX): Use HAS_ARCH_FEATURE.
34470 (HAS_FMA4): Likewise.
34471 (HAS_YMM_USABLE): Remove.
34472 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34473 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
34474 are present.
34475 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
34476 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
34477 * sysdeps/x86_64/multiarch/Makefile: Likewise.
34478 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
34479 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
34480
0af797de
CM
344812012-05-17 Chris Metcalf <cmetcalf@tilera.com>
34482
34483 * math/libm-test.c: Support platforms without multiple rounding modes.
34484 * math/bug-nextafter.c: Support platforms without FP exceptions.
34485 * math/bug-nexttoward.c: Likewise.
34486 * math/test-fenv.c: Likewise.
34487 * math/test-misc.c: Likewise.
34488 * stdlib/bug-getcontext.c: Likewise.
34489
e39745ff
AJ
344902012-05-17 Andreas Jaeger <aj@suse.de>
34491
34492 * manual/examples/search.c (critter_cmp): Change signature to
34493 avoid warnings.
34494 * manual/string.texi (Collation Functions): Likewise.
34495
48970aba
L
344962012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34497
34498 * bits/types.h: Fold copyright years.
34499 * bits/typesizes.h: Likewise.
34500 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
34501 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
34502 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
34503 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
34504 * time/time.h: Likewise.
34505
bedee953
PP
345062012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
34507
34508 [BZ #208]
34509 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
34510 in instead of returning them. Return void.
34511 (__libc_mallinfo): Accumulate over all arenas.
34512 (__malloc_stats): Adjust for change in int_mallinfo interface.
34513
61653dfb
RM
345142012-05-16 Roland McGrath <roland@hack.frob.com>
34515
30b99d79
RM
34516 [BZ #10375]
34517 * configure.in (NM): Add AC_CHECK_TOOL for it.
34518 (libc_extra_cflags): New substituted variable.
34519 Check for -fstack-protector being used implicitly.
34520 * configure: Regenerated.
34521 * config.make.in (config-extra-cflags): New variable,
34522 gets @libc_extra_cflags@.
34523 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
34524
61653dfb
RM
34525 [BZ #10375]
34526 * configure.in: Check for _FORTIFY_SOURCE being predefined.
34527 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
34528 * configure: Regenerated.
34529 * config.make.in (CPPUNDEFS): New substituted variable.
34530 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
34531 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
34532 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
34533
661768bb
L
345342012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34535
34536 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
34537 (mq_attr): Use __syscall_slong_t.
34538
d4261567
L
345392012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34540
34541 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
34542 Check __x86_64__ instead of __WORDSIZE.
34543 (_STAT_VER_LINUX): Likewise.
34544 (stat): Check __x86_64__ instead of __WORDSIZE. Use
34545 __syscall_ulong_t and __syscall_slong_t.
34546 (stat64): Likewise.
34547
cf3ff365
L
345482012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34549
34550 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
34551
76cf3e4d
L
345522012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34553
34554 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
34555
a637753a
L
345562012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34557
34558 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
34559 __syscall_ulong_t.
34560
d5e05119
L
34561 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
34562 include <bits/wordsize.h>. Check __x86_64__ instead of
34563 __WORDSIZE.
34564 (greg_t): Use "__extension__ long long int" if __x86_64__ is
34565 defined.
34566 (mcontext_t): Replace "unsigned long" with "unsigned long long".
34567
f62ee380
L
34568 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
34569 include <bits/wordsize.h>. Check __x86_64__ instead of
34570 __WORDSIZE.
34571 (user_regs_struct): Use "__extension__ unsigned long long"
34572 instead of "unsigned long" if __x86_64__ is defined.
34573 (user): Likewise. Pad after pointer field if __ILP32__ is
34574 defined.
34575
4e124ced
JM
345762012-05-16 Joseph Myers <joseph@codesourcery.com>
34577
6a3951a0
JM
34578 * configure.in (makeinfo): Require version 4.5 or later. Allow
34579 versions 5 to 9.
34580 * configure: Regenerated.
34581 * manual/install.texi (texinfo): Increase version requirement to
34582 4.5 or later.
34583 * INSTALL: Regenerated.
34584
4e124ced
JM
34585 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
34586
953ca31a
L
345872012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34588
34589 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
34590
617aca05
L
34591 * sysdeps/x86_64/x32/ffs.c: New file.
34592
5762f7ae
L
34593 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
34594 __syscall_ulong_t.
34595 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
34596 defined. Use __syscall_ulong_t.
34597 (shminfo): Use __syscall_ulong_t.
34598 (shm_info): Likewise.
34599
a26b6856
L
34600 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
34601 __syscall_ulong_t.
34602
cb2b9ef7
L
34603 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
34604 <bits/wordsize.h>.
34605 (msgqnum_t): Use __syscall_ulong_t.
34606 (msglen_t): Likewise.
34607 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
34608 __syscall_ulong_t.
34609
34683bb0
L
34610 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
34611 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34612
84a68786
L
34613 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
34614
48baa5f1
L
34615 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
34616 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
34617
180be88b
L
34618 * sysvipc/sys/msg.h (msgbuf): Replace long int with
34619 __syscall_slong_t.
34620
5e90c8ad
L
34621 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
34622 include <bits/wordsize.h>. Check __x86_64__ instead of
34623 __WORDSIZE.
34624
23dfb58b
L
34625 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
34626 "unsigned long long int" if __x86_64__ is defined.
34627 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
34628
ce5d54b0
L
34629 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
34630 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34631 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
34632
13dc9eac
L
34633 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
34634 <stdint.h>.
34635 (GET_PC): Cast to uintptr_t first.
34636 (GET_FRAME): Likewise.
34637 (GET_STACK): Likewise.
34638
a7895d15
L
34639 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
34640 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
34641 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
34642 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
34643 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
34644 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
34645 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
34646 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
34647 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
34648 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
34649 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
34650 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
34651 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34652 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
34653 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
34654 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
34655 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
34656 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
34657 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
34658 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
34659 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
34660 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
34661 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
34662 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
34663 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
34664 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
34665 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
34666 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
34667 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
34668
656416c9
AS
346692012-05-16 Andreas Schwab <schwab@linux-m68k.org>
34670
5bd66283
AS
34671 * Makerules (+depfiles): Also collect depfiles from .oS in
34672 $(extra-objs).
34673 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
34674 .oS, $(libnldbl-routines)).
34675
656416c9
AS
34676 * Makerules (native-compile-mkdep-flags): Define.
34677 * sunrpc/Makefile (extra-objs): Add $(addprefix
34678 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
34679 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
34680 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
34681 calling $(make-target-directory).
34682
a46f2169
L
346832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34684
34685 * bits/types.h (__snseconds_t): Removed.
34686 * time/time.h (struct timespec): Replace __snseconds_t with
34687 __syscall_slong_t.
34688 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
34689 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
34690 Likewise.
34691 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34692 (__SNSECONDS_T_TYPE): Likewise.
34693 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34694 (__SNSECONDS_T_TYPE): Likewise.
34695 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34696 (__SNSECONDS_T_TYPE): Likewise.
34697
6af6528b
L
346982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34699
34700 * sysdeps/mach/hurd/bits/typesizes.h
34701 (__SYSCALL_SLONG_TYPE): New macro.
34702 (__SYSCALL_ULONG_TYPE): Likewise.
34703
de986b56
L
347042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34705
34706 * bits/types.h (__syscall_slong_t): New type.
34707 (__syscall_ulong_t): Likewise.
34708
34709 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
34710 (__SYSCALL_ULONG_TYPE): Likewise.
34711 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34712 (__SYSCALL_SLONG_TYPE): Likewise.
34713 (__SYSCALL_ULONG_TYPE): Likewise.
34714 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34715 (__SYSCALL_SLONG_TYPE): Likewise.
34716 (__SYSCALL_ULONG_TYPE): Likewise.
34717 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34718 (__SYSCALL_SLONG_TYPE): Likewise.
34719 (__SYSCALL_ULONG_TYPE): Likewise.
34720
85736dc7
L
347212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34722
34723 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
34724 Add sigaltstack-offsets.sym.
34725 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
34726 <sigaltstack-offsets.h>.
34727 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
34728 longjmp_msg pointer.
34729 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
34730 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
34731 signal stack.
34732 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
34733
cc03b296
JM
347342012-05-15 Joseph Myers <joseph@codesourcery.com>
34735
a9538892
JM
34736 * elf/stackguard-macros.h: Remove file.
34737 * sysdeps/generic/stackguard-macros.h: New file.
34738 * sysdeps/i386/stackguard-macros.h: Likewise.
34739 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
34740 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
34741 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
34742 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
34743 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
34744 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
34745 * sysdeps/x86_64/stackguard-macros.h: Likewise.
34746 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
34747 <elf/stackguard-macros.h>.
34748
cc03b296
JM
34749 [BZ #14109]
34750 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
34751 __aligned__ in attribute.
34752 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
34753 (gregset_t): Likewise.
34754
93171016
L
347552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34756
34757 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
34758 * sysdeps/x86_64/64/Implies-after: Here. New file.
34759 * sysdeps/x86_64/x32/Implies-after: New file.
34760
d86813a0
L
347612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34762
34763 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
34764 and access return value for _dl_profile_fixup. Use R10_LP to
34765 load frame size.
34766
2953ec75
L
347672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34768
34769 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
34770
3b550e9e
L
347712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34772
34773 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
34774 * sysdeps/x86_64/x32/sysdep.h: New file.
34775
eda41706
L
347762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34777
34778 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
34779 * sysdeps/x86_64/setjmp.S: Likewise.
34780
9ea01d93
AZ
347812012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34782
34783 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
34784 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
34785 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
34786 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
34787 remove unused global constant.
34788
02a91938
CM
347892012-05-15 Chris Metcalf <cmetcalf@tilera.com>
34790
34791 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
34792 include of <not-cancel.h>.
34793
6540185f
RM
347942012-05-15 Roland McGrath <roland@hack.frob.com>
34795
34796 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
34797
509072a0
AJ
347982012-05-15 Jeff Law <law@redhat.com>
34799 Andreas Jaeger <aj@suse.de>
34800
34801 [BZ #13594]
34802 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
34803 out from...
34804 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
34805 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
34806 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
34807 code changing __hst_map_handle.map.
34808
ba75122d
RM
348092012-05-15 Roland McGrath <roland@hack.frob.com>
34810
34811 * configure.in (sysnames): Look for Implies-before and Implies-after
34812 files.
34813 * configure: Regenerated.
34814
890d8bd8
L
348152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34816
34817 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
34818 8-byte data alignment with LP_SIZE alignment.
34819
f6ee6623
L
348202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34821
34822 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
34823 into R10_LP.
34824
ea2626f6
L
348252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34826
34827 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
34828
085f715e
L
348292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34830
34831 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
34832 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
34833 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
34834 Likewise.
34835 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34836
be8498fc
L
348372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34838
34839 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
34840 (stackinfo_sub_sp): Likewise.
34841
70bc83b9
L
348422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34843
34844 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
34845 RAX_LP.
34846
9bc0b730
L
348472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34848
34849 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
34850 into R*_LP.
34851
6d2850e7
L
348522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34853
34854 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
34855 sizes into R*_LP.
34856
3cb84561
L
348572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34858
34859 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
34860
54e2ed81
L
348612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34862
34863 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
34864 into R11_LP and load __x86_64_shared_cache_size_half into
34865 R8_LP.
34866
8a17f349
L
348672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34868
34869 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
34870 R8_LP.
34871
777b1eea
AZ
348722012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34873
34874 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
34875 logb for POWER7.
34876 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
34877 logbf for POWER7.
34878 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
34879 logbl for POWER7.
34880 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
34881 powerpc32/power7/fpu/s_logb.c via #include.
34882 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
34883 powerpc32/power7/fpu/s_logbf.c via #include.
34884 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
34885 powerpc32/power7/fpu/s_logbl.c via #include.
34886
d20d4ac2
JM
348872012-05-15 Joseph Myers <joseph@codesourcery.com>
34888
34889 * README.libm: Remove file.
34890
6cdef1ab
L
348912012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34892
34893 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
34894 count for x32. Use R*_LP and omit operand-size suffix.
34895
0b254d8f
L
348962012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34897
34898 * shlib-versions: Move x86_64-.*-linux.* entries to ...
34899 * sysdeps/x86_64/64/shlib-versions: Here. New file.
34900 * sysdeps/x86_64/x32/shlib-versions: New file.
34901
ceb809dc
RM
349022012-05-14 Roland McGrath <roland@hack.frob.com>
34903
34904 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
34905 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
34906 Use _dl_fatal_printf instead.
34907
37f1abd4
JM
349082012-05-14 Joseph Myers <joseph@codesourcery.com>
34909
34910 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
34911 set if not set by the user. Do not allow for being unset.
34912 * sysdeps/unix/sysv/linux/configure: Regenerated.
34913
11de3a33
L
349142012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34915
34916 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
34917 the `q' suffix from lea and replace .quad with ASM_ADDR.
34918
e02f153a
L
349192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34920
34921 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
34922 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
34923 instead of $17.
34924 (PTR_DEMANGLE): Likewise.
34925
520ae0fd
L
349262012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34927
34928 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
34929 (LP_OP): Likewise.
34930 (ASM_ADDR): Likewise.
34931 (RAX_LP): Likewise.
34932 (RBP_LP): Likewise.
34933 (RBX_LP): Likewise.
34934 (RCX_LP): Likewise.
34935 (RDI_LP): Likewise.
34936 (RSI_LP): Likewise.
34937 (RSP_LP): Likewise.
34938 (R8_LP): Likewise.
34939 (R9_LP): Likewise.
34940 (R10_LP): Likewise.
34941 (R10_LP): Likewise.
34942 (R11_LP): Likewise.
34943 (R12_LP): Likewise.
34944 (R13_LP): Likewise.
34945 (R14_LP): Likewise.
34946 (R15_LP): Likewise.
34947
b985be81
L
349482012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34949
34950 * sysdeps/x86_64/x32/dl-machine.h: New file.
34951
6a4888ff
AJ
349522012-05-14 Andreas Jaeger <aj@suse.de>
34953
34954 * manual/Makefile (subdir): Remove export of subdir.
34955 (all): Remove target.
34956 (.PHONY): Remove all from list.
34957 (mkinstalldirs): Remove.
34958 (.PHONY): Remove installdirs from list.
34959 ($(inst_infodir)/libc.info): Use make-target-directory.
34960 (installdirs): Remove.
34961 (subdir_%): Remove.
34962 (glibc-targets): Remove.
34963 (lib): Remove.
34964 (stubs): Remove.
34965 ($(objpfx)stubs ../po/manual.pot): Remove.
34966 ($(objpfx)stamp%): Remove.
34967 (make-target-directory): Remove.
34968 (subdir_install): Remove.
34969 (routines): Remove.
34970 (aux): Remove.
34971 (sources): Remove.
34972 (objects): Remove.
34973 (headers): Remove.
34974
34975 [BZ #13750]
34976 * manual/.gitignore: Remove, it's not needed anymore.
34977 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
34978 all files in it.
34979 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
34980 directory.
34981 (texis): Renamed to $(objpfx)texis.
34982 (texis-path): New, contains path to generated files.
34983 (chapters.%): Use texis-path for complete path, add extra argument
34984 libc-texinfo.sh.
34985 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
34986 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
34987 (summary,texi, stamp-summary): Use complete path of
34988 files. Generate files in build dir.
34989 (dir-add.texi): Build in build dir.
34990 (libm-err.texi,stamp-libm-err): Likewise.
34991 (version.texi, stamp-version): Likewise.
34992 (.%c.texi): Likewise.
34993 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
34994 (mostlyclean): Remove target.
34995 (realclean): Remove target.
34996 (generated): Add new variable with contents from mostlyclean and
34997 realclean, remove entries duplicated in common-mostlyclean, add
34998 stamp-libm-err and stamp-version.
34999 (generated-dirs): Add libc directory.
35000 ($(inst_infodir)/libc.info): Install files from build dir.
35001
35002 * manual/install.texi (Configuring and compiling): Adjust since
35003 the info files are not part of the tar ball anymore.
35004
7ac77294
AJ
350052012-05-14 Andreas Jaeger <aj@suse.de>
35006
35007 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
35008 variable.
35009
ffb7875d
JM
350102012-05-14 Joseph Myers <joseph@codesourcery.com>
35011
35012 [BZ #13717]
35013 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35014 to 2.2.0 where earlier.
35015 * sysdeps/unix/sysv/linux/configure: Regenerated.
35016 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
35017 Remove conditional code.
35018 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
35019 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
35020 Remove conditional code.
35021 [!__NR_lchown]: Likewise.
35022 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35023 [__NR_lchown]: Likewise.
35024 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
35025 comment referencing __ASSUME_LCHOWN_SYSCALL.
35026 * sysdeps/unix/sysv/linux/i386/sigaction.c
35027 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35028 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35029 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
35030 Remove conditional code.
35031 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
35032 (__protocol_available): Remove #if 0 code.
35033 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
35034 conditional code.
35035 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
35036 * sysdeps/unix/sysv/linux/kernel-features.h
35037 (__ASSUME_GETCWD_SYSCALL): Don't define.
35038 (__ASSUME_REALTIME_SIGNALS): Likewise.
35039 (__ASSUME_PREAD_SYSCALL): Likewise.
35040 (__ASSUME_PWRITE_SYSCALL): Likewise.
35041 (__ASSUME_POLL_SYSCALL): Likewise.
35042 (__ASSUME_LCHOWN_SYSCALL): Likewise.
35043 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
35044 non-SPARC.
35045 (__ASSUME_SIOCGIFNAME): Don't define.
35046 (__ASSUME_MSG_NOSIGNAL): Likewise.
35047 (__ASSUME_SENDFILE): Define unconditionally.
35048 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
35049 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
35050 conditional code.
35051 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
35052 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
35053 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35054 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35055 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
35056 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35057 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
35059 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35060 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35062 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35063 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
35065 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35066 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35068 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35069 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
35071 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35072 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
35074 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35075 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
35077 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35078 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
35080 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35081 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35082 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
35083 Remove conditional code.
35084 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35085 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35086 Remove conditional code.
35087 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35088 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
35089 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
35090 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35091 Remove conditional code.
35092 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35093 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
35094 Remove conditional code.
35095 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35096 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
35097 Remove conditional code.
35098 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35099 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35100 Remove conditional code.
35101 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35102 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35103 Remove conditional code.
35104 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35105 * sysdeps/unix/sysv/linux/sh/pwrite64.c
35106 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35107 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35108 * sysdeps/unix/sysv/linux/sigaction.c
35109 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35110 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35111 * sysdeps/unix/sysv/linux/sigpending.c
35112 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35113 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35114 * sysdeps/unix/sysv/linux/sigprocmask.c
35115 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35116 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35117 * sysdeps/unix/sysv/linux/sigsuspend.c
35118 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35119 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35120 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35121 (__libc_missing_rt_sigs): Remove.
35122 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
35123 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
35124 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
35125 Remove conditional code.
35126 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
35127 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
35128 return 1.
35129 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
35130 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
35131 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
35132 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
35133
1bfb7291
AJ
351342012-05-14 Andreas Jaeger <aj@suse.de>
35135
caae5a81
AJ
35136 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
35137 it's not used in glibc.
35138 (__coshm1): Likewise.
35139 (__acosh1p): Likewise.
35140 (__sgn): Likewise.
35141
1bfb7291
AJ
35142 * manual/string.texi (Copying and Concatenation): Add missing
35143 variable in concat example.
35144 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35145
c044d724
L
351462012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35147
144c5467 35148 [BZ #14103]
c044d724
L
35149 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
35150 __builtin_clzl with __builtin_clzll.
35151
2523c62b
L
351522012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35153
35154 [BZ #14104]
35155 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
35156 libc_freeres_ptr.
35157
d7bb4c42
LD
351582012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35159
35160 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
35161 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
35162 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
35163 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
35164
9dc4e1fb
MF
351652012-05-14 Mike Frysinger <vapier@gentoo.org>
35166
35167 * NEWS: Update ia64 info.
35168
c7df0112
AS
351692012-05-12 Andreas Schwab <schwab@linux-m68k.org>
35170
35171 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
35172 used as bcopy.
35173
dc70356c
TS
351742012-05-12 Thomas Schwinge <thomas@codesourcery.com>
35175
35176 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
35177 * sysdeps/unix/syscalls.list (dup3): Likewise.
35178 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
35179 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
35180
9fb1a21f
L
351812012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35182
35183 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
35184 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
35185
4822a2a5
L
351862012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35187
35188 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
35189 thread pointer.
35190 (TLS_IE): Use mov/add instead of movq/addq to load thread
35191 pointer.
35192 (TLS_GD_PREFIX): New.
35193 (TLS_GD): Use it.
35194
842b81d6
DM
351952012-05-11 David S. Miller <davem@davemloft.net>
35196
35197 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
35198 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
35199 (_FPU_SETCW): Likewise.
35200
1cf463cd
L
352012012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35202
35203 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
35204 is 32-byte aligned.
35205
60cc4a18
AS
352062012-05-11 Andreas Schwab <schwab@linux-m68k.org>
35207
35208 [BZ #11837]
35209 * iconvdata/gb18030.c: Update tables.
35210 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
35211 characters specially.
35212 (BODY for TO_LOOP): Add encoding of missing ranges.
35213
febb44a4
TS
352142012-05-11 Thomas Schwinge <thomas@codesourcery.com>
35215
35216 [BZ #13673]
35217 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
35218 * sysdeps/mach/hurd/dup3.c: Likewise.
35219 * sysdeps/mach/hurd/readlinkat.c: Likewise.
35220 * sysdeps/powerpc/memmove.c:: Likewise.
35221
0a10fb9e
L
352222012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35223
35224 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
35225 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
35226
df8a552f
L
352272012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35228
35229 * elf/elf.h (R_X86_64_RELATIVE64): New.
35230 (R_X86_64_NUM): Updated.
35231 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35232 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
35233 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
35234 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
35235 tst-quad1pie tst-quad2pie
35236 (modules-names): Add tst-quadmod1 tst-quadmod2.
35237 ($(objpfx)tst-quad1): New dependency.
35238 ($(objpfx)tst-quad2): Likewise.
35239 ($(objpfx)tst-quad1pie): Likewise.
35240 ($(objpfx)tst-quad2pie): Likewise.
35241 * sysdeps/x86_64/tst-quad1.c: New file.
35242 * sysdeps/x86_64/tst-quad1pie.c: New file.
35243 * sysdeps/x86_64/tst-quad2.c: Likewise.
35244 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
35245 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
35246 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
35247 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
35248 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
35249
f34d6f84
ST
352502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35251
f42d41d1
ST
35252 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
35253 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
35254 * streams/stropts.h (t_scalar_t): Define type.
35255
3c3571fc
ST
35256 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
35257 (_PATH_PRESERVE): Set to "/var/lib".
35258 (_PATH_RWHODIR): Set to "/var/spool/rwho".
35259
61f06bd3
ST
35260 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
35261 instead of int.
35262
918d4d71
ST
35263 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
35264 if __dir_mkfile succeeded.
35265
f34d6f84
ST
35266 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
35267 checking for _hurd_dtablesize. Unlock it right after having
35268 finished _hurd_dtable allocation.
35269
10589b4a
TS
352702012-05-10 Thomas Schwinge <thomas@schwinge.name>
35271
674cdbc7
TS
35272 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
35273 * sysdeps/mach/hurd/configure: Regenerated.
35274 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
35275 special-casing to...
35276 * sysdeps/gnu/configure.in: ... this new file.
35277 * sysdeps/unix/sysv/linux/configure: Regenerated.
35278 * sysdeps/gnu/configure: New generated file.
35279
8e41b99f
TS
35280 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
35281 for Linux: use nsec instead of usec, as well as:
35282 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
35283 members of type struct timespec.
35284 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
35285 New macros.
35286 (struct stat64): Likewise.
35287 (_STATBUF_ST_NSEC): New macro.
35288 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
35289
10589b4a
TS
35290 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35291 __strtoul_internal rather than strtoul.
35292
63643c85
PT
352932012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35294
35295 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
35296 and reject them.
35297
3faebe6a
ST
352982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35299
35300 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
35301 which preserves existing values.
35302 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
35303
c6474b07
PT
353042012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35305
35306 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
35307 TIMEOUT values. Return EINVAL for NFDS values either negative or
35308 greater than FD_SETSIZE.
35309
1043890b
ST
353102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35311
35312 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
35313 allocated, call __vm_protect to finish enabling the existing space, and
35314 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
35315 allocate the remainder.
35316
37ed8b9b
PT
353172012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35318
35319 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
35320 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
35321
db653660
ST
353222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35323
37ed8b9b
PT
35324 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
35325 sysdeps/mach/hurd/readlink.c.
b29d4053 35326
db653660
ST
35327 * posix/tst-sysconf.c (posix_options): Only use
35328 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
35329 _POSIX_SYNCHRONIZED_IO when they are defined
35330 * sysdeps/mach/hurd/bits/posix_opt.h:
35331 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
35332 (_XOPEN_REALTIME): Undefine macro.
35333 (_XOPEN_REALTIME_THREADS): Undefine macro.
35334 (_XOPEN_SHM): Undefine macro.
35335 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
35336 macro to -1.
35337 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
35338 macro to -1.
35339 (_POSIX_ASYNC_IO): Undefine macro.
35340 (_POSIX_PRIORITIZED_IO): Undefine macro.
35341 (_POSIX_SPIN_LOCKS): Define macro to -1.
35342
ee16e894
ST
35343 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
35344 SA_NODEFER, SA_RESETHAND.
35345 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
35346 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
35347 F_DUPFD_CLOEXEC.
35348
6103ae3b
TS
353492012-05-10 Thomas Schwinge <thomas@schwinge.name>
35350
35351 * elf/Makefile (pldd-modules): Define unconditionally.
35352
80b4e5f3
TS
353532012-05-10 Thomas Schwinge <thomas@schwinge.name>
35354
35355 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
35356
edadcbd6
ST
353572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35358
35359 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
35360 Return ENOENT when name is empty.
35361 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
35362
80694780
TS
353632012-05-10 Thomas Schwinge <thomas@schwinge.name>
35364
1792c087
TS
35365 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
35366
80694780
TS
35367 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
35368
6b645f0d
ST
353692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35370
80694780
TS
35371 Fix mlock in all cases except non-readable pages.
35372 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
35373 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 35374
6b645f0d
ST
35375 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
35376 (__mkdir): When path is `/', just fail with EEXIST.
35377 * sysdeps/mach/hurd/mkdirat.c: Likewise.
35378
e468f8a3
TS
353792012-05-10 Thomas Schwinge <thomas@schwinge.name>
35380
35381 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
35382 <sys/uio.h> (for writev).
35383 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
35384 and <sys/param.h> (for MIN).
35385
a4186cff
PT
353862012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35387
35388 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
35389 REQUESTED_TIME. Properly set the remaining time and return EINTR
35390 if interrupted.
35391
510bbf14
TS
353922012-05-10 Thomas Schwinge <thomas@schwinge.name>
35393
35394 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
35395 Depend on against $(link-rpcuserlibs).
35396
5d5722e8
ST
353972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35398
a4186cff
PT
35399 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
35400 (__libc_stack_end): Do not use attribute_relro.
35401 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
35402 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 35403 to libthread-provided value.
a4186cff
PT
35404 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
35405 attribute_relro.
5d5722e8 35406
37233df9
TS
354072012-05-10 Thomas Schwinge <thomas@schwinge.name>
35408
be971a2b
TS
35409 [BZ #3748]
35410 * bits/libc-lock.h (__libc_once_get): New macro.
35411 * sysdeps/mach/bits/libc-lock.h: Likewise.
35412 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
35413 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
35414 instead of using implementation details.
35415
37233df9
TS
35416 * libio/fileops.c: Unconditionally include <kernel-features.h>.
35417 * libio/freopen.c: Likewise.
35418 * libio/freopen64.c: Likewise.
35419 * misc/syslog.c: Likewise.
35420 * nscd/connections.c: Likewise.
35421 * nscd/netgroupcache.c: Likewise.
35422 * sysdeps/posix/getcwd.c: Likewise.
35423
38de94a5
RM
354242012-05-10 Roland McGrath <roland@hack.frob.com>
35425
35426 * math/w_ilogbf.c: Add #include <limits.h>.
35427
67530489
ST
354282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35429
a4186cff 35430 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
35431 path instead of returning without unlocking.
35432
67530489
ST
35433 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
35434 immediate-write ioctls.
35435 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
35436
5aa3a74a
TS
354372012-05-10 Thomas Schwinge <thomas@schwinge.name>
35438
18bad2ae
TS
35439 * sysdeps/mach/hurd/i386/init-first.c (init): Use
35440 __builtin_frame_address instead of making assumptions about the
35441 location of the return address relative to DATA. Force early load of
35442 the return address.
35443 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
35444 __builtin_frame_address.
35445
5aa3a74a
TS
35446 dup3 for GNU Hurd.
35447 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
35448 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
35449 implement dup3 and do some further code clean-ups.
35450 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
35451 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
35452
ecd0de9a
ST
354532012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35454
cd9fa985
ST
35455 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
35456
a4186cff
PT
35457 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
35458 HURD_CRITICAL_END around holding _hurd_dtable_lock.
35459 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
35460 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
35461 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
35462 d->port.lock.
802ca5a5 35463
a4186cff
PT
35464 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
35465 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
35466 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 35467
bcf55240
TS
354682012-05-10 Thomas Schwinge <thomas@schwinge.name>
35469
6960eb42
TS
35470 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
35471 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
35472 definitions.
35473
eb43375f
TS
35474 accept4 for GNU Hurd.
35475 * include/sys/socket.h (__libc_accept4): New prototype.
35476 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
35477 to implement __libc_accept4.
35478 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
35479 __libc_accept4.
35480 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
35481
bcf55240
TS
35482 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
35483 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
35484 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
35485 signal-defines.sym.
35486
6178c55b
ST
354872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35488
a4186cff 35489 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 35490
6f080c2f
TS
354912012-05-10 Thomas Schwinge <thomas@schwinge.name>
35492
35493 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
35494 assertion on O_CLOEXEC flag.
35495 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
35496 * hurd/intern-fd.c: Likewise.
35497 * hurd/port2fd.c: Likewise.
35498
bcfe3a54
ST
354992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35500
35501 [BZ #3906]
35502 * bits/in.h (IPV6_PKTINFO): Define new macro.
35503 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
35504
89c9aa49
AZ
355052012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35506
35507 [BZ #13954]
35508 [BZ #13955]
35509 [BZ #13956]
35510 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
35511 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35512 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
35513 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
35514 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35515 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
35516 * math/libm-test.inc (logb_test) : Additional logb tests.
35517
021db4be
AJ
355182012-05-09 Andreas Schwab <schwab@linux-m68k.org>
35519 Andreas Jaeger <aj@suse.de>
35520
35521 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
35522 * configure: Regenerated.
35523 * config.h.in (LINK_OBSOLETE_RPC): New macro.
35524 * config.make.in (link-obsolete-rpc): New substituted variable.
35525 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
35526 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
35527 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35528 (shared-only-routines): Don't set it under [link-obsolete-rpc],
35529 so that libc.a contains the symbols.
35530 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35531 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
35532 * sunrpc/auth_none.c: Likewise.
35533 * sunrpc/auth_unix.c: Likewise.
35534 * sunrpc/authdes_prot.c: Likewise.
35535 * sunrpc/authuxprot.c: Likewise.
35536 * sunrpc/clnt_gen.c: Likewise.
35537 * sunrpc/clnt_perr.c: Likewise.
35538 * sunrpc/clnt_raw.c: Likewise.
35539 * sunrpc/clnt_simp.c: Likewise.
35540 * sunrpc/clnt_tcp.c: Likewise.
35541 * sunrpc/clnt_udp.c: Likewise.
35542 * sunrpc/clnt_unix.c: Likewise.
35543 * sunrpc/des_crypt.c: Likewise.
35544 * sunrpc/des_soft.c: Likewise.
35545 * sunrpc/get_myaddr.c: Likewise.
35546 * sunrpc/key_call.c: Likewise.
35547 * sunrpc/key_prot.c: Likewise.
35548 * sunrpc/netname.c: Likewise.
35549 * sunrpc/pm_getmaps.c: Likewise.
35550 * sunrpc/pm_getport.c: Likewise.
35551 * sunrpc/pmap_clnt.c: Likewise.
35552 * sunrpc/pmap_prot.c: Likewise.
35553 * sunrpc/pmap_prot2.c: Likewise.
35554 * sunrpc/pmap_rmt.c: Likewise.
35555 * sunrpc/publickey.c: Likewise.
35556 * sunrpc/rpc_cmsg.c: Likewise.
35557 * sunrpc/rpc_common.c: Likewise.
35558 * sunrpc/rpc_dtable.c: Likewise.
35559 * sunrpc/rpc_prot.c: Likewise.
35560 * sunrpc/rpc_thread.c: Likewise.
35561 * sunrpc/rtime.c: Likewise.
35562 * sunrpc/svc.c: Likewise.
35563 * sunrpc/svc_auth.c: Likewise.
35564 * sunrpc/svc_raw.c: Likewise.
35565 * sunrpc/svc_run.c: Likewise.
35566 * sunrpc/svc_tcp.c: Likewise.
35567 * sunrpc/svc_udp.c: Likewise.
35568 * sunrpc/svc_unix.c: Likewise.
35569 * sunrpc/svcauth_des.c: Likewise.
35570 * sunrpc/xcrypt.c: Likewise.
35571 * sunrpc/xdr.c: Likewise.
35572 * sunrpc/xdr_array.c: Likewise.
35573 * sunrpc/xdr_float.c: Likewise.
35574 * sunrpc/xdr_intXX_t.c: Likewise.
35575 * sunrpc/xdr_mem.c: Likewise.
35576 * sunrpc/xdr_rec.c: Likewise.
35577 * sunrpc/xdr_ref.c: Likewise.
35578 * sunrpc/xdr_sizeof.c: Likewise.
35579 * sunrpc/xdr_stdio.c: Likewise.
35580
b5c086a2
RM
355812012-05-10 Roland McGrath <roland@hack.frob.com>
35582
35583 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
35584 change. Update copyright years.
35585
6d74dd09
JM
355862012-05-10 Joseph Myers <joseph@codesourcery.com>
35587
35588 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
35589
28e72501
MK
355902012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
35591 Joseph Myers <joseph@codesourcery.com>
35592 Paul Pluzhnikov <ppluzhnikov@google.com>
35593
35594 [BZ #14012]
35595 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
35596 requiring rpcgen.
35597 [cross-compiling] (extra-libs): Likewise.
35598 [cross-compiling] (extra-libs-others): Likewise.
35599 [cross-compiling] (librpcsvc-routines): Likewise.
35600 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
35601 [cross-compiling] (omit-deps): Likewise.
35602 (sunrpc-CPPFLAGS): New variable.
35603 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
35604 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
35605 (cross-rpcgen-objs): New variable.
35606 (extra-objs): Append $(cross-rpcgen-objs).
35607 ($(cross-rpcgen-objs)): New rule.
35608 ($(objpfx)cross-rpcgen): Likewise.
35609 (rpcgen-cmd): Define to use $(built-program-file). Expand
35610 comment.
35611 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
35612 ($(objpfx)x%.stmp): Likewise.
35613 * sunrpc/proto.h [IS_IN_build] (_): Define.
35614 [IS_IN_build] (_libc_intl_domainname): Likewise.
35615
c8c59454
L
356162012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35617
35618 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
35619 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
35620 and R_X86_64_TPOFF64.
35621
6f27cd16
JM
356222012-05-10 Joseph Myers <joseph@codesourcery.com>
35623
35624 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
35625 sysdeps/unix/sysv/syscalls.list.
35626 (stime): Likewise.
35627 (utime): Likewise.
35628 * sysdeps/unix/sysv/syscalls.list: Remove file.
35629
02467e1c
PE
356302012-05-10 Paul Eggert <eggert@cs.ucla.edu>
35631
35632 [BZ #3440]
35633 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
35634 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
35635 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
35636 (__LC_IDENTIFICATION): Make these macros useful in #if
35637 expressions, as required by C99.
35638
da392631
AS
356392012-05-10 Andreas Schwab <schwab@linux-m68k.org>
35640
35641 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
35642 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
35643 after this.
35644
8115f29b
L
356452012-05-09 H.J. Lu <hongjiu.lu@intel.com>
35646
35647 * stdlib/longlong.h: Updated from GCC.
35648
bdd74070
AJ
356492012-05-09 Andreas Jaeger <aj@suse.de>
35650
edfe0dbe
AJ
35651 * nscd/nscd.c (run_modes): Make named enum, reorder so that
35652 default is first entry.
35653 (run_mode): Set type.
35654 (main): Remove informal message about syslog.
35655 (options): Fix typo.
35656
bcfe3a54
ST
35657 [BZ #14053]
35658 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 35659 to asm.
bcfe3a54
ST
35660 (lrint): Likewise.
35661 (llrintf): Likewise.
35662 (llrint): Likewise.
35663 (rint): Likewise.
35664 (rintf): Likewise.
35665 (nearbyint): Likewise.
35666 (nearbyintf): Likewise.
bdd74070 35667
91d8d69e
AJ
356682012-05-09 Andreas Jaeger <aj@suse.de>
35669 Pedro Alves <palves@redhat.com>
35670
35671 * nscd/nscd.c (run_mode): Use enum.
35672 (main): Cleanup coding style issue.
35673
bb90b80b
AJ
356742012-05-09 Alexandre Oliva <aoliva@redhat.com>
35675 Andreas Jaeger <aj@suse.de>
35676
bcfe3a54
ST
35677 * nscd/nscd.c (go_background): Replaced with...
35678 (run_mode): ... this.
bb90b80b 35679 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
35680 (options): Add -F --foreground.
35681 (main): Implement it.
35682 (parse_opt): Parse it.
bb90b80b 35683
1a4b75a1
AJ
356842012-05-09 Andreas Jaeger <aj@suse.de>
35685
35686 [BZ #14083]
35687 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
35688 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
35689 -Wconversion warning.
35690 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
35691 Likewise.
35692
b1cc2472
JM
356932012-05-09 Joseph Myers <joseph@codesourcery.com>
35694
35695 * conform/data/locale.h-data (NULL): Use macro-constant. Require
35696 == 0.
35697 (LC_ALL): Use macro-int-constant.
35698 (LC_COLLATE): Likewise.
35699 (LC_CTYPE): Likewise.
35700 (LC_MESSAGES): Likewise.
35701 (LC_MONETARY): Likewise.
35702 (LC_NUMERIC): Likewise.
35703 (LC_TIME): Likewise.
35704 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
35705 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35706 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35707 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
35708 Specify type.
35709 [C99-based standards] (float_t): Expect type.
35710 [C99-based standards] (double_t): Expect type.
35711 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
35712 type.
35713 [C99-based standards] (HUGE_VALL): Likewise.
35714 [C99-based standards] (INFINITY): Likewise.
35715 [C99-based standards] (NAN): Likewise.
35716 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
35717 [C99-based standards] (FP_NAN): Likewise.
35718 [C99-based standards] (FP_NORMAL): Likewise.
35719 [C99-based standards] (FP_SUBNORMAL): Likewise.
35720 [C99-based standards] (FP_ZERO): Likewise.
35721 [C99-based standards] (FP_FAST_FMA): Use
35722 optional-macro-int-constant. Specify type. Require == 1.
35723 [C99-based standards] (FP_FAST_FMAF): Likewise.
35724 [C99-based standards] (FP_FAST_FMAL): Likewise.
35725 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
35726 [C99-based standards] (FP_ILOGBNAN): Likewise.
35727 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
35728 Specify type.
35729 [C99-based standards] (MATH_ERREXCEPT): Likewise.
35730 [C99-based standards] (math_errhandling): Specify type.
35731 [ISO99 || ISO11] (signgam): Do not allow.
35732 [non-C99-based standards] (copysignf): Do not allow.
35733 [non-C99-based standards] (exp2f): Likewise.
35734 [non-C99-based standards] (log2f): Likewise.
35735 [non-C99-based standards] (modff): Allow.
35736 [non-C99-based standards] (erff): Do not allow.
35737 [non-C99-based standards] (erfcf): Likewise.
35738 [non-C99-based standards] (gammaf): Likewise.
35739 [non-C99-based standards] (hypotf): Likewise.
35740 [non-C99-based standards] (j0f): Likewise.
35741 [non-C99-based standards] (j1f): Likewise.
35742 [non-C99-based standards] (jnf): Likewise.
35743 [non-C99-based standards] (lgammaf): Likewise.
35744 [non-C99-based standards] (tgammaf): Likewise.
35745 [non-C99-based standards] (y0f): Likewise.
35746 [non-C99-based standards] (y1f): Likewise.
35747 [non-C99-based standards] (ynf): Likewise.
35748 [non-C99-based standards] (isnanf): Likewise.
35749 [non-C99-based standards] (acoshf): Likewise.
35750 [non-C99-based standards] (asinhf): Likewise.
35751 [non-C99-based standards] (atanhf): Likewise.
35752 [non-C99-based standards] (cbrtf): Likewise.
35753 [non-C99-based standards] (expm1f): Likewise.
35754 [non-C99-based standards] (ilogbf): Likewise.
35755 [non-C99-based standards] (log1pf): Likewise.
35756 [non-C99-based standards] (logbf): Likewise.
35757 [non-C99-based standards] (nextafterf): Likewise.
35758 [non-C99-based standards] (remainderf): Likewise.
35759 [non-C99-based standards] (rintf): Likewise.
35760 [non-C99-based standards] (scalbf): Likewise.
35761 [non-C99-based standards] (copysignl): Likewise.
35762 [non-C99-based standards] (exp2l): Likewise.
35763 [non-C99-based standards] (log2l): Likewise.
35764 [non-C99-based standards] (modfl): Allow.
35765 [non-C99-based standards] (erfl): Do not allow.
35766 [non-C99-based standards] (erfcl): Likewise.
35767 [non-C99-based standards] (gammal): Likewise.
35768 [non-C99-based standards] (hypotl): Likewise.
35769 [non-C99-based standards] (j0l): Likewise.
35770 [non-C99-based standards] (j1l): Likewise.
35771 [non-C99-based standards] (jnl): Likewise.
35772 [non-C99-based standards] (lgammal): Likewise.
35773 [non-C99-based standards] (tgammal): Likewise.
35774 [non-C99-based standards] (y0l): Likewise.
35775 [non-C99-based standards] (y1l): Likewise.
35776 [non-C99-based standards] (ynl): Likewise.
35777 [non-C99-based standards] (isnanl): Likewise.
35778 [non-C99-based standards] (acoshl): Likewise.
35779 [non-C99-based standards] (asinhl): Likewise.
35780 [non-C99-based standards] (atanhl): Likewise.
35781 [non-C99-based standards] (cbrtl): Likewise.
35782 [non-C99-based standards] (expm1l): Likewise.
35783 [non-C99-based standards] (ilogbl): Likewise.
35784 [non-C99-based standards] (log1pl): Likewise.
35785 [non-C99-based standards] (logbl): Likewise.
35786 [non-C99-based standards] (nextafterl): Likewise.
35787 [non-C99-based standards] (remainderl): Likewise.
35788 [non-C99-based standards] (rintl): Likewise.
35789 [non-C99-based standards] (scalbl): Likewise.
35790 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35791 [non-C99-based standards] (FP_*): Do not allow.
35792 [C99-based standards] (FP_*): Change to
35793 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35794 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35795 allow.
35796 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
35797 (SIG_ERR): Likewise.
35798 [X/Open-based standards] (SIG_HOLD): Likewise.
35799 (SIG_IGN): Likewise.
35800 (SIGABRT): Use macro-int-constant. Specify type. Require
35801 positive value.
35802 (SIGFPE): Likewise.
35803 (SIGILL): Likewise.
35804 (SIGINT): Likewise.
35805 (SIGSEGV): Likewise.
35806 (SIGTER): Likewise.
35807 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
35808 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
35809 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
35810 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
35811 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
35812 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
35813 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
35814 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
35815 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
35816 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
35817 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
35818 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
35819 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
35820 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
35821 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
35822 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
35823 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
35824 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
35825 [X/Open-based standards] (SIGTRAP): Likewise.
35826 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
35827 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
35828 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
35829 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
35830 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35831 allow.
35832
b9f1922d
IW
358332012-05-08 Ian Wienand <ianw@vmware.com>
35834
35835 [BZ #14080]
35836 * time/tzset.c (__tzset_parse_tz): Update default rules for
35837 daylight time changes in the Energy Policy Act of 2005.
35838
1db86e88
AJ
358392012-05-09 Andreas Jaeger <aj@suse.de>
35840
35841 [BZ #13983]
35842 * elf/ldconfig.c (parse_conf): Change string to make clear that
35843 ldconfig only issued a warning if ld.so.conf does not exist.
35844
dee4a4e3
DM
358452012-05-08 David S. Miller <davem@davemloft.net>
35846
ee0db190
DM
35847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
35848 movxtod instead of popping the value on the stack.
35849
dee4a4e3
DM
35850 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35851
6a43ec98
CD
358522012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
35853
35854 * config.h.in: Add HAVE_ARM_PCS_VFP.
35855
05c2c961
RMG
358562012-05-08 Roland Mc Grath <roland@hack.frob.com>
35857
bcfe3a54
ST
35858 [BZ #13979]
35859 * include/features.h: Warn if user requests __FORTIFY_SOURCE
35860 checking but the checks are disabled for any reason.
05c2c961 35861
4b30f61a
L
358622012-05-08 H.J. Lu <hongjiu.lu@intel.com>
35863
35864 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
35865 and ELF64_R_TYPE with ELFW(R_TYPE).
35866
eee2bc67
JM
358672012-05-08 Joseph Myers <joseph@codesourcery.com>
35868
7ea5391a
JM
35869 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
35870 (ulimit): Likewise.
35871
eee2bc67
JM
35872 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
35873 (settimeofday): Likewise.
35874
abb66a67
MF
358752012-05-08 Mike Frysinger <vapier@gentoo.org>
35876
35877 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
35878 a struct th_u2 inside the union, and move tu_block/tu_code into
35879 a new th_u3 union of tu_block/tu_code inside of that. Move
35880 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
35881 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
35882 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
35883 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
35884 (th_stuff): Change to th_u1.tu_stuff.
35885 (th_data): Define.
35886 (th_msg): Change to th_u1.th_u2.tu_data.
35887
7f18b530
DM
358882012-05-07 David S. Miller <davem@davemloft.net>
35889
05760585
DM
35890 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35891
7f18b530
DM
35892 [BZ #14074]
35893 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
35894 (SETUP_PIC_REG): Use it.
35895 (SETUP_PIC_REG_LEAF): Use it.
35896
495fd99f
JM
358972012-05-07 Joseph Myers <joseph@codesourcery.com>
35898
35899 [BZ #13885]
35900 [BZ #13923]
35901 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35902 USE_AS_EXPM1L.
35903 (EXPL_FINITE): Likewise.
35904 (FLDLOG): Likewise.
35905 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35906 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35907 e_expl.S.
35908 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35909 USE_AS_EXPM1L.
35910 (EXPL_FINITE): Likewise.
35911 (FLDLOG): Likewise.
35912 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35913 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35914 e_expl.S.
35915 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
35916 test of -max_value argument for long double.
35917 * sysdeps/i386/fpu/libm-test-ulps: Update.
35918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35919
6693d694
DM
359202012-05-06 David S. Miller <davem@davemloft.net>
35921
35922 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
35923 quad soft-float symbols whose references which are compiler
35924 generated.
35925 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35926
6c23e11c
JM
359272012-05-06 Joseph Myers <joseph@codesourcery.com>
35928
d8b82cad
JM
35929 [BZ #13884]
35930 [BZ #13914]
35931 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35932 USE_AS_EXP10L.
35933 (EXPL_FINITE): Likewise.
35934 (FLDLOG): Likewise.
35935 (c0): Likewise.
35936 (c1): Likewise.
35937 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35938 Adjust comments for base varying.
35939 (__expl_finite): Change alias to EXPL_FINITE.
35940 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
35941 e_expl.S.
35942 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
35943 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
35944 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35945 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
35946 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35947 USE_AS_EXP10L.
35948 (EXPL_FINITE): Likewise.
35949 (FLDLOG): Likewise.
35950 (c0): Likewise.
35951 (c1): Likewise.
35952 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35953 Adjust comments for base varying.
35954 (__expl_finite): Change alias to EXPL_FINITE.
35955 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
35956 tests for bugs.
35957 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35958
6c23e11c
JM
35959 [BZ #14064]
35960 * math/libm-test.inc (check_float_internal): Correct ulp
35961 calculation for subnormal expected results.
35962
29ba805c
AJ
359632012-05-06 Andreas Jaeger <aj@suse.de>
35964
35965 * Makeconfig (+math-flags): New, set to -frounding-math.
35966 (+cflags): Add +math-flags so that all of glibc gets compiled with
35967 it.
35968
35969 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
35970
7b17aeda
JM
359712012-05-05 Joseph Myers <joseph@codesourcery.com>
35972
5779f134
JM
35973 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
35974 Disable one test.
35975
41498f4d
JM
35976 [BZ #13787]
35977 [BZ #13922]
35978 [BZ #14036]
35979 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
35980 (__ieee754_expl): Allow for and saturate large arguments.
35981 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
35982 (u_threshold): Likewise.
35983 (__exp): Call __ieee754_exp before checking for overflow and
35984 underflow.
35985 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
35986 (u_threshold): Likewise.
35987 (__expf): Call __ieee754_expf before checking for overflow and
35988 underflow.
35989 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
35990 (u_threshold): Likewise.
35991 (__expl): Call __ieee754_expl before checking for overflow and
35992 underflow.
35993 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
35994 (__ieee754_expl): Allow for and saturate large arguments.
35995 * math/libm-test.inc (exp_test): Add another test. Do not allow
35996 missing overflow exception on overflow.
35997 (expm1_test): Do not allow missing overflow exception on overflow.
35998
6698b8bf
JM
35999 * sysdeps/i386/fpu/e_expl.c: Move to ...
36000 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
36001 rather than using inline asm.
36002 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
36003 * sysdeps/x86_64/fpu/e_expl.S: Copy from
36004 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
36005
7b17aeda
JM
36006 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
36007 (nice): Likewise.
36008 (poll): Likewise.
36009 (signal): Likewise.
36010 (time): Likewise.
36011 (times): Likewise.
36012
f7c85819
JM
360132012-05-04 Joseph Myers <joseph@codesourcery.com>
36014
36015 * sysdeps/unix/syscalls.list (adjtime): Add entry from
36016 sysdeps/unix/common/syscalls.list.
36017 (fchmod): Likewise.
36018 (fchown): Likewise.
36019 (ftruncate): Likewise.
36020 (getrusage): Likewise.
36021 (gettimeofday): Likewise.
36022 (setpgid): Likewise.
36023 (setregid): Likewise.
36024 (setreuid): Likewise.
36025 (sigaction): Likewise.
36026 (truncate): Likewise.
36027 (vhangup): Likewise.
36028 * sysdeps/unix/common/syscalls.list: Remove file.
36029 * sysdeps/unix/bsd/Implies: Don't include unix/common.
36030 * sysdeps/unix/sysv/linux/Implies: Likewise.
36031
336270d0
L
360322012-05-04 H.J. Lu <hongjiu.lu@intel.com>
36033
36034 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
36035 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
36036 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
36037 Moved to ...
36038 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36039 Here.
36040 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
36041 to ...
36042 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
36043 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
36044 to ...
36045 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
36046 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
36047 to ...
36048 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
36049 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
36050 to ...
36051 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
36052 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
36053 to ...
36054 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
36055 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
36056 to ...
36057 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
36058 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
36059 to ...
36060 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
36061 Here.
36062 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
36063 to ...
36064 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
36065 Here.
36066 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
36067 to ...
36068 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
36069 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
36070 Moved to ...
36071 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
36072 Here.
36073 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
36074 to ...
36075 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
36076
d128e450
JM
360772012-05-04 Joseph Myers <joseph@codesourcery.com>
36078
fa8ee516
JM
36079 * sysdeps/unix/common/bits/dirent.h: Remove file.
36080 * sysdeps/unix/common/bits/fcntl.h: Likewise.
36081
d128e450
JM
36082 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
36083 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
36084 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
36085 * sysdeps/unix/bsd/isatty.c: Likewise.
36086 * sysdeps/unix/bsd/tcdrain.c: Likewise.
36087 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
36088 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
36089
ff8faaf0 360902012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 36091
62881be4 36092 [BZ #13563]
31dc8730
AZ
36093 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
36094 long double comparison inaccuracies.
36095 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
36096 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36097
6fef930c
AS
360982012-05-04 Andreas Schwab <schwab@linux-m68k.org>
36099
36100 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
36101 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
36102
8f203e6c
JM
361032012-05-04 Joseph Myers <joseph@codesourcery.com>
36104
36105 [BZ #14049]
36106 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
36107 nonzero digits before rounding a hex value.
36108 * stdlib/tst-strtod.c (tests): Add another test.
36109
5197d9c2
AK
361102012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36111
36112 * sysdeps/s390/fpu/libm-test-ulps: Update.
36113
f0c1dedf
AJ
361142012-05-03 Andreas Jaeger <aj@suse.de>
36115
36116 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
36117 does not get optimized out.
36118 (malloc_opt_barrier): New.
36119
a65ef2ae 361202012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 36121 Roland McGrath <roland@hack.frob.com>
a65ef2ae 36122
2b942cb7 36123 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 36124 intermediate file deletion.
2b942cb7 36125 (generated): Add .symlist files.
a65ef2ae 36126
54b71e02
JM
361272012-05-03 Joseph Myers <joseph@codesourcery.com>
36128
36129 [BZ #13775]
36130 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
36131 Redirect under this condition.
36132 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36133 [__USE_GNU] (__dprintf_chk): Not under this condition.
36134 [__USE_GNU] (__vdprintf_chk): Likewise.
36135 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
36136 under this condition.
36137 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36138 [__USE_XOPEN2K8] (dprintf): Define under this condition.
36139 [__USE_XOPEN2K8] (vdprintf): Likewise.
36140 [__USE_GNU] (__dprintf_chk): Not under this condition.
36141 [__USE_GNU] (__vdprintf_chk): Likewise.
36142 [__USE_GNU] (dprintf): Likewise.
36143 [__USE_GNU] (vdprintf): Likewise.
36144
d3dfcc41
RM
361452012-05-03 Roland McGrath <roland@hack.frob.com>
36146
36147 * elf/Makefile (common-generated): Set this instead of generated for
36148 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
36149 $(all-built-dso)-derived lists.
36150
7ac30cc5
AJ
361512012-05-03 Andreas Jaeger <aj@suse.de>
36152
0c51e550
AJ
36153 * sysdeps/i386/fpu/libm-test-ulps: Update.
36154
7ac30cc5
AJ
36155 * FAQ: Removed.
36156 * FAQ.in: Likewise.
36157 * scripts/gen-FAQ.pl: Likewise.
36158 * manual/install.texi (Installation): Point to online location of
36159 FAQ.
36160 * Makefile (files-for-dist): Remove FAQ.
36161 (FAQ): Remove.
36162
d4c2917f
AM
361632012-05-02 Allan McRae <allan@archlinux.org>
36164
36165 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
36166 (LDFLAGS-reldepmod5.so): Likewise.
36167 (LDFLAGS-reldep6mod1.so): Likewise.
36168 (LDFLAGS-reldep6mod4.so): Likewise.
36169 (LDFLAGS-reldep8mod3.so): Likewise.
36170 (LDFLAGS-unload4mod1.so): Likewise.
36171 (LDFLAGS-unload4mod2.so): Likewise.
36172 (LDFLAGS-tst-initorder): Likewise.
36173 (LDFLAGS-tst-initordera2.so): Likewise.
36174 (LDFLAGS-tst-initordera3.so): Likewise.
36175 (LDFLAGS-tst-initordera4.so): Likewise.
36176 (LDFLAGS-tst-initorderb2.so): Likewise.
36177 (LDFLAGS-noload): Likewise.
36178 (LDFLAGS-next): Likewise.
36179 (LDFLAGS-order2mod1.so): Likewise.
36180 (LDFLAGS-order2mod2.so): Likewise.
36181 (LDFLAGS-tst-initorder2): Likewise.
36182 (LDFLAGS-tst-initorder2a.so): Likewise.
36183 (LDFLAGS-tst-initorder2b.so): Likewise.
36184 (LDFLAGS-tst-initorder2c.so): Likewise.
36185 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
36186
d77f993f
DM
361872012-05-02 David S. Miller <davem@davemloft.net>
36188
36189 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36190
171a70b4
PP
361912012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
36192
36193 [BZ #14055]
36194 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
36195
0be196ad
AJ
361962012-05-02 Andreas Jaeger <aj@suse.de>
36197
36198 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
36199 since we manipulate rounding mode.
36200 (CPPFLAGS-test-idouble.c): Likewise.
36201 (CPPFLAGS-test-ifloat.c): Likewise.
36202 (CFLAGS-test-ldouble.c): Likewise.
36203 (CFLAGS-test-double.c): Likewise.
36204 (CFLAGS-test-float.c): Likewise.
36205 (CFLAGS-test-misc.c): Likewise.
36206 (CFLAGS-test-test-fenv.c): Likewise.
36207
4f9d04aa
AZ
362082012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36209
2b942cb7
RM
36210 [BZ #2550]
36211 [BZ #2570]
36212 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
36213 comparisons to determine direction to adjust input.
4f9d04aa 36214
82a79e7d
RM
362152012-05-01 Roland McGrath <roland@hack.frob.com>
36216
f5a01ca9
RM
36217 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
36218 output to the target.
36219
90fe4186
RM
36220 * scripts/localplt.awk: New file.
36221 * elf/Makefile ($(objpfx)check-localplt): Target removed.
36222 (check-localplt-CFLAGS): Variable removed.
36223 ($(all-built-dso:=.jmprel)): New static pattern rule.
36224 (generated): Add those targets.
36225 (localplt-built-dso): New variable.
36226 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
36227
36228 * elf/check-localplt.c: File removed.
36229
82397ed6
RM
36230 * scripts/check-execstack.awk: New file.
36231 * elf/Makefile ($(objpfx)check-execstack): Target removed.
36232 (check-execstack-CFLAGS): Variable removed.
36233 ($(objpfx)check-execstack.h): Target removed.
36234 ($(objpfx)execstack-default): New target.
36235 (generated): Add that instead of check-execstack.h.
36236 ($(all-built-dso:=.phdr)): New static pattern rule.
36237 (generated): Add those targets.
36238 * elf/check-execstack.c: File removed.
36239
82a79e7d
RM
36240 * scripts/check-textrel.awk: New file.
36241 * elf/Makefile ($(objpfx)check-textrel): Target removed.
36242 (check-textrel-CFLAGS): Variable removed.
36243 (all-built-dso): Use := to define.o
36244 ($(all-built-dso:=.dyn)): New static pattern rule.
36245 (generated): Add those targets.
36246 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
36247 * config.make.in (READELF): New substituted variable.
36248 * elf/check-textrel.c: File removed.
36249
62fde54f 362502012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 36251
615605c9
JM
36252 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36253 allow.
36254 * conform/data/ctype.h-data [C99-based standards] (isblank):
36255 Expect function.
36256 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
36257 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
36258 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36259 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
36260 Specify type. Require positive value.
36261 (EILSEQ): Likewise.
36262 (ERANGE): Likewise.
36263 [ISO || POSIX] (EILSEQ): Do not expect.
36264 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
36265 Specify type. Require positive value.
36266 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
36267 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
36268 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
36269 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
36270 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
36271 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
36272 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
36273 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
36274 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
36275 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
36276 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
36277 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
36278 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
36279 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
36280 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
36281 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
36282 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
36283 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
36284 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
36285 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
36286 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
36287 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
36288 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
36289 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
36290 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
36291 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
36292 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
36293 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
36294 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
36295 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
36296 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
36297 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
36298 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
36299 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
36300 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
36301 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
36302 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
36303 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
36304 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
36305 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
36306 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
36307 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
36308 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
36309 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
36310 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
36311 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
36312 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
36313 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
36314 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
36315 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
36316 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
36317 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
36318 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
36319 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
36320 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
36321 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
36322 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
36323 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
36324 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
36325 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
36326 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
36327 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
36328 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
36329 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
36330 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
36331 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
36332 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
36333 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
36334 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
36335 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
36336 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
36337 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
36338 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
36339 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
36340 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
36341 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
36342 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
36343 Require >= 2.
36344 (FLT_ROUNDS): Expect as macro, not constant.
36345 (FLT_MANT_DIG): Use macro-int-constant.
36346 (DBL_MANT_DIG): Likewise.
36347 (LDBL_MANT_DIG): Likewise.
36348 (FLT_DIG): Likewise.
36349 (DBL_DIG): Likewise.
36350 (LDBL_DIG): Likewise.
36351 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
36352 (DBL_MIN_EXP): Likewise.
36353 (LDBL_MIN_EXP): Likewise.
36354 (FLT_MAX_EXP): Use macro-int-constant.
36355 (DBL_MAX_EXP): Likewise.
36356 (LDBL_MAX_EXP): Likewise.
36357 (FLT_MAX_10_EXP): Likewise.
36358 (DBL_MAX_10_EXP): Likewise.
36359 (LDBL_MAX_10_EXP): Likewise.
36360 (FLT_MAX): Use macro-constant.
36361 (DBL_MAX): Likewise.
36362 (LDBL_MAX): Likewise.
36363 (FLT_EPSILON): Use macro-constant. Give upper bound.
36364 (DBL_EPSILON): Likewise.
36365 (LDBL_EPSILON): Likewise.
36366 (FLT_MIN): Likewise.
36367 (DBL_MIN): Likewise.
36368 (LDBL_MIN): Likewise.
36369 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
36370 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
36371 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
36372 [ISO11] (FLT_HAS_SUBNORM): Likewise.
36373 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
36374 [ISO11] (DBL_DECIMAL_DIG): Likewise.
36375 [ISO11] (FLT_DECIMAL_DIG): Likewise.
36376 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
36377 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
36378 [ISO11] (FLT_TRUE_MIN): Likewise.
36379 [ISO11] (LDBL_TRUE_MIN): Likewise.
36380 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36381 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
36382 (SCHAR_MIN): Use macro-int-constant. Specify type.
36383 (SCHAR_MAX): Likewise.
36384 (UCHAR_MAX): Likewise.
36385 (CHAR_MIN): Likewise.
36386 (CHAR_MAX): Likewise.
36387 (MB_LEN_MAX): Use macro-int-constant.
36388 (SHRT_MIN): Use macro-int-constant. Specify type.
36389 (SHRT_MAX): Likewise.
36390 (USHRT_MAX): Likewise.
36391 (INT_MAX): Likewise.
36392 (INT_MIN): Use macro-int-constant. Specify type. Make upper
36393 bound negative.
36394 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
36395 bound with "U".
36396 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
36397 bound with "L".
36398 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
36399 bound negative. Suffix upper bound with "L".
36400 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
36401 bound with "UL".
36402 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
36403 Specify type.
36404 [C99-based standards] (LLONG_MAX): Likewise.
36405 [C99-based standards] (ULLONG_MAX): Likewise.
36406 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
36407 == 0.
36408 [ISO11] (max_align_t): Require type.
36409 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36410
c9140a62
JM
36411 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
36412 from $CFLAGS, without defining away __attribute__ calls.
36413 (checknamespace): Use $CFLAGS_namespace.
36414
9af0bf29
JM
36415 * conform/conformtest.pl (@keywords): Only include C99 keywords
36416 for standards based on C99 or C11.
36417
343222a2
JM
36418 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
36419 Disable tests.
36420 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
36421 UNIX98]: Likewise.
36422
661f8cf0
JM
36423 * conform/conformtest.pl: Handle "macro-int-constant" and test for
36424 usability of symbols in #if.
36425
ee74b9cb
JM
36426 * conform/conformtest.pl: If macro or constant types start
36427 "promoted:", expect the symbol to be of the following type
36428 promoted by the integer promotions.
62fde54f 36429
aafc49b3
JM
36430 * conform/conformtest.pl: Parse all "constant" and "macro" lines
36431 in one place. Also handle "macro-constant".
36432
fefdf574
JM
36433 * conform/conformtest.pl: Only accept expected macro values with
36434 "==". Parse all "macro" lines in one place.
36435 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
36436
f2d922fe
JM
36437 * conform/conformtest.pl: Handle braced types on "constant" lines
36438 instead of handling "typed-constant".
36439 * conform/data/signal.h-data: Use "constant" instead of
36440 "typed-constant".
36441
d22956c9
JM
36442 * conform/conformtest.pl: Handle "optional-" at start of lines in
36443 one place rather than duplicating several cases. Handle each
36444 format of "macro" line with initial "optional-".
36445
028e2e38
JM
36446 * conform/conformtest.pl: Only accept expected constant or
36447 optional-constant values with "==". Parse all "constant" lines in
36448 one place. Parse all "optional-constant" lines in one place.
36449 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
36450 * conform/data/fmtmsg.h-data: Likewise.
36451 * conform/data/netinet/in.h-data: Likewise.
36452 * conform/data/tar.h-data: Likewise.
36453 * conform/data/limits.h-data: Use "==" form on "constant" and
36454 "optional-constant" lines.
36455
1b8f2850
JM
36456 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
36457 Use -std=c99 for XOPEN2K.
36458 (@knownproblems): Remove.
36459 (newtoken): Don't check %isknown.
36460
a05a144b
JM
36461 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
36462 Do not expect macro.
36463 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
36464 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
36465 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
36466 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
36467 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
36468 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
36469 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
36470 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
36471 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
36472 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
36473 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
36474 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
36475 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
36476 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
36477 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
36478 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
36479 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
36480 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
36481 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
36482 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
36483 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
36484 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
36485 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
36486 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
36487 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
36488 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
36489 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
36490 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
36491 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
36492 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
36493 [XPG3] (acosh): Likewise.
36494 [XPG3] (asinh): Likewise.
36495 [XPG3] (atanh): Likewise.
36496 [XPG3] (cbrt): Likewise.
36497 [XPG3] (expm1): Likewise.
36498 [XPG3] (ilogb): Likewise.
36499 [XPG3] (log1p): Likewise.
36500 [XPG3] (logb): Likewise.
36501 [XPG3] (nextafter): Likewise.
36502 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
36503 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
36504 [XPG3] (remainder): Likewise.
36505 [XPG3] (rint): Likewise.
36506 [XPG3 || XPG4 || UNIX98] (round): Likewise.
36507 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
36508 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
36509 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
36510 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
36511 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
36512 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
36513 [UNIX98 || XOPEN2K] (scalb): Expect.
36514 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
36515 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
36516 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
36517 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
36518 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
36519 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
36520 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
36521 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
36522 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
36523 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
36524 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
36525 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
36526 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
36527 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
36528 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
36529 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
36530 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
36531 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
36532 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
36533 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
36534 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
36535 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
36536 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
36537 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
36538 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
36539 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
36540 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
36541 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
36542 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
36543 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
36544 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
36545 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
36546 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
36547 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
36548 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
36549 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
36550 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
36551 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
36552 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
36553 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
36554 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
36555 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
36556 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
36557 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
36558 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
36559 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
36560 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
36561 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
36562 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
36563 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
36564 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
36565 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
36566 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
36567 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
36568 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
36569 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
36570 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
36571 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
36572 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
36573 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
36574 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
36575 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
36576 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
36577 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
36578 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
36579 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
36580 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
36581 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
36582 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
36583 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
36584 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
36585 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
36586 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
36587 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
36588 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
36589 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
36590 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
36591 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
36592 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
36593 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
36594 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
36595 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
36596 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
36597 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
36598 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
36599 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
36600 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
36601 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
36602 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
36603 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
36604 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
36605 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
36606 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
36607 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
36608 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
36609 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
36610 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
36611 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
36612 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
36613 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
36614 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
36615 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
36616 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
36617 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
36618 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
36619 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
36620 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
36621 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
36622 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
36623 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
36624 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
36625 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
36626 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
36627 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
36628 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
36629 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
36630 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
36631 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
36632 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
36633 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
36634 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
36635 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
36636 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
36637 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
36638 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
36639 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
36640 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
36641 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
36642 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
36643 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
36644 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
36645 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
36646 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
36647 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
36648 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
36649 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
36650 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
36651
73c5ebe3
JM
36652 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
36653 _XOPEN_SOURCE_EXTENDED for XPG4.
36654
39c33b6c
JM
36655 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
36656
62fde54f
JM
36657 * Makeconfig (localtime): Remove variable.
36658 (inst_localtime-file): Likewise.
36659
0741d64c
AS
366602012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36661
36662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
36663 Update.
36664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36665 Update.
36666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36667 Update.
36668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36669 Update.
36670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36671 Update.
36672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
36673 Update.
36674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36675 Update.
36676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
36677 Update.
36678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36679 Update.
36680
7cb029ee
JM
366812012-05-01 Joseph Myers <joseph@codesourcery.com>
36682
36683 [BZ #2550]
36684 [BZ #2570]
36685 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
36686 comparisons to determine direction to adjust input.
36687 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36688 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
36689 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
36690 Likewise.
36691 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
36692 Likewise.
36693 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36694 Likewise.
36695 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36696 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36697 Likewise.
36698 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36699 Likewise.
36700 * math/libm-test.inc (nexttoward_test): Add more tests.
36701
412bd966
AS
367022012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36703
36704 [BZ #14040]
36705 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
36706 in version GLIBC_2.1, not GLIBC_2.0.
36707 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
36708 Likewise.
36709
9568c0c2
JM
367102012-04-30 Joseph Myers <joseph@codesourcery.com>
36711
adfbc8ac
JM
36712 [BZ #13942]
36713 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
36714 (1 - x) * (1 + x).
36715 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36716 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
36717 * math/libm-test.inc (acos_test): Add more tests.
36718 (asin_test): Likewise.
36719 * sysdeps/i386/fpu/libm-test-ulps: Update.
36720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36721
5ba3cc69
JM
36722 [BZ #14034]
36723 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
36724 of square root.
36725 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
36726 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36727 * math/libm-test.inc (acos_test_tonearest): New function.
36728 (acos_test_towardzero): Likewise.
36729 (acos_test_downward): Likewise.
36730 (acos_test_upward): Likewise.
36731 (asin_test_tonearest): Likewise.
36732 (asin_test_towardzero): Likewise.
36733 (asin_test_downward): Likewise.
36734 (asin_test_upward): Likewise.
36735 (main): Call the new functions.
36736 * sysdeps/i386/fpu/libm-test-ulps: Update.
36737 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36738
9568c0c2
JM
36739 [BZ #13884]
36740 [BZ #13924]
36741 * math/e_exp10.c: Include <float.h>.
36742 (__ieee754_exp10): Handle underflow here rather than multiplying
36743 large negative argument by M_LN10.
36744 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
36745 of __ieee754_expf.
36746 * math/e_exp10l.c: Include <float.h>.
36747 (__ieee754_exp10l): Handle underflow here rather than multiplying
36748 large negative argument by M_LN10l.
36749 * math/libm-test.inc (exp10_test): Add another test. Do not allow
36750 spurious overflow exception on underflow.
36751
5ac3ea17
MP
367522012-04-29 Marek Polacek <polacek@redhat.com>
36753
36754 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
36755 (__fortify_function): New macro.
36756 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
36757 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
36758 __extern_always_inline.
36759 * libio/bits/stdio2.h: Likewise.
36760 * libio/bits/stdio.h: Likewise.
36761 * string/string.h: Likewise.
36762 * string/bits/string3.h: Likewise.
36763 * include/stdio.h: Likewise.
36764 * stdlib/bits/stdlib.h: Likewise.
36765 * stdlib/stdlib.h: Likewise.
36766 * rt/bits/mqueue2.h: Likewise.
36767 * rt/mqueue.h: Likewise.
36768 * posix/bits/unistd.h: Likewise.
36769 * posix/unistd.h: Likewise.
36770 * io/bits/poll2.h: Likewise.
36771 * io/bits/fcntl2.h: Likewise.
36772 * io/fcntl.h: Likewise.
36773 * io/sys/poll.h: Likewise.
36774 * misc/bits/syslog.h: Likewise.
36775 * misc/bits/syslog-ldbl.h: Likewise.
36776 * misc/sys/syslog.h: Likewise.
36777 * socket/bits/socket2.h: Likewise.
36778 * socket/sys/socket.h: Likewise.
36779 * debug/tst-chk1.c: Likewise.
36780 * wcsmbs/bits/wchar2.h: Likewise.
36781 * wcsmbs/bits/wchar-ldbl.h: Likewise.
36782 * wcsmbs/wchar.h: Likewise.
36783
ecf0ebfb
AJ
367842012-04-29 Andreas Jaeger <aj@suse.de>
36785
36786 * Makerules (tests): Remove enable-check-abi protection.
36787 (check-abi-warn): Remove.
36788 (check-abi-%): Remove check-abi-warn usage.
36789
36790 * configure.in: Remove check-abi configure option.
36791 * configure: Regenerated.
36792 * config.make.in (enable-check-abi): Remove.
36793
6d5c57fa
AS
367942012-04-28 Andreas Schwab <schwab@linux-m68k.org>
36795
24c5d07e 36796 [BZ #14033]
ded5180a
AS
36797 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
36798 double functions to double *_finite functions.
36799
7e0d315d
AS
36800 [BZ #13941]
36801 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
36802 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
36803 LDBL_MIN_EXP.
36804 * stdio-common/Makefile (tests): Add tst-sprintf3.
36805 * stdio-common/tst-sprintf3.c: New file.
36806
6d5c57fa
AS
36807 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
36808 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
36809
0749ff8b
JM
368102012-04-28 Joseph Myers <joseph@codesourcery.com>
36811
36812 * conform/conformtest.pl: Remove duplicate typed-constant
36813 handling.
36814
8dbd5d7b
DM
368152012-04-28 David S. Miller <davem@davemloft.net>
36816
36817 * Makerules (%.abilist): Add vpath on sysdep_dirs.
36818 (check-abi-%): Remove AWK script prerequisite and explicit
36819 abilist directory.
36820 (check-abi): Rewrite to just diff the symlist with the abilist.
36821 (config-tls, config-abi-config): Delete, no longer used.
36822 (update-abi-%): Remove AWK script and explicit abilist directory.
36823 (update-abi): Rewrite to simply compare and conditionally copy the
36824 symlist and the sysdep abilist file. Remove update-abi-config
36825 checks.
36826 * abilist/ld.abilist: Remove.
36827 * abilist/libBrokenLocale.abilist: Remove.
36828 * abilist/libanl.abilist: Remove.
36829 * abilist/libcrypt.abilist: Remove.
36830 * abilist/libdl.abilist: Remove.
36831 * abilist/librt.abilist: Remove.
36832 * abilist/libthread_db.abilist: Remove.
36833 * abilist/libutil.abilist: Remove.
36834 * scripts/extract-abilist.awk: Remove.
36835 * scripts/merge-abilist.awk: Remove.
36836 * sysdeps/generic/libcidn.abilist: New file.
36837 * sysdeps/generic/libnss_compat.abilist: New file.
36838 * sysdeps/generic/libnss_db.abilist: New file.
36839 * sysdeps/generic/libnss_dns.abilist: New file.
36840 * sysdeps/generic/libnss_files.abilist: New file.
36841 * sysdeps/generic/libnss_hesiod.abilist: New file.
36842 * sysdeps/generic/libnss_nis.abilist: New file.
36843 * sysdeps/generic/libnss_nisplus.abilist: New file.
36844 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
36845 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
36846 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
36847 file.
36848 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
36849 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
36850 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
36851 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
36852 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
36853 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
36854 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
36855 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
36856 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
36857 file.
36858 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
36859 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
36860 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
36861 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
36862 file.
36863 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
36864 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
36865 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
36866 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
36867 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
36868 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
36869 file.
36870 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
36871 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
36872 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
36873 file.
36874 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
36875 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
36876 New file.
36877 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
36878 New file.
36879 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
36880 New file.
36881 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
36882 New file.
36883 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
36884 New file.
36885 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
36886 New file.
36887 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
36888 New file.
36889 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
36890 New file.
36891 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
36892 New file.
36893 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
36894 New file.
36895 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
36896 New file.
36897 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
36898 New file.
36899 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
36900 New file.
36901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
36902 file.
36903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
36904 New file.
36905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
36906 New file.
36907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
36908 file.
36909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36910 New file.
36911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36912 New file.
36913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
36914 file.
36915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
36916 New file.
36917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36918 New file.
36919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
36920 New file.
36921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
36922 New file.
36923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
36924 New file.
36925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
36926 New file.
36927 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
36928 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
36929 file.
36930 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
36931 New file.
36932 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
36933 file.
36934 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
36935 file.
36936 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
36937 file.
36938 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
36939 file.
36940 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
36941 file.
36942 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36943 New file.
36944 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
36945 file.
36946 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
36947 file.
36948 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
36949 New file.
36950 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
36951 file.
36952 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
36953 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
36954 file.
36955 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
36956 New file.
36957 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
36958 file.
36959 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
36960 file.
36961 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
36962 file.
36963 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
36964 file.
36965 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
36966 file.
36967 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36968 New file.
36969 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
36970 file.
36971 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
36972 file.
36973 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
36974 New file.
36975 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
36976 file.
36977 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36978 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
36979 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
36980 file.
36981 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
36982 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
36983 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
36984 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
36985 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
36986 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
36987 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
36988 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
36989 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
36990 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
36991 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
36992 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
36993 file.
36994 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
36995 New file.
36996 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
36997 file.
36998 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
36999 file.
37000 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
37001 file.
37002 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
37003 file.
37004 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
37005 file.
37006 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37007 New file.
37008 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
37009 New file.
37010 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
37011 file.
37012 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
37013 New file.
37014 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
37015 file.
37016 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
37017 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
37018 file.
37019 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
37020 New file.
37021 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
37022 file.
37023 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
37024 file.
37025 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
37026 file.
37027 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
37028 file.
37029 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
37030 file.
37031 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37032 New file.
37033 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
37034 New file.
37035 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
37036 file.
37037 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
37038 New file.
37039 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
37040 file.
37041
41d73a1b
JM
370422012-04-28 Joseph Myers <joseph@codesourcery.com>
37043
37044 * conform/conformtest.pl: Fix typo in handling typed-constant from
37045 allow-header.
37046
28aeeda4
JM
370472012-04-27 Joseph Myers <joseph@codesourcery.com>
37048
adae8f5e
JM
37049 * README: Cut down references to pre-2.6 Linux kernels and
37050 Linuxthreads. Update lists of configurations in libc and ports
37051 and sort alphabetically. Say "or newer" with Linux kernel version
37052 requirements.
37053
28aeeda4
JM
37054 * config.h.in [IS_IN_build]: Allow compiling without optimization.
37055
a462cb63
RA
370562012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
37057
37058 [BZ #887]
37059 * math/libm-test.inc (logb_test_downward): New test to expose
37060 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
37061 rounding mode.
37062
6ad3493e
JM
370632012-04-27 Joseph Myers <joseph@codesourcery.com>
37064
37065 [BZ #14027]
37066 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
37067 to be done.
37068 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
37069 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
37070
2ce4f015
JM
370712012-04-26 Joseph Myers <joseph@codesourcery.com>
37072
5aeb141a
JM
37073 * sysdeps/unix/i386/brk.S: Remove file.
37074 * sysdeps/unix/i386/dl-brk.S: Likewise.
37075 * sysdeps/unix/i386/pipe.S: Likewise.
37076 * sysdeps/unix/i386/sigreturn.S: Likewise.
37077 * sysdeps/unix/i386/syscall.S: Likewise.
37078 * sysdeps/unix/i386/vfork.S: Likewise.
37079 * sysdeps/unix/i386/wait.S: Likewise.
37080
7143acae
JM
37081 * sysdeps/unix/common/tcsendbrk.c: Move to ...
37082 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
37083
2ce4f015
JM
37084 * configure.in (arm*-none*): Do not allow without
37085 --enable-hacker-mode.
37086 (netbsd*): Remove case setting base_os.
37087 (386bsd*): Likewise.
37088 (freebsd*): Likewise.
37089 (bsdi*): Likewise.
37090 (osf*): Likewise.
37091 (sunos*): Likewise.
37092 (ultrix*): Likewise.
37093 (newsos*): Likewise.
37094 (dynix*): Likewise.
37095 (*bsd*): Likewise.
37096 (sysv*): Likewise.
37097 (isc*): Likewise.
37098 (esix*): Likewise.
37099 (sco*): Likewise.
37100 (minix*): Likewise.
37101 (irix4*): Likewise.
37102 (irix6*): Likewise.
37103 (solaris[2-9]*): Likewise.
37104 (none): Likewise.
37105 * configure: Regenerated.
37106
0ac229c8
AZ
371072012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37108
37109 [BZ #11521]
37110 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
37111 overflow or cancellation in calculating denominator.
37112 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
37113 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
37114 down expression to avoid unexpected rounding in newer GCCs.
37115 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
37116
33f244f4
DM
371172012-04-26 David S. Miller <davem@davemloft.net>
37118
37119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
37120 long-double compat symbols.
37121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
37125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37126 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
37127 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
37128 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
37129 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
37130 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37131 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
37132 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
37133 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37134
cfa1f3e8
DM
371352012-04-25 David S. Miller <davem@davemloft.net>
37136
37137 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
37138 HWCAP_* values only after the memory barriers have been defined.
37139 (atomic_full_barrier): Define.
37140 (atomic_read_barrier): Define.
37141 (atomic_write_barrier): Define.
37142
6e236b92
SP
371432012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37144
37145 * shlib-versions: Add libgcc_s version information.
37146 * sysdeps/generic/libgcc_s.h: Remove.
37147 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
37148 libgcc_s.h.
37149 * sysdeps/gnu/unwind-resume.c: Likewise.
37150 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
37151
aab39a09
DM
371522012-04-25 David S. Miller <davem@davemloft.net>
37153
37154 * sysdeps/unix/sparc/brk.S: Delete.
37155 * sysdeps/unix/sparc/dl-brk.S: Delete.
37156 * sysdeps/unix/sparc/pipe.S: Delete.
37157 * sysdeps/unix/sparc/sysdep.S: Delete.
37158 * sysdeps/unix/sparc/sysdep.h: Delete.
37159 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
37160 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
37161 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
37162 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
37163 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
37164 (JUMPTARGET): Remove.
37165 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
37166 sysdeps/unix/sparc/sysdep.h
37167 (ENTRY, END): Remove.
37168 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37169
a3cc4f48
JM
371702012-04-25 Joseph Myers <joseph@codesourcery.com>
37171
2ed8cda2
JM
37172 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
37173 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
37174 -DIS_IN_build.
37175
35d76d59
JM
37176 * timezone/README: Update upstream location and email address for
37177 tzcode and tzdata.
37178 * timezone/zdump.c: Update from tzcode 2012b.
37179 * timezone/zic.c: Likewise.
37180
a3cc4f48
JM
37181 * configure.in (libc_cv_as_needed): Remove test.
37182 * configure: Regenerated.
37183 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
37184 conditional definition.
37185 [$(have-as-needed) != yes] (no-as-needed): Likewise.
37186 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
37187 * config.make.in (have-as-needed): Remove variable.
37188
ceab42c3
SP
371892012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37190 Paul Pluzhnikov <ppluzhnikov@google.com>
37191
37192 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
37193 strings correctly.
37194
3ce2865f
CLT
371952012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
37196
37197 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
37198 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
37199 * sysdeps/sh/strlen.S: Likewise.
37200
f37e0d68
JM
372012012-04-24 Joseph Myers <joseph@codesourcery.com>
37202
ae186e9a
JM
37203 * sysdeps/unix/fork.S: Remove file.
37204 * sysdeps/unix/i386/fork.S: Likewise.
37205 * sysdeps/unix/sparc/fork.S: Likewise.
37206
b96914af
JM
37207 * sysdeps/unix/system.c: Remove file.
37208 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
37209
f37e0d68
JM
37210 * sysdeps/unix/getegid.S: Remove file.
37211 * sysdeps/unix/geteuid.S: Likewise.
37212
87ef29ca
RM
372132012-04-24 Roland McGrath <roland@hack.frob.com>
37214
83bcd236
RM
37215 * scripts/check-localplt.awk: New file.
37216 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
37217 of diff.
37218 * scripts/data/localplt-generic.data: Add a comment.
37219
87ef29ca
RM
37220 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
37221 NODE when __dir_mkfile failed.
37222 * sysdeps/mach/hurd/symlinkat.c: Likewise.
37223 Reported by Ludovic Courtès <ludo@gnu.org>.
37224
e5a6e567
AJ
372252012-04-24 Andreas Jaeger <aj@suse.de>
37226
37227 * Makerules (common-clean): Also remove gen-as-const-headers
37228 files.
37229
c1820385
JM
372302012-04-24 Joseph Myers <joseph@codesourcery.com>
37231
37232 * Makerules (native-compile): Do not change working directory for
37233 build. Use $(OUTPUT_OPTION) in command.
37234 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
37235
94e02fc4
AZ
372362012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37237
37238 [BZ #13886]
37239 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
37240 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
37241 * math/libm-test.inc (floor_test): Add more tests.
37242 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
37243
3a533ca3
JM
372442012-04-24 Joseph Myers <joseph@codesourcery.com>
37245
940ab4b3
JM
37246 * sysdeps/unix/getdents.c: Remove file.
37247 * sysdeps/unix/sysv/getdents.c: Likewise.
37248 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
37249
90e037bd
JM
37250 * sysdeps/unix/syscalls.list (madvise): Add syscall from
37251 sysdeps/unix/mman/syscalls.list.
37252 (mmap): Likewise.
37253 (mprotect): Likewise.
37254 (msync): Likewise.
37255 (munmap): Likewise.
37256 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
37257 * sysdeps/unix/mman/syscalls.list: Remove.
37258 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
37259
3a533ca3
JM
37260 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
37261 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
37262 * configure: Regenerated.
37263 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
37264 $(libgcc_s_suffix).
37265 * config.make.in (libgcc_s_suffix): Remove variable.
37266
1ad743de
JM
372672012-04-23 Joseph Myers <joseph@codesourcery.com>
37268
4ad451e2
JM
37269 * sysdeps/unix/sysv/gethostname.c: Move to ...
37270 * sysdeps/posix/gethostname.c: ... here.
37271
5e37ce39
JM
37272 * sysdeps/unix/execve.S: Remove file.
37273
1ad743de
JM
37274 * sysdeps/unix/_exit.S: Remove file.
37275
4e681b5b
AJ
372762012-04-23 Andreas Jaeger <aj@suse.de>
37277
37278 [BZ #13739]
37279 * manual/Makefile: Remove make dist support, there's no
37280 need for a stand-alone documentation tar ball.
37281 (TEXI2DVI): Define always, it's not in Makeconfig.
37282 (dist): Removed.
37283 (tar-it): Removed.
37284 (edition): Removed.
37285 (glibc-doc-$(edition).tar): Removed
37286 (%.Z): Removed.
37287 (%.gz): Removed.
37288 (%.uu): Removed.
37289 (ETAGS): Remove, it's in Makeconfig.
37290 (move-if-change): Remove, it's in Makeconfig.
37291
38686a03 372922012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
37293
37294 [BZ #13970]
37295 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
37296 (strtod, strtof, strtold, strtol, strtoul, strtoq)
37297 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
37298 (strtod_l, strtof_l, strtold_l): Remove __wur.
37299 It is not necessarily an error to ignore strtol's return value.
37300 One can reliably look at the stored endptr to decide whether
37301 the number had valid syntax.
37302
7c0616fa
AJ
373032012-04-21 Andreas Jaeger <aj@suse.de>
37304
803cb6b7 37305 [BZ #13739]
7c0616fa
AJ
37306 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
37307
b0fe253f
JM
373082012-04-21 Joseph Myers <joseph@codesourcery.com>
37309
37310 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
37311 * sysdeps/unix/sysv/Versions: Remove file.
37312
8280f22d
MT
373132012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
37314
37315 [BZ #13927]
37316 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37317
75ce411f 373182012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
37319
37320 [BZ #7064]
37321 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
37322 version from __vm86.
37323
097d59fa
JM
373242012-04-20 Joseph Myers <joseph@codesourcery.com>
37325
a90f3bcb
JM
37326 * sysdeps/unix/common/lxstat.c: Remove file.
37327 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
37328
edc7ea78
JM
37329 * sysdeps/unix/sysv/Makefile: Remove file.
37330
cb78c221
JM
37331 * sysdeps/unix/sysv/direct.h: Remove file.
37332
efa6a45f
JM
37333 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
37334 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
37335 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
37336 * sysdeps/unix/sysv/bits/signum.h: Likewise.
37337 * sysdeps/unix/sysv/bits/stat.h: Likewise.
37338 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
37339 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
37340
9c9f2d0c
JM
37341 * sysdeps/unix/sysv/setrlimit.c: Remove file.
37342
4541c83b
JM
37343 * sysdeps/unix/xmknod.c: Remove file.
37344 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
37345
f5d153a0
JM
37346 * sysdeps/unix/sysv/settimeofday.c: Remove file.
37347
aa746595
JM
37348 * sysdeps/unix/sysv/i386/time.S: Remove file.
37349
cce5905e
JM
37350 * sysdeps/unix/fxstat.c: Remove file.
37351 * sysdeps/unix/xstat.c: Likewise.
37352 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
37353
37fa3841
JM
37354 * sysdeps/unix/sysv/sigaction.c: Remove file.
37355
ff1962a3
JM
37356 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
37357 (sysdep_headers): Remove variable.
37358 [termio.h not in sysdep_headers] (generated): Likewise.
37359 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
37360 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
37361 * sysdeps/unix/sysv/tcdrain.c: Likewise.
37362 * sysdeps/unix/sysv/tcflow.c: Likewise.
37363 * sysdeps/unix/sysv/tcflush.c: Likewise.
37364 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
37365 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
37366 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
37367 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
37368 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
37369
e7740d31
JM
37370 * sysdeps/unix/siglist.c: Remove file.
37371
ee06f18b
JM
37372 * sysdeps/unix/getppid.S: Remove file.
37373
097d59fa
JM
37374 * sysdeps/unix/mkdir.c: Remove file.
37375 * sysdeps/unix/rmdir.c: Likewise.
37376
ff3d51ec
AS
373772012-04-19 Andreas Schwab <schwab@linux-m68k.org>
37378
37379 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
37380 ERR_MAX value.
37381 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
37382 errlist-compat value.
37383
50f81fd7
DM
373842012-04-18 David S. Miller <davem@davemloft.net>
37385
37386 * sysdeps/generic/memcopy.h (reg_char): Delete.
37387 * debug/strcat_chk.c: Use char, not reg_char.
37388 * debug/strcpy_chk.c: Likewise.
37389 * debug/strncat_chk.c: Likewise.
37390 * debug/strncpy_chk.c: Likewise.
37391 * string/memchr.c: Likewise.
37392 * string/memrchr.c: Likewise.
37393 * string/rawmemchr.c: Likewise.
37394 * string/strcat.c: Likewise.
37395 * string/strchr.c: Likewise.
37396 * string/strchrnul.c: Likewise.
37397 * string/strcmp.c: Likewise.
37398 * string/strcpy.c: Likewise.
37399 * string/strncat.c: Likewise.
37400 * string/strncmp.c: Likewise.
37401 * string/strncpy.c: Likewise.
37402
8ff41c46
WS
374032012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37404
37405 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
37406 __builtin_memcopy is called when src and dest ranges are known to not
37407 overlap.
37408
6b652f46
WS
374092012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37410
37411 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
37412 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
37413 fwd_align_merge macro call.
37414 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
37415 bwd_align_merge macro call.
37416 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37417
b282631e
WS
374182012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37419
37420 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
37421 bwd_align_merge macros.
37422 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
37423 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
37424 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37425
95aa737c
DM
374262012-04-18 David S. Miller <davem@davemloft.net>
37427
37428 * sysdeps/sparc/sparc64/memcopy.h: Delete.
37429
7a99a614
AJ
374302012-04-18 Andreas Jaeger <aj@suse.de>
37431
37432 [BZ# 6794]
37433 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
37434 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
37435 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37436
37437 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
37438 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
37439 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37440
37441 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
37442 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
37443 Adjust for changed ldbl-128 files.
37444
37445 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
37446 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
37447 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37448
e5270c23
DM
374492012-04-17 David S. Miller <davem@davemloft.net>
37450
37451 * sysdeps/sparc/sparc32/memcopy.h: Delete.
37452
fb5e92c9
AS
374532012-04-17 Andreas Schwab <schwab@linux-m68k.org>
37454
37455 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
37456 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
37457 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
37458 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
37459 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
37460 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
37461
76da7265
AZ
374622012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37463
37464 [BZ #6794]
37465 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
37466 * math/libm-test.inc: Add ilogb errno and exception tests.
37467 * math/w_ilogb.c: New file: ilogb wrapper.
37468 * math/w_ilogbf.c: New file: ilogbf wrapper.
37469 * math/w_ilogbl.c: New file: ilogbl wrapper.
37470 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
37471 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
37472 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
37473 exception being thrown with 0.0 as argument.
37474 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
37475 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
37476 exception being thrown with 0.0 as argument.
37477 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
37478 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37479 exception being thrown with 0.0 as argument.
37480 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
37481 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37482 exception being thrown with 0.0 as argument.
37483 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
37484 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 37485 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
37486 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
37487 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
37488 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
37489 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
37490 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
37491 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
37492
0396e69d
PB
374932012-04-17 Petr Baudis <pasky@ucw.cz>
37494
37495 * include/sys/uio.h: Change __vector to __iovec to avoid clash
37496 with altivec.
37497
750b5926
MP
374982012-04-16 Marek Polacek <polacek@redhat.com>
37499
37500 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
37501
751728a1
MP
375022012-04-16 Marek Polacek <polacek@redhat.com>
37503
37504 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
37505 operands of fdivp instruction.
37506
34a27407
L
375072012-04-13 H.J. Lu <hongjiu.lu@intel.com>
37508
37509 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
37510 * elf/tst-auditmod3b.c: Likewise.
37511 * elf/tst-auditmod4b.c: Likewise.
37512 * elf/tst-auditmod5b.c: Likewise.
37513 * elf/tst-auditmod6b.c: Likewise.
37514 * elf/tst-auditmod6c.c: Likewise.
37515 * elf/tst-auditmod7b.c: Likewise.
37516 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
37517 * sysdeps/x86_64/preconfigure.in: Likewise.
37518 * sysdeps/x86_64/preconfigure: Regenerated.
37519
7e73e17d
L
375202012-04-13 H.J. Lu <hongjiu.lu@intel.com>
37521
37522 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
37523 __ILP32__.
37524
c7a6ab72
AB
375252012-04-13 Antoine Balestrat <merkil33@gmail.com>
37526
37527 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37528 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
37529
a9e8e0e0
CL
375302012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
37531
37532 [BZ #13973]
37533 * locale/iso-639.def: Fix gl language name. Spotted by
37534 Yaron Shahrabani.
37535
ec98af7d
RM
375362012-04-12 Roland McGrath <roland@hack.frob.com>
37537
37538 [BZ #2074]
37539 * libio/libio.h (__io_write_fn): Update comment.
37540
247c3ede
PB
375412012-04-12 Petr Baudis <pasky@ucw.cz>
37542
37543 [BZ #2074]
37544 * stdio.texi (Hook Functions): The user provided writer function
37545 is not allowed to return -1.
37546
55939d6d
DM
375472012-04-11 David S. Miller <davem@davemloft.net>
37548
37549 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37550
90020f5a
MF
375512012-04-11 Mike Frysinger <vapier@gentoo.org>
37552
37553 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
37554 Add a leading slash to rtkaio.
37555
288f9098
JM
375562012-04-11 Jim Meyering <meyering@redhat.com>
37557
90020f5a
MF
37558 [BZ #11959]
37559 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
37560 It is not necessarily an error to ignore fwrite's return
37561 value. One can reliably use ferror to test for errors after
37562 the fact.
288f9098 37563
4be2b570
L
375642012-04-10 H.J. Lu <hongjiu.lu@intel.com>
37565
37566 * bits/types.h (__snseconds_t): New type.
37567 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
37568
37569 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
37570 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37571 (__SNSECONDS_T_TYPE): Likewise.
37572 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37573 (__SNSECONDS_T_TYPE): Likewise.
37574 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37575 (__SNSECONDS_T_TYPE): Likewise.
37576
288f9098 375772012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
37578
37579 [BZ #2636]
37580 * manual/time.texi (Processor Time): Return type of times is
37581 elapsed real time since an arbitrary point in the past.
37582 (CPU Time): Move CLK_TCK from here...
37583 (Processor Time): ...to here. Correct description.
37584 * manual/conf.texi (Constants for Sysconf): Correct description of
37585 _SC_CLK_TCK.
37586
d7dd4413
DM
375872012-04-10 David S. Miller <davem@davemloft.net>
37588
37589 [BZ #13967]
37590 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
37591 where the is a gap between DT_REL(A) and DT_JMPREL.
37592
b46068fc
L
375932012-04-10 H.J. Lu <hongjiu.lu@intel.com>
37594
37595 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
37596 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37597 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37598
73d65cc3
SP
375992012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37600
37601 * elf/dl-support.c (_dl_inhibit_cache): New variable.
37602 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
37603 (dl_main): Handle --inhibit-cache.
37604 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
37605 _dl_inhibit_cache.
37606 * elf/dl-load.c (_dl_map_object): Use it.
37607 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
37608
bcc8d661
JM
376092012-04-09 Joseph Myers <joseph@codesourcery.com>
37610
8f9a2fae
JM
37611 [BZ #13872]
37612 * sysdeps/i386/fpu/e_powl.S (p78): New object.
37613 (__ieee754_powl): Saturate large exponents rather than testing for
37614 overflow of y*log2(x).
37615 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37616 * math/libm-test.inc (pow_test): Do not permit spurious overflow
37617 exceptions.
37618
bcc8d661
JM
37619 [BZ #11521]
37620 * math/s_ctan.c: Include <float.h>.
37621 (__ctan): Avoid internal overflow or cancellation in calculating
37622 denominator.
37623 * math/s_ctanf.c: Likewise.
37624 * math/s_ctanl.c: Likewise.
37625 * math/s_ctanh.c: Likewise.
37626 * math/s_ctanhf.c: Likewise.
37627 * math/s_ctanhl.c: Likewise.
37628 * math/libm-test.inc (ctan_test): Add more tests.
37629 (ctanh_test): Likewise.
37630 * sysdeps/i386/fpu/libm-test-ulps: Update.
37631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37632
823fbbb4
AJ
376332012-04-09 Andreas Jaeger <aj@suse.de>
37634
03879793
AJ
37635 [BZ #6894]
37636 * manual/filesys.texi (Directory Entries): Mention that d_namlen
37637 is an optional BSD extension.
37638
823fbbb4
AJ
37639 [BZ #10254]
37640 * manual/stdio.texi (Opening Streams): Document additional fopen
37641 parameters.
37642
8de131cb
RM
376432012-04-09 Roland McGrath <roland@hack.frob.com>
37644
37645 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
37646 %eax without telling the compiler.
37647
c0ed9d7d
CD
376482012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
37649
37650 [BZ # 13963]
37651 * manual/install.texi: Use sourceware.org.
37652
c483f6b4
JM
376532012-04-09 Joseph Myers <joseph@codesourcery.com>
37654
d7dd9453
JM
37655 [BZ #13873]
37656 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
37657 (__ieee754_pow): Generate overflow and underflow using huge*huge
37658 and tiny*tiny rather than just returning constant infinity or zero
37659 for large exponents.
37660 * math/libm-test.inc (pow_test): Require overflow exceptions for
37661 applicable cases of large exponents.
37662
c483f6b4
JM
37663 [BZ #706]
37664 * sysdeps/i386/fpu/e_pow.S (p10): New object.
37665 (__ieee754_pow): Use iterative multiplication algorithm only for
37666 integer exponents with absolute value below 1024. Check for odd
37667 integer exponents when using algorithm for real exponents.
37668 * math/libm-test.inc (pow_test): Add more tests.
37669 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37670
d2de7579
JM
376712012-04-08 Joseph Myers <joseph@codesourcery.com>
37672
37673 [BZ #13705]
37674 * math/libm-test.inc (exp_test): Do not allow overflow exception
37675 on underflow test.
37676
f77f1232
AJ
376772012-04-08 Aurelien Jarno <aurelien@aurel32.net>
37678
37679 [BZ #13705]
37680 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
37681 instead of __kernel_standard_f.
37682
3884932b
MF
376832012-04-08 Mike Frysinger <vapier@gentoo.org>
37684
37685 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
37686 * sysdeps/x86_64/memset_chk.S: Likewise.
37687
54472e9c
AJ
376882012-04-08 Andreas Jaeger <aj@suse.de>
37689
6ab0fbfc
AJ
37690 [BZ #10153]
37691 * manual/startup.texi (Environment Access): Describe return value
37692 for putenv and setenv.
37693
61efba8c
AJ
37694 [BZ #6895]
37695 * manual/filesys.texi (Directory Entries): Add description for
37696 DT_LNK.
37697
95c3f29a
AJ
37698 [BZ #6890]
37699 * manual/filesys.texi (Directory Entries): Clarify that it's file
37700 system not operating system in the description of DT_UNKNOWN.
37701
54472e9c
AJ
37702 [BZ #6578]
37703 * manual/syslog.texi (closelog): Fix reference, it's openlog.
37704
624254b1
SC
377052012-04-08 Stephen Compall <s11@member.fsf.org>
37706
37707 [BZ #6649]
37708 * manual/llio.texi (Opening and Closing Files): Add cross
37709 reference to explain mode argument.
37710
1e4920e0
MF
377112012-04-07 Mike Frysinger <vapier@gentoo.org>
37712
37713 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
37714 * sysdeps/x86_64/memset_chk.S: Likewise.
37715
5ed848f3
DM
377162012-04-07 David S. Miller <davem@davemloft.net>
37717
37718 * elf/elf.h (R_SPARC_WDISP10): Define.
37719 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
37720 R_SPARC_SIZE32.
37721 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
37722 R_SPARC_SIZE64 and R_SPARC_H34.
37723
96154cd8
CD
377242012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
37725
37726 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
37727 conditions and remove no longer applicable assertion.
37728
9904dc47
L
377292012-04-06 H.J. Lu <hongjiu.lu@intel.com>
37730
37731 * bits/byteswap.h: Include <features.h>.
37732 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37733 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37734
f8887d0a
L
377352012-04-06 H.J. Lu <hongjiu.lu@intel.com>
37736
37737 * bits/byteswap.h (__bswap_16): Removed.
37738 Include <bits/byteswap-16.h> to get __bswap_16.
37739 * sysdeps/i386/bits/byteswap.h: Likewise.
37740 * sysdeps/s390/bits/byteswap.h: Likewise.
37741 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37742 * bits/byteswap-16.h: New file.
37743 * sysdeps/i386/bits/byteswap-16.h: Likewise.
37744 * sysdeps/s390/bits/byteswap-16.h: Likewise.
37745 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
37746 * string/Makefile (headers): Add bits/byteswap-16.h.
37747
62470f60
PP
377482012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
37749
37750 [BZ #13895]
37751 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
37752 extra indirection.
37753 * nss/Makefile (tests-static, tests): Add tst-nss-static.
37754 * nss/tst-nss-static.c: New.
37755
4dad7bab
RM
377562012-04-06 Robert Millan <rmh@gnu.org>
37757
37758 [BZ #6486]
37759 * manual/llio.texi (File Position Primitive): lseek
37760 refers to WHENCE when it really means OFFSET.
37761
e9142a17
AJ
377622012-04-06 Andreas Jaeger <aj@suse.de>
37763
2c040eff
AJ
37764 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
37765 strncmp declarations.
37766
e9142a17
AJ
37767 * abilist/libc.abilist: Add __poll and __ppoll.
37768
ff9f1c5f
DM
377692012-04-05 David S. Miller <davem@davemloft.net>
37770
dcd2ae90
DM
37771 * scripts/check-local-headers.sh: Accept a host triplet in the
37772 path matched by the exclude regexp.
37773
993eb054
DM
37774 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
37775 definition.
37776 * sysdeps/powerpc/powerpc32/dl-machine.h
37777 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
37778 * sysdeps/s390/s390-32/dl-machine.h
37779 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37780 * sysdeps/sparc/sparc32/dl-machine.h
37781 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37782 * sysdeps/sparc/sparc64/dl-machine.h
37783 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37784
ff9f1c5f
DM
37785 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
37786 lazy binding.
48e2e132 37787 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
37788 undefined symbol errors.
37789
48e2e132 37790 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
37791 DT_NEEDED entries.
37792
e80d6f94
MM
377932012-04-05 Michael Matz <matz@suse.de>
37794
37795 [BZ #13592]
37796 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
37797
349fa79f
AJ
377982012-04-05 Andreas Jaeger <aj@suse.de>
37799
37800 [BZ #13908]
37801 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
37802 comment.
37803
f402708f
KK
378042012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37805
37806 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
37807 which ROUND is no valid rounding mode.
37808
2ecccfc9
KK
378092012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37810
37811 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
37812 read again.
37813 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
37814
8a53f50f
KK
378152012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37816
37817 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
37818 an exception using FPU order intentionally.
37819
378202012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37821
37822 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
37823 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
37824 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
37825 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
37826
d653abb7
SJ
378272012-04-05 Simon Josefsson <simon@josefsson.org>
37828
37829 [BZ #12340]
37830 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
37831 EINVAL when BUFLEN is too smal.
37832
c3b1bf7d
TS
378332012-04-05 Thomas Schwinge <thomas@codesourcery.com>
37834
37835 [BZ #13553]
37836 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
37837 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
37838
b1aa60f3
AJ
378392012-04-03 Andreas Jaeger <aj@suse.de>
37840
c3b1bf7d 37841 [BZ #13938]
67f60a26
AJ
37842 * manual/setjmp.texi (System V contexts): Fix sentence.
37843
b1aa60f3
AJ
37844 [BZ #13926]
37845 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
37846 New macro for this case.
37847 [!__GNUC__] (__bswap_64): New inline function for this case.
37848 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37849 * bits/byteswap.h: Likewise.
37850 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
37851 ull, guard with __GLIBC_HAVE_LONG_LONG.
37852
37853 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
37854 __GLIBC_HAVE_LONG_LONG.
37855
37856 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
37857 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
37858
39c59c35
TMQMF
378592012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37860
37861 [BZ #13691]
37862 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
37863 inptr and inend, rather than using last_ch.
37864
135ffda8
DM
378652012-04-02 David S. Miller <davem@davemloft.net>
37866
37867 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
37868 * stdio-common/printf-parse.h (read_int): Change return type to
37869 'int', return -1 on INT_MAX overflow.
37870 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
37871 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
37872 overflows INT_MAX. Check for overflow of in-format-string precision
37873 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
37874 SIZE_MAX not INT_MAX for integer overflow test.
37875 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
37876 skip the construct in the format string but do not record anything.
37877 * stdio-common/bug22.c: Adjust to test both width/prevision
37878 INT_MAX overflow as well as total length INT_MAX overflow. Check
37879 explicitly for proper errno values.
37880
228c019e
TS
378812012-04-02 Thomas Schwinge <thomas@codesourcery.com>
37882
302cadd3
TS
37883 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
37884 CHAR_MAX.
37885 * string/test-strcmp.c [! WIDE]: Likewise.
37886 * time/tst-mktime2.c: Likewise for INT_MAX.
37887 * string/test-string.h: #include <sys/param.h> for MIN.
37888
228c019e
TS
37889 * csu/init-first.c (__libc_init_first): Call __ctype_init.
37890 * sysdeps/i386/init-first.c (init): Likewise.
37891 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
37892 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
37893 * sysdeps/sh/init-first.c (init): Likewise.
37894
cfa633f5
UD
378952012-04-01 Ulrich Drepper <drepper@gmail.com>
37896
37897 * po/ru.po: Update from translation team.
d1635ef8 37898 * po/vi.po: Likewise.
cfa633f5 37899
6cd0a5ea
SP
379002012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
37901
37902 * resolv/nss_dns/dns-host.c: Merge copyright years.
37903
4b43400f
LD
379042012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37905
37906 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37907 Optimize memcpy with prefetch if
37908 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
37909 src, dst pointers have unequal 16 byte alignments.
37910
48c41d04
SP
379112012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37912
37913 [BZ #13928]
37914 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
37915 from a CNAME entry and return the minimum ttl for the query.
37916 (gaih_getanswer_slice): Likewise.
37917
b8dc394d
JL
379182012-03-30 Jeff Law <law@redhat.com>
37919
37920 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
37921 due to long keys.
37922 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
37923 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
37924
2f5a5ed0
JL
37925 * resolv/nss_dns/dns-host.c: Update copyright year.
37926
1d39e359
UD
379272012-03-30 Ulrich Drepper <drepper@gmail.com>
37928
c030f70c 37929 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 37930 requests to save a system call. Fix check that all bytes are sent.
c030f70c 37931
1d39e359
UD
37932 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
37933 comments for sendmmsg.
37934
379352012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
37936
37937 [BZ #13691]
37938 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
37939 with only 1 character between 0x0041 and 0x01b0.
37940 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
37941 * wcsmbs/tst-mbsnrtowcs.c: New file.
37942
20fde227
DM
379432012-03-29 David S. Miller <davem@davemloft.net>
37944
37945 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
37946 small copies by hand.
37947
984a4237
JL
379482012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37949
37950 [BZ #13761]
57f41c40
AS
37951 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
37952 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
37953 group memberships.
984a4237 37954
18c9d62b
DM
379552012-03-28 David S. Miller <davem@davemloft.net>
37956
88d85d4f
DM
37957 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
37958 that branches into memcpy.
37959 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
37960 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
37961 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37962 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
37963 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
37964 bits.
37965 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
37966 implementation too.
37967 * sysdeps/sparc/mempcpy.S: New file.
37968
e5aa83e1
DM
37969 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
37970 the IFUNC routine in the libc case.
37971 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37972
88570753
DM
37973 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
37974 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
37975 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
37976 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
37977 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
37978 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
37979 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
37980 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
37981
249d7567
DM
37982 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
37983 loop to 256 bytes instead of 64 bytes and fix test signedness.
37984
18c9d62b
DM
37985 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
37986 * sysdeps/sparc/sparc32/Makefile: rather than here...
37987 * sysdeps/sparc/sparc64/Makefile: and here.
37988
05f3d1f6
UD
379892012-03-28 Ulrich Drepper <drepper@gmail.com>
37990
37991 * malloc/mallocbug.c: Avoid warnings about unused variables.
37992
86ae07a8
JL
379932012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
37994
37995 [BZ #13760]
37996 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
37997 in the right place. Discard and retry query if response is
37998 larger than input buffer size.
37999
41bf21a1
JM
380002012-03-28 Joseph Myers <joseph@codesourcery.com>
38001
d6270972
JM
38002 [BZ #369]
38003 [BZ #2678]
38004 [BZ #3866]
38005 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
38006 x for large integer exponent.
38007 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38008 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
38009 sign of result as needed afterwards.
38010 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
38011 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
38012 result for underflowing pow the same as for overflow.
38013 (__kernel_standard_l): Handle powl overflow and underflow here
38014 rather than calling __kernel_standard.
38015 * math/libm-test.inc (pow_test): Add more tests.
38016
414fca03 38017 [BZ #3868]
41bf21a1
JM
38018 [BZ #13879]
38019 [BZ #13910]
38020 [BZ #13911]
38021 [BZ #13912]
38022 [BZ #13913]
38023 [BZ #13915]
38024 [BZ #13916]
38025 [BZ #13917]
38026 [BZ #13918]
38027 [BZ #13919]
38028 [BZ #13920]
38029 [BZ #13921]
38030 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
38031 * sysdeps/ieee754/k_standard.c: Include <float.h>.
38032 (__kernel_standard_l): New function.
38033 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
38034 __kernel_standard.
38035 * math/w_acosl.c (__acosl): Likewise.
38036 * math/w_asinl.c (__asinl): Likewise.
38037 * math/w_atan2l.c (__atan2l): Likewise.
38038 * math/w_atanhl.c (__atanhl): Likewise.
38039 * math/w_coshl.c (__coshl): Likewise.
38040 * math/w_exp10l.c (__exp10l): Likewise.
38041 * math/w_exp2l.c (__exp2l): Likewise.
38042 * math/w_fmodl.c (__fmodl): Likewise.
38043 * math/w_hypotl.c (__hypotl): Likewise.
38044 * math/w_j0l.c (__j0l, __y0l): Likewise.
38045 * math/w_j1l.c (__j1l, __y1l): Likewise.
38046 * math/w_jnl.c (__jnl, __ynl): Likewise.
38047 * math/w_lgammal.c (__lgammal): Likewise.
38048 * math/w_log10l.c (__log10l): Likewise.
38049 * math/w_log2l.c (__log2l): Likewise.
38050 * math/w_logl.c (__logl): Likewise.
38051 * math/w_powl.c (__powl): Likewise.
38052 * math/w_remainderl.c (__remainderl): Likewise.
38053 * math/w_scalbl.c (sysv_scalbl): Likewise.
38054 * math/w_sinhl.c (__sinhl): Likewise.
38055 * math/w_sqrtl.c (__sqrtl): Likewise.
38056 * math/w_tgammal.c (__tgammal): Likewise.
38057 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
38058 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
38059 * math/libm-test.inc (acos_test): Add more tests.
38060 (acosh_test): Likewise.
38061 (asin_test): Likewise.
38062 (atanh_test): Likewise.
38063 (exp_test): Likewise.
38064 (exp10_test): Likewise.
38065 (exp2_test): Likewise.
38066 (expm1_test): Likewise.
38067 (lgamma_test): Likewise.
38068 (log_test): Likewise.
38069 (log10_test): Likewise.
38070 (log1p_test): Likewise.
38071 (log2_test): Likewise.
38072 (pow_test): Do not allow some spurious overflow exceptions.
38073 (sqrt_test): Add more tests.
38074 (tgamma_test): Likewise.
38075 (y0_test): Likewise.
38076 (y1_test): Likewise.
38077 (yn_test): Likewise.
38078
dd62fda6
AB
380792012-03-27 Anton Blanchard <anton@samba.org>
38080
38081 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
38082 MAP_HUGETLB.
38083 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38084 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38085 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38086
1e3cdfda
AJ
380872012-03-27 David S. Miller <davem@davemloft.net>
38088
b855ab85
DM
38089 * conform/Makefile: Run run-conformtest.sh using $(BASH).
38090
1e3cdfda
AJ
38091 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
38092 have-as-vis3 check.
38093
380942012-03-27 Andreas Jaeger <aj@suse.de>
38095
38096 * sysdeps/x86_64/elf/configure.in: Moved to ...
38097 * sysdeps/x86_64/configure.in: ... here.
38098 * sysdeps/x86_64/elf/start.S: Moved to ...
38099 * sysdeps/x86_64/start.S: ... here.
38100 * sysdeps/x86_64/elf/configure: Delete.
38101
38102 * sysdeps/x86_64/configure.in: Merge contents from
38103 sysdeps/i386/configure.in (without i686 check).
38104
38105 * sysdeps/i386/elf/Versions: Merge into ...
38106 * sysdeps/i386/Versions: ... this.
38107 * sysdeps/i386/elf/Versions: Delete file.
38108 * sysdeps/i386/elf/start.S: Moved to ...
38109 * sysdeps/i386/start.S: ...here.
38110 * sysdeps/i386/elf/configure.in: Merge into...
38111 * sysdeps/i386/configure.in: ...here.
38112 * sysdeps/i386/elf/configure.in: Delete file.
38113 * sysdeps/i386/elf/configure: Delete file.
38114
38115 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
38116 * debug/backtracesyms.c: ... here.
38117 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
38118 * debug/backtracesymsfd.c: ... here.
38119 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
38120 * sysdeps/generic/ifunc-sel.h: ... here.
38121
38122 * sysdeps/unix/i386/start.c: Delete file.
38123 * sysdeps/unix/sparc/start.c: Delete file.
38124 * sysdeps/unix/start.c: Delete file.
38125
38126 * sysdeps/sh/elf/configure.in: Moved to ...
38127 * sysdeps/sh/configure.in: ... here.
38128 * sysdeps/sh/elf/start.S: Moved to ...
38129 * sysdeps/sh/start.S: ... here.
38130 * sysdeps/sh/elf/configure: Delete file.
38131
38132 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
38133 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
38134 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
38135 * sysdeps/powerpc/powerpc64/entry.h: ... here.
38136 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
38137 * sysdeps/powerpc/powerpc64/start.S: here.
38138 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
38139 * sysdeps/powerpc/powerpc64/Makefile: ... this.
38140 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
38141 * sysdeps/powerpc/powerpc64/configure.in: ... this.
38142 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
38143
38144 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
38145 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
38146 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
38147 * sysdeps/powerpc/powerpc32/start.S: ... here.
38148 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
38149 * sysdeps/powerpc/powerpc32/configure.in: ... this.
38150 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
38151
38152 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
38153 * sysdeps/powerpc/ifunc-sel.h: ... here.
38154 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
38155 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
38156
38157 * sysdeps/sparc/elf/configure.in: Moved to ...
38158 * sysdeps/sparc/configure.in: ... here.
38159 * sysdeps/sparc/elf/configure: Delete file.
38160 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
38161 * sysdeps/sparc/sparc32/start.S: ... here.
38162 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
38163 * sysdeps/sparc/sparc64/start.S: ... here.
38164 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
38165 * sysdeps/sparc/sparc32/Makefile: ... this.
38166 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
38167 * sysdeps/sparc/sparc64/Makefile: ... this.
38168
38169 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
38170 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
38171 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
38172 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
38173 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
38174 * sysdeps/s390/s390-32/setjmp.S: ... here.
38175 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
38176 * sysdeps/s390/s390-32/configure.in: ... here.
38177 * sysdeps/s390/s390-32/elf/configure: Delete file.
38178 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
38179 * sysdeps/s390/s390-32/start.S: ... here.
38180
38181 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
38182 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
38183 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
38184 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
38185 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
38186 * sysdeps/s390/s390-64/setjmp.S: ... here.
38187 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
38188 * sysdeps/s390/s390-64/configure.in: ... here
38189 * sysdeps/s390/s390-64/elf/configure: Delete file.
38190 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
38191 * sysdeps/s390/s390-64/start.S: ... here.
38192 * sysdeps/s390/s390-64/elf/configure: Delete.
38193
38194 * configure.in: Remove support for elf directories in sysdeps.
38195
38196 * configure: Regenerated.
38197 * sysdeps/i386/configure: Regenerated.
38198 * sysdeps/powerpc/powerpc32/configure: Regenerated.
38199 * sysdeps/powerpc/powerpc64/configure: Regenerated.
38200 * sysdeps/s390/s390-32/configure: Regenerated.
38201 * sysdeps/s390/s390-64/configure: Regenerated.
38202 * sysdeps/sh/configure: Regenerated.
38203 * sysdeps/sparc/configure: Regenerated.
38204 * sysdeps/x86_64/configure: Regenerated.
38205
a3f61311
AS
382062012-03-26 Andreas Schwab <schwab@linux-m68k.org>
38207
c876e002
AS
38208 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38209
a3f61311
AS
38210 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
38211 denormal result into account.
38212
ac4c54f0
RM
382132012-03-25 Roland McGrath <roland@hack.frob.com>
38214
38215 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
38216 Reported by Allan McRae <allan@archlinux.org>.
38217
6a9b9c02
JL
382182012-03-23 Jeff Law <law@redhat.com>
38219
38220 * nss/getnssent.c (__nss_getent): Fix typo.
38221
4c42a0c1
DM
382222012-03-23 David S. Miller <davem@davemloft.net>
38223
38224 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38225
1532c7ac
L
382262012-03-23 H.J. Lu <hongjiu.lu@intel.com>
38227
38228 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
38229 to pad to uint64_t for each field.
38230 (dl_tls_index): Replace unsigned long with uint64_t.
38231
3ff42526
PP
382322012-03-23 Daniel Jacobowitz <dmj@google.com>
38233 Paul Pluzhnikov <ppluzhnikov@google.com>
38234
38235 [BZ #6528]
38236 * grp/Makefile (otherlibs): Don't set it.
38237 * inet/Makefile (otherlibs): Likewise.
38238 * login/Makefile (otherlibs): Likewise.
38239 * nscd/Makefile (otherlibs): Likewise.
38240 * posix/Makefile (otherlibs): Likewise.
38241 * pwd/Makefile (otherlibs): Likewise.
38242 * rt/Makefile (otherlibs): Likewise.
38243 * sunrpc/Makefile (otherlibs): Likewise.
38244 * nss/Makefile (otherlibs): Likewise.
38245 Add libnss_files to routines and static-only-routines.
38246 ($(objpfx)getent): Remove rule.
38247 * resolv/Makefile: Add libnss_dns and libresolv to routines and
38248 static-only-routines.
38249
7c69cd14
JM
382502012-03-22 Joseph Myers <joseph@codesourcery.com>
38251
38252 [BZ #13892]
38253 * math/s_cexp.c: Include <float.h>.
38254 (__cexp): Handle exp result overflowing not necessarily
38255 overflowing both real and imaginary parts of result.
38256 * math/s_cexpf.c: Likewise.
38257 * math/s_cexpl.c: Likewise.
38258 * math/libm-test.inc (cexp_test): Add more tests.
38259 * sysdeps/i386/fpu/libm-test-ulps: Update.
38260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38261
81b035fe
L
382622012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38263
38264 * include/link.h (ELFW): New macro.
38265 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
38266 Replace ELF64_R_TYPE with ELFW(R_TYPE).
38267
1da7940c
L
382682012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38269
38270 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
38271 with uint64_t.
38272
b749dbb9
L
382732012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38274
38275 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
38276 declaration.
38277 (struct La_x32_retval): Likewise.
38278
2ff87f3f
L
382792012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38280
38281 * sysdeps/x86_64/preconfigure.in: New file.
38282 * sysdeps/x86_64/preconfigure: New generated file.
38283
c0df8e69
JM
382842012-03-22 Joseph Myers <joseph@codesourcery.com>
38285
48e44791
JM
38286 [BZ #13824]
38287 * math/e_exp2l.c: Include <float.h>.
38288 (__ieee754_exp2l): Handle overflow and underflow cases
38289 separately. Only pass fractional part of argument to
38290 __ieee754_expl.
38291 * math/libm-test.inc (exp2_test): Add more tests.
38292
c0df8e69
JM
38293 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
38294 negating x to take absolute value.
38295 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38296 Likewise.
38297 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38298 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
38299 Likewise.
38300 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
38301 computing low part if x was negated.
38302 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38303
c8e43ba7
L
383042012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38305
38306 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
38307 la_x32_gnu_pltexit.
38308 (pltexit): Cast int_retval to ptrdiff_t.
38309 * elf/tst-auditmod3b.c: Likewise.
38310 * elf/tst-auditmod4b.c: Likewise.
38311 * elf/tst-auditmod5b.c: Likewise.
38312 * elf/tst-auditmod6b.c: Likewise.
38313 * elf/tst-auditmod6c.c: Likewise.
38314 * elf/tst-auditmod7b.c: Likewise.
38315
38316 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
38317 and x32_gnu_pltexit.
38318
38319 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
38320 __ELF_NATIVE_CLASS.
38321 (La_x32_regs): New macro.
38322 (La_x32_retval): Likewise.
38323 (la_x32_gnu_pltenter): New function prototype.
38324 (la_x32_gnu_pltexit): Likewise.
38325
7998fa78
AS
383262012-03-21 Andreas Schwab <schwab@linux-m68k.org>
38327
dcb33988
AS
38328 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
38329 exponent.
38330
233fc563
AS
38331 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38332
7998fa78
AS
38333 * configure.in (libc_cv_cc_nofma): Check for option to disable
38334 generation of FMA instructions.
38335 * configure: Regenerate.
38336 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
38337 * sysdeps/ieee754/dbl-64/Makefile: New file.
38338 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38339 Remove brandred-fma4.
38340 (CFLAGS-brandred-fma4.c): Remove.
38341 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
38342 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
38343 define.
38344 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
38345 define.
38346
8e95c99a
L
383472012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38348
38349 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
38350 LLONG_MAX != LONG_MAX.
38351 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38352 (_fitoa_word): Likewise.
38353 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
38354 LLONG_MAX != LONG_MAX.
38355 * stdio-common/_itowa.h: Include <_itoa.h>.
38356 (_itowa_word): Use _ITOA_WORD_TYPE on value.
38357 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
38358 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
38359 only if not defined.
38360 (_ITOA_WORD_TYPE): Likewise.
38361 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38362 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
38363
6f4db457
DM
383642012-03-21 David S. Miller <davem@davemloft.net>
38365
38366 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38367
7785fe5a
L
383682012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38369
38370 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
38371 of x86_64 when setting libc_cv_slibdir, libdir and
38372 libc_cv_localedir.
38373 * sysdeps/unix/sysv/linux/configure: Regenerated.
38374
4535cd55
JM
383752012-03-21 Joseph Myers <joseph@codesourcery.com>
38376
38377 * manual/lang.texi (Old Varargs): Remove section.
38378 (How Variadic): Update menu.
38379 (va_start): Do not mention varargs.h.
38380
17228132
TS
383812012-03-21 Thomas Schwinge <thomas@codesourcery.com>
38382 Joseph Myers <joseph@codesourcery.com>
38383
38384 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
38385 link test.
38386 * configure: Regenerated.
38387
8149f976
TS
383882012-03-21 Thomas Schwinge <thomas@codesourcery.com>
38389
05f3d1f6
UD
38390 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
38391 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
38392 conformtest.pl
8149f976 38393
1a4ac776
JM
383942012-03-21 Joseph Myers <joseph@codesourcery.com>
38395
be22ce65
JM
38396 * NOTES: Remove.
38397 * Makefile (files-for-dist): Remove NOTES.
38398 (NOTES): Remove rule.
38399 * README: Don't refer to NOTES.
38400 * manual/creature.texi: Don't include macros.texi.
38401 * manual/intro.texi (creature.texi): Remove comment referring to
38402 NOTES.
38403
40b601fb
JM
38404 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
38405 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
38406 * configure: Regenerated.
38407 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
38408 LIBC_TRY_CC_OPTION.
38409 (libc_cv_as_i686): Likewise.
38410 (libc_cv_cc_avx): Likewise.
38411 (libc_cv_cc_sse2avx): Likewise.
38412 (libc_cv_cc_fma4): Likewise.
38413 (libc_cv_cc_novzeroupper): Likewise.
38414 * sysdeps/i386/configure: Regenerated.
38415
1a4ac776
JM
38416 [BZ #13883]
38417 * sysdeps/i386/fpu/s_cexp.S: Remove.
38418 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38419 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38420 * math/libm-test.inc (cexp_test): Add more tests.
38421 * sysdeps/i386/fpu/libm-test-ulps: Update.
38422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38423
a458e7fe
AM
384242012-03-21 Allan McRae <allan@archlinux.org>
38425
38426 * timezone/Makefile: Do not install iso3166.tab and zone.tab
38427
0cb7efc5
JM
384282012-03-21 Joseph Myers <joseph@codesourcery.com>
38429
38430 [BZ #13871]
38431 * math/w_exp2.c: Do not include <float.h>.
38432 (o_threshold, u_threshold): Remove.
38433 (__exp2): Calculate result before checking finiteness and calling
38434 __kernel_standard.
38435 * math/w_exp2f.c: Likewise.
38436 * math/w_exp2l.c: Likewise.
38437 * math/libm-test.inc (exp2_test): Require overflow exception for
38438 1e6 input.
2460d3aa
JM
38439
38440 [BZ #3866]
38441 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
38442 range of signed 64-bit integers before using fistpll. Remove
38443 checks for whether integers fit in mantissa bits.
38444 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
38445 the range of signed 32-bit integers before using fistpl. Remove
38446 checks for whether integers fit in mantissa bits.
38447 * sysdeps/i386/fpu/e_powl.S (p64): New object.
38448 (__ieee754_powl): Test for y outside the range of signed 64-bit
38449 integers before using fistpll. Reduce 64-bit values to 63-bit
38450 ones as needed.
38451 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
38452 divide-by-zero is raised for zero to large negative powers.
38453 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
38454 (__ieee754_powl): Test for y outside the range of signed 64-bit
38455 integers before using fistpll. Reduce 64-bit values to 63-bit
38456 ones as needed.
38457 * math/libm-test.inc (pow_test): Add more tests.
38458
eb96ffb0
L
384592012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38460
38461 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
38462 <stdio-common/_itoa.h>.
38463 * debug/segfault.c: Likewise.
38464 * elf/dl-cache.c: Likewise.
38465 * elf/dl-minimal.c: Likewise.
38466 * elf/dl-misc.c: Likewise.
38467 * elf/dl-sysdep.c: Likewise.
38468 * elf/dl-version.c: Likewise.
38469 * elf/rtld.c: Likewise.
38470 * hurd/hurdsock.c: Likewise.
38471 * hurd/lookup-retry.c: Likewise.
38472 * malloc/malloc.c: Likewise.
38473 * malloc/mtrace.c: Likewise.
38474 * nscd/nscd_getgr_r.c: Likewise.
38475 * nscd/nscd_getpw_r.c: Likewise.
38476 * nscd/nscd_getserv_r.c: Likewise.
38477 * posix/getopt_init.c: Likewise.
38478 * posix/wordexp.c: Likewise.
38479 * stdio-common/_itoa.c: Likewise.
38480 * stdio-common/printf_fphex.c: Likewise.
38481 * stdio-common/vfprintf.c: Likewise.
38482 * string/_strerror.c: Likewise.
38483 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
38484 * sysdeps/i386/i686/hp-timing.h: Likewise.
38485 * sysdeps/mach/_strerror.c: Likewise.
38486 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
38487 * sysdeps/mach/hurd/sethostid.c: Likewise.
38488 * sysdeps/mach/hurd/xmknodat.c: Likewise.
38489 * sysdeps/mach/xpg-strerror.c: Likewise.
38490 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38491 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38492 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
38493 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
38494 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38495 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
38496 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
38497 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
38498 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
38499 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
38500 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
38501 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
38502 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
38503 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
38504 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
38505 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
38506 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
38507 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
38508 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
38509 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
38510 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
38511
38512 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
38513
38514 * stdio-common/_itoa.h: Moved to ...
38515 * sysdeps/generic/_itoa.h: Here.
38516
38517 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
38518
38519 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
38520 instead of "_itoa.h" and "_itowa.h".
38521 * stdio-common/vfprintf.: Likewise.
38522
d1af992d
L
385232012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38524
38525 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
38526 <bits/wordsize.h>.
38527 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
38528 (__signbit): Likwise.
38529 (llrintf): Likwise.
38530 (llrint): Likwise.
38531
114883e0
L
385322012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38533
38534 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
38535 __WORDSIZE != 64.
38536
c135cc1b
JM
385372012-03-20 Joseph Myers <joseph@codesourcery.com>
38538
38539 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
38540 OVERFLOW_EXCEPTION_OK.
38541 * math/libm-test.inc ("Philosophy"): Update comment about
38542 exception testing.
38543 (OVERFLOW_EXCEPTION): Define.
38544 (OVERFLOW_EXCEPTION_OK): Likewise.
38545 (INVALID_EXCEPTION_OK): Renumber.
38546 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38547 (IGNORE_ZERO_INF_SIGN): Likewise.
38548 (test_exceptions): Handle FE_OVERFLOW.
38549 (exp10_test): Expect overflow exceptions.
38550 (exp2_test): Likewise.
38551 (expm1_test): Likewise.
38552 (nextafter_test): Likewise.
38553 (pow_test): Likewise.
38554 (scalbn_test): Likewise.
38555 (scalbln_test): Likewise.
38556
95443d88
L
385572012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38558
38559 * sysdeps/x86_64/bits/atomic.h
38560 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
38561 64bit integer.
38562 (atomic_exchange_acq): Likewise.
38563 (__arch_exchange_and_add_body): Likewise.
38564 (__arch_add_body): Likewise.
38565 (atomic_add_negative): Likewise.
38566 (atomic_add_zero): Likewise.
38567
490df6c4
L
385682012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38569
c2722551 38570 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
38571 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
38572
5e52b189
L
385732012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38574
38575 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
38576 Check __x86_64__ instead of __WORDSIZE.
38577
a9879d4c
L
385782012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38579
38580 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
38581
5df98260
DM
385822012-03-19 David S. Miller <davem@davemloft.net>
38583
e1497744
DM
38584 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38585
5df98260
DM
38586 * sysdeps/sparc/fpu/fenv_private.h: New file.
38587 * sysdeps/sparc/fpu/math_private.h: Use it.
38588 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
38589 Remove.
57f41c40 38590 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
38591 (libc_feholdexcept_setroundl): Remove.
38592 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
38593 Remove.
38594 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
38595 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
38596
b4c35121
L
385972012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38598
38599 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
38600 int64_t instead of long int.
38601 (INSERT_WORDS64): Likwise.
38602
56965fd7
L
386032012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38604
38605 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
38606 _Unwind_GetCFA return to _Unwind_Ptr first.
38607
83d1aec8
JM
386082012-03-19 Joseph Myers <joseph@codesourcery.com>
38609
1897ad44
JM
38610 [BZ #13629]
38611 * math/s_clog.c: Include <float.h>.
38612 (__clog): Scale large or subnormal inputs.
38613 * math/s_clogf.c: Likewise.
38614 * math/s_clogl.c: Likewise.
38615 * math/s_clog10.c: Include <float.h>.
38616 (M_LOG10_2): Define.
38617 (__clog10): Scale large or subnormal inputs.
38618 * math/s_clog10f.c: Likewise.
38619 * math/s_clog10l.c: Likewise.
38620 * math/libm-test.inc (clog_test): Add more tests.
38621 (clog10_test): Likewise.
38622 * sysdeps/i386/fpu/libm-test-ulps: Update.
38623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38624
7726d6a9
JM
38625 [BZ #11451]
38626 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
38627 x and y.
38628 * math/libm-test.inc (atan2_test): Add another test.
38629
83d1aec8
JM
38630 * Makerules (common-objdir-compile): Remove.
38631 * sysdeps/unix/Makefile (config-generated): Do not add
38632 $(unix-generated) to variable.
38633 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
38634 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
38635 Remove rule.
38636 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
38637 Likewise.
38638 [generic bits/local_lim.h] (before-compile): Do not append to
38639 variable.
38640 [generic bits/local_lim.h] (common-generated): Likewise.
38641 [generic sys/param.h] (before-compile): Do not append to variable.
38642 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
38643 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
38644 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
38645 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
38646 include.
38647 [generic sys/param.h] (sys/param.h-includes): Remove variable.
38648 [generic sys/param.h] (sys/param.h-includes): Remove rule.
38649 [generic sys/param.h] ($(addprefix
38650 $(common-objpfx),$(sys/param.h-includes))): Likewise.
38651 [generic sys/param.h] (common-generated): Do not append to
38652 variable.
38653 [generic sys/param.h] (sysdep_headers): Likewise.
38654 [generic bits/errno.h] (before-compile): Do not append to
38655 variable.
38656 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
38657 rule.
38658 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
38659 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
38660 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
38661 [generic bits/errno.h] (common-generated): Do not append to
38662 variable.
38663 [generic bits/ioctls.h] (before-compile): Do not append to
38664 variable.
38665 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
38666 rule.
38667 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
38668 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
38669 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
38670 rule.
38671 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
38672 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
38673 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
38674 [generic bits/ioctls.h] (common-generated): Do not append to
38675 variable.
38676 [generic sys/syscall.h] (syscall.h): Remove variable.
38677 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
38678 rule.
38679 [generic sys/syscall.h] (before-compile): Do not append to
38680 variable.
38681 [generic sys/syscall.h] (common-generated): Likewise.
38682 * sysdeps/unix/errnos-tmpl.c: Remove file.
38683 * sysdeps/unix/errnos.awk: Likewise.
38684 * sysdeps/unix/ioctls-tmpl.c: Likewise.
38685 * sysdeps/unix/ioctls.awk: Likewise.
38686 * sysdeps/unix/mk-local_lim.c: Likewise.
38687 * sysdeps/unix/snarf-ioctls: Likewise.
38688
4851a949
RH
386892012-03-19 Richard Henderson <rth@twiddle.net>
38690
bd37f2ee
RH
38691 * sysdeps/i386/fpu/fenv_private.h: New file.
38692 * sysdeps/i386/fpu/math_private.h: Use it.
38693 (math_opt_barrier, math_force_eval): Remove.
38694 (libc_feholdexcept_setround_53bit): Remove.
38695 (libc_feupdateenv_53bit): Remove.
38696 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38697 (math_opt_barrier, math_force_eval): Remove.
38698 (libc_feholdexcept): Remove.
38699 (libc_feholdexcept_setround): Remove.
38700 (libc_fetestexcept, libc_fesetenv): Remove.
38701 (libc_feupdateenv_test): Remove.
38702 (libc_feupdateenv, libc_feholdsetround): Remove.
38703 (libc_feresetround): Remove.
38704
d0adc922
RH
38705 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
38706 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38707
0fe0f1f8
RH
38708 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
38709 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
38710 (libc_feupdateenv_testl): New.
38711 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
38712 (libc_feupdateenv_testf): New.
38713 (libc_feupdateenv): Use libc_feupdateenv_test.
38714 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
38715 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
38716
eb92c487
RH
38717 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
38718 (libc_feholdsetroundf, libc_feholdsetroundl): New.
38719 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
38720 (libc_feresetround_noex): New.
38721 (libc_feresetround_noexf): New.
38722 (libc_feresetround_noexl): New.
38723 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
38724 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
38725 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
38726 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
38727 SET_RESTORE_ROUND.
38728 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
38729 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
38730 (__cos): Likewise.
38731 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
38732 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
38733 SET_RESTORE_ROUND_NOEX.
38734 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
38735 SET_RESTORE_ROUND_NOEXF.
38736 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
38737 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
38738 (libc_feholdsetroundf): New.
38739 (libc_feresetround, libc_feresetroundf): New.
38740
7d2e8012
RH
38741 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
38742 (libc_feholdexcept_setround_53bit): Convert from macro to function.
38743 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
38744
b4dabbb4
RH
38745 * sysdeps/generic/math_private.h: Include <fenv.h>.
38746 (default_libc_feholdexcept): New.
38747 (default_libc_feholdexcept_setround): New.
38748 (default_libc_fesetenv, default_libc_feupdateenv): New.
38749 (libc_feholdexcept): Only define if undefined.
38750 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
38751 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
38752 (libc_feholdexcept_setroundl): Likewise.
38753 (libc_feholdexcept_setround_53bit): Likewise.
38754 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
38755 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
38756 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
38757 (libc_feupdateenv_53bit): Likewise.
38758 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
38759 (libc_feholdexcept): Convert from macro to inline function.
38760 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
38761 (libc_fesetenv, libc_feupdateenv): Likewise.
38762
4851a949
RH
38763 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
38764 not previously defined.
38765 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
38766 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
38767 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
38768 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
38769 * sysdeps/ieee754/flt-32/math_private.h: New file.
38770 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
38771 math_private.h below SET_FLOAT_WORD.
38772 (__isnan, __isinf_ns, __finite): Remove.
38773 (__isnanf, __isinf_nsf, __finitef): Remove.
38774
e79d442e
AS
387752012-03-18 Andreas Schwab <schwab@linux-m68k.org>
38776
38777 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38778
90b80344
DM
387792012-03-17 David S. Miller <davem@davemloft.net>
38780
38781 [BZ #6471]
38782 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
38783 for 2.16.
38784
edc21804
DM
387852012-03-16 David S. Miller <davem@davemloft.net>
38786
77e927af
DM
38787 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
38788 warnings.
38789
374976dd
DM
38790 [BZ #6471]
38791 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
38792 properly.
38793 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
38794 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
38795 sysdep_routines when subdir is sysvipc.
38796 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
38797 __getshmlba helper.
38798
edc21804
DM
38799 * sysdeps/sparc/fpu/libm-test/ulps: Update.
38800
473c3ef3
L
388012012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38802
38803 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
38804 [__LP64__].
38805
eb0f39b6
L
388062012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38807
38808 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
38809 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
38810 (__lround): Renamed to ...
38811 (__llround): This. Replace long int with long long int.
38812 Define lround functions as aliases of llround functions.
38813 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
38814
6b6cd74b
L
388152012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38816
38817 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
38818 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
38819 adresses to uintptr_t. Replace "long int" and "unsigned long
38820 int" with "greg_t" on va_arg.
38821
f1a77b01
L
388222012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38823
38824 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
38825 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
38826
38827 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
38828 Move e_machine check before EI_CLASS check. Handle x32
38829 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
38830 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
38831 SKIP_EM_IA_64 and include
38832 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
38833
38834 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
38835 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
38836 (add_system_dir): New macro.
38837
38838 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
38839 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
38840
11b90b9f
JM
388412012-03-16 Joseph Myers <joseph@codesourcery.com>
38842
c36e1d23
JM
38843 [BZ #2551]
38844 [BZ #2552]
38845 [BZ #2553]
38846 [BZ #2554]
38847 [BZ #2562]
38848 [BZ #2563]
38849 [BZ #2565]
38850 [BZ #2566]
38851 [BZ #2576]
38852 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
38853 (y0): Likewise.
38854 * math/w_j0f.c (j0f): Likewise.
38855 (y0f): Likewise.
38856 * math/w_j0l.c (__j0l): Likewise.
38857 (__y0l): Likewise.
38858 * math/w_j1.c (j1): Likewise.
38859 (y1): Likewise.
38860 * math/w_j1f.c (j1f): Likewise.
38861 (y1f): Likewise.
38862 * math/w_j1l.c (__j1l): Likewise.
38863 (__y1l): Likewise.
38864 * math/w_jn.c (jn): Likewise.
38865 (yn): Likewise.
38866 * math/w_jnf.c (jnf): Likewise.
38867 (ynf): Likewise.
38868 * math/w_jnl.c (__jnl): Likewise.
38869 (__ynl): Likewise.
38870 * math/libm-test.inc (j0_test): Add more tests.
38871 (j1_test): Likewise.
38872 (jn_test): Likewise. Add trailing semicolon to existing test.
38873 (y0_test): Likewise.
38874 (y1_test): Likewise.
38875 * sysdeps/i386/fpu/libm-test-ulps: Update.
38876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38877
11b90b9f
JM
38878 [BZ #13851]
38879 [BZ #13854]
38880 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
38881 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
38882 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
38883 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
38884 (__tanl): Set errno for infinite argument.
38885 * sysdeps/i386/fpu/mptan.c: Remove.
38886 * sysdeps/i386/fpu/s_tan.S: Likewise.
38887 * sysdeps/i386/fpu/s_tanl.S: Likewise.
38888 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
38889 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
38890 * math/libm-test.inc (tan_test): Add more tests and enable more
38891 tests for double and long double.
38892 * sysdeps/i386/fpu/libm-test-ulps: Update.
38893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38894
6a1bd2a1
JK
388952012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
38896
38897 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
38898 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
38899
10a803e0
RM
389002012-03-16 Roland McGrath <roland@hack.frob.com>
38901
38902 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
38903 * configure.in: Use it for both main tree and add-ons.
38904 * configure: Regenerated.
38905
f196c7f7
L
389062012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38907
38908 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
38909
8848d99d
JM
389102012-03-16 Joseph Myers <joseph@codesourcery.com>
38911
96cbe7f4
JM
38912 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
38913 in comment.
38914
8848d99d
JM
38915 [BZ #13851]
38916 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
38917 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
38918 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
38919 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
38920 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
38921 infinite argument.
38922 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
38923 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
38924 != 0 for prec == 2.
38925 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
38926 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
38927 * sysdeps/i386/fpu/s_cosl.S: Likewise.
38928 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
38929 * sysdeps/i386/fpu/s_sinl.S: Likewise.
38930 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
38931 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
38932 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
38933 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
38934 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
38935 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
38936 * math/libm-test.inc (cos_test): Add more tests and enable more
38937 tests for long double.
38938 (sin_test): Likewise.
38939 (sincos_test): Likewise.
38940 * sysdeps/i386/fpu/libm-test-ulps: Update.
38941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38942
dd7f4703
DM
389432012-03-16 David S. Miller <davem@davemloft.net>
38944
38945 * sysdeps/sparc/fpu/math_private.h: New file.
38946
006f1daa
DM
389472012-03-15 David S. Miller <davem@davemloft.net>
38948
c0c83bc8
DM
38949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
38950 file.
e6a62e18 38951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
38952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
38953 file.
e6a62e18
DM
38954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
38955 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
38956 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
38957 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
38958 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
38959 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
38960 sysdep routines.
38961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38962
88cb87d9
DM
38963 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
38964 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
38965
006f1daa 38966 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
38967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
38968 sparc-ifunc.h
006f1daa 38969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
38970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
38971 Likewise.
38972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
38973 Likewise.
006f1daa
DM
38974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
38975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
38976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
38977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38978 Likewise.
006f1daa
DM
38979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
38981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
38983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
38984 Likewise.
38985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
38986 Likewise.
006f1daa
DM
38987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
38989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
38990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
38991 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38992 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38993 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
38994 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
38995 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38996 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38997 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
38998 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
38999 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
39000 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
39001 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
39002 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
39003 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
39004 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
39005 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
39006 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
39007 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
39008 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
39009 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
39010 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
39011
11e0098e
AS
390122012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39013
39014 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
39015 scaling.
39016 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39017
e85b09d0
AJ
390182012-03-15 Andreas Jaeger <aj@suse.de>
39019
39020 [BZ #13852]
39021 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
39022 ieee754/flt-32 implementation for sin, cos and sincos.
39023 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
39024 * sysdeps/i386/fpu/s_cosf.S: Likewise.
39025 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
39026 * sysdeps/i386/fpu/s_sinf.S: Likewise.
39027 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
39028 ieee754/flt-32 implementation for tan.
39029
39030 * math/libm-test.inc (cos_test): Enable some large input tests for
39031 float as well
39032 (sin_test): Likewise.
39033 (sincos_test): Likewise.
39034 (tan_test): Add tests for large input.
39035
39036 * sysdeps/i386/fpu/libm-test-ulps: Update.
39037
81c64153
AJ
390382012-03-15 Andreas Jaeger <aj@suse.de>
39039
39040 [BZ #13658]
39041 * math/libm-test.inc (cos_test): Add more test cases.
39042 (sin_test): Likewise.
39043 (sincos_test): Likewise.
39044
7bbfa5c6
AJ
390452012-03-15 Andreas Jaeger <aj@suse.de>
39046
39047 [BZ #13837]
39048 * math/libm-test.inc (cos_test): Add a test case for large input
39049 value.
39050 (sin_test): Likewise.
39051 (sincos_test): Likewise.
39052
57f41c40
AS
390532012-03-15 Andreas Jaeger <aj@suse.de>
39054 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
39055
39056 [BZ #13658]
0671f479 39057 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
39058 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
39059 * sysdeps/i386/fpu/branred.c: Likewise.
39060 * sysdeps/i386/fpu/dosincos.c: Likewise.
39061 * sysdeps/i386/fpu/mpa.c: Likewise.
39062 * sysdeps/i386/fpu/s_cos.S: Likewise.
39063 * sysdeps/i386/fpu/s_sin.S: Likewise.
39064 * sysdeps/i386/fpu/s_sincos.S: Likewise.
39065 * sysdeps/i386/fpu/sincos32.c: Likewise.
39066
39067 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
39068 Define.
39069 (libc_feupdateenv_53bit): Define.
39070 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
39071 Define.
39072 (libc_feupdateenv_53bit): Define.
39073
39074 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
39075 53 bit (without extend i386 double precision).
39076
39077 * math/libm-test.inc (sincos_test): Add tests for large input.
39078 (sin): Likewise.
39079 (cos): Likewise.
39080
39081 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39082
9cad04ea
AS
390832012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39084
39085 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39086
f7062b9a
DM
390872012-03-15 David S. Miller <davem@davemloft.net>
39088
39089 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
39090 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
39091 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
39092 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
39093 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
39094 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
39095 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
39096 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
39097 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
39098 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
39099 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
39100 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
39101 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
39102 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
39103 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
39104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
39105 file.
f7062b9a 39106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
39107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
39108 file.
f7062b9a 39109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
39110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
39111 file.
f7062b9a 39112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
39113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
39114 file.
f7062b9a
DM
39115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
39116 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
39117 fmin/fmax sysdep routines.
39118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39119
7bd951ff
DM
391202012-03-14 David S. Miller <davem@davemloft.net>
39121
559398ab
DM
39122 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
39123 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
39124 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
39125 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
39126 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
39127 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
39128 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
39129 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
39130 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
39131 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
39132 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
39133 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
39134 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
39135 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
39136 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
39137 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
39138 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
39139 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
39140 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
39141 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
39142 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
39143 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
39144 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
39145 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
39146 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
39147 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
39148 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
39149 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
39150 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
39151 routines.
39152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
39153 file.
559398ab 39154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
39155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
39156 file.
559398ab 39157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
39158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
39159 file.
559398ab 39160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
39161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
39162 file.
559398ab 39163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
39164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
39165 file.
559398ab 39166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
39167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
39168 file.
39169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
39170 file.
39171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
39172 file.
39173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
39174 file.
39175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
39176 New file.
39177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
39178 file.
39179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
39180 file.
559398ab 39181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
39182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
39183 file.
559398ab 39184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
39185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
39186 file.
559398ab 39187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
39188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
39189 file.
559398ab 39190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
39191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
39192 VIS3 routines.
559398ab
DM
39193
39194 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39195 New file.
39196
5a1c1e32
DM
39197 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39198
eae47a36
DM
39199 * sysdeps/sparc/configure.in: New file.
39200 * sysdeps/sparc/configure: Generate.
39201 * configure.in (libc_cv_sparc_as_vis3): Substitute.
39202 * configure: Regenerate.
39203 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
39204 * config.make.in (have-as-vis3): New.
39205 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
39206 available use -Av9d instead of -Av9a.
39207 * sysdeps/sparc/sparc64/Makefile: Likewise.
39208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
39209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
39210 New file.
39211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
39212 file.
39213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
39214 New file.
39215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
39216 file.
eae47a36
DM
39217 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
39218 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
39219 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
39220 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
39221 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
39222
c0c83bc8
DM
39223 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
39224 fzeros/fnegs to load 0x80000000 into a float register instead of
39225 using the stack.
7bd951ff
DM
39226 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
39227
bd951ccb
JM
392282012-03-14 Joseph Myers <joseph@codesourcery.com>
39229
39230 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39231 bits/syscall.h.
39232 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
39233 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
39234 ($(inst_includedir)/bits/syscall.h): Remove rule.
39235 ($(objpfx)bits/syscall.d): Include instead of
39236 $(objpfx)syscall-list.d.
39237 (generated): Change syscall-list.h and syscall-list.d to
39238 bits/syscall.h and bits/syscall.d.
39239
bb4e6db2
RM
392402012-03-14 Roland McGrath <roland@hack.frob.com>
39241
39242 [BZ #13846]
39243 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
39244
aa4a2ae1
JM
392452012-03-14 Joseph Myers <joseph@codesourcery.com>
39246
e456826d
JM
39247 [BZ #13841]
39248 * math/s_csqrt.c: Include <float.h>.
39249 (__csqrt): Scale large or subnormal inputs.
39250 * math/s_csqrtf.c: Likewise.
39251 * math/s_csqrtl.c: Likewise.
39252 * math/libm-test.inc (csqrt_test): Add more tests.
39253 * sysdeps/i386/fpu/libm-test-ulps: Update.
39254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39255
aa4a2ae1
JM
39256 [BZ #13840]
39257 * math/libm-test.inc (hypot_test): Add more tests.
39258
7c10fd35
DM
392592012-03-13 David S. Miller <davem@davemloft.net>
39260
39261 [BZ #13840]
39262 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
39263 double-precision for the calculation instead of scaling.
39264
f453b98b
JM
392652012-03-13 Joseph Myers <joseph@codesourcery.com>
39266
39267 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
39268 manipulate bits before adding and subtracting TWO52[sx].
39269 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
39270 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
39271 Likewise.
39272 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
39273
09a3453f
DM
392742012-03-13 David S. Miller <davem@davemloft.net>
39275
8e59da90
DM
39276 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
39277 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
39278 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
39279 rtld-global-offsets.h
39280 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39281
2a8ab7f2
DM
39282 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
39283 large parameters.
39284
10f62770
DM
39285 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
39286
5f0bdb18
DM
39287 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
39288 'err' in the ifdef scope in which it is actually used.
39289
09a3453f
DM
39290 * nss/nss_db/db-init.c: Include string.h
39291
b4b2eb5e
DM
392922012-03-12 David S. Miller <davem@davemloft.net>
39293
98bb2f1c
DM
39294 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39295 masking out of the most significant byte of random value used.
39296 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39297 Fix coding style in previous change.
39298
b4b2eb5e
DM
39299 * sysdeps/unix/sysv/linux/kernel-features.h
39300 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
39301 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
39302 expression.
39303 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
39304 later.
39305
6e226b09
DM
393062012-03-11 David S. Miller <davem@davemloft.net>
39307
a1bcbd40
DM
39308 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39309 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
39310 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
39311 for 'resultvar' otherwise things get truncated on 64-bit.
39312
cb9d6174
DM
39313 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39314 Fix masking out of the most significant byte of random value used.
39315
6e226b09
DM
39316 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39317
058c132d
AS
393182012-03-10 Andreas Schwab <schwab@linux-m68k.org>
39319
39320 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39321
2d2cd515
DM
393222012-03-09 David S. Miller <davem@davemloft.net>
39323
39324 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
39325 variables with appropriate CPP guards.
57f41c40
AS
39326 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
39327 from the frame pointer, not the stack pointer. Correct layout
39328 comments. Fix test on resulting framesize and the management of
39329 the outregs buffer for pltexit. Preserve floating point return
39330 values across _dl_call_pltexit call.
2d2cd515
DM
39331 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
39332 framesize and the management of the outregs buffer for pltexit.
39333 Preserve floating point return values across _dl_call_pltexit
39334 call.
57f41c40
AS
39335 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
39336 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
39337 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
39338 (print_exit): Fix format string for return register value.
39339
9a07f9d0
JM
393402012-03-10 Joseph Myers <joseph@codesourcery.com>
39341
39342 * sunrpc/Makefile (others): Add rpcgen.
39343 ($(objpfx)rpcgen): Remove special build rule and dependency on
39344 libc.
39345 * sunrpc/rpcgen.c: New file.
39346
547b5e30
PE
393472012-03-09 Paul Eggert <eggert@cs.ucla.edu>
39348
c524201a
PE
39349 [BZ #13673]
39350 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
39351 * stdio-common/bug-vfprintf-nargs.c: Likewise.
39352 * sysdeps/i386/crti.S: Likewise.
39353 * sysdeps/i386/crtn.S: Likewise.
39354 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
39355 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
39356 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
39357 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
39358 * sysdeps/sh/crti.S: Likewise.
39359 * sysdeps/sh/crtn.S: Likewise.
39360 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39361
7b6235f2
PE
39362 [BZ #13673]
39363 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
39364 with URL.
39365 * locale/programs/locfile-kw.gperf: Likewise.
39366 * locale/programs/charmap-kw.h: Regenerated.
39367 * locale/programs/locfile-kw.h: Likewise.
39368
547b5e30
PE
39369 [BZ #13673]
39370 * intl/plural.y: Replace FSF snail mail address with URL.
39371 * intl/plural.c: Regenerated.
39372
5f0a5dae
RH
393732012-03-09 Richard Henderson <rth@twiddle.net>
39374
39375 * include/math_private.h: Remove file.
39376 * math/math_private.h: Move file ...
39377 * sysdeps/generic/math_private.h: ... here.
39378
b8c03620
RH
39379 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
39380 * sysdeps/powerpc/fpu/math_private.h: Likewise.
39381 * sysdeps/x86_64/fpu/math_private.h: Likewise.
39382
4e234f5d 39383 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
39384 and <math_private.h>.
39385 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39386 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39387 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39388 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39389 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39390 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
39391 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39392 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39393 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39394 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39395 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39396 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39397 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39398 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39399 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39400 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39401 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39402 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39403 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39404 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39405 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39406 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39407 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39408 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39409 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
39410 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39411 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39412 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39413 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39414 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39415 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39416 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39417 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
39418 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39419 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39420 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39421 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39422 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39423 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39424 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39425 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
39426 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39427 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39428 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
39429 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
39430 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39431 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
39432 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
39433 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39434 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39435 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
39436 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
39437 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
39438 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39439 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
39440 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39441 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39442 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39443 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
39444 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
39445 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39446 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
39447 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39448 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39449 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
39450 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39451 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39452 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39453 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
39454 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
39455 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
39456 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39457 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
39458 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39459 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
39460 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
39461 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
39462 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39463 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
39464 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
39465 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
39466 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
39467 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
39468 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39469 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39470 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
39471 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
39472 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
39473 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39474 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39475 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39476 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39477 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39478 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39479 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39480 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39481 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39482 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39483 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39484 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39485 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39486 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39487 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39488 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39489 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39490 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39491 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39492 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39493 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39494 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39495 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39496 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39497 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39498 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39499 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
39500 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39501 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39502 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39503 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39504 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39505 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39506 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39507 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39508 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
39509 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39510 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39511 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39512 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
39513 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39514 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
39515 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
39516 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39517 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39518 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
39519 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
39520 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39521 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39522 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39523 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
39524 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39525 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39526 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39527 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39528 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
39529 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
39530 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39531 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39532 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39533 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
39534 * sysdeps/ieee754/k_standard.c: Likewise.
39535 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39536 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39537 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39538 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39539 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39540 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39541 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39542 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39543 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39544 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39545 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39546 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39547 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39548 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39549 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39550 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39551 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
39552 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39553 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39554 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
39555 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
39556 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
39557 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39558 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39559 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
39560 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
39561 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39562 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39563 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39564 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39565 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
39566 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39567 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39568 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39569 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
39570 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39571 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39572 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
39573 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
39574 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39575 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
39576 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
39577 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
39578 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39579 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
39580 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
39581 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39582 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39583 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39584 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39585 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39586 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
39587 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39588 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
39589 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39590 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39591 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
39592 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
39593 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39594 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39595 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39596 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
39597 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39598 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39599 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39600 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39601 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39602 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39603 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39604 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39605 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39606 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39607 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39608 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39609 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39610 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39611 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
39612 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39613 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39614 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
39615 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
39616 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
39617 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39618 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39619 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
39620 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39621 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39622 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
39623 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39624 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39625 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
39626 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39627 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
39628 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
39629 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39630 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39631 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
39632 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
39633 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
39634 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
39635 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39636 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39637 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39638 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39639 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
39640 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39641 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39642 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
39643 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
39644 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39645 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39646 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39647 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39648 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39649 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39650 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39651 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39652 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39653 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39654 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39655 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39656 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39657 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39658 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39659 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39660 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
39661 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39662 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39663 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39664 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39665 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39666 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39667 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39668 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
39669 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39670 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39671 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
39672 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
39673 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39674 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
39675 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
39676 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39677 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
39678 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
39679 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39680 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39681 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39682 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39683 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39684 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
39685 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39686 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39687 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39688 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39689 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
39690 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
39691 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39692 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39693 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39694 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
39695 * sysdeps/ieee754/s_lib_version.c: Likewise.
39696 * sysdeps/ieee754/s_matherr.c: Likewise.
39697 * sysdeps/ieee754/s_signgam.c: Likewise.
39698 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39699 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39700 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
39701 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
39702 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
39703 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39704 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
39705 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
39706 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
39707 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
39708 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
39709 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
39710 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39711 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39712 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
39713 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39714 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39715 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39716 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39717 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39718 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 39719
1991fa03
JM
397202012-03-09 Joseph Myers <joseph@codesourcery.com>
39721
39722 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
39723 * sunrpc/rpc_main.c: Likewise.
39724 * sunrpc/rpc_svcout.c: Likewise.
39725
60d6f5a6
DM
397262012-03-09 David S. Miller <davem@davemloft.net>
39727
39728 * include/math_private.h: New file.
39729
4962050e
JM
397302012-03-09 Joseph Myers <joseph@codesourcery.com>
39731
02a6f887
JM
39732 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
39733 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
39734 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
39735 from <bits/socket_type.h>.
39736 (enum __socket_type): Don't define here.
39737 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
39738 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39739 bits/socket_type.h.
39740
c6e013c1
JM
39741 [BZ #13566]
39742 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
39743 checking __USE_GNU.
39744
4962050e
JM
39745 * Makerules ($(inst_includedir)/%.h): New rule.
39746 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
39747 (install-others): Remove variable setting.
39748 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
39749
38842f45
RH
397502012-03-08 Richard Henderson <rth@twiddle.net>
39751
67bb6da6
RH
39752 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
39753 from macro to inline function; merge with the
39754 !__LIBC_INTERNAL_MATH_INLINES version.
39755 (__ieee754_sqrtf): Likewise.
39756
15194b4b
RH
39757 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
39758 to inline function.
39759 (__rintf, __floor, __floorf): Likewise.
39760
64e21ede
RH
39761 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
39762 macro to inline function.
39763 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
39764
38842f45
RH
39765 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
39766 not <math/math_private.h>.
39767
c64bf5fe
DM
397682012-03-08 David S. Miller <davem@davemloft.net>
39769
39770 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
39771 copyright year.
39772 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
39773
82d86f28
TS
397742012-03-08 Thomas Schwinge <thomas@codesourcery.com>
39775
39776 * resolv/gai_misc.c (handle_requests): Fix struct timespec
39777 normalization.
39778 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
39779 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39780
aea5d727
UD
397812012-03-08 Ulrich Drepper <drepper@gmail.com>
39782
39783 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
39784 be defined individually, they must be defined as a block. Define
39785 S for printing a string instead of hidint the different by using a
39786 macro for adding the 'l'.
39787 * stdio-common/tst-fphex-wide.c: Adjust.
39788
70bca0a3
MP
397892012-03-07 Marek Polacek <polacek@redhat.com>
39790
39791 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
39792
65b81130
MP
397932012-03-08 Marek Polacek <polacek@redhat.com>
39794
39795 [BZ #13806]
39796 * stdio-common/Makefile (tests): Add tst-fphex-wide.
39797 * stdio-common/tst-fphex.c: Define a few macros to make the
39798 test reusable. Use them.
39799 * stdio-common/tst-fphex-wide.c: New file.
39800
07037eeb
JM
398012012-03-08 Joseph Myers <joseph@codesourcery.com>
39802
a7a93d50
JM
39803 [BZ #6911]
39804 * manual/macros.texi (gnusystems): New macro.
39805 (nongnusystems): Likewise.
39806 (gnulinuxhurdsystems): Likewise.
39807 (gnuhurdsystems): Likewise..
39808 (gnulinuxsystems): Likewise.
39809 * manual/charset.texi: Use new macros or @theglibc{} to refer to
39810 variants of the GNU system, not "GNU system".
39811 * manual/conf.texi: Likewise.
39812 * manual/errno.texi: Likewise. Update example of errno macro
39813 expansion.
39814 * manual/filesys.texi: Likewise.
39815 (getumask): Document as specific to GNU/Hurd.
39816 * manual/install.texi: Likewise. Reword some references to
39817 GNU/Linux.
39818 * manual/intro.texi: Likewise.
39819 * manual/io.texi: Likewise.
39820 (File Name Portability): Detail which constraints are inapplicable
39821 to all GNU systems and which are only inapplicable to GNU/Hurd.
39822 * manual/job.texi: Likewise.
39823 * manual/llio.texi: Likewise.
39824 (O_NOCTTY): Document as present on GNU/Linux.
39825 * manual/maint.texi: Likewise.
39826 * manual/memory.texi: Likewise.
39827 * manual/pattern.texi: Likewise.
39828 * manual/pipe.texi: Likewise.
39829 * manual/process.texi: Likewise.
39830 * manual/resource.texi: Likewise.
39831 (RUSAGE_CHILDREN): Remove statement about specifying a particular
39832 child on GNU/Hurd.
39833 * manual/setjmp.texi: Likewise.
39834 * manual/signal.texi: Likewise.
39835 * manual/startup.texi: Likewise.
39836 * manual/stdio.texi: Likewise.
39837 * manual/terminal.texi: Likewise.
39838 (ONLCR): Document as POSIX.
39839 (OXTABS): Document availability on GNU/Linux as XTABS.
39840 (ONOEOT): Document availability separately from other bits.
39841 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
39842 * manual/time.texi: Likewise.
39843 * manual/users.texi: Likewise.
39844 * INSTALL: Regenerated.
39845 * sysdeps/gnu/errlist.c: Regenerated.
39846
07037eeb
JM
39847 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
39848 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
39849 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
39850 puts.
39851 * configure: Regenerated.
39852
d1d3431a
JM
398532012-03-07 Joseph Myers <joseph@codesourcery.com>
39854
af6a1e37
JM
39855 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
39856 default includes instead of AC_HEADER_CHECK.
39857 * sysdeps/i386/configure: Regenerated.
39858
d1d3431a
JM
39859 [BZ #10716]
39860 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
39861 * math/s_cacoshf.c (__cacoshf): Likewise.
39862 * math/s_cacoshl.c (__cacoshl): Likewise.
39863 * math/s_casinh.c (__casinh): Set signs of result from argument.
39864 * math/s_casinhf.c (__casinhf): Likewise.
39865 * math/s_casinhl.c (__casinhl): Likewise.
39866 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
39867 (casinh_test): Add more tests.
39868 * sysdeps/i386/fpu/libm-test-ulps: Update.
39869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39870
482ff4da
UD
398712012-03-07 Ulrich Drepper <drepper@gmail.com>
39872
872fda05
UD
39873 * po/zh_TW.po: Update from translation team.
39874
a4300c7a
UD
39875 * login/Makefile (distribute): Remove variable.
39876 * catgets/Makefile: Likewise.
39877 * mach/Makefile: Likewise.
39878 * malloc/Makefile: Likewise.
39879 * misc/Makefile: Likewise.
39880 * iconv/Makefile: Likewise.
39881 * nscd/Makefile: Likewise.
39882 * hurd/Makefile: Likewise.
39883 * manual/Makefile: Likewise.
39884 * locale/Makefile: Likewise.
39885 * intl/Makefile: Likewise.
39886 * conform/Makefile: Likewise.
39887 * nss/Makefile: Likewise.
39888 * time/Makefile: Likewise.
39889 * soft-fp/Makefile: Likewise.
39890 * dirent/Makefile: Likewise.
39891 * gmon/Makefile: Likewise.
39892 * po/Makefile: Likewise.
39893 * rt/Makefile: Likewise.
39894 * socket/Makefile: Likewise.
39895 * math/Makefile: Likewise.
39896 * signal/Makefile: Likewise.
39897 * debug/Makefile: Likewise.
39898 * elf/Makefile: Likewise.
39899 * timezone/Makefile: Likewise.
39900 * stdlib/Makefile: Likewise.
39901 * iconvdata/Makefile: Likewise.
39902 * sunrpc/Makefile: Likewise.
39903 * io/Makefile: Likewise.
39904 * argp/Makefile: Likewise.
39905 * inet/Makefile: Likewise.
39906 * hesiod/Makefile: Likewise.
39907 * grp/Makefile: Likewise.
39908 * csu/Makefile: Likewise.
39909 * wctype/Makefile: Likewise.
39910 * crypt/Makefile: Likewise.
39911 * libio/Makefile: Likewise.
39912 * string/Makefile: Likewise.
39913 * nis/Makefile: Likewise.
39914 * resolv/Makefile: Likewise.
39915 * stdio-common/Makefile: Likewise.
39916 * wcsmbs/Makefile: Likewise.
39917 * dlfcn/Makefile: Likewise.
39918 * posix/Makefile: Likewise.
39919
3b7c4e74 39920 [BZ #6959]
482ff4da
UD
39921 * timezone/Makefile: Don't install timezone files, just the programs
39922 and scripts.
39923
f72ed77d
UD
399242012-03-06 Ulrich Drepper <drepper@gmail.com>
39925
a000466f
UD
39926 * nss/databases.def: Add missing gshadow entry.
39927
f72ed77d
UD
39928 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
39929
a53b7a4e
MP
399302012-03-06 Marek Polacek <polacek@redhat.com>
39931
39932 [BZ #13726]
39933 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
39934 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
39935 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
39936 * stdio-common/tst-long-dbl-fphex.c: New file.
39937
e9258400
DM
399382012-03-06 David S. Miller <davem@davemloft.net>
39939
39940 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39941 (set_obp_int): New function.
39942 (get_obp_int): New function.
39943 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
39944 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
39945 Avoid unused variable warnings on 'val' and use builtin_expect.
39946 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
39947 __builtin_expect.
e9258400
DM
39948 (INLINE_CLONE_SYSCALL): Likewise.
39949
3bd2c723
DM
399502012-03-05 David S. Miller <davem@davemloft.net>
39951
39952 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39953
bbb78d03
AS
399542012-03-05 Andreas Schwab <schwab@linux-m68k.org>
39955
884c5db4
AS
39956 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39957
bbb78d03
AS
39958 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
39959 only for |x| >= 40.
39960 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39961
1c9f702a 399622012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
39963
39964 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
39965 Replace gettimeofday with __vdso_gettimeofday.
39966
7be16f82
RM
39967 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39968 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
39969 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
39970
39971 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
39972 time with __vdso_time.
39973
ed58a00f
JM
399742012-03-05 Joseph Myers <joseph@codesourcery.com>
39975
39976 * manual/lang.texi (size_t): Note types to which size_t may be
39977 equivalent with the GNU C Library, but do not describe when
39978 differences between them are significant.
39979
30ee4ced
AJ
399802012-03-05 Andreas Jaeger <aj@suse.de>
39981
39982 * sysdeps/i386/fpu/libm-test-ulps: Update.
39983
b7cd39e8
JM
399842012-03-05 Joseph Myers <joseph@codesourcery.com>
39985
39986 [BZ #3976]
39987 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
39988 (__ieee754_pow): Save and restore rounding mode and use
39989 round-to-nearest for main computations.
39990 * math/libm-test.inc (pow_test_tonearest): New function.
39991 (pow_test_towardzero): Likewise.
39992 (pow_test_downward): Likewise.
39993 (pow_test_upward): Likewise.
39994 (main): Call the new functions.
39995 * sysdeps/i386/fpu/libm-test-ulps: Update.
39996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
39997
39998 [BZ #3976]
39999 * math/libm-test.inc (cosh_test_tonearest): New function.
40000 (cosh_test_towardzero): Likewise.
40001 (cosh_test_downward): Likewise.
40002 (cosh_test_upward): Likewise.
40003 (sinh_test_tonearest): Likewise.
40004 (sinh_test_towardzero): Likewise.
40005 (sinh_test_downward): Likewise.
40006 (sinh_test_upward): Likewise.
40007 (main): Call the new functions.
40008 * sysdeps/i386/fpu/libm-test-ulps: Update.
40009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40010
6c6a98c9
TV
400112012-03-05 Tom de Vries <tom@codesourcery.com>
40012
40013 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
40014 default stack guard is set in last bytes.
40015 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
40016
21bb2d2e 400172012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 40018
21bb2d2e 40019 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 40020
21bb2d2e
AJ
40021 [BZ #13656]
40022 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
40023 possibly allocate from heap instead of stack.
40024 * stdio-common/bug-vfprintf-nargs.c: New file.
40025 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 40026
c6922934
AS
400272012-03-03 Andreas Schwab <schwab@linux-m68k.org>
40028
40029 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40030
bc957d53
MP
400312012-03-03 Marek Polacek <polacek@redhat.com>
40032
40033 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
40034 * math/math_private.h: Likewise.
40035 * stdlib/tst-strtod.c: Likewise.
40036 * sysdeps/i386/i486/bits/atomic.h: Likewise.
40037 * sysdeps/x86_64/bits/atomic.h: Likewise.
40038
6358490d
DM
400392012-03-02 David S. Miller <davem@davemloft.net>
40040
40041 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
40042 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
40043 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
40044 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
40045 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
40046 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
40047 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
40048 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
40049
01ae168d
RM
400502012-03-02 Roland McGrath <roland@hack.frob.com>
40051
d9a17c07
RM
40052 [BZ #13792]
40053 * manual/examples/README: New file, says the example source files
40054 can be used under GPL>=2.
40055 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
40056 line containing just "*/".
40057 * manual/examples/add.c: Add copyright header (GPL>=2).
40058 * manual/examples/argp-ex1.c: Likewise.
40059 * manual/examples/argp-ex2.c: Likewise.
40060 * manual/examples/argp-ex3.c: Likewise.
40061 * manual/examples/argp-ex4.c: Likewise.
40062 * manual/examples/atexit.c: Likewise.
40063 * manual/examples/db.c: Likewise.
40064 * manual/examples/dir.c: Likewise.
40065 * manual/examples/dir2.c: Likewise.
40066 * manual/examples/execinfo.c: Likewise.
40067 * manual/examples/filecli.c: Likewise.
40068 * manual/examples/filesrv.c: Likewise.
40069 * manual/examples/fmtmsgexpl.c: Likewise.
40070 * manual/examples/genpass.c: Likewise.
40071 * manual/examples/inetcli.c: Likewise.
40072 * manual/examples/inetsrv.c: Likewise.
40073 * manual/examples/isockad.c: Likewise.
40074 * manual/examples/longopt.c: Likewise.
40075 * manual/examples/memopen.c: Likewise.
40076 * manual/examples/memstrm.c: Likewise.
40077 * manual/examples/mkfsock.c: Likewise.
40078 * manual/examples/mkisock.c: Likewise.
40079 * manual/examples/mygetpass.c: Likewise.
40080 * manual/examples/pipe.c: Likewise.
40081 * manual/examples/popen.c: Likewise.
40082 * manual/examples/rprintf.c: Likewise.
40083 * manual/examples/search.c: Likewise.
40084 * manual/examples/select.c: Likewise.
40085 * manual/examples/setjmp.c: Likewise.
40086 * manual/examples/sigh1.c: Likewise.
40087 * manual/examples/sigusr.c: Likewise.
40088 * manual/examples/stpcpy.c: Likewise.
40089 * manual/examples/strdupa.c: Likewise.
40090 * manual/examples/strftim.c: Likewise.
40091 * manual/examples/strncat.c: Likewise.
40092 * manual/examples/subopt.c: Likewise.
40093 * manual/examples/swapcontext.c: Likewise.
40094 * manual/examples/termios.c: Likewise.
40095 * manual/examples/testopt.c: Likewise.
40096 * manual/examples/testpass.c: Likewise.
40097 * manual/examples/timeval_subtract.c: Likewise.
40098
01ae168d
RM
40099 [BZ #13792]
40100 * manual/time.texi (Elapsed Time): Move timeval_subtract example
40101 function to ...
40102 * manual/timeval_subtract.c.texi: ... here, new file.
40103
49efa33d
DM
401042012-03-02 David S. Miller <davem@davemloft.net>
40105
40106 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
40107
28afd92d
JM
401082012-03-02 Joseph Myers <joseph@codesourcery.com>
40109
804360ed
JM
40110 [BZ #3976]
40111 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
40112 (__sin): Save and restore rounding mode and use round-to-nearest
40113 for all computations.
40114 (__cos): Save and restore rounding mode and use round-to-nearest
40115 for all computations.
40116 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
40117 <fenv.h>.
40118 (tan): Save and restore rounding mode and use round-to-nearest for
40119 all computations.
40120 * math/libm-test.inc (cos_test_tonearest): New function.
40121 (cos_test_towardzero): Likewise.
40122 (cos_test_downward): Likewise.
40123 (cos_test_upward): Likewise.
40124 (sin_test_tonearest): Likewise.
40125 (sin_test_towardzero): Likewise.
40126 (sin_test_downward): Likewise.
40127 (sin_test_upward): Likewise.
40128 (tan_test_tonearest): Likewise.
40129 (tan_test_towardzero): Likewise.
40130 (tan_test_downward): Likewise.
40131 (tan_test_upward): Likewise.
40132 (main): Call the new functions.
40133 * sysdeps/i386/fpu/libm-test-ulps: Update.
40134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40135
a6d06d7b
JM
40136 [BZ #10135]
40137 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
40138 small n, then large n, before computing and testing k+n.
40139 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40140 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
40141 Likewise.
40142 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
40143 Likewise.
40144 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
40145 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
40146 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
40147 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
40148 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
40149 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
40150 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
40151 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
40152 * math/libm-test.inc (scalbn_test): Add more tests.
40153 (scalbln_test): Likewise.
40154
07e12bb3
JM
40155 * manual/filesys.texi (mode_t): Describe constraints on size and
40156 signedness, not exact equivalence to a particular type.
40157 (ino_t): Likewise.
40158 (ino64_t): Likewise.
40159 (dev_t): Likewise.
40160 (nlink_t): Likewise.
40161 (blkcnt_t): Likewise.
40162 (blkcnt64_t): Likewise.
40163 * manual/llio.texi (off_t): Likewise.
40164
28afd92d
JM
40165 [BZ #3976]
40166 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
40167 (__ieee754_exp): Save and restore rounding mode and use
40168 round-to-nearest for all computations.
40169 * math/libm-test.inc (exp_test_tonearest): New function.
40170 (exp_test_towardzero): Likewise.
40171 (exp_test_downward): Likewise.
40172 (exp_test_upward): Likewise.
40173 (main): Call the new functions.
40174 * sysdeps/i386/fpu/libm-test-ulps: Update.
40175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40176
b1eeb65d
CD
401772012-03-01 Chris Demetriou <cgd@google.com>
40178
40179 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
40180 have predictable order.
40181
53362a4b
DM
401822012-03-01 David S. Miller <davem@davemloft.net>
40183
3c969083
DM
40184 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
40185
759707de
DM
40186 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
40187 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
40188 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
40189 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
40190
dfdb8ff2
DM
40191 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
40192 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
40193 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
40194 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
40195 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
40196 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
40197 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
40198 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
40199 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
40200
ead89f96
DM
40201 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40202
7f66bd07
DM
40203 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
40204 * sysdeps/sparc/fpu/libm-test-ulps: to here.
40205 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
40206
53362a4b
DM
40207 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
40208 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40209 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40210 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
40211 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
40212 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
40213 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
40214 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40215 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40216 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
40217 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
40218 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40219 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40220 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40221 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40222 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40223 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
40224 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
40225 * sysdeps/sparc/elf/configure: Regenerated.
40226
7b1902cb
JM
402272012-03-01 Joseph Myers <joseph@codesourcery.com>
40228
bec039bc
JM
40229 * configure.in (AS, LD): Require binutils 2.20 or later.
40230 * configure: Regenerated.
40231 * manual/install.texi (Tools for Compilation): Give binutils 2.20
40232 as required minimum version.
40233 * INSTALL: Regenerated.
40234
7b1902cb
JM
40235 [BZ #2541]
40236 [BZ #4108]
40237 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
40238 before squaring exponent.
40239 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
40240 bottom long double and 27 bits of top long double before squaring
40241 exponent.
40242 * math/libm-test.inc (erfc_test): Add more tests.
40243 * sysdeps/i386/fpu/libm-test-ulps: Update.
40244 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40246
f775c276
KT
402472012-03-01 Kai Tietz <ktietz@redhat.com>
40248
40249 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
40250 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
40251 containing bit-fields.
40252 * soft-fp/extended.h (_FP_UNION_E): Likewise.
40253 * soft-fp/single.h (_FP_UNION_S): Likewise.
40254 * soft-fp/double.h (_FP_UNION_D): Likewise.
40255
5b8a4d4a
JM
402562012-02-29 Joseph Myers <joseph@codesourcery.com>
40257
0bab47b6
JM
40258 [BZ #13786]
40259 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
40260 not include ../strcmp.S.
40261 [USE_AS_STRNCASECMP_L]: Likewise.
40262 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
40263 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
40264 * sysdeps/i386/i686/multiarch/strncase_l-c.c
40265 (__strncasecmp_l_ia32): Define as alias to
40266 __strncasecmp_l_nonascii.
40267
0fcad3e2
JM
40268 [BZ #5794]
40269 * math/libm-test.inc (expm1_test): Add test for bug 5794.
40270 * sysdeps/i386/fpu/libm-test-ulps: Update.
40271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40272
5b8a4d4a
JM
40273 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
40274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40275
8fdceb2e
JL
402762012-02-29 Jeff Law <law@redhat.com>
40277
40278 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
40279 out of bounds read.
40280
1f393a11
MP
402812012-02-29 Marek Polacek <polacek@redhat.com>
40282
40283 [BZ #13706]
40284 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
40285 * elf/Makefile: Add rules to run tst-unused-dep.out.
40286
8847f037
DM
402872012-02-28 David S. Miller <davem@davemloft.net>
40288
40289 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
40290 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
40291 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
40292 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
40293 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
40294 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
40295
169d7f11
JM
402962012-02-29 Joseph Myers <joseph@codesourcery.com>
40297
40298 * math/libm-test.inc (llround_test): Move one test from
40299 lround_test. Use TEST_f_L in moved test.
40300 (lround_test): Move misplaced test to llround_test. Add testcase
40301 from bug 2561.
40302
39adf059
UD
403032012-02-28 Ulrich Drepper <drepper@gmail.com>
40304
40305 * sysdeps/x86_64/fpu/e_expf.S: New file.
40306 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
40307
71b5d1c5
SB
403082012-02-28 Stanislav Brabec <sbrabec@suse.cz>
40309
40310 [BZ #13637]
40311 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
40312 of remain_len that may cause incomplete multi-byte character and
40313 false match.
40314 * posix/bug-regex33.c: New file.
40315 * posix/Makefile (tests): Add bug-regex33.
40316
1f77f049
JM
403172012-02-28 Joseph Myers <joseph@codesourcery.com>
40318
40319 * manual/macros.texi: New file.
40320 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
40321 * manual/libc.texinfo: Include macros.texi.
40322 * manual/creatute.texi: Likewise.
40323 * manual/install.texi: Likewise.
40324 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
40325 @glibcadj{} in references to the GNU C Library.
40326 * manual/charset.texi: Likewise.
40327 * manual/conf.texi: Likewise.
40328 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
40329 when not using those macros.
40330 * manual/creature.texi: Likewise.
40331 * manual/crypt.texi: Likewise.
40332 * manual/errno.texi: Likewise.
40333 * manual/filesys.texi: Likewise.
40334 * manual/header.texi: Likewise.
40335 * manual/install.texi: Likewise.
40336 * manual/intro.texi: Likewise.
40337 * manual/io.texi: Likewise.
40338 * manual/job.texi: Likewise.
40339 * manual/lang.texi: Likewise.
40340 * manual/libc.texiinfo: Likewise.
40341 * manual/llio.texi: Likewise.
40342 * manual/locale.texi: Likewise.
40343 * manual/maint.texi: Likewise.
40344 * manual/math.texi: Likewise.
40345 * manual/memory.texi: Likewise.
40346 * manual/message.texi: Likewise.
40347 * manual/nss.texi: Likewise.
40348 * manual/pattern.texi: Likewise.
40349 * manual/process.texi: Likewise.
40350 * manual/resource.texi: Likewise.
40351 * manual/search.texi: Likewise.
40352 * manual/setjmp.texi: Likewise.
40353 * manual/signal.texi: Likewise.
40354 * manual/socket.texi: Likewise.
40355 * manual/startup.texi: Likewise.
40356 * manual/stdio.texi: Likewise.
40357 * manual/string.texi: Likewise.
40358 * manual/sysinfo.texi: Likewise.
40359 * manual/syslog.texi: Likewise.
40360 * manual/terminal.texi: Likewise.
40361 * manual/time.texi: Likewise.
40362 * manual/users.texi: Likewise.
40363 * INSTALL: Regenerated.
40364 * NOTES: Regenerated.
d40c5d54 40365 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 40366
450bf206
AS
403672012-02-28 Andreas Schwab <schwab@linux-m68k.org>
40368
40369 * include/dirent.h: Include <dirstream.h> before
40370 <dirent/dirent.h>.
40371
741a235b
DM
403722012-02-28 David S. Miller <davem@davemloft.net>
40373
40374 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
40375 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
40376 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
40377 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
40378
d6b5aa58
DM
403792012-02-27 David S. Miller <davem@davemloft.net>
40380
1aff59a3
DM
40381 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
40382 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
40383 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
40384 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
40385
d6b5aa58
DM
40386 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
40387 frame pointer instead of stack pointer relative arg slot.
40388 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40389 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40390 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40391
433f48bf
CD
403922012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
40393
40394 [BZ #3992]
40395 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
40396
d674b76d
DM
403972012-02-27 David S. Miller <davem@davemloft.net>
40398
40399 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
40400 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40401 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40402 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
40403 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40404 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40405 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
40406 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
40407
0e7727f7
JM
404082012-02-27 Joseph Myers <joseph@codesourcery.com>
40409
40410 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
40411 later. Allow versions 5-9.
43be4ca2 40412 * configure: Regenerated.
0e7727f7
JM
40413 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
40414 required minimum version and 4.6 as recommended version. Do not
40415 mention bugs in GCC 2.7 and 2.8.
43be4ca2 40416 * INSTALL: Regenerated.
0e7727f7 40417
a78bc654
DM
404182012-02-27 David S. Miller <davem@davemloft.net>
40419
428d5830
DM
40420 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
40421 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
40422 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
40423 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
40424 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
40425 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
40426 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
40427 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
40428
a78bc654
DM
40429 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
40430 manipulate bits before adding and subtracting TWO112[sx].
40431 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
40432
4579f81c
RM
404332012-02-27 Roland McGrath <roland@hack.frob.com>
40434
36c8acb4
RM
40435 [BZ #13775]
40436 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
40437 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
40438 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
40439 being in POSIX, because they are in 1003.1-2008.
40440
84ad622b
RM
40441 * rt/tst-aio.c: Include <fcntl.h>.
40442 * rt/tst-aio7.c: Likewise.
40443 * rt/tst-aio64.c: Likewise.
40444
4579f81c
RM
40445 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
40446
abd923db
JM
404472012-02-27 Joseph Myers <joseph@codesourcery.com>
40448
40449 * manual/install.texi (--with-headers): Describe headers as
40450 interface headers, not private headers.
40451 (Specific advice for GNU/Linux systems): Describe use of headers
40452 from "make headers_install", not private headers from older
40453 kernels.
43be4ca2 40454 * INSTALL: Regenerated.
abd923db
JM
40455 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
40456 Change to 2.6.19.
40457 * sysdeps/unix/sysv/linux/configure: Regenerated.
40458
6664049b
JM
40459 * manual/llio.texi (fclean): Remove documentation.
40460
bb8b6697
JM
40461 * manual/Makefile (libc-texi-generated): New variable. Include
40462 version.texi.
40463 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
40464 $(libc-texi-generated), not duplicated list of files.
40465 (version.texi, stamp-version): New rules.
40466 (realclean): Remove $(libc-texi-generated), not individual files
40467 from that list. Do not remove dir-add.texinfo.
40468 * manual/libc.texinfo: Comment out uses of edition numbers and
40469 references to printed manual. Remove last-updated dates.
40470 (EDITION): Comment out.
40471 (ISBN): Likewise.
40472 (VERSION, UPDATED): Remove.
40473 (version.texi): Include.
40474
12e5c3b9
AS
404752012-02-27 Andreas Schwab <schwab@linux-m68k.org>
40476
40477 * sysdeps/posix/spawni.c: Include <signal.h>.
40478 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
40479 * sysdeps/pthread/aio_fsync.c: Likewise.
40480
4efeffc1 404812012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 40482
ba63ba08
UD
40483 * conform/Makefile (tests): Run only when not cross-compiling and
40484 when fast-check is not defined.
40485
d94a4670
UD
40486 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
40487 * conform/data/limits.h-data: Fixes for POSIX2008.
40488 * conform/run-conformtest.sh: Run all tests.
40489 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
40490 headers.
40491 * include/bits/dlfcn.h: Likewise.
40492 * include/langinfo.h: Likewise.
40493 * include/monetary.h: Likewise.
40494 * include/sys/poll.h: Likewise.
40495
40496 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
40497 for __USE_GNU.
40498 * posix/spawn.h: Define __need_sigset_t.
40499 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
40500 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
40501 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
40502 to get sigevent_t only.
40503 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
40504 only for __USE_GNU.
40505 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40506 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40507 process_vm_writev only for __USE_GNU.
40508 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
40509
40510 * conform/Makefile: For now ignore errors from run-conformtest.
40511 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
40512 POSIX to avoid namespace pollution. Don't prepend headers.
40513 * conform/data/aio.h-data: Fixes for POSIX testing.
40514 * conform/data/fcntl.h-data: Likewise.
40515 * conform/data/glob.h-data: Likewise.
40516 * conform/data/grp.h-data: Likewise.
40517 * conform/data/pthread.h-data: Likewise.
40518 * conform/data/pwd.h-data: Likewise.
40519 * conform/data/signal.h-data: Likewise.
40520 * conform/data/spawn.h-data: Likewise.
40521 * conform/data/stdio.h-data: Likewise.
40522 * conform/data/stdlib.h-data: Likewise.
40523 * conform/data/stropts.h-data: Likewise.
40524 * conform/data/sys/mman.h-data: Likewise.
40525 * conform/data/sys/stat.h-data: Likewise.
40526 * conform/data/sys/types.h-data: Likewise.
40527 * conform/data/sys/wait.h-data: Likewise.
40528 * conform/data/time.h-data: Likewise.
40529 * conform/data/unistd.h-data: Likewise.
40530 * conform/data/utime.h-data: Likewise.
40531
40532 * io/sys/stat.h: fchmod was always in POSIX.
40533 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
40534 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
40535 * rt/aio.h: Define __need_timespec before including <time.h>.
40536 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
40537 struct. Add forward declaration of pthread_attr_t and use it in
40538 sigevent.
40539 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40540 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40541 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
40542 always remove CLK_TCK definition.
40543
c20105c3
AS
405442012-02-26 Andreas Schwab <schwab@linux-m68k.org>
40545
40546 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
40547
7a270350
UD
405482012-02-25 Ulrich Drepper <drepper@gmail.com>
40549
31341567
UD
40550 * conform/run-conformtest.sh: New file.
40551 * conform/Makefile: Run run-conformtest for tests.
40552 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
40553 support.
40554
40555 * conform/data/uchar.h-data: New file.
40556 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
40557 * conform/data/arpa/inet.h-data: Likewise.
40558 * conform/data/assert.h-data: Likewise.
40559 * conform/data/complex.h-data: Likewise.
40560 * conform/data/cpio.h-data: Likewise.
40561 * conform/data/ctype.h-data: Likewise.
40562 * conform/data/dirent.h-data: Likewise.
40563 * conform/data/dlfcn.h-data: Likewise.
40564 * conform/data/errno.h-data: Likewise.
40565 * conform/data/fcntl.h-data: Likewise.
40566 * conform/data/float.h-data: Likewise.
40567 * conform/data/fmtmsg.h-data: Likewise.
40568 * conform/data/fnmatch.h-data: Likewise.
40569 * conform/data/ftw.h-data: Likewise.
40570 * conform/data/glob.h-data: Likewise.
40571 * conform/data/grp.h-data: Likewise.
40572 * conform/data/iconv.h-data: Likewise.
40573 * conform/data/inttypes.h-data: Likewise.
40574 * conform/data/langinfo.h-data: Likewise.
40575 * conform/data/libgen.h-data: Likewise.
40576 * conform/data/limits.h-data: Likewise.
40577 * conform/data/locale.h-data: Likewise.
40578 * conform/data/math.h-data: Likewise.
40579 * conform/data/monetary.h-data: Likewise.
40580 * conform/data/mqueue.h-data: Likewise.
40581 * conform/data/ndbm.h-data: Likewise.
40582 * conform/data/net/if.h-data: Likewise.
40583 * conform/data/netdb.h-data: Likewise.
40584 * conform/data/netinet/in.h-data: Likewise.
40585 * conform/data/nl_types.h-data: Likewise.
40586 * conform/data/poll.h-data: Likewise.
40587 * conform/data/pthread.h-data: Likewise.
40588 * conform/data/pwd.h-data: Likewise.
40589 * conform/data/regex.h-data: Likewise.
40590 * conform/data/sched.h-data: Likewise.
40591 * conform/data/search.h-data: Likewise.
40592 * conform/data/semaphore.h-data: Likewise.
40593 * conform/data/setjmp.h-data: Likewise.
40594 * conform/data/signal.h-data: Likewise.
40595 * conform/data/spawn.h-data: Likewise.
40596 * conform/data/stdarg.h-data: Likewise.
40597 * conform/data/stdio.h-data: Likewise.
40598 * conform/data/stdlib.h-data: Likewise.
40599 * conform/data/string.h-data: Likewise.
40600 * conform/data/strings.h-data: Likewise.
40601 * conform/data/stropts.h-data: Likewise.
40602 * conform/data/sys/ipc.h-data: Likewise.
40603 * conform/data/sys/mman.h-data: Likewise.
40604 * conform/data/sys/msg.h-data: Likewise.
40605 * conform/data/sys/resource.h-data: Likewise.
40606 * conform/data/sys/select.h-data: Likewise.
40607 * conform/data/sys/sem.h-data: Likewise.
40608 * conform/data/sys/shm.h-data: Likewise.
40609 * conform/data/sys/socket.h-data: Likewise.
40610 * conform/data/sys/stat.h-data: Likewise.
40611 * conform/data/sys/statvfs.h-data: Likewise.
40612 * conform/data/sys/time.h-data: Likewise.
40613 * conform/data/sys/timeb.h-data: Likewise.
40614 * conform/data/sys/times.h-data: Likewise.
40615 * conform/data/sys/types.h-data: Likewise.
40616 * conform/data/sys/uio.h-data: Likewise.
40617 * conform/data/sys/un.h-data: Likewise.
40618 * conform/data/sys/utsname.h-data: Likewise.
40619 * conform/data/sys/wait.h-data: Likewise.
40620 * conform/data/syslog.h-data: Likewise.
40621 * conform/data/tar.h-data: Likewise.
40622 * conform/data/termios.h-data: Likewise.
40623 * conform/data/utime.h-data: Likewise.
40624 * conform/data/utmpx.h-data: Likewise.
40625 * conform/data/varargs.h-data: Likewise.
40626 * conform/data/wchar.h-data: Likewise.
40627 * conform/data/wctype.h-data: Likewise.
40628 * conform/data/wordexp.h-data: Likewise.
40629
40630 * include/stropts.h: New file.
40631 * include/uchar.h: New file.
40632 * include/aio.h: Changes to allow conformtest.pl to use the headers.
40633 * include/assert.h: Likewise.
40634 * include/ctype.h: Likewise.
40635 * include/dirent.h: Likewise.
40636 * include/dlfcn.h: Likewise.
40637 * include/fcntl.h: Likewise.
40638 * include/fnmatch.h: Likewise.
40639 * include/glob.h: Likewise.
40640 * include/grp.h: Likewise.
40641 * include/libio.h: Likewise.
40642 * include/locale.h: Likewise.
40643 * include/math.h: Likewise.
40644 * include/net/if.h: Likewise.
40645 * include/netdb.h: Likewise.
40646 * include/netinet/in.h: Likewise.
40647 * include/pthread.h: Likewise.
40648 * include/pwd.h: Likewise.
40649 * include/regex.h: Likewise.
40650 * include/sched.h: Likewise.
40651 * include/search.h: Likewise.
40652 * include/setjmp.h: Likewise.
40653 * include/signal.h: Likewise.
40654 * include/stdio.h: Likewise.
40655 * include/stdlib.h: Likewise.
40656 * include/string.h: Likewise.
40657 * include/sys/cdefs.h: Likewise.
40658 * include/sys/mman.h: Likewise.
40659 * include/sys/msg.h: Likewise.
40660 * include/sys/resource.h: Likewise.
40661 * include/sys/select.h: Likewise.
40662 * include/sys/socket.h: Likewise.
40663 * include/sys/stat.h: Likewise.
40664 * include/sys/statvfs.h: Likewise.
40665 * include/sys/time.h: Likewise.
40666 * include/sys/times.h: Likewise.
40667 * include/sys/uio.h: Likewise.
40668 * include/sys/utsname.h: Likewise.
40669 * include/sys/wait.h: Likewise.
40670 * include/termios.h: Likewise.
40671 * include/time.h: Likewise.
40672 * include/ulimit.h: Likewise.
40673 * include/unistd.h: Likewise.
40674 * include/utime.h: Likewise.
40675 * include/wchar.h: Likewise.
40676 * include/wctype.h: Likewise.
40677 * include/wordexp.h: Likewise.
40678
40679 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
40680
7a270350
UD
40681 * time/time.h: TIME_UTC must be a macro.
40682 Make timespec_get available for ISO C11 only as well.
40683
7724defc
UD
406842012-02-24 Ulrich Drepper <drepper@gmail.com>
40685
40686 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
40687 Reported by Peng Haitao <penght@cn.fujitsu.com>.
40688
6b1d1d46
JM
406892012-02-24 Joseph Myers <joseph@codesourcery.com>
40690
40691 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 40692
0f8bbd69
JM
406932012-02-24 Joseph Myers <joseph@codesourcery.com>
40694
40695 * manual/texinfo.tex: Update to version 2012-01-19.16.
40696
66ab80bc
JM
406972012-02-24 Joseph Myers <joseph@codesourcery.com>
40698
40699 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
40700
74981cc5
RM
407012012-02-24 Roland McGrath <roland@hack.frob.com>
40702
ee968201
RM
40703 [BZ #13738]
40704 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
40705 * manual/fdl-1.3.texi: New file.
40706 * manual/fdl-1.1.texi: File removed.
40707
74981cc5
RM
40708 [BZ #13738]
40709 * manual/libc.texinfo (FDL_VERSION): New @set.
40710 Use it for mention of FDL in cover text.
40711 (Documentation License): Use it in @include file name.
40712
7bb764bc
JM
407132012-02-22 Joseph Myers <joseph@codesourcery.com>
40714 Roland McGrath <roland@hack.frob.com>
40715
40716 [BZ #5461]
57f41c40
AS
40717 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
40718 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
40719 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
40720 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
40721 name.
40722 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
40723
6cbeae47
JM
407242012-02-22 Joseph Myers <joseph@codesourcery.com>
40725
40726 [BZ #2547]
40727 [BZ #11365]
40728 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
40729 manipulate bits before adding and subtracting TWO23[sx].
40730 * math/libm-test.inc (nearbyint_test): Add more tests.
40731
fe45ce09
JM
407322012-02-22 Joseph Myers <joseph@codesourcery.com>
40733
40734 [BZ #2548]
40735 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
40736 bits before adding and subtracting TWO23[sx].
40737 * math/libm-test.inc (rint_test): Add more tests.
40738 (rint_test_tonearest): Likewise.
40739 (rint_test_towardzero): Likewise.
40740 (rint_test_downward): Likewise.
40741 (rint_test_upward: Likewise.
40742
ff3b3d82
JM
407432012-02-22 Joseph Myers <joseph@codesourcery.com>
40744
40745 [BZ #10110]
40746 * include/stdc-predef.h: New file. Extracted from features.h.
40747 * include/features.h: Include stdc-predef.h.
40748 * Makefile (headers): Add stdc-predef.h.
40749 * CONFORMANCE (Compiler limitations): Update.
40750
ef0aab35
JM
407512012-02-22 Joseph Myers <joseph@codesourcery.com>
40752
40753 * manual/libc.texinfo (VERSION, UPDATED): Revert.
40754
58639409
DM
407552012-02-21 David S. Miller <davem@davemloft.net>
40756
40757 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
40758 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40759
c0e70b25
DM
407602012-02-20 David S. Miller <davem@davemloft.net>
40761
40762 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
40763 using a normal save/restore sequence, rather than allocating a
40764 dummy stack frame just to store a frame pointer and restore.
40765 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40766
fb06851d
JM
407672012-02-21 Joseph Myers <joseph@codesourcery.com>
40768
40769 * manual/install.texi: Fix stray word in line-wrapped comment.
40770
7a8b71c3
DM
407712012-02-20 David S. Miller <davem@davemloft.net>
40772
d510c123
DM
40773 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
40774 both binutils and gcc support GOTDATA.
40775
0722d7c2
DM
40776 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
40777 "rd %pc" in the PIC register setup sequences.
40778
3d2b3019
DM
40779 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
40780 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
40781 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40782 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
40783 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40784 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40785 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40786 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40787 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
40788 (SYSCALL_ERROR_HANDLER): Likewise.
40789 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40790 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40791 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
40792 (SYSCALL_ERROR_HANDLER): Likewise.
40793
c80098a9
DM
40794 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
40795 (HAVE_GCC_GOTDATA): New.
40796 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
40797 relocation support in both binutils and gcc.
40798 * sysdeps/sparc/elf/configure: Regenerate.
40799
3a2545a0
DM
40800 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
40801 * sysdeps/sparc/sparc32/elf/configure: Delete.
40802 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
40803 * sysdeps/sparc/sparc64/elf/configure: Delete.
40804 * sysdeps/sparc/elf/configure.in: New file.
40805 * sysdeps/sparc/elf/configure: Generate.
40806
7a8b71c3
DM
40807 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
40808 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
40809 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40810 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
40811 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
40812
f1e86fca
JM
408132012-02-21 Joseph Myers <joseph@codesourcery.com>
40814
40815 * manual/install.texi: Do not mention specific glibc version
40816 numbers.
40817 * manual/libc.texinfo (VERSION, UPDATED): Update.
40818 (@copying): Use @copyright{} and range of years.
40819
0e7dfaef
JM
408202012-02-21 Joseph Myers <joseph@codesourcery.com>
40821
40822 [BZ #13695]
40823 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
40824 [crti.S not in sysdirs] (generated): Do not append.
40825 [crti.S not in sysdirs] (omit-deps): Likewise.
40826 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
40827 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
40828 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
40829 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
40830 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
40831 Likewise.
40832 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
40833 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
40834 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
40835 * csu/defs.awk: Remove file.
40836 * sysdeps/generic/initfini.c: Likewise.
40837 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
40838 variable.
40839 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
40840 Likewise.
40841
599af3ca
JM
408422012-02-20 Joseph Myers <joseph@codesourcery.com>
40843
40844 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
40845 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
40846 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
40847 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
40848 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40849 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
40850 <bits/epoll.h>.
40851 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
40852 (__EPOLL_PACKED): Define to empty if not defined by
40853 <bits/epoll.h>.
40854 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
40855 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40856 bits/epoll.h.
40857
0e499750
JM
408582012-02-20 Joseph Myers <joseph@codesourcery.com>
40859
40860 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
40861 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
40862 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
40863 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
40864 <bits/timerfd.h>.
40865 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
40866 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40867 bits/timerfd.h.
40868
5ad91f6e
JM
408692012-02-20 Joseph Myers <joseph@codesourcery.com>
40870
40871 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
40872 in C locale.
40873 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40874 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40875 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
40876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40877
06b99b02
AJ
408782012-02-20 Aurelien Jarno <aurelien@aurel32.net>
40879
40880 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40881 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40882
7638c0fd
AS
408832012-02-19 Andreas Schwab <schwab@linux-m68k.org>
40884
40885 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
40886 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
40887 defined.
40888 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
40889 Likewise.
40890 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
40891 entry for 2.16.
40892
92221550
AJ
408932012-02-19 Aurelien Jarno <aurelien@aurel32.net>
40894
40895 * math/w_acos.c: Use non-signaling floating-point comparisons.
40896 * math/w_acosf.c: Likewise.
40897 * math/w_acosh.c: Likewise.
40898 * math/w_acoshf.c: Likewise.
40899 * math/w_acoshl.c: Likewise.
40900 * math/w_acosl.c: Likewise.
40901 * math/w_asin.c: Likewise.
40902 * math/w_asinf.c: Likewise.
40903 * math/w_asinl.c: Likewise.
40904 * math/w_atanh.c: Likewise.
40905 * math/w_atanhf.c: Likewise.
40906 * math/w_atanhl.c: Likewise.
40907 * math/w_exp2.c: Likewise.
40908 * math/w_exp2f.c: Likewise.
40909 * math/w_exp2l.c: Likewise.
40910 * math/w_j0.c: Likewise.
40911 * math/w_j0f.c: Likewise.
40912 * math/w_j0l.c: Likewise.
40913 * math/w_j1.c: Likewise.
40914 * math/w_j1f.c: Likewise.
40915 * math/w_j1l.c: Likewise.
40916 * math/w_jn.c: Likewise.
40917 * math/w_jnf.c: Likewise.
40918 * math/w_log.c: Likewise.
40919 * math/w_log10.c: Likewise.
40920 * math/w_log10f.c: Likewise.
40921 * math/w_log10l.c: Likewise.
40922 * math/w_log2.c: Likewise.
40923 * math/w_log2f.c: Likewise.
40924 * math/w_log2l.c: Likewise.
40925 * math/w_logf.c: Likewise.
40926 * math/w_logl.c: Likewise.
40927 * math/w_sqrt.c: Likewise.
40928 * math/w_sqrtf.c: Likewise.
40929 * math/w_sqrtl.c: Likewise.
40930 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40931 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
40932 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40933 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40934 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40935
ebaf36eb
JM
409362012-02-19 Joseph Myers <joseph@codesourcery.com>
40937
40938 [BZ #9739]
40939 * manual/string.texi (strnlen): Use correct parameter name in
40940 equivalent expression.
40941
71c254a6
JM
409422012-02-19 Joseph Myers <joseph@codesourcery.com>
40943
40944 [BZ #11174]
40945 * manual/users.texi (seteuid): Consistently use neweuid for
40946 argument name.
40947
16d2c631
JM
409482012-02-19 Joseph Myers <joseph@codesourcery.com>
40949
40950 [BZ #13704]
40951 * manual/nss.texi (Services in the NSS configuration): Correct
40952 list of services in example configuration file.
40953
cd837b09
NB
409542012-02-19 Nick Bowler <nbowler@draconx.ca>
40955
40956 [BZ #11322]
40957 * manual/arith.texi: Remove statements about negative zero
40958 behaving identically to zero.
40959
02c4bbad
JM
409602012-02-18 Joseph Myers <joseph@codesourcery.com>
40961
40962 [BZ #5993]
40963 * manual/install.texi: Do not document upgrading from libc5.
40964
366842e7
JM
409652012-02-18 Joseph Myers <joseph@codesourcery.com>
40966
40967 [BZ #4596]
40968 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
40969
dd54084d
DM
409702012-02-18 David S. Miller <davem@davemloft.net>
40971
40972 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
40973 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
40974 %o7 across the call.
40975 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
40976 instead.
40977 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
40978 SETUP_PIC_REG_LEAF.
40979 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40980 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
40981 * sysdeps/sparc/crtn.S: Likewise.
40982
2bcc53a3
UD
409832012-02-17 Ulrich Drepper <drepper@gmail.com>
40984
40985 * aout/Makefile: Remove.
40986
09c093b5
RK
409872012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
40988
40989 [BZ #13058]
40990 * manual/examples/argp-ex1.c (main): Format definition in GNU
40991 style.
40992 * manual/examples/argp-ex2.c (main): Likewise.
40993 * manual/examples/argp-ex3.c (main): Likewise.
40994 * manual/examples/argp-ex4.c (main): Likewise.
40995 * manual/examples/longopt.c (main): Use new-style prototype
40996 definition.
40997 * manual/examples/strncat.c (main): Specify return type and use
40998 (void) for arguments.
40999 * manual/examples/subopt.c (main): Use char **argv argument.
41000
2ee633a2
JM
410012012-02-17 Joseph Myers <joseph@codesourcery.com>
41002
41003 [BZ #5077]
41004 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
41005 rounding modes.
41006
0520adde
FB
410072012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
41008
41009 [BZ #6907]
41010 * manual/string.texi (strchr): Change when strchrnul is
41011 recommended.
41012
3f4081cd
DGM
410132012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
41014
41015 [BZ #174]
41016 * manual/locale.texi (setlocale): Document LOCPATH.
41017
d1b10e78
JM
410182012-02-17 Joseph Myers <joseph@codesourcery.com>
41019
41020 [BZ #10210]
41021 * manual/process.texi (execle): Move @dots{} before last argument.
41022
79c6869c
PB
410232012-02-17 Paul Bolle <pebolle@tiscali.nl>
41024
41025 [BZ #12047]
41026 * manual/charset.texi (Generic Charset Conversion): Fix typo
41027 (LC_TYPE -> LC_CTYPE).
41028
cc6e48bc
NB
410292012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
41030
41031 [BZ #5805]
41032 * manual/arith.texi (scalbn): Use @var{} on parameter names.
41033 (scalbnf): Likewise.
41034 (scalbnl): Likewise.
41035 (scalbln): Likewise.
41036 (scalblnf): Likewise.
41037 (scalblnl): Likewise.
41038 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
41039 (vwarnx): Likewise.
41040 (verr): Likewise.
41041 (verrx): Likewise.
41042 * manual/filesys.texi (telldir): Use braces around return type.
41043 * manual/llio.texi (mmap): Add space after comma.
41044 (mmap64): Likewise.
41045 * manual/math.texi (jn): Use @var{} on parameter names.
41046 (jnf): Likewise.
41047 (jnl): Likewise.
41048 (yn): Likewise.
41049 (ynf): Likewise.
41050 (ynl): Likewise.
41051 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
41052 line.
41053 * manual/resource.texi (ulimit): Use @dots{} instead of literal
41054 "...".
41055 (sched_get_priority_min): Remove semicolon on @deftypefun line.
41056 (sched_get_priority_max): Likewise.
41057 * manual/signal.texi (sigvec): Add space after comma.
41058 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
41059 names.
41060 (if_indextoname): Likewise.
41061 (if_freenameindex): Likewise.
41062 (sendto): Use ',' instead of '.' in prototype.
41063 * manual/startup.texi (syscall): Use @dots{} instead of literal
41064 "...".
41065 * manual/stdio.texi (__fpending): Separate initial words of
41066 paragraph from @deftypefun line.
41067 * manual/syslog.texi (syslog): Use @dots{} instead of literal
41068 "...".
41069 (vsyslog): Use @var{} on parameter names.
41070 * manual/terminal.texi (stty): Use @var{} on parameter names.
41071 * manual/users.texi (getutmp): Use @var{} on parameter names.
41072 (getutmpx): Likewise.
41073
5b23062f
JM
410742012-02-17 Joseph Myers <joseph@codesourcery.com>
41075
41076 [BZ #6884]
41077 * manual/stdio.texi (fopen): Fix typos in description of
41078 ",ccs=STRING".
41079
8dee4833
AJ
410802012-02-17 Aurelien Jarno <aurelien@aurel32.net>
41081
41082 [BZ #4026]
41083 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
41084 get clock_id definition.
41085
9078ce93
TS
410862012-02-17 Thomas Schwinge <thomas@schwinge.name>
41087
41088 [BZ #4822]
41089 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
41090 (madvise): Cast every argument to void on its own.
41091
3835c55f
JM
410922012-02-17 Joseph Myers <joseph@codesourcery.com>
41093
41094 [BZ #9902]
41095 * manual/startup.texi (Exit Status): Fix typo.
41096
35c47e37
JM
410972012-02-17 Joseph Myers <joseph@codesourcery.com>
41098
41099 [BZ #10140]
41100 * manual/examples/argp-ex1.c: Include <stdlib.h>.
41101 * manual/examples/argp-ex2.c: Likewise.
41102 * manual/examples/argp-ex3.c: Likewise.
41103
e3b69ca7
RH
411042012-02-16 Richard Henderson <rth@redhat.com>
41105
41106 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
41107 * sysdeps/s390/s390-32/initfini.c: Remove.
41108 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
41109 * sysdeps/s390/s390-64/initfini.c: Remove.
41110
df83af67
KK
411112012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41112
41113 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
41114 compiler output for sysdeps/generic/initfini.c.
41115 * sysdeps/sh/elf/initfini.c: Remove file.
41116
f63f3380
DM
411172012-02-16 David S. Miller <davem@davemloft.net>
41118
fb59b3a4
DM
41119 [BZ #11494]
41120 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
41121
f63f3380
DM
41122 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
41123 * sysdeps/sparc/crti.S: New file.
41124 * sysdeps/sparc/crtn.S: New file.
41125 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
41126 * sysdeps/sparc/sparc64/Makefile: Likewise.
41127
df6a4a4a
MF
411282012-02-15 Mike Frysinger <vapier@gentoo.org>
41129
6dd8f3dc 41130 [BZ #3335]
df6a4a4a
MF
41131 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
41132
1cac7236
RM
411332012-02-15 Roland McGrath <roland@hack.frob.com>
41134
d2c736f8
RM
41135 [BZ #4822]
41136 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
41137
1cac7236
RM
41138 * mach/devstream.c (cookie_io_functions_t): Macro removed.
41139 (write, read, close): Likewise.
41140 Patch by Aurelien Jarno <aurelien@aurel32.net>.
41141
8e475601
JM
411422012-02-15 Joseph Myers <joseph@codesourcery.com>
41143
41144 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
41145 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
41146 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
41147 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
41148 <bits/signalfd.h>.
41149 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
41150 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41151 bits/signalfd.h.
41152
ed656b40
MP
411532012-02-14 Marek Polacek <polacek@redhat.com>
41154
41155 * sysdeps/x86_64/crti.S: New file.
41156 * sysdeps/x86_64/crtn.S: New file.
41157 * sysdeps/x86_64/elf/initfini.c: Remove file.
41158
2a979d3a
JM
411592012-02-13 Joseph Myers <joseph@codesourcery.com>
41160
41161 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
41162 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
41163 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
41164 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
41165 <bits/inotify.h>.
41166 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
41167 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41168 bits/inotify.h.
41169
2a418ac3
JM
411702012-02-13 Joseph Myers <joseph@codesourcery.com>
41171
41172 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
41173 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
41174 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
41175 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
41176 <bits/eventfd.h>.
41177 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
41178 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41179 bits/eventfd.h.
41180
fb779be7
TS
411812012-02-10 Thomas Schwinge <thomas@codesourcery.com>
41182
e19e83c5
RM
41183 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
41184 __feraiseexcept instead of feraiseexcept.
7c35ffed 41185
fb779be7
TS
41186 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
41187 nanosleep invocations.
41188 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
41189 strings, and add error checking for a nanosleep invocations.
41190
59ba27a6
PE
411912012-02-09 Paul Eggert <eggert@cs.ucla.edu>
41192
41193 Replace FSF snail mail address with URLs, as per GNU coding standards.
41194 Most of the snail mail addresses were wrong anyway, and omitting
41195 them makes the source code easier to maintain. Almost all of the
41196 changes are to license notices and to locale LC_IDENTIFICATION
41197 addresses, except for this one:
41198 * manual/libc.texinfo: In "Published by", give the FSF's URL,
41199 not its snail mail address.
41200
57b957eb
RH
412012012-02-09 Richard Henderson <rth@twiddle.net>
41202
af850b1c
RH
41203 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
41204 of kernel-features.h.
41205
57b957eb
RH
41206 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
41207
6b73181a
MP
412082012-02-08 Marek Polacek <polacek@redhat.com>
41209
41210 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
41211 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
41212 * sysdeps/gnu/_G_config.h: Likewise.
41213 * sysdeps/generic/_G_config.h: Likewise.
41214
26ecc33a
AS
412152012-02-08 Andreas Schwab <schwab@linux-m68k.org>
41216
6c6dbc63
AS
41217 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
41218 tests.
41219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41220
e216c012
AS
41221 * sysdeps/powerpc/powerpc32/crti.S: New file.
41222 * sysdeps/powerpc/powerpc32/crtn.S: New file.
41223 * sysdeps/powerpc/powerpc64/crti.S: New file.
41224 * sysdeps/powerpc/powerpc64/crtn.S: New file.
41225
26ecc33a
AS
41226 * Makeconfig (have-initfini): Don't set.
41227 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
41228 * configure.in (nopic_initfini): Don't substitute.
41229 * config.h.in (HAVE_INITFINI): Don't #undef.
41230 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
41231 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
41232
3add8e13
JM
412332012-02-08 Joseph Myers <joseph@codesourcery.com>
41234
41235 Support crti.S and crtn.S provided directly by architectures.
41236 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
41237 [crti.S in sysdirs] (omit-deps): Likewise.
41238 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
41239 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
41240 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
41241 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
41242 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
41243 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
41244 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
41245 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
41246 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
41247 compiler output for sysdeps/generic/initfini.c.
41248 * sysdeps/i386/elf/Makefile: Remove file.
41249 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
41250
a22f12b4
MP
412512012-02-07 Marek Polacek <polacek@redhat.com>
41252
41253 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
41254 * sysdeps/gnu/_G_config.h: Likewise.
41255 * sysdeps/mach/hurd/_G_config.h: Likewise.
41256
148cf100
MP
412572012-02-07 Marek Polacek <polacek@redhat.com>
41258
41259 * math/Makefile (tests): Add tst-CMPLX2.
41260 * math/tst-CMPLX2.c: New file.
41261
cfdc0dd7
AS
412622012-02-07 Andreas Schwab <schwab@linux-m68k.org>
41263
84ba42c4
AS
41264 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41265
cfdc0dd7
AS
41266 * math/libm-test.inc (jn_test): Add missing L suffix.
41267
622c86f4
MP
412682012-02-06 Marek Polacek <polacek@redhat.com>
41269
41270 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
41271 * sysdeps/i386/fpu/e_powf.S: Likewise.
41272 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41273 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41274 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41275 * sysdeps/i386/fpu/e_pow.S: Likewise.
41276 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
41277 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41278 * sysdeps/i386/fpu/s_expm1.S: Likewise.
41279 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
41280 * sysdeps/i386/fpu/e_log2.S: Likewise.
41281 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41282 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41283 * sysdeps/i386/fpu/e_powl.S: Likewise.
41284 * sysdeps/i386/fpu/s_log1p.S: Likewise.
41285 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41286 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
41287 * sysdeps/i386/fpu/e_logl.S: Likewise.
41288 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
41289 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
41290 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
41291 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
41292 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41293 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41294 * sysdeps/i386/fpu/e_log.S: Likewise.
41295 * sysdeps/i386/fpu/s_cexp.S: Likewise.
41296 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41297 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
41298 * sysdeps/i386/fpu/e_logf.S: Likewise.
41299 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41300 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41301 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
41302 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
41303 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41304 * sysdeps/i386/fpu/e_log10.S: Likewise.
41305 * sysdeps/i386/fpu/s_frexp.S: Likewise.
41306 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41307 * sysdeps/i386/fpu/s_asinh.S: Likewise.
41308 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
41309 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41310 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
41311 * sysdeps/i386/asm-syntax.h: Likewise.
41312 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41313 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41314 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41315 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
41316 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
41317 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41318 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
41319 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
41320 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41321 * sysdeps/powerpc/sysdep.h: Likewise.
41322 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
41323 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41324
d4a54ac6
JM
413252012-02-06 Joseph Myers <joseph@codesourcery.com>
41326
41327 [BZ #411]
41328 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
41329
314054ea
JM
413302012-02-06 Joseph Myers <joseph@codesourcery.com>
41331
41332 * sysdeps/i386/sysdep.h: Include <features.h>.
41333 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
41334 version.
41335
d8e0ca50
JM
413362012-02-05 Joseph Myers <joseph@codesourcery.com>
41337
41338 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
41339 Define.
41340 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
41341 LOAD_PIC_REG_STR.
41342
b1da7dd9
JM
413432012-02-03 Joseph Myers <joseph@codesourcery.com>
41344
41345 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
41346 (SETUP_PIC_REG): Use GET_PC_THUNK.
41347 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
41348 macro.
41349
9a1d9254
JM
413502012-02-03 Joseph Myers <joseph@codesourcery.com>
41351
41352 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
41353 for non-PIC compilation.
41354 (SETUP_PIC_REG): Add .p2align directive.
41355 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
41356 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
41357 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41358 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41359 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41360 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41361 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
41362 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41363 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41364 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41365 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41366 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41367 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41368 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41369 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41370 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41371 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41372 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41373 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41374 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41375 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41376 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
41377 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41378 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41379 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
41380 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
41381 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41382 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
41383 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41384 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41385 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41386 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41387 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41388 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41389 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41390 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41391 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41392 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41393 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41394 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41395 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41396
65dc3b75
JM
413972012-02-03 Joseph Myers <joseph@codesourcery.com>
41398
41399 * math/tst-CMPLX.c: Include <stdio.h>.
41400
d55bf177
JM
414012012-01-31 Joseph Myers <joseph@codesourcery.com>
41402
41403 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
41404 float.
41405 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41406 * sysdeps/sparc/bits/mathdef.h: Likewise.
41407
69db4f8f
MP
414082012-01-31 Marek Polacek <polacek@redhat.com>
41409
41410 * libio/libio.h: Don't define _PARAMS.
41411 * locale/programs/config.h: Don't define PARAMS.
41412 * stdlib/strtol_l.c: Likewise.
41413 (__strtol_l): Remove PARAMS from the prototype.
41414
41b81892
UD
414152012-01-31 Ulrich Drepper <drepper@gmail.com>
41416
3b49edc0
UD
41417 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
41418 names. Just use the correct names. Remove unnecessary wrapper
41419 functions.
41420 * malloc/arena.c: Likewise.
41421 * malloc/hooks.c: Likewise.
41422
41b81892
UD
41423 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
41424 ARENA_TEST says not to. Simplify test for creation of a new arena.
41425 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
41426
27a25b6e
UD
414272012-01-30 Ulrich Drepper <drepper@gmail.com>
41428
41429 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
41430 into tail calls.
41431 (update_get_addr): New function.
41432 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
41433 GET_ADDR_MODULE parameter.
41434
c8a89e7d
JM
414352012-01-30 Joseph Myers <joseph@codesourcery.com>
41436
41437 * crypt/cert.c: Remove __STDC__ conditionals.
41438 * crypt/crypt-entry.c: Likewise.
41439 * crypt/crypt_util.c: Likewise.
41440 * libio/filedoalloc.c: Likewise.
41441 * libio/fileops.c: Likewise.
41442 * libio/genops.c: Likewise.
41443 * libio/iofclose.c: Likewise.
41444 * libio/iofdopen.c: Likewise.
41445 * libio/iofopen.c: Likewise.
41446 * libio/iofopen64.c: Likewise.
41447 * libio/iogetdelim.c: Likewise.
41448 * libio/iopopen.c: Likewise.
41449 * libio/obprintf.c: Likewise.
41450 * libio/oldfileops.c: Likewise.
41451 * libio/oldiofclose.c: Likewise.
41452 * libio/oldiofdopen.c: Likewise.
41453 * libio/oldiofopen.c: Likewise.
41454 * libio/oldiopopen.c: Likewise.
41455 * libio/wfiledoalloc.c: Likewise.
41456 * libio/wgenops.c: Likewise.
41457 * locale/programs/xmalloc.c: Likewise.
41458 * misc/syslog.c: Likewise.
41459 * stdio-common/xbug.c: Likewise.
41460 * string/memchr.c: Likewise.
41461 * string/memcmp.c: Likewise.
41462 * string/memrchr.c: Likewise.
41463 * string/rawmemchr.c: Likewise.
41464 * sysdeps/posix/getcwd.c: Likewise.
41465 * time/strftime_l.c: Likewise.
41466
3b100462
JM
414672012-01-30 Joseph Myers <joseph@codesourcery.com>
41468
41469 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
41470 * config.make.in (config-cflags-sse2avx): Define.
41471 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
41472 Fix typo.
41473
607998af
CM
414742012-01-29 Chris Metcalf <cmetcalf@tilera.com>
41475
41476 * scripts/config.guess: Update from upstream config git repository.
41477 * scripts/config.sub: Likewise.
41478
3601428f
CM
414792012-01-28 Chris Metcalf <cmetcalf@tilera.com>
41480
3ac8b282
CM
41481 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
41482 (EM_NUM): Update.
41483 (R_TILEPRO_*, R_TILEGX_*): New macros.
41484
e034841e
CM
41485 * scripts/firstversions.awk: Fix bug in version range handling.
41486
540d7568
CM
41487 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
41488
3601428f
CM
41489 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
41490
463de862
CM
41491 * include/sys/epoll.h: New file.
41492 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
41493 libc_hidden_def.
41494
73139a76
UD
414952012-01-28 Ulrich Drepper <drepper@gmail.com>
41496
96bc5b45
UD
41497 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
41498 Avoid unnecessary __WORDSIZE == 64 test.
41499 (fmaxf): Use VEX format if possible.
41500 (fmax): Likewise.
41501 (fminf): Likewise.
41502 (fmin): Likewise.
41503
56f6f6a2
UD
41504 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
41505 * math/math_private.h: Remove libc_fegetround* and
41506 libc_fesetround*.
41507 * sysdeps/i386/configure.in: Check for -msse2avx.
41508 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
41509 also if SSE2AVX is defined.
41510 Remove libc_fegetround* and libc_fesetround*.
41511 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
41512 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
41513 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
41514 of HAS_YMM_USABLE.
41515 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41516 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41517 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41518 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41519 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41520
73139a76
UD
41521 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
41522
d73f93a4
AZ
415232012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41524
41525 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
41526 size is not set.
41527 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41528
6ee65ed6
UD
415292012-01-27 Ulrich Drepper <drepper@gmail.com>
41530
41531 [BZ #13618]
41532 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
41533 relocation.
41534 * Makeconfig (libm): Define.
41535 * elf/Makefile: Add rules to build and run tst-relsort1.
41536 * elf/tst-relsort1.c: New file.
41537 * elf/tst-relsort1mod1.c: New file.
41538 * elf/tst-relsort1mod2.c: New file.
41539
8db21882
JM
415402012-01-27 Joseph Myers <joseph@codesourcery.com>
41541
41542 * math/s_ldexp.c: Remove __STDC__ conditionals.
41543 * math/s_ldexpf.c: Likewise.
41544 * math/s_ldexpl.c: Likewise.
41545 * math/s_nextafter.c: Likewise.
41546 * math/s_nexttowardf.c: Likewise.
41547 * math/s_significand.c: Likewise.
41548 * math/s_significandf.c: Likewise.
41549 * math/s_significandl.c: Likewise.
41550 * math/w_jnl.c: Likewise.
41551 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41552 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41553 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41554 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41555 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41556 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41557 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
41558 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41559 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41560 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41561 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41562 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41563 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41564 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41565 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41566 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41567 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41568 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41569 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41570 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41571 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41572 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41573 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41574 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41575 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41576 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41577 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41578 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41579 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41580 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41581 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41582 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41583 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41584 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41585 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41586 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41587 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41588 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41589 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41590 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41591 * sysdeps/ieee754/k_standard.c: Likewise.
41592 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41593 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41594 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41595 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41596 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41597 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41598 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41599 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41600 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41601 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41602 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41603 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41604 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41605 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41606 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41607 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41608 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41609 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41610 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41611 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41612 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41613 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41614 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41615 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41616 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41617 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41618 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41619 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41620 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41621 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41622 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41623 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
41624 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41625 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41626 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41627 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41628 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
41629 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41630 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41631 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
41632 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
41633 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41634 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41635 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
41636 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41637 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
41638 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
41639 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41640 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41641 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41642 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
41643 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41644 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41645 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41646 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41647 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41648 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
41649 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41650 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41651 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41652 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41653 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41654 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41655 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41656 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41657 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41658 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41659 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41660 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41661 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41662 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41663 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41664 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41665 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41666 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41667 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41668 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41669 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41670 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41671 * sysdeps/ieee754/s_matherr.c: Likewise.
41672 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41673 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41674 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41675 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41676
965a54a4
JM
416772012-01-26 Joseph Myers <joseph@codesourcery.com>
41678
41679 * crypt/md5.h: Remove __STDC__ conditionals.
41680 * libio/libioP.h: Likewise.
41681 * locale/programs/config.h: Likewise.
41682 * sysdeps/generic/sysdep.h: Likewise.
41683 * sysdeps/i386/asm-syntax.h: Likewise.
41684 * sysdeps/s390/asm-syntax.h: Likewise.
41685 * sysdeps/unix/sysdep.h: Likewise.
41686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41688
7071ad79
JM
416892012-01-26 Joseph Myers <joseph@codesourcery.com>
41690
41691 * libio/libio.h: Remove __STDC__ conditionals.
41692 * malloc/obstack.h: Likewise.
41693 * math/complex.h: Likewise.
41694 * math/math.h: Likewise.
41695 * sysdeps/generic/_G_config.h: Likewise.
41696 * sysdeps/gnu/_G_config.h: Likewise.
41697 * sysdeps/mach/hurd/_G_config.h: Likewise.
41698 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41699 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41700 * sysdeps/sparc/bits/mathdef.h: Likewise.
41701
afc5ed09
UD
417022012-01-26 Ulrich Drepper <drepper@gmail.com>
41703
41704 [BZ #13583]
41705 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 41706 Clean up HAS_* macros.
afc5ed09 41707 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
41708 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
41709 possible.
41710 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
41711 HAS_AVX.
41712 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41713 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41714 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41715 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41716 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 41717
bdb6de1d
JM
417182012-01-25 Joseph Myers <joseph@codesourcery.com>
41719
41720 * elf/tst-unique3.cc (gets): Remove declaration.
41721 * elf/tst-unique3lib.cc (gets): Likewise.
41722 * elf/tst-unique3lib2.cc (gets): Likewise.
41723 * elf/tst-unique4.cc (gets): Likewise.
41724
b15549e6
UD
417252012-01-24 Ulrich Drepper <drepper@gmail.com>
41726
41727 * include/stdio.h: Add C++ protection. Add gets declarations and
41728 definitions.
41729 * debug/tst-chk1.c: Don't declare gets here.
41730 * stdio-common/tst-gets.c: Likewise.
41731
a037381f
JM
417322012-01-24 Joseph Myers <joseph@codesourcery.com>
41733
41734 * posix/glob: Remove directory.
41735
f1d4aa75
JM
417362012-01-24 Joseph Myers <joseph@codesourcery.com>
41737
41738 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
41739
81c0c964
PT
417402012-01-22 Pino Toscano <toscano.pino@tiscali.it>
41741
41742 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
41743 of the non-standard EPFNOSUPPORT.
41744
0ea698ae
ST
417452011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
41746
41747 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
41748 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
41749 ANYWHERE set to 1 only on KERN_NO_SPACE error.
41750
d220b117
UD
417512012-01-21 Ulrich Drepper <drepper@gmail.com>
41752
41753 * wcsmbs/uchar.h: Test __STDC_VERSION__.
41754
3e1aa84e
UD
417552012-01-20 Ulrich Drepper <drepper@gmail.com>
41756
41757 * nscd/aicache.c (addhstaiX): Do not cache negative results of
41758 transient errors.
41759 * nscd/grpcache.c (cache_addgr): Likewise.
41760 * nscd/hstcache.c (cache_addhst): Likewise.
41761 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41762 * nscd/pwdcache.c (cache_addpw): Likewise.
41763 * nscd/servicescache.c (cache_addserv): Likewise.
41764
400aa020
UD
417652012-01-16 Ulrich Drepper <drepper@gmail.com>
41766
d77e7869
UD
41767 * malloc/malloc.c: Various cleanups.
41768 * malloc/hooks.c: Likewise.
41769
400aa020
UD
41770 * stdlib/Makefile (tests): Add bug-fmtmsg1.
41771 * stdlib/bug-fmtmsg1.c: New file.
41772
41773 * stdlib/fmtmsg.c (init): Add missing unlock.
41774 Patch by Peng Haitao <penght@cn.fujitsu.com>.
41775
e0a309cf
MP
417762012-01-12 Marek Polacek <polacek@redhat.com>
41777
41778 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
41779 and _GNU_SOURCE.
41780
929d11c7
WS
417812012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
41782
41783 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
41784 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
41785 macro to ensure uniqueness of label name.
41786 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41787 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41788
41d0e869
UD
417892012-01-11 Ulrich Drepper <drepper@gmail.com>
41790
0cc5ed3b
UD
41791 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
41792
41d0e869
UD
41793 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
41794 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41795 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41796 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
41797
a47a831a
UD
417982012-01-10 Ulrich Drepper <drepper@gmail.com>
41799
daa891c0
UD
41800 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
41801
41802 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
41803 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41804 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41805
e58ef0f2
UD
41806 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
41807
a47a831a 41808 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
41809 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41810 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 41811 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
41812
41813 * math/bits/math-finite.h: Add ldexp support.
41814
a0bfc9c7
MP
418152012-01-10 Marek Polacek <polacek@redhat.com>
41816
41817 * locale/programs/localedef.h (show_archive_content): Add noreturn
41818 attribute.
41819
d6e97a1d
UD
418202012-01-09 Ulrich Drepper <drepper@gmail.com>
41821
41822 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
41823
d5835c26
UD
418242012-01-08 Ulrich Drepper <drepper@gmail.com>
41825
e5f484c6
UD
41826 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
41827
d5835c26
UD
41828 * io/Makefile (headers): Add bits/poll2.h.
41829
d1f741e9
WS
418302011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
41831
41832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
41833 typo #include statement.
41834
ec09c1c4
UD
418352012-01-08 Ulrich Drepper <drepper@gmail.com>
41836
41837 * include/sys/cdefs.h: Define __attribute_alloc_size.
41838 * catgets/gencat.c: Add alloc_size attribute and apply consistently
41839 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
41840 * elf/pldd.c: Likewise.
41841 * iconv/iconv_charmap.c: Likewise.
41842 * iconv/iconvconfig.c: Likewise.
41843 * iconv/strtab.c: Likewise.
41844 * locale/programs/locale.c: Likewise.
41845 * locale/programs/localedef.h: Likewise.
41846 * locale/programs/simple-hash.c: Likewise.
41847 * nscd/nscd.h: Likewise.
41848 * nss/makedb.c: Likewise.
41849 * sysdeps/generic/ldconfig.h: Likewise.
41850 * locale/programs/localedef.c: Remove xmalloc prototype.
41851 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
41852
20b38e03
PP
418532012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41854
41855 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
41856 appropriate.
41857
a0da5fe1
UD
418582012-01-08 Ulrich Drepper <drepper@gmail.com>
41859
1d5a644a 41860 * math/Makefile (tests): Add tst-CMPLX.
669704fd 41861 * math/tst-CMPLX.c: New file.
1d5a644a 41862
8784a6db
UD
41863 * math/complex.h (CMPLXL): Fix typo.
41864
d9a216c0
UD
41865 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
41866 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
41867 GLIBC_2.16.
41868 * debug/tst-chk1.c: Add poll and ppoll tests.
41869 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
41870 * include/sys/poll.h: Add hidden proto for ppoll.
41871 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
41872 * sysdeps/mach/hurd/ppoll.c: Likewise.
41873 * io/ppoll.c: Likewise.
41874 * debug/poll_chk.c: New file.
41875 * debug/ppoll_chk.c: New file.
41876 * include/bits/poll2.h: New file.
41877 * io/bits/poll2.h: New file.
41878
ac097f5c
UD
41879 [BZ #1350]
41880 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
41881
2119dcfa
UD
41882 * configure.in: static is always set to yes. Remove.
41883 * config.make.in: Don't set build-static.
41884 * Makeconfig: Remove use of build-static.
41885 * dlfcn/Makefile: Likewise.
41886 * elf/Makefile: Likewise.
41887 * math/Makefile: Likewise.
41888 * misc/Makefile: Likewise.
41889 * nptl/Makefile: Likewise.
41890 * sysdeps/mach/hurd/Makefile: Likewise.
41891
121766a9
UD
41892 * configure.in: PWD_P is not used anymore.
41893 * config.make.in: Remove PWD_P entry.
41894
51a1d39c 41895 * configure.in: Remove last remnants of RANLIB.
8720d066 41896 No need to check for signed size_t anymore.
215f4bdc
UD
41897 Don't set libc_commonpagesize and libc_relro_required here for Alpha
41898 and IA-64.
3857022a 41899 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
41900 * aclocal.m4: Likewise.
41901
d3ed7225
UD
41902 * wcsmbs/mbrtoc16.c: Implement using towc function.
41903 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
41904 * wcsmbs/wcsmbsload.c: Likewise.
41905 * iconv/gconv_simple.c: Likewise.
41906 * iconv/gconv_int.h: Likewise.
41907 * iconv/gconv_builtin.h: Likewise.
41908 * iconv/iconv_prog.c: Remove CHAR16 handling.
41909
41910 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
41911
41912 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
41913
a0da5fe1
UD
41914 * configure.in: Remove --with-elf and --enable-bounded options.
41915 Dont set base_machine for ia64. More non-ELF conditions removed.
41916 Remove testing and setting of leading underscore information.
41917 * config.make.in (build-bounded): Set to no.
41918 * config.h.in: Remove NO_UNDERSCORES entry.
41919 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
41920 them.
41921 * csu/start.c: Remove !NO_UNDERSCORE code.
41922 * locale/localeinfo.h: Likewise.
41923 * sysdeps/generic/machine-gmon.h: Likewise.
41924 * sysdeps/generic/sysdep.h: Likewise.
41925 * sysdeps/i386/sysdep.h: Likewise.
41926 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41927 * sysdeps/mach/sysdep.h: Likewise.
41928 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41929 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41930 * sysdeps/sh/sysdep.h: Likewise.
41931 * sysdeps/sparc/sparc32/alloca.S: Likewise.
41932 * sysdeps/unix/i386/sysdep.S: Likewise.
41933 * sysdeps/unix/sparc/start.c: Likewise.
41934 * sysdeps/unix/sparc/sysdep.S: Likewise.
41935 * sysdeps/unix/sparc/sysdep.h: Likewise.
41936 * sysdeps/unix/start.c: Likewise.
41937 * sysdeps/unix/x86_64/sysdep.S: Likewise.
41938 * sysdeps/x86_64/sysdep.h: Likewise.
41939
df78418a
UD
419402012-01-07 Ulrich Drepper <drepper@gmail.com>
41941
a784e502
UD
41942 [BZ #13553]
41943 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
41944 for non-gcc.
41945 * argp/argp-fmtstream.h: Use const instead __const.
41946 * argp/argp.h: Likewise.
41947 * assert/assert.h: Likewise.
41948 * bits/fenv.h: Likewise.
41949 * bits/sched.h: Likewise.
41950 * bits/sigset.h: Likewise.
41951 * bits/sigthread.h: Likewise.
41952 * catgets/nl_types.h: Likewise.
41953 * conform/data/pthread.h-data: Likewise.
41954 * crypt/crypt-private.h: Likewise.
41955 * crypt/crypt.h: Likewise.
41956 * crypt/crypt_util.c: Likewise.
41957 * ctype/ctype.h: Likewise.
41958 * debug/execinfo.h: Likewise.
41959 * debug/mbsnrtowcs_chk.c: Likewise.
41960 * debug/mbsrtowcs_chk.c: Likewise.
41961 * debug/wcsnrtombs_chk.c: Likewise.
41962 * debug/wcsrtombs_chk.c: Likewise.
41963 * debug/wcstombs_chk.c: Likewise.
41964 * dirent/dirent.h: Likewise.
41965 * dlfcn/dlfcn.h: Likewise.
41966 * elf/neededtest4.c: Likewise.
41967 * grp/grp.h: Likewise.
41968 * gshadow/gshadow.h: Likewise.
41969 * iconv/gconv.h: Likewise.
41970 * iconv/gconv_int.h: Likewise.
41971 * iconv/gconv_simple.c: Likewise.
41972 * iconv/iconv.h: Likewise.
41973 * iconv/loop.c: Likewise.
41974 * iconv/skeleton.c: Likewise.
41975 * include/aio.h: Likewise.
41976 * include/aliases.h: Likewise.
41977 * include/argz.h: Likewise.
41978 * include/arpa/inet.h: Likewise.
41979 * include/assert.h: Likewise.
41980 * include/dirent.h: Likewise.
41981 * include/dlfcn.h: Likewise.
41982 * include/execinfo.h: Likewise.
41983 * include/fcntl.h: Likewise.
41984 * include/fenv.h: Likewise.
41985 * include/glob.h: Likewise.
41986 * include/grp.h: Likewise.
41987 * include/libintl.h: Likewise.
41988 * include/mntent.h: Likewise.
41989 * include/netdb.h: Likewise.
41990 * include/pwd.h: Likewise.
41991 * include/rpc/netdb.h: Likewise.
41992 * include/sched.h: Likewise.
41993 * include/search.h: Likewise.
41994 * include/shadow.h: Likewise.
41995 * include/signal.h: Likewise.
41996 * include/stdio.h: Likewise.
41997 * include/stdlib.h: Likewise.
41998 * include/string.h: Likewise.
41999 * include/sys/socket.h: Likewise.
42000 * include/sys/stat.h: Likewise.
42001 * include/sys/statfs.h: Likewise.
42002 * include/sys/statvfs.h: Likewise.
42003 * include/sys/syslog.h: Likewise.
42004 * include/sys/time.h: Likewise.
42005 * include/sys/uio.h: Likewise.
42006 * include/time.h: Likewise.
42007 * include/unistd.h: Likewise.
42008 * include/utmp.h: Likewise.
42009 * include/wchar.h: Likewise.
42010 * include/wctype.h: Likewise.
42011 * inet/aliases.h: Likewise.
42012 * inet/arpa/inet.h: Likewise.
42013 * inet/netinet/ether.h: Likewise.
42014 * inet/netinet/in.h: Likewise.
42015 * intl/libintl.h: Likewise.
42016 * io/bits/fcntl2.h: Likewise.
42017 * io/fcntl.h: Likewise.
42018 * io/ftw.h: Likewise.
42019 * io/sys/poll.h: Likewise.
42020 * io/sys/stat.h: Likewise.
42021 * io/sys/statfs.h: Likewise.
42022 * io/sys/statvfs.h: Likewise.
42023 * io/utime.h: Likewise.
42024 * libio/bits/stdio.h: Likewise.
42025 * libio/bits/stdio2.h: Likewise.
42026 * libio/libio.h: Likewise.
42027 * libio/libioP.h: Likewise.
42028 * libio/stdio.h: Likewise.
42029 * locale/lc-ctype.c: Likewise.
42030 * locale/locale.h: Likewise.
42031 * login/utmp.h: Likewise.
42032 * malloc/arena.c: Likewise.
42033 * malloc/malloc.c: Likewise.
42034 * malloc/malloc.h: Likewise.
42035 * malloc/mcheck.c: Likewise.
42036 * malloc/mtrace.c: Likewise.
42037 * math/bits/mathcalls.h: Likewise.
42038 * math/fenv.h: Likewise.
42039 * math/math_private.h: Likewise.
42040 * misc/bits/error.h: Likewise.
42041 * misc/bits/syslog.h: Likewise.
42042 * misc/err.h: Likewise.
42043 * misc/error.h: Likewise.
42044 * misc/fstab.h: Likewise.
42045 * misc/mntent.h: Likewise.
42046 * misc/regexp.h: Likewise.
42047 * misc/search.h: Likewise.
42048 * misc/sgtty.h: Likewise.
42049 * misc/sys/mman.h: Likewise.
42050 * misc/sys/syslog.h: Likewise.
42051 * misc/sys/uio.h: Likewise.
42052 * misc/sys/xattr.h: Likewise.
42053 * misc/ttyent.h: Likewise.
42054 * nis/rpcsvc/ypclnt.h: Likewise.
42055 * nss/nss.h: Likewise.
42056 * posix/bits/unistd.h: Likewise.
42057 * posix/fnmatch.h: Likewise.
42058 * posix/glob.h: Likewise.
42059 * posix/sched.h: Likewise.
42060 * posix/spawn.h: Likewise.
42061 * posix/sys/wait.h: Likewise.
42062 * posix/unistd.h: Likewise.
42063 * posix/wordexp.h: Likewise.
42064 * pwd/pwd.h: Likewise.
42065 * resolv/netdb.h: Likewise.
42066 * resource/sys/resource.h: Likewise.
42067 * rt/aio.h: Likewise.
42068 * rt/bits/mqueue2.h: Likewise.
42069 * rt/mqueue.h: Likewise.
42070 * shadow/shadow.h: Likewise.
42071 * signal/signal.h: Likewise.
42072 * socket/send.c: Likewise.
42073 * socket/sendto.c: Likewise.
42074 * socket/sys/socket.h: Likewise.
42075 * stdio-common/printf.h: Likewise.
42076 * stdlib/bits/stdlib.h: Likewise.
42077 * stdlib/fmtmsg.h: Likewise.
42078 * stdlib/monetary.h: Likewise.
42079 * stdlib/stdlib.h: Likewise.
42080 * stdlib/ucontext.h: Likewise.
42081 * streams/stropts.h: Likewise.
42082 * string/argz.h: Likewise.
42083 * string/bits/string2.h: Likewise.
42084 * string/string.h: Likewise.
42085 * string/strings.h: Likewise.
42086 * sunrpc/rpc/auth.h: Likewise.
42087 * sunrpc/rpc/auth_des.h: Likewise.
42088 * sunrpc/rpc/clnt.h: Likewise.
42089 * sunrpc/rpc/netdb.h: Likewise.
42090 * sunrpc/rpc/pmap_clnt.h: Likewise.
42091 * sunrpc/rpc/xdr.h: Likewise.
42092 * sysdeps/generic/inttypes.h: Likewise.
42093 * sysdeps/generic/net/if.h: Likewise.
42094 * sysdeps/generic/sys/swap.h: Likewise.
42095 * sysdeps/gnu/net/if.h: Likewise.
42096 * sysdeps/gnu/utmpx.h: Likewise.
42097 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
42098 * sysdeps/i386/i486/bits/string.h: Likewise.
42099 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
42100 * sysdeps/s390/bits/string.h: Likewise.
42101 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
42102 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
42103 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
42104 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
42105 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
42106 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
42107 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
42108 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
42109 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
42110 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
42111 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
42112 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42113 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
42114 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42115 * sysdeps/unix/sysv/linux/readv.c: Likewise.
42116 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
42117 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42118 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42119 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
42120 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
42121 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42122 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
42123 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
42124 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
42125 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
42126 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
42127 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
42128 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42129 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
42130 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
42131 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
42132 * sysvipc/sys/ipc.h: Likewise.
42133 * sysvipc/sys/msg.h: Likewise.
42134 * sysvipc/sys/sem.h: Likewise.
42135 * sysvipc/sys/shm.h: Likewise.
42136 * termios/termios.h: Likewise.
42137 * time/sys/time.h: Likewise.
42138 * time/time.h: Likewise.
42139 * wcsmbs/bits/wchar2.h: Likewise.
42140 * wcsmbs/uchar.h: Likewise.
42141 * wcsmbs/wchar.h: Likewise.
42142 * wctype/wctype.h: Likewise.
42143
0269750c
UD
42144 [BZ #13551]
42145 * Makeconfig: Remove all but ELF support including AIX support.
42146 * Makerules: Likewise.
42147 * config.h.in: Likewise.
42148 * config.make.in: Likewise.
42149 * configure: Likewise.
42150 * configure.in: Likewise.
42151 * csu/Makefile: Likewise.
42152 * csu/version.c: Likewise.
42153 * debug/Makefile: Likewise.
42154 * dlfcn/Makefile: Likewise.
42155 * elf/Makefile: Likewise.
42156 * extra-lib.mk: Likewise.
42157 * iconv/Makefile: Likewise.
42158 * include/libc-symbols.h: Likewise.
42159 * include/shlib-compat.h: Likewise.
42160 * resolv/Makefile: Likewise.
42161 * resolv/res_libc.c: Likewise.
42162 * rt/Makefile: Likewise.
42163 * sysdeps/i386/asm-syntax.h: Likewise.
42164 * sysdeps/i386/sysdep.h: Likewise.
42165 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42166 * sysdeps/mach/sysdep.h: Likewise.
42167 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
42168 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
42169 * sysdeps/s390/asm-syntax.h: Likewise.
42170 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42171 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42172 * sysdeps/sh/sysdep.h: Likewise.
42173 * sysdeps/unix/sparc/sysdep.h: Likewise.
42174 * sysdeps/wordsize-32/divdi3.c: Likewise.
42175 * sysdeps/x86_64/sysdep.h: Likewise.
42176
00bbd29b
UD
42177 * argp/Versions: Remove _argp_unlock_xxx.
42178
42179 [BZ #13559]
42180 * abilist/ld.abilist: Update. Adjust for removal of tls option.
42181 * abilist/libBrokenLocale.abilist: Likewise.
42182 * abilist/libanl.abilist: Likewise.
42183 * abilist/libc.abilist: Likewise.
42184 * abilist/libcrypt.abilist: Likewise.
42185 * abilist/libdl.abilist: Likewise.
42186 * abilist/libm.abilist: Likewise.
42187 * abilist/libnsl.abilist: Likewise.
42188 * abilist/libpthread.abilist: Likewise.
42189 * abilist/libresolv.abilist: Likewise.
42190 * abilist/librt.abilist: Likewise.
42191 * abilist/libthread_db.abilist: Likewise.
42192 * abilist/libutil.abilist: Likewise.
42193 * abilist/libnss_db.abilist: New file.
42194
42195 * scripts/abilist.awk: Add support for indirect functions.
42196
a2693a0e
UD
42197 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
42198
3f05895f
UD
42199 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
42200
ecb6fb48
UD
42201 * shlib-versions: Remove entries for ports architectures.
42202
664f8cb9
UD
42203 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
42204 files in ports.
42205 * elf/stackguard-macros.h: Remove support for IA-64.
42206 * elf/tst-auditmod1.c: Likewise.
42207 * sysdeps/generic/ldsodefs.h: Likewise.
42208
7ae81d88
UD
42209 * sysdeps/unix/sysv/linux/configure.in: Ports should define
42210 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
42211 configure files.
42212
bdeba135
UD
42213 [BZ #13552]
42214 * configure.in: Remove --enable-omitfp support.
42215 * FAQ.in: Adjust.
42216 * config.make.in: Likewise.
42217 * Makeconfig: Likewise.
42218 * manual/install.texi: Likewise.
42219
d75a0a62
UD
42220 In case anyone cares, the IA-64 architecture could move to ports.
42221 * sysdeps/ia64/*: Removed.
42222 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 42223 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 42224
dcc9756b
UD
42225 [BZ #13555]
42226 * configure.in: Remove entries for unsupported architectures.
42227
d3761ebc 42228 [BZ #13533]
9954432e
UD
42229 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
42230 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
42231 routines.
42232 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
42233 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
42234 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
42235 fall back to using wcrtomb.
42236 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
42237 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
42238 renaming.
42239 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
42240 * wcsmbs/tst-c16c32-1.c: New file.
42241
42242 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
42243 local variable.
42244
c3a87236
UD
42245 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
42246
28926a1b
UD
42247 * elf/tst-unique3.cc: Add explicit declaration of gets.
42248 * elf/tst-unique3lib.cc: Likewise.
42249 * elf/tst-unique3lib2.cc: Likewise.
42250 * elf/tst-unique4.cc: Likewise.
42251
df78418a
UD
42252 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
42253
8ecd6b2a
JM
422542012-01-06 Joseph Myers <joseph@codesourcery.com>
42255
42256 [BZ #13566]
42257 * assert/assert.h (static_assert): Don't define for C++.
42258 * libio/stdio.h (gets): Do declare for C++ <= C++11.
42259 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
42260
9f115170
UD
422612012-01-03 Ulrich Drepper <drepper@gmail.com>
42262
5e0d0300
UD
42263 * iconv/loop.c (single loop): Fix assertion in storing of
42264 remaining bytes.
42265
9f115170
UD
42266 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
42267
81fb02b0
UD
422682012-01-01 Ulrich Drepper <drepper@gmail.com>
42269
42270 * posix/getconf.c: Update copyright year.
42271 * nss/getent.c: Likewise.
a316c1f6 42272 * nss/makedb.c: Likewise.
81fb02b0
UD
42273 * iconv/iconvconfig.c: Likewise.
42274 * iconv/iconv_prog.c: Likewise.
42275 * elf/ldconfig.c: Likewise.
a316c1f6
UD
42276 * elf/pldd.c: Likewise.
42277 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
42278 * catgets/gencat.c: Likewise.
42279 * csu/version.c: Likewise.
42280 * elf/ldd.bash.in: Likewise.
42281 * elf/sprof.c (print_version): Likewise.
42282 * locale/programs/locale.c: Likewise.
42283 * locale/programs/localedef.c: Likewise.
a316c1f6 42284 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
42285 * nscd/nscd.c (print_version): Likewise.
42286 * debug/xtrace.sh: Likewise.
42287 * malloc/memusage.sh: Likewise.
42288 * malloc/mtrace.pl: Likewise.
42289 * debug/catchsegv.sh: Likewise.
42290
2ba92745
JJ
422912011-12-30 Jakub Jelinek <jakub@redhat.com>
42292
42293 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
42294 pure attribute.
42295
dadebdae
UD
422962011-12-24 Ulrich Drepper <drepper@gmail.com>
42297
d3761ebc 42298 [BZ #13533]
db6af3eb
UD
42299 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
42300 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
42301 transformations.
42302 * iconv/gconv_int.h: Likewise.
42303 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
42304 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
42305 from libc for GLIBC_2.16.
42306 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
42307 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
42308 * wcsmbs/uchar.h: Really define mbstate_t.
42309 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
42310 * wcsmbs/c16rtomb.c: New file.
42311 * wcsmbs/mbrtoc16.c: New file.
42312 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
42313 for C/POSIX locale.
42314 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
42315 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
42316
dadebdae
UD
42317 * wcsmbs/wchar.h: Add missing __restrict.
42318
67371b56
UD
423192011-12-23 Ulrich Drepper <drepper@gmail.com>
42320
74033a25
UD
42321 [BZ #13532]
42322 * time/Makefile (routines): Add timespec_get.
42323 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
42324 * time/time.h: Define TIME_UTC and declare timespec_get. Define
42325 timespec for ISO C11.
42326 * time/timespec_get.c: New file.
42327 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
42328 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
42329
380d7e87
UD
42330 [BZ #13531]
42331 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
42332 * stdlib/stdlib.h: Declare aligned_alloc.
42333 * Versions.def: Add GLIBC_2.16 for libc.
42334 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
42335
4e9e7a35
UD
42336 [BZ 13527]
42337 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
42338 ISO C11.
42339
380d7e87 42340 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
42341 code.
42342
03a71829
UD
42343 [BZ #13528]
42344 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
42345
839e283e
UD
42346 [BZ #13529]
42347 * assert/assert.h (static_assert): Define.
42348
ce5294e2 42349 * version.h: Update for 2.16 development version.
90fa7312 42350
8d44e150 42351 [BZ #13526]
d7809905
UD
42352 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
42353 _ISOC11_SOURCE.
42354
c0da14cd
UD
42355 * version.h (RELEASE): Bump for 2.15 release.
42356 * include/features.h (__GLIBC_MINOR__): Bump to 15.
42357
530a3249
MP
42358 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
42359 Patch by Marek Polacek <mpolacek@redhat.com>.
42360
67371b56
UD
42361 * bits/byteswap.h: Protect long long constants with __extension__.
42362 * sysdeps/i386/bits/byteswap.h: Likewise.
42363 * sysdeps/ia64/bits/byteswap.h: Likewise.
42364 * sysdeps/s390/bits/byteswap.h: Likewise.
42365 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42366
15db4de1
LD
423672011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42368
42369 [BZ #13540]
bbe315ea
LD
42370 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
42371 destination buffer.
15db4de1
LD
42372 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
42373
2b2596b1
MP
423742011-12-23 Marek Polacek <polacek@redhat.com>
42375
42376 * elf/dl-addr.c (determine_info): Add inline keyword.
42377 * elf/tst-auditmod4b.c (check_avx): Likewise.
42378 * elf/tst-auditmod6b.c (check_avx): Likewise.
42379 * elf/tst-auditmod6c.c (check_avx): Likewise.
42380 * elf/tst-auditmod7b.c (check_avx): Likewise.
42381
70c6c246
UD
423822011-12-23 Ulrich Drepper <drepper@gmail.com>
42383
42384 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
42385 !__SSE_MATH__.
42386
c044cf14
LD
423872011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42388
15db4de1 42389 [BZ #13540]
c044cf14
LD
42390 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
42391 processing for last bytes.
42392
6b13d9d9
BH
423932011-08-06 Bruno Haible <bruno@clisp.org>
42394
d455f537
BH
42395 [BZ #13061]
42396 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
42397 U+0385, not to U+1FEE.
42398
6b13d9d9
BH
42399 [BZ #13062]
42400 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
42401 entry for U+00A5 U+0301.
42402
db910efd
UD
424032011-12-22 Ulrich Drepper <drepper@gmail.com>
42404
27deeafc
UD
42405 [BZ #13166]
42406 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
42407 buffer for the output is too small.
42408
aed9d171
UD
42409 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
42410 optimization.
42411
db910efd
UD
42412 [BZ #13185]
42413 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
42414 SSE flags if possible.
42415
2bd779ae
LD
424162011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42417
e7f9dac3 42418 [BZ #13540]
2bd779ae
LD
42419 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
42420 processing for last bytes.
42421
154bfc16
JM
424222011-12-22 Joseph Myers <joseph@codesourcery.com>
42423
42424 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
42425 (syscall-list-default-options, syscall-list-default-condition)
42426 (syscall-list-includes): Define.
42427 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
42428 list of ABIs and options and #if conditions for each ABI. Do not
42429 handle common syscalls between ABIs specially.
42430 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
42431 Remove.
42432 (syscall-list-variants, syscall-list-32bit-options)
42433 (syscall-list-32bit-condition, syscall-list-64bit-options)
42434 (syscall-list-64bit-condition): Define.
42435 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
42436 (syscall-list-variants, syscall-list-32bit-options)
42437 (syscall-list-32bit-condition, syscall-list-64bit-options)
42438 (syscall-list-64bit-condition): Define.
42439 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
42440 Remove.
42441 (syscall-list-variants, syscall-list-32bit-options)
42442 (syscall-list-32bit-condition, syscall-list-64bit-options)
42443 (syscall-list-64bit-condition): Define.
42444 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
42445 Remove.
42446 (syscall-list-variants, syscall-list-32bit-options)
42447 (syscall-list-32bit-condition, syscall-list-64bit-options)
42448 (syscall-list-64bit-condition): Define.
42449
21eaf3a5
UD
424502011-12-22 Ulrich Drepper <drepper@gmail.com>
42451
16c6f992
UD
42452 * locale/iso-639.def: Add brx entry.
42453
41043168
UD
42454 [BZ #13328]
42455 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
42456 Proposed by Mariusz_Cukr <marcukr@op.pl>.
42457
21eaf3a5
UD
42458 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
42459 __feraiseexcept_renamed.
42460
e3a851a2
UD
424612011-12-21 Ulrich Drepper <drepper@gmail.com>
42462
4920765e
UD
42463 [BZ #13538]
42464 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
42465 EPOLLET with unsigned values.
42466 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42467 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42468
e3a851a2
UD
42469 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
42470 to large cancellation.
42471 * math/s_cacoshf.c: Likewise.
42472 * math/s_cacoshl.c: Likewise.
42473
b27e24b8
RK
424742011-11-18 Richard B. Kreckel <kreckel@ginac.de>
42475
42476 [BZ #13305]
aebefeee 42477 [BZ #12786]
b27e24b8
RK
42478 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
42479 * math/s_cacoshf.c: Likewise.
42480 * math/s_cacoshl.c: Likewise.
42481
ee190f67
UD
424822011-12-21 Ulrich Drepper <drepper@gmail.com>
42483
42484 [BZ #13439]
42485 * iconv/gconv.h: Define __GCONV_SWAP.
42486 * iconvdata/unicode.c: The swap bit must be stored in __flags.
42487 * iconvdata/utf-16.c: Likewise.
42488 * iconvdata/utf-32.c: Likewise.
42489
707f25df
AS
424902011-12-21 Andreas Schwab <schwab@linux-m68k.org>
42491
42492 [BZ #13524]
42493 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
42494 numerator after shifting it by one limb.
42495
d2daaa1e
RÁE
424962011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
42497
42498 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
42499 under [__USE_EXTERN_INLINES].
42500
a4647e72
UD
425012011-12-17 Ulrich Drepper <drepper@gmail.com>
42502
42503 [BZ #13446]
42504 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
42505
f0b264f1
AZ
425062011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42507
42508 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
42509 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
42510 optimized code.
42511 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
42512 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
42513 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
42514 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
42515 for strncasecmp/strncasecmp_l compilation.
42516 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
42517 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
42518
8ef4f244
MP
425192011-12-08 Marek Polacek <mpolacek@redhat.com>
42520
42521 [BZ #13484]
42522 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
42523 of __asm__.
42524
97ac2654
UD
425252011-12-17 Ulrich Drepper <drepper@gmail.com>
42526
42527 [BZ #13506]
42528 * time/tzfile.c (__tzfile_read): Check values from file header.
42529
91d2a845
WS
425302011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
42531
42532 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
42533 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
42534 * powerpc/powerpc32/dl-start.S: Likewise.
42535 * powerpc/powerpc32/elf/start.S: Likewise.
42536 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42537 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
42538 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
42539 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
42540 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
42541 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
42542 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
42543 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
42544 * powerpc/powerpc32/fpu/s_round.S: Likewise.
42545 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
42546 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
42547 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
42548 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
42549 * powerpc/powerpc32/memset.S: Likewise.
42550 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
42551 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42552 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42553 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42554 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42555 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
42556 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42557 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42558 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
42559 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
42560 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
42561 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42562 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42563
a1267ba1
AZ
425642011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42565
42566 * math/libm-test.inc: Added more nearbyint tests.
42567 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
42568 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
42569 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
42570 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
42571
ad8ac1bd
RL
425722011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
42573
42574 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
42575 FD_CLOEXEC.
42576
1d3e4b61
UD
425772011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42578
42579 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
42580 Add wcscpy-ssse3 wcscpy-c.
42581 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
42582 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
42583 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
42584 * sysdeps/x86_64/wcschr.S: New file.
42585 * sysdeps/x86_64/wcsrchr.S: New file.
42586 * string/test-strcmp.c: Remove checking of wcscmp function for
42587 wrong alignments.
42588 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
42589 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
42590 wcsrchr-sse2 wcsrchr-c.
42591 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
42592 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
42593 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
42594 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
42595 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
42596 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
42597 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
42598 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
42599 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
42600 * wcsmbc/wcschr.c (WCSCHR): New macro.
42601
5b330a2d
UD
426022011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42603
42604 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
42605 * wcsmbs/test-wcsrchr.c: New file.
42606 * string/test-strrchr.c: Add wcsrchr support.
42607 (WIDE): New macro.
42608 * wcsmbs/test-wcscpy.c: New file.
42609 * string/test-strcpy.c: Add wcscpy support.
42610 (WIDE): New macro.
26428b7c 42611
f039c043
UD
426122011-12-10 Ulrich Drepper <drepper@gmail.com>
42613
42614 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
42615 the inner loop.
42616
850fb039
AS
426172011-12-06 Andreas Schwab <schwab@linux-m68k.org>
42618
42619 [BZ #13472]
42620 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
42621
4efbd5cb
UD
426222011-12-04 Ulrich Drepper <drepper@gmail.com>
42623
52ff5dd0 42624 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 42625 Minor optimizations.
52ff5dd0 42626
4efbd5cb
UD
42627 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
42628 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
42629 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
42630
8a426e12
UD
426312011-12-03 Ulrich Drepper <drepper@gmail.com>
42632
aff2453d
UD
42633 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
42634 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
42635 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
42636 for gcc to avoid warnings.
42637 * inet/Makefile (tests): Add tst-checks.
42638 * inet/tst-checks.c: New file.
42639
42640 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
42641 warning.
42642
42643 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
42644 __wmemcmp_sse2.
42645
42646 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
42647 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
42648
8a426e12
UD
42649 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
42650
9bea3473
UD
426512011-12-02 Ulrich Drepper <drepper@gmail.com>
42652
3a965496
UD
42653 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
42654 problem.
42655
9bea3473
UD
42656 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
42657
f101631b
UD
426582011-11-29 Joseph Myers <joseph@codesourcery.com>
42659
42660 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
42661 conditional on GCC version.
42662 (__arch_compare_and_exchange_val_8_acq)
42663 (__arch_compare_and_exchange_val_16_acq)
42664 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
42665 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
42666 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
42667
a98275aa
UD
426682011-12-02 Joseph Myers <joseph@codesourcery.com>
42669
42670 * sysdeps/sh/backtrace.c: New file.
42671
d4cc29a2
AS
426722011-12-02 Andreas Schwab <schwab@redhat.com>
42673
42674 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
42675 parenthesis.
42676
6257af2d
AS
426772011-12-01 Andreas Schwab <schwab@redhat.com>
42678
42679 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
42680 falling back to utime.
42681
b5f44c1a
AS
426822011-11-30 Andreas Schwab <schwab@redhat.com>
42683
42684 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
42685 expectations for float.
42686
f3a6cc0a
AS
426872011-11-29 Andreas Schwab <schwab@redhat.com>
42688
42689 * locale/weight.h (findidx): Add parameter len.
42690 * locale/weightwc.h (findidx): Likewise.
42691 * posix/fnmatch_loop.c (FCT): Adjust caller.
42692 * posix/regcomp.c (build_equiv_class): Likewise.
42693 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
42694 * posix/regexec.c (check_node_accept_bytes): Likewise.
42695 * string/strcoll_l.c (STRCOLL): Likewise.
42696 * string/strxfrm_l.c (STRXFRM): Likewise.
42697
9d65ea3a
UD
426982011-11-17 Ulrich Drepper <drepper@gmail.com>
42699
42700 * Makefile.in: Remove CVSOPT handling.
42701 * configure.in: Remove use of AC_REVISION.
42702 * iconvdata/Makefile (distribute): No need to filter out CVS.
42703 * scripts/list-sources.sh: Remove CVS, subversion and monotone
42704 handling.
42705
5583a086
AS
427062011-11-16 Andreas Schwab <schwab@redhat.com>
42707
42708 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
42709 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
42710 [USE_AS_STRNCASECMP_L]: Likewise.
42711 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
42712 NO_TLS_DIRECT_SEG_REFS.
42713 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
42714 Fix argument offsets for non-PIC.
42715 [USE_AS_STRNCASECMP_L]: Likewise.
42716 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
42717 NO_TLS_DIRECT_SEG_REFS.
42718
d62a8200
UD
427192011-11-15 Ulrich Drepper <drepper@gmail.com>
42720
9d65ea3a 42721 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
42722 O_CLOEXEC.
42723 * locale/loadlocale.c (_nl_load_locale): Likewise.
42724
09f93bd3
AS
427252011-11-15 Andreas Schwab <schwab@redhat.com>
42726
446514f9
AS
42727 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
42728 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
42729 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
42730 (SYSCALL_GETTIME): Set errno on error.
42731
09f93bd3
AS
42732 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
42733 count references to noai6ai_cached.
42734
312be3f9
UD
427352011-11-15 Ulrich Drepper <drepper@gmail.com>
42736
42737 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
42738
42739 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
42740 FD_CLOEXEC for /proc/self/maps.
42741
42742 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
42743 FD_CLOEXEC for /proc/meminfo.
42744
42745 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
42746 gai.conf.
42747
42748 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
42749 FD_CLOEXEC for given file.
42750
42751 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
42752
42753 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
42754 FD_CLOEXEC for /etc/hosts.
42755 (_gethtent): Likewise.
42756
42757 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
42758
42759 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
42760 cancellation and set FD_CLOEXEC for /etc/netgroup.
42761
42762 * nss/nss_files/files-key.c (search): Don't allow cancellation when
42763 reading /etc/publickey.
42764
42765 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
42766 allow cancellation when reading /etc/group.
42767
42768 * nss/nss_files/files-alias.c (internal_setent): Don't allow
42769 cancellation.
42770 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
42771
42772 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
42773 when using data file.
42774
42775 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
42776
42777 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
42778 (write_nis_obj): Use "c" and "e" in fopen.
42779
42780 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
42781
42782 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
42783
42784 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
42785
42786 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
42787
42788 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
42789 locale.alias.
42790
42791 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
42792
42793 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
42794
42795 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
42796
42797 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
42798 file parsing and set FD_CLOEXEC.
42799
82af0fa8
UD
428002011-11-14 Ulrich Drepper <drepper@gmail.com>
42801
42802 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
42803
a5fb313c
AS
428042011-11-14 Andreas Schwab <schwab@redhat.com>
42805
42806 * malloc/arena.c (arena_get2): Don't call reused_arena when
42807 _int_new_arena failed.
42808
6abf3465
UD
428092011-11-14 Ulrich Drepper <drepper@gmail.com>
42810
42811 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
42812 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
42813 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
42814 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42815 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42816 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
42817 to compile strcasecmp and strncasecmp.
42818 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
42819 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
42820
42821 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
42822
76e3966e
UD
428232011-11-13 Ulrich Drepper <drepper@gmail.com>
42824
42825 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
42826 locale-defines.sym to gen-as-const-headers.
42827 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
42828 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
42829 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
42830 to compile strcasecmp and strncasecmp.
42831 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
42832 strcasecmp_l and strncasecmp_l.
42833 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
42834 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
42835 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
42836 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
42837 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
42838 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
42839 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
42840 * sysdeps/i386/i686/multiarch/strncase.S: New file.
42841 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
42842 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
42843 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
42844
ab26144e
UD
428452011-11-12 Ulrich Drepper <drepper@gmail.com>
42846
7edb22ef
UD
42847 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
42848 result of SYSDEP_GETTIME_CPU to retval.
42849 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
42850 parameter list to macro. Remove trailing semicolon. Adjust users.
42851
9694fc44
UD
42852 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
42853 variable.
42854
8ad89ef8
UD
42855 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
42856 mantissa words.
42857 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
42858
0c822ef9
UD
42859 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
42860 from unused variable.
42861
874e0564
UD
42862 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
42863 DWARF definitions.
42864 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
42865 for assembling.
42866
3a2edc79
UD
42867 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
42868 over namespaces.
42869
f3c2577f
UD
42870 * sunrpc/rpc_prot.c (rejected): Fix case value.
42871
294ce126
UD
42872 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
42873 unsigned long long int to avoid warnings in shift.
42874
5e2b63c6
UD
42875 * posix/regex_internal.c (re_string_reconstruct): Actually use result
42876 of use of trans.
42877 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
42878 variable tmp.
42879
e7f4b08e
UD
42880 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
42881 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
42882 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
42883
ab26144e
UD
42884 * nis/nis_table.c (nis_list): Use variable of correct type for
42885 result of __follow_path call.
42886
8a6d5255
AZ
428872011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42888
42889 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
42890 of math functions ceil, trunc, floor, round, and sqrt, when
42891 avaliable on the platform.
42892 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
42893 name clash.
42894 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42895 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42896 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42897
aaddc98c
MP
428982011-10-30 Marek Polacek <mpolacek@redhat.com>
42899
42900 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
42901 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
42902
95b7042b
RM
429032011-11-11 Roland McGrath <roland@hack.frob.com>
42904
42905 * include/unistd.h: Fix __readlink return type.
42906 Reported by Chris Metcalf <cmetcalf@tilera.com>.
42907
57769839
UD
429082011-11-11 Ulrich Drepper <drepper@gmail.com>
42909
42910 * stdlib/ucontext.h: Undo last change for makecontext.
42911
edc5984d
AS
429122011-11-11 Andreas Schwab <schwab@redhat.com>
42913
98591e58
AS
42914 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
42915
edc5984d
AS
42916 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
42917 * setjmp/setjmp.h: Mark functions as non-leaf.
42918 * setjmp/bits/setjmp2.h: Likewise.
42919 * stdlib/ucontext.h: Likewise.
42920
77cdc054
AS
429212011-11-10 Andreas Schwab <schwab@redhat.com>
42922
42923 * malloc/arena.c (_int_new_arena): Don't increment narenas.
42924 (reused_arena): Don't check arena limit.
42925 (arena_get2): Atomically check arena limit.
42926
fe72eebd
UD
429272011-11-08 Ulrich Drepper <drepper@gmail.com>
42928
5f078c32
UD
42929 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
42930 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
42931
fe72eebd
UD
42932 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
42933 instructions.
42934
ae1bc2fa
AS
429352011-11-07 Andreas Schwab <schwab@redhat.com>
42936
7583a88d
AS
42937 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
42938 handler when locking.
42939
ae1bc2fa
AS
42940 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42941 Fix size of allocated buffer.
42942
10fb0bfa
AS
429432011-11-04 Andreas Schwab <schwab@redhat.com>
42944
998832a4
AS
42945 [BZ #10103]
42946 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
42947 declarations for long double functions.
42948 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
42949
10fb0bfa
AS
42950 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
42951
3d7ba52b
AS
429522011-11-03 Andreas Schwab <schwab@redhat.com>
42953
a9ae54a1
AS
42954 * nscd/nscd.c (main): Don't start AVC thread until credentials are
42955 installed.
42956
3d7ba52b
AS
42957 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
42958 is disabled.
42959
bc8db248
ST
429602011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
42961
42962 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
42963
45b96dd6
AS
429642011-11-01 Andreas Schwab <schwab@linux-m68k.org>
42965
647776f6
AS
42966 * include/alloca.h (stackinfo_alloca_round): Define.
42967 (extend_alloca): Use it.
42968 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
42969 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
42970 here.
42971
d91a8b93
AS
42972 * scripts/check-local-headers.sh: Ignore libaudit.h.
42973
45b96dd6
AS
42974 * nscd/Makefile (extra-objs): Make recursively expanded.
42975
432d41ce
UD
429762011-11-01 Ulrich Drepper <drepper@gmail.com>
42977
34372fc6
UD
42978 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
42979 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
42980
fadb59f8
UD
42981 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
42982 * posix/tst-rfc3484-2.c: Likewise.
42983 * posix/tst-rfc3484-3.c: Likewise.
42984
78239589
UD
42985 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42986 process_vm_writev.
42987 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
42988 process_vm_writev.
42989 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
42990 process_vm_writev from libc using GLIBC_2.15 version.
42991
432d41ce
UD
42992 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
42993
02f9c6cf
PP
429942011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
42995
42996 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
42997 stack usage.
42998
3a2c0242
UD
429992011-10-31 Ulrich Drepper <drepper@gmail.com>
43000
f4ec4833
UD
43001 [BZ #13367]
43002 * nss/getent.c (initgroups_keys): Show error message in case no group
43003 names are given.
43004
3a2c0242
UD
43005 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
43006 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
43007 __bump_nl_timestamp.
43008 * nscd/connections (nscd_init): When host database is served open
43009 netlink socket and request notification about configuration changes.
43010 (main_loop_poll): Track netlink file descriptor and bump timestamp
43011 in case data becomes available.
43012 (main_loop_epoll): Likewise.
43013 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
43014 (database_pers_head): Add extra_data fileds.
43015 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
43016 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
43017 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
43018 Adjust caller.
43019 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
43020 in6ai data, call __free_in6ai.
43021 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
43022 Add -DHAVE_NETLINK.
43023 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
43024 interface information. Reuse previous data if netlink timestamp
43025 is not changed.
43026 (__bump_nl_timestamp): New function.
43027 (__free_in6ai): New function.
43028
636064eb
UD
430292011-10-30 Ulrich Drepper <drepper@gmail.com>
43030
43031 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
43032 close_not_cancel_no_status here.
43033 (__check_pf): Reorganize code a bit to not call close twice if OOM.
43034
9beb2334
UD
430352011-10-29 Ulrich Drepper <drepper@gmail.com>
43036
6ef76f3b
UD
43037 [BZ #13276]
43038 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
43039 return value.
43040
0ffc4f3e 43041 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
43042 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
43043 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
43044
cb95113e
UD
430452011-07-03 Andreas Jaeger <aj@suse.de>
43046
43047 [BZ #10709]
43048 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
43049 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
43050 * math/libm-test.inc (sin_test): Add test case.
43051
a1b560ff
UD
430522011-10-29 Ulrich Drepper <drepper@gmail.com>
43053
c9aaface
UD
43054 [BZ #13337]
43055 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
43056 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43057
d272e7f1
UD
43058 * elf/chroot_canon.c (chroot_canon): Cleanups.
43059
1bc33071
UD
43060 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
43061
1760874d
TJ
43062 [BZ #13335]
43063 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
43064 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43065
51d91b18
UD
43066 * string/test-strchr.c: Make usable for strchrnul testing.
43067 * string/test-strchrnul.c: New file.
43068 * string/Makefile (strop-tests): Add strchrnul.
43069
a1b560ff 43070 * po/it.po: Update from translation team.
b611fb81 43071 * po/es.po: Likewise.
a1b560ff 43072
a5b81e1f
UD
430732011-10-28 Ulrich Drepper <drepper@gmail.com>
43074
fd52bc6d
UD
43075 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
43076 the three constants needed as parameters. Drop the others.
43077 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
43078 __m128i_strloadu_tolower.
52e4b9eb
UD
43079 Create and initialize variable zero and use it in all the places
43080 where _mm_setzero_si128 was used.
fd52bc6d 43081
a5b81e1f
UD
43082 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
43083 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
43084 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
43085 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
43086 anymore.
43087 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
43088 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
43089 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
43090 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
43091 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
43092 __mpranred, __mptan.
43093 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
43094 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
43095 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
43096 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
43097 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
43098 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
43099 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
43100 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
43101 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
43102
b4343346
AS
431032011-10-28 Andreas Schwab <schwab@redhat.com>
43104
0c92d8a8
AS
43105 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
43106 redefine if SHARED.
43107 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
43108
b4343346
AS
43109 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
43110 wide char related routines to wcsmbs subdir.
43111
3871f58f
AS
431122011-10-27 Andreas Schwab <schwab@redhat.com>
43113
43114 [BZ #13344]
43115 * misc/sys/cdefs.h (__THROWNL): Define.
43116 * posix/unistd.h: Use __THREADNL instead of __THREAD
43117 for memory synchronization functions.
43118
94d44d9f
RM
431192011-10-26 Roland McGrath <roland@hack.frob.com>
43120
21b64b15 43121 [BZ #13349]
94d44d9f
RM
43122 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
43123 doesn't exist.
43124 * manual/stdio.texi (Obstack Streams): Node removed.
43125
f6ce9294
AS
431262011-10-26 Andreas Schwab <schwab@redhat.com>
43127
80479147
AS
43128 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
43129 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43130 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43131
f6ce9294
AS
43132 * math/math_private.h (math_force_eval): Allow non-addressable
43133 arguments.
43134 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
43135
618280a1
UD
431362011-10-25 Ulrich Drepper <drepper@gmail.com>
43137
e0016b11
UD
43138 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
43139 file is not needed.
43140
43141 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
43142 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
43143 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43144 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43145 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43146 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43147 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43148 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
43149 Add AVX variants.
43150 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
43151 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
43152 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
43153 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
43154 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
43155 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
43156 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
43157 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
43158 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
43159 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
43160 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
43161 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
43162 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
43163 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
43164 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
43165 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
43166 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
43167 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
43168 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
43169
43170 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
43171 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
43172
618280a1
UD
43173 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
43174 place. Use VEX encoding when compiling for AVX.
43175
37822576
AS
431762011-10-25 Andreas Schwab <schwab@redhat.com>
43177
1f1e1947
AS
43178 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
43179 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
43180
37822576
AS
43181 * string/test-strchr.c (do_test): Don't generate NUL bytes.
43182
31ea014d
UD
431832011-10-25 Ulrich Drepper <drepper@gmail.com>
43184
d7826aa1 43185 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 43186 useless if() expression.
d7826aa1
UD
43187 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43188 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43189 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43190 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43191 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43192 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43193 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43194 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43195 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43196 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43197 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43198 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43199 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43200 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43201 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43202 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43203 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43204 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43205 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43206
31ea014d
UD
43207 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
43208
16437fec
AS
432092011-10-25 Andreas Schwab <schwab@redhat.com>
43210
43211 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
43212 condition.
43213 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43214
31d3cc00
UD
432152011-10-25 Ulrich Drepper <drepper@gmail.com>
43216
43217 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
43218 .text section. Avoid duplicate constants.
43219 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43220 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43221 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43222 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43223 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43224 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43225 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43226 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43227 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43228 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
43229 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43230 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43231 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
43232 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
43233 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43234 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
43235 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43236 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43237 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43238 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43239 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43240 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43241 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43242 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
43243 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
43244 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
43245 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
43246 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
43247 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
43248 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
43249 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
43250 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
43251 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43252 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
43253 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
43254 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
43255 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
43256 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
43257 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
43258 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
43259 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
43260 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
43261 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
43262 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
43263 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
43264
58985aa9
UD
432652011-10-24 Ulrich Drepper <drepper@gmail.com>
43266
202c9deb
UD
43267 * sysdeps/x86_64/dla.h: Move to ...
43268 * sysdeps/x86_64/fpu/dla.h: ...here.
43269 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
43270 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 43271
af968f62
UD
43272 * config.make.in: Add have-mfma4 entry.
43273 * configure.in: Substitute libc_cv_cc_fma4.
43274 * math/Makefile (dbl-only-routines): Add sincostab.
43275 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
43276 Use __sincostab not sincos.
43277 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
43278 name is a macro.
43279 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43280 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43281 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43282 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
43283 using __copysign.
43284 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
43285 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
43286 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
43287 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
43288 and __inv.
43289 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
43290 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
43291 __copysign.
43292 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
43293 define aliases when function name is a macro.
43294 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
43295 sysdeps/ieee754/dbl-64/sincos.tbl.
43296 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
43297 fma4-enabled routines.
43298 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
43299 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
43300 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
43301 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
43302 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
43303 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
43304 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
43305 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
43306 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
43307 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
43308 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
43309 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
43310 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
43311 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
43312 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
43313 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
43314 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
43315 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
43316 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
43317 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
43318 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
43319 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
43320 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
43321 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
43322 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
43323 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
43324 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
43325 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
43326 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
43327 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
43328
58985aa9
UD
43329 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
43330 rename.
43331 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43332 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43333 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43334 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43335 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43336 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43337 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43338 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43339
a201fbcf
AS
433402011-10-24 Andreas Schwab <schwab@redhat.com>
43341
43342 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
43343
fc2ee42a
LD
433442011-10-23 Ulrich Drepper <drepper@gmail.com>
43345
bb3129bd
UD
43346 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
43347
0275fff8
UD
43348 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
43349 prediction.
43350 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
43351
2fa2ae85
UD
43352 * string/strnlen.c: Don't define STRNLEN, reverse logic.
43353 Remove unused variable magic_bits.
43354 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
43355
fc2ee42a
LD
43356 * string/strnlen.c: Define and use STRNLEN macro.
43357 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
43358 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
43359 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
43360 * wcsmbs/wcslen.c: Define and use WCSLEN.
43361 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
43362 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
43363 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
43364 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
43365 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
43366 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
43367 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43368
ce7dd29f
LD
433692011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43370
43371 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43372 strnlen-sse2-no-bsf.
43373 Rename strlen-no-bsf to strlen-sse2-no-bsf.
43374 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
43375 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
43376 Add strnlen support.
43377 (USE_AS_STRNLEN): New macro.
43378 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
43379 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
43380 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
43381 * sysdeps/x86_64/wcslen.S: New file.
43382
979c70a3
MZ
433832011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
43384
43385 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43386 XMM-moves are used for copying on small sizes.
43387
2d09f82f
LD
433882011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43389
43390 * wcsmbs/Makefile (strop-tests): Add wcschr.
43391 * wcsmbs/test-wcschr.c: New file.
43392 * string/test-strchr.c: Update.
43393 Add wcschr support.
43394 (WIDE): New macro.
43395
619fccca
LD
433962011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43397
2d09f82f 43398 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
43399 * wcsmbs/test-wcslen.c: New file.
43400 * string/test-strlen.c: Update.
43401 Add wcslen support.
43402 (WIDE): New macro.
43403
09f699ea
UD
434042011-10-23 Ulrich Drepper <drepper@gmail.com>
43405
43406 * po/it.po: Update from translation team.
43407
95584d3b
LD
434082011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43409
43410 * sysdeps/x86_64/wcscmp.S: Update.
43411 Fix wrong comparison semantics.
43412 wcscmp shall use signed comparison not unsigned.
43413 Don't use substraction to avoid overflow bug.
43414 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
43415 * wcsmbc/wcscmp.c: Likewise.
43416 * string/test-strcmp.c: Likewise.
43417 Add new tests to check cases with negative values.
43418
c8b3296b
UD
434192011-10-23 Ulrich Drepper <drepper@gmail.com>
43420
43421 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
43422 * sysdeps/x86_64/dla.h: ...here. New file.
43423 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
43424 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43425 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43426 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43427 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43428 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43429 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43430 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43431 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43432
246ad57a
AS
434332011-10-23 Andreas Schwab <schwab@linux-m68k.org>
43434
43435 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
43436 __ynl_finite aliases.
43437
a1a87169
UD
434382011-10-22 Ulrich Drepper <drepper@gmail.com>
43439
0d355eb7
UD
43440 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43441
a1a87169
UD
43442 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
43443 define DLA_FMA.
43444 [DLA_FMA] (EMULV): Use DLA_FMA.
43445 [DLA_FMA] (MUL12): Use EMULV.
43446 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
43447 that are not needed.
43448 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43449 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43450 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43451 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43452 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43453 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43454 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43455
ee2aafe0
AS
434562011-10-22 Andreas Schwab <schwab@linux-m68k.org>
43457
43458 * math/s_nan.c: Undef __nan.
43459 * math/s_nanf.c: Undef __nanf.
43460 * math/s_nanl.c: Undef __nanl.
43461 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
43462 "math_private.h".
43463
bc62c2fb
UD
434642011-10-22 Ulrich Drepper <drepper@gmail.com>
43465
77425c63
UD
43466 * math/s_catan.c: Add branch predictions.
43467 * math/s_catanf.c: Likewise.
43468 * math/s_catanh.c: Likewise.
43469 * math/s_catanhf.c: Likewise.
43470 * math/s_catanhl.c: Likewise.
43471 * math/s_catanl.c: Likewise.
43472 * math/s_cexp.c: Likewise.
43473 * math/s_cexpf.c: Likewise.
43474 * math/s_cexpl.c: Likewise.
43475 * math/s_clog.c: Likewise.
43476 * math/s_clog10.c: Likewise.
43477 * math/s_clog10f.c: Likewise.
43478 * math/s_clog10l.c: Likewise.
43479 * math/s_clogf.c: Likewise.
43480 * math/s_clogl.c: Likewise.
43481 * math/s_csqrt.c: Likewise.
43482 * math/s_csqrtf.c: Likewise.
43483 * math/s_csqrtl.c: Likewise.
43484 * math/s_ctanf.c: Likewise.
43485 * math/s_ctanh.c: Likewise.
43486 * math/s_ctanhf.c: Likewise.
43487 * math/s_ctanhl.c: Likewise.
43488 * math/s_ctanl.c: Likewise.
43489
bc62c2fb
UD
43490 * math/math_private.h: Define __nan, __nanf, __nanl.
43491 * math/s_cacosh.c: Include <math_private.h>.
43492 * math/s_cacoshl.c: Likewise.
43493 * math/s_casinh.c: Likewise.
43494 * math/s_casinhf.c: Likewise.
43495 * math/s_casinhl.c: Likewise.
43496 * math/s_ccos.c: Rely entire on ccosh.
43497 * math/s_ccosf.c: Rely entire on ccoshf.
43498 * math/s_ccosl.c: Rely entirely on ccoshl.
43499 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
43500 Remove tests for FE_INVALID.
43501 * math/s_ccoshf.c: Likewise.
43502 * math/s_ccoshl.c: Likewise.
43503 * math/s_csin.c: Likewise.
43504 * math/s_csinf.c: Likewise.
43505 * math/s_csinh.c Likewise.
43506 * math/s_csinhf.c: Likewise.
43507 * math/s_csinhl.c: Likewise.
43508 * math/s_csinl.c: Likewise.
43509 * math/s_ctan.c: Likewise.
43510 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
43511 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
43512 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
43513
8ec250a4
UD
435142011-10-21 Ulrich Drepper <drepper@gmail.com>
43515
c196fed8
UD
43516 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
43517 compilation problems.
43518
8ec250a4
UD
43519 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
43520 __builtin_expect.
43521
8d4f46c6
UD
435222011-10-20 Ulrich Drepper <drepper@gmail.com>
43523
ed72b654
UD
43524 * sysdeps/i386/configure.in: Test for -mfma4 option.
43525 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
43526 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
43527 COMMON_CPUID_INDEX_80000001.
43528 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
43529 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
43530 use it if FMA3 is not supported.
43531 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
43532
8d4f46c6
UD
43533 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
43534 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43535
d45c60c2
AS
435362011-10-20 Andreas Schwab <schwab@redhat.com>
43537
43538 [BZ #12892]
43539 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
43540 it would create a cycle with a link time dependency.
43541
d9a4d2ab
UD
435422011-10-19 Ulrich Drepper <drepper@gmail.com>
43543
855d1560
UD
43544 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
43545 instruction.
43546 * string/Makefile (strop-tests): Add rawmemchr.
43547 * string/test-rawmemchr.c: New file.
43548
d9a4d2ab
UD
43549 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
43550 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
43551 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
43552 when compiling str{,n}casecmp and when AVX is available. Hook up
43553 new optimized code in initializers.
43554
8f3b1ffe
AS
435552011-10-19 Andreas Schwab <schwab@redhat.com>
43556
43557 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
43558 __feraiseexcept instead of feraiseexcept.
43559
d38f1dba
UD
435602011-10-18 Ulrich Drepper <drepper@gmail.com>
43561
d9a8d0ab
UD
43562 * math/math_private.h: Define defaults for libc_fetestexcept and
43563 libc_feupdateenv.
43564 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
43565 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
43566 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43567 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43568 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43569 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43570 libc_fetestexcept and libc_feupdateenv.
43571
4855e3dd
UD
43572 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
43573 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
43574 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
43575 * sysdeps/x86_64/fpu/math_private.h: Define special version of
43576 libc_feholdexcept_setround.
43577
581d30e3
UD
43578 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
43579 Add s_nearbyint-c and s_nearbyintf-c.
43580 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
43581 nearbyintf inlines.
43582 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
43583 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
43584 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
43585 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
43586
d38f1dba
UD
43587 * math/math_private.h: Define defaults for libc_fegetround,
43588 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
43589 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
43590 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
43591 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
43592 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
43593 standard functions.
43594 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43595 Remove comments and hacks for old compiler versions.
43596 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43597 libc_fegetround, libc_fesetround, libc_feholdexcept, and
43598 libc_feholdexceptl.
43599
caa6c9d8
AS
436002011-10-18 Andreas Schwab <schwab@redhat.com>
43601
43602 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
43603 (__feraiseexcept_renamed): Add __NTH.
43604 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
43605 namespace violations.
43606
97c066e6
UD
436072011-10-17 Ulrich Drepper <drepper@gmail.com>
43608
99ce7b04
UD
43609 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
43610
1004d182
UD
43611 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
43612
228a984d
UD
43613 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
43614 recently added interfaces.
43615 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
43616
c8553a6a
UD
43617 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
43618 about macro parameter expansion.
43619
ed22dcf6
UD
43620 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
43621 __NO_MATH_INLINES is defined. Cleanups.
43622
43623 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
43624 and __floorf is target has SSE4.1.
43625 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
43626 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
43627 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
43628 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
43629
b171c137
UD
43630 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
43631 name.
43632 (floorf): Likewise.
43633
97c066e6
UD
43634 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
43635
629f62ef
AS
436362011-10-17 Andreas Schwab <schwab@redhat.com>
43637
49a43d80
AS
43638 * misc/sys/cdefs.h: Fix last change.
43639
629f62ef
AS
43640 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
43641 database lookup.
43642
e453f6cd
UD
436432011-10-16 Ulrich Drepper <drepper@gmail.com>
43644
aa78043a
UD
43645 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
43646
ad0f5cad
UD
43647 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
43648 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43649 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43650 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43651 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43652 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43653 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43654 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43655 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43656 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
43657 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
43658 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
43659 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
43660 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
43661 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
43662 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
43663 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
43664 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
43665 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
43666 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
43667 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
43668 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
43669
43670 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
43671 ceil, ceilf, floor, floorf.
43672
43673 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
43674 Perform IRELATIVE relocations last.
43675
e453f6cd
UD
43676 * elf/do-rel.h: Add another parameter nrelative, replacing the
43677 local variable with the same name. Change name of the function
43678 to end in Rel or Rela (uppercase).
43679 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
43680 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
43681 elf_dynamic_do_##reloc function.
43682
fd5bdc09
UD
436832011-10-15 Ulrich Drepper <drepper@gmail.com>
43684
79b195b5
UD
43685 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
43686 is sufficient, at least on modern CPUs.
43687
d4a28569
UD
43688 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
43689
b61099b5
UD
43690 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
43691 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
43692
bcf01e6d
UD
43693 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
43694 __expl_finite.
43695 * math/bits/math-finite.h: Add entries for exp.
43696 * math/e_expl.c: Add __*_finite alias.
43697 * sysdeps/i386/fpu/e_exp.S: Likewise.
43698 * sysdeps/i386/fpu/e_expf.S: Likewise.
43699 * sysdeps/i386/fpu/e_expl.c: Likewise.
43700 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43701 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43702 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43703 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43704 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
43705 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43706 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43707
ba1a0d59
UD
43708 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
43709 is sufficient, at least on modern CPUs.
43710
fd5bdc09
UD
43711 * ctype/ctype-info.c (__ctype_init): Define.
43712 * include/ctype.h (__ctype_init): Declare.
43713 (__ctype_b_loc): The variable is always initialized.
43714 (__ctype_toupper_loc): Likewise.
43715 (__ctype_tolower_loc): Likewise.
43716 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
43717 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
43718
7872cfb0
AS
437192011-10-15 Andreas Schwab <schwab@linux-m68k.org>
43720
b468825a
AS
43721 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
43722
7872cfb0
AS
43723 * configure.in: Also look in $cxxmachine/include for C++ system
43724 headers.
43725
be13f7bf
LD
437262011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43727
43728 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
43729 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
43730 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
43731 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
43732 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
43733 (USE_AS_WMEMCMP): New macro.
43734 Fixing indents.
43735 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
43736 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
43737 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
43738 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
43739 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43740 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
43741 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
43742 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
43743 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
43744 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
43745 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
43746 (USE_AS_WMEMCMP): New macro.
43747 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
43748 * sysdeps/string/test-memcmp.c: Update.
43749 Fix simple_wmemcmp.
43750 Add new tests.
43751 * wcsmbs/wmemcmp.c: Update.
43752 (WMEMCMP): New macro.
43753 Fix overflow bug.
43754
556a2007
AJ
437552011-10-12 Andreas Jaeger <aj@suse.de>
43756
43757 [BZ #13268]
43758 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
43759
538faaa7
UD
437602011-10-15 Ulrich Drepper <drepper@gmail.com>
43761
ab6737ff
UD
43762 * libio/iofwide.c (do_length): Avoid warning.
43763
538faaa7
UD
43764 * ctype/ctype.h (__isctype_f): Add missing __THROW.
43765
396a21b1
UD
437662011-10-14 Ulrich Drepper <drepper@gmail.com>
43767
cdf2901f
UD
43768 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
43769
38ad40ce
UD
43770 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
43771 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
43772 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
43773 * sysdeps/i386/i686/fpu/e_log.S: New file.
43774 * sysdeps/i386/i686/fpu/e_logf.S: New file.
43775 * sysdeps/i386/i686/fpu/e_logl.S: New file.
43776
396a21b1
UD
43777 * ctype/ctype.h: Add support for inlined isXXX functions when
43778 compiling C++ code.
43779
6b1f68c9
AS
437802011-10-14 Andreas Schwab <schwab@redhat.com>
43781
349290c0
AS
43782 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43783
6b1f68c9
AS
43784 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
43785
f2282d42
RM
437862011-10-13 Roland McGrath <roland@hack.frob.com>
43787
43788 [BZ #13291]
43789 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
43790
5298ffa8
AS
437912011-10-13 Andreas Schwab <schwab@redhat.com>
43792
714fad23
AS
43793 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
43794 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
43795 feraiseexcept.
43796
81dcc7fb
AS
43797 * sysdeps/x86_64/memrchr.S: Check for zero size.
43798
5298ffa8
AS
43799 * string/stratcliff.c: Add memrchr tests.
43800
951fbcec
LD
438012011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43802
43803 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43804 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
43805 rawmemchr-sse2 rawmemchr-sse2-bsf.
43806 * sysdeps/i386/i686/multiarch/memchr.S: New file.
43807 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
43808 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
43809 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
43810 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
43811 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
43812 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
43813 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
43814 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
43815 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
43816 * string/memrchr.c (MEMRCHR): New macro.
43817
0ac5ae23
UD
438182011-10-12 Ulrich Drepper <drepper@gmail.com>
43819
43820 Add integration with gcc's -ffinite-math-only and optimize wrapper
43821 functions in libm.
43822 * Versions.def: Define GLIBC_2.15 version for libm.
43823 * math/Makefile (headers): Add bits/math-finite.h.
43824 * math/bits/math-finite.h: New file.
43825 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
43826 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
43827 * math/e_acoshl.c: Add __*_finite alias.
43828 * math/e_acosl.c: Likewise.
43829 * math/e_asinl.c: Likewise.
43830 * math/e_atan2l.c: Likewise.
43831 * math/e_atanhl.c: Likewise.
43832 * math/e_coshl.c: Likewise.
43833 * math/e_exp10.c: Likewise.
43834 * math/e_exp10f.c: Likewise.
43835 * math/e_exp10l.c: Likewise.
43836 * math/e_exp2l.c: Likewise.
43837 * math/e_fmodl.c: Likewise.
43838 * math/e_gammal_r.c: Likewise.
43839 * math/e_hypotl.c: Likewise.
43840 * math/e_j0l.c: Likewise.
43841 * math/e_j1l.c: Likewise.
43842 * math/e_jnl.c: Likewise.
43843 * math/e_lgammal_r.c: Likewise.
43844 * math/e_log10l.c: Likewise.
43845 * math/e_log2l.c: Likewise.
43846 * math/e_logl.c: Likewise.
43847 * math/e_powl.c: Likewise.
43848 * math/e_sinhl.c: Likewise.
43849 * math/e_sqrtl.c: Likewise.
43850 * math/e_scalb.c: Completely rewritten and optimized.
43851 * math/e_scalbf.c: Likewise.
43852 * math/e_scalbl.c: Likewise.
43853 * math/w_acos.c: Likewise.
43854 * math/w_acosf.c: Likewise.
43855 * math/w_acosl.c: Likewise.
43856 * math/w_acosh.c: Likewise.
43857 * math/w_acoshf.c: Likewise.
43858 * math/w_acoshl.c: Likewise.
43859 * math/w_asin.c: Likewise.
43860 * math/w_asinf.c: Likewise.
43861 * math/w_asinl.c: Likewise.
43862 * math/w_atan2.c: Likewise.
43863 * math/w_atan2f.c: Likewise.
43864 * math/w_atan2l.c: Likewise.
43865 * math/w_atanh.c: Likewise.
43866 * math/w_atanhf.c: Likewise.
43867 * math/w_atanhl.c: Likewise.
43868 * math/w_exp10.c: Likewise.
43869 * math/w_exp10f.c: Likewise.
43870 * math/w_exp10l.c: Likewise.
43871 * math/w_fmod.c: Likewise.
43872 * math/w_fmodf.c: Likewise.
43873 * math/w_fmodl.c: Likewise.
43874 * math/w_j0.c: Likewise.
43875 * math/w_j0f.c: Likewise.
43876 * math/w_j0l.c: Likewise.
43877 * math/w_j1.c: Likewise.
43878 * math/w_j1f.c: Likewise.
43879 * math/w_j1l.c: Likewise.
43880 * math/w_jn.c: Likewise.
43881 * math/w_jnf.c: Likewise.
43882 * math/w_log.c: Likewise.
43883 * math/w_logf.c: Likewise.
43884 * math/w_logl.c: Likewise.
43885 * math/w_log10.c: Likewise.
43886 * math/w_log10f.c: Likewise.
43887 * math/w_log10l.c: Likewise.
43888 * math/w_log2.c: Likewise.
43889 * math/w_log2f.c: Likewise.
43890 * math/w_log2l.c: Likewise.
43891 * math/w_pow.c: Likewise.
43892 * math/w_powf.c: Likewise.
43893 * math/w_powl.c: Likewise.
43894 * math/w_remainder.c: Likewise.
43895 * math/w_remainderf.c: Likewise.
43896 * math/w_remainderl.c: Likewise.
43897 * math/w_scalb.c: Likewise.
43898 * math/w_scalbf.c: Likewise.
43899 * math/w_scalbl.c: Likewise.
43900 * math/w_sqrt.c: Likewise.
43901 * math/w_sqrtf.c: Likewise.
43902 * math/w_sqrtl.c: Likewise.
43903 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
43904 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
43905 used.
43906 * math/math_private.h: Declare __kernel_standard_f.
43907 * math/w_cosh.c: Remove cruft and optimize a bit.
43908 * math/w_coshf.c: Likewise.
43909 * math/w_coshl.c: Likewise.
43910 * math/w_exp2.c: Likewise.
43911 * math/w_exp2f.c: Likewise.
43912 * math/w_exp2l.c: Likewise.
43913 * math/w_hypot.c: Likewise.
43914 * math/w_hypotf.c: Likewise.
43915 * math/w_hypotl.c: Likewise.
43916 * math/w_lgamma.c: Likewise.
43917 * math/w_lgamma_r.c: Likewise.
43918 * math/w_lgammaf.c: Likewise.
43919 * math/w_lgammaf_r.c: Likewise.
43920 * math/w_lgammal.c: Likewise.
43921 * math/w_lgammal_r.c: Likewise.
43922 * math/w_sinh.c: Likewise.
43923 * math/w_sinhf.c: Likewise.
43924 * math/w_sinhl.c: Likewise.
43925 * math/w_tgamma.c: Likewise.
43926 * math/w_tgammaf.c: Likewise.
43927 * math/w_tgammal.c: Likewise.
43928 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43929 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43930 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
43931 Minor optimizations. Pretty printing. Remove cruft.
43932 * sysdeps/i386/fpu/e_acosf.S: Likewise.
43933 * sysdeps/i386/fpu/e_acosh.S: Likewise.
43934 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43935 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43936 * sysdeps/i386/fpu/e_acosl.c: Likewise.
43937 * sysdeps/i386/fpu/e_asin.S: Likewise.
43938 * sysdeps/i386/fpu/e_asinf.S: Likewise.
43939 * sysdeps/i386/fpu/e_atan2.S: Likewise.
43940 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
43941 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
43942 * sysdeps/i386/fpu/e_atanh.S: Likewise.
43943 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43944 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43945 * sysdeps/i386/fpu/e_exp10.S: Likewise.
43946 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
43947 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
43948 * sysdeps/i386/fpu/e_exp2.S: Likewise.
43949 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
43950 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
43951 * sysdeps/i386/fpu/e_fmod.S: Likewise.
43952 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
43953 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
43954 * sysdeps/i386/fpu/e_hypot.S: Likewise.
43955 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
43956 * sysdeps/i386/fpu/e_log.S: Likewise.
43957 * sysdeps/i386/fpu/e_log10.S: Likewise.
43958 * sysdeps/i386/fpu/e_log10f.S: Likewise.
43959 * sysdeps/i386/fpu/e_log10l.S: Likewise.
43960 * sysdeps/i386/fpu/e_log2.S: Likewise.
43961 * sysdeps/i386/fpu/e_log2f.S: Likewise.
43962 * sysdeps/i386/fpu/e_log2l.S: Likewise.
43963 * sysdeps/i386/fpu/e_logf.S: Likewise.
43964 * sysdeps/i386/fpu/e_logl.S: Likewise.
43965 * sysdeps/i386/fpu/e_pow.S: Likewise.
43966 * sysdeps/i386/fpu/e_powf.S: Likewise.
43967 * sysdeps/i386/fpu/e_powl.S: Likewise.
43968 * sysdeps/i386/fpu/e_remainder.S: Likewise.
43969 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
43970 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
43971 * sysdeps/i386/fpu/e_scalb.S: Likewise.
43972 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43973 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43974 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
43975 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
43976 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
43977 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43978 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43979 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43980 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43981 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43982 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43983 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
43984 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43985 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43986 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43987 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43988 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43989 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43990 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43991 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43992 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43993 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43994 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43995 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43996 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43997 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43998 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43999 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44000 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44001 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44002 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44003 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44004 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44005 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
44006 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44007 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44008 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44009 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44010 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44011 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44012 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44013 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44014 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44015 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44016 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44017 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44018 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44019 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44020 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44021 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44022 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44023 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44024 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44025 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44026 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
44027 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44028 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44029 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44030 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44031 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44032 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44033 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44034 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44035 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44036 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44037 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44038 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44039 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44040 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44041 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44042 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44043 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44044 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44045 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
44046 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44047 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44048 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44049 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44050 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44051 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44052 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44053 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
44054 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44055 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44056 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44057 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44058 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44059 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
44060 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44061 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44062 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44063 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44064 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44065 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44066 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44067 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44068 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44069 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44070 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44071 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44072 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44073 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44074 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
44075 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
44076 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
44077 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
44078 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
44079 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
44080 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
44081 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44082 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44083 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44084 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44085 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
44086 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44087 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
44088 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
44089 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
44090 (__isnanf): Likewise.
44091 (__isinf_ns): Likewise.
44092 (__isinf_nsf): Likewise.
44093 (__finite): Likewise.
44094 (__finitef): Likewise.
44095 (__ieee754_sqrt): Define as macro.
44096 (__ieee754_sqrtf): Define as macro.
44097 (__ieee754_sqrtl): Define as macro.
44098 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
44099 inlined copy.
44100 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
44101 __FINITE_MATH_ONLY__ consistent.
44102 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
44103
12cc2fcd
AS
441042011-10-10 Andreas Schwab <schwab@linux-m68k.org>
44105
a843a204
AS
44106 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
44107 of rawmemchr.
44108
12cc2fcd
AS
44109 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
44110
c853acd5
UD
441112011-10-09 Ulrich Drepper <drepper@gmail.com>
44112
44113 * po/ja.po: Update from translation team.
44114
c658d255
RM
441152011-10-08 Roland McGrath <roland@hack.frob.com>
44116
110946e4
RM
44117 * locale/programs/locarchive.c (prepare_address_space): New function.
44118 (create_archive, enlarge_archive, open_archive): Use it.
44119
50604220
RM
44120 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
44121 inside [SHARED], where it is used.
44122
c658d255
RM
44123 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
44124
44125 * nss/getent.c (netgroup_keys): Remove unused variable.
44126 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44127
6a621eb7
UD
441282011-10-08 Ulrich Drepper <drepper@gmail.com>
44129
7edb55ce
UD
44130 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
44131 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
44132 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
44133 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
44134 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
44135 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
44136 * math/Makefile (libm-calls): Add s_isinf_ns.
44137 * math/divtc3.c: Use __isinf_nsl instead of isinf.
44138 * math/multc3.c: Likewise.
44139 * math/s_casin.c: Likewise.
44140 * math/s_casinf.c: Likewise.
44141 * math/s_casinl.c: Likewise.
44142 * math/s_ccos.c: Likewise.
44143 * math/s_ccosf.c: Likewise.
44144 * math/s_ccosl.c: Likewise.
44145 * math/s_ctan.c: Likewise.
44146 * math/s_ctanf.c: Likewise.
44147 * math/s_ctanh.c: Likewise.
44148 * math/s_ctanhf.c: Likewise.
44149 * math/s_ctanhl.c: Likewise.
44150 * math/s_ctanl.c: Likewise.
44151 * math/w_fmod.c: Likewise.
44152 * math/w_fmodf.c: Likewise.
44153 * math/w_fmodl.c: Likewise.
44154 * math/w_remainder.c: Likewise.
44155 * math/w_remainderf.c: Likewise.
44156 * math/w_remainderl.c: Likewise.
44157 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
44158 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
44159 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
44160 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
44161 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
44162 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
44163 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
44164 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
44165
187da0ae
UD
44166 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
44167 of the number.
44168 * stdio-common/printf_fphex.c: Likewise.
44169 * stdio-common/printf_size.c: Likewise.
44170
9277c064
UD
44171 * math/e_exp10.c: Include math_private.h using <...> not "...".
44172 * math/e_exp10f.c: Likewise.
44173 * math/e_exp10l.c: Likewise.
44174 * math/e_exp2l.c: Likewise.
44175 * math/e_j0l.c: Likewise.
44176 * math/e_j1l.c: Likewise.
44177 * math/e_jnl.c: Likewise.
44178 * math/e_lgammal_r.c: Likewise.
44179 * math/e_rem_pio2l.c: Likewise.
44180 * math/e_scalb.c: Likewise.
44181 * math/e_scalbf.c: Likewise.
44182 * math/e_scalbl.c: Likewise.
44183 * math/k_cosl.c: Likewise.
44184 * math/k_sinl.c: Likewise.
44185 * math/k_tanl.c: Likewise.
44186 * math/s_cacoshf.c: Likewise.
44187 * math/s_catan.c: Likewise.
44188 * math/s_catanf.c: Likewise.
44189 * math/s_catanh.c: Likewise.
44190 * math/s_catanhf.c: Likewise.
44191 * math/s_catanhl.c: Likewise.
44192 * math/s_catanl.c: Likewise.
44193 * math/s_ccosh.c: Likewise.
44194 * math/s_ccoshf.c: Likewise.
44195 * math/s_ccoshl.c: Likewise.
44196 * math/s_cexp.c: Likewise.
44197 * math/s_cexpf.c: Likewise.
44198 * math/s_cexpl.c: Likewise.
44199 * math/s_clog.c: Likewise.
44200 * math/s_clog10.c: Likewise.
44201 * math/s_clog10f.c: Likewise.
44202 * math/s_clog10l.c: Likewise.
44203 * math/s_clogf.c: Likewise.
44204 * math/s_clogl.c: Likewise.
44205 * math/s_csin.c: Likewise.
44206 * math/s_csinf.c: Likewise.
44207 * math/s_csinh.c: Likewise.
44208 * math/s_csinhf.c: Likewise.
44209 * math/s_csinhl.c: Likewise.
44210 * math/s_csinl.c: Likewise.
44211 * math/s_csqrt.c: Likewise.
44212 * math/s_csqrtf.c: Likewise.
44213 * math/s_csqrtl.c: Likewise.
44214 * math/s_ctan.c: Likewise.
44215 * math/s_ctanf.c: Likewise.
44216 * math/s_ctanh.c: Likewise.
44217 * math/s_ctanhf.c: Likewise.
44218 * math/s_ctanhl.c: Likewise.
44219 * math/s_ctanl.c: Likewise.
44220 * math/s_ldexp.c: Likewise.
44221 * math/s_ldexpf.c: Likewise.
44222 * math/s_ldexpl.c: Likewise.
44223 * math/s_significand.c: Likewise.
44224 * math/s_significandf.c: Likewise.
44225 * math/s_significandl.c: Likewise.
44226 * math/w_acos.c: Likewise.
44227 * math/w_acosf.c: Likewise.
44228 * math/w_acosh.c: Likewise.
44229 * math/w_acoshf.c: Likewise.
44230 * math/w_acoshl.c: Likewise.
44231 * math/w_acosl.c: Likewise.
44232 * math/w_asin.c: Likewise.
44233 * math/w_asinf.c: Likewise.
44234 * math/w_asinl.c: Likewise.
44235 * math/w_atan2.c: Likewise.
44236 * math/w_atan2f.c: Likewise.
44237 * math/w_atan2l.c: Likewise.
44238 * math/w_atanh.c: Likewise.
44239 * math/w_atanhf.c: Likewise.
44240 * math/w_atanhl.c: Likewise.
44241 * math/w_cosh.c: Likewise.
44242 * math/w_coshf.c: Likewise.
44243 * math/w_coshl.c: Likewise.
44244 * math/w_dremf.c: Likewise.
44245 * math/w_exp10.c: Likewise.
44246 * math/w_exp10f.c: Likewise.
44247 * math/w_exp10l.c: Likewise.
44248 * math/w_exp2.c: Likewise.
44249 * math/w_exp2f.c: Likewise.
44250 * math/w_fmod.c: Likewise.
44251 * math/w_fmodf.c: Likewise.
44252 * math/w_fmodl.c: Likewise.
44253 * math/w_hypot.c: Likewise.
44254 * math/w_hypotf.c: Likewise.
44255 * math/w_hypotl.c: Likewise.
44256 * math/w_j0.c: Likewise.
44257 * math/w_j0f.c: Likewise.
44258 * math/w_j0l.c: Likewise.
44259 * math/w_j1.c: Likewise.
44260 * math/w_j1f.c: Likewise.
44261 * math/w_j1l.c: Likewise.
44262 * math/w_jn.c: Likewise.
44263 * math/w_jnf.c: Likewise.
44264 * math/w_jnl.c: Likewise.
44265 * math/w_lgamma.c: Likewise.
44266 * math/w_lgamma_r.c: Likewise.
44267 * math/w_lgammaf.c: Likewise.
44268 * math/w_lgammaf_r.c: Likewise.
44269 * math/w_lgammal.c: Likewise.
44270 * math/w_lgammal_r.c: Likewise.
44271 * math/w_log.c: Likewise.
44272 * math/w_log10.c: Likewise.
44273 * math/w_log10f.c: Likewise.
44274 * math/w_log10l.c: Likewise.
44275 * math/w_log2.c: Likewise.
44276 * math/w_log2f.c: Likewise.
44277 * math/w_log2l.c: Likewise.
44278 * math/w_logf.c: Likewise.
44279 * math/w_logl.c: Likewise.
44280 * math/w_pow.c: Likewise.
44281 * math/w_powf.c: Likewise.
44282 * math/w_powl.c: Likewise.
44283 * math/w_remainder.c: Likewise.
44284 * math/w_remainderf.c: Likewise.
44285 * math/w_remainderl.c: Likewise.
44286 * math/w_scalb.c: Likewise.
44287 * math/w_scalbf.c: Likewise.
44288 * math/w_scalbl.c: Likewise.
44289 * math/w_sinh.c: Likewise.
44290 * math/w_sinhf.c: Likewise.
44291 * math/w_sinhl.c: Likewise.
44292 * math/w_sqrt.c: Likewise.
44293 * math/w_sqrtf.c: Likewise.
44294 * math/w_sqrtl.c: Likewise.
44295 * math/w_tgamma.c: Likewise.
44296 * math/w_tgammaf.c: Likewise.
44297 * math/w_tgammal.c: Likewise.
44298
6a621eb7
UD
44299 * po/ja.po: Update from translation team.
44300
bf582445
AJ
443012011-09-29 Andreas Jaeger <aj@suse.de>
44302
f9efbf3a
AJ
44303 [BZ #13179]
44304 * sunrpc/netname.c (netname2host): Fix logic.
44305
bf582445
AJ
44306 [BZ #6779]
44307 [BZ #6783]
44308 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
44309 correctly.
44310 * math/w_remainder.c (__remainder): Likewise.
44311 * math/w_remainderf.c (__remainderf): Likewise.
44312 * math/libm-test.inc (remainder_test): Add test cases.
44313
48693bea
AK
443142011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44315
44316 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
44317 sdiv_qrnnd.
44318
42622229
LD
443192011-10-07 Ulrich Drepper <drepper@gmail.com>
44320
44321 * string/test-memcmp.c: Avoid unncessary #defines.
44322 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44323
093ecf92
LD
443242011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44325
44326 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
44327 Use new sse2 version for core i3 - i7 as it's faster
44328 than sse42 version.
44329 (bit_Prefer_PMINUB_for_stringop): New.
44330 * sysdeps/x86_64/rawmemchr.S: Update.
44331 Replace with faster SSE2 version.
44332 * sysdeps/x86_64/memrchr.S: New file.
44333 * sysdeps/x86_64/memchr.S: Update.
44334 Replace with faster SSE2 version.
44335
fde56e5c
MP
443362011-09-12 Marek Polacek <mpolacek@redhat.com>
44337
44338 * elf/dl-load.c (lose): Add cast to avoid warning.
44339
21fd49a9
UD
443402011-10-07 Ulrich Drepper <drepper@gmail.com>
44341
5a06e643
UD
44342 * po/ca.po: Update from translation team.
44343
684ae515
UD
44344 * inet/getnetgrent_r.c: Hook up nscd.
44345 * nscd/Makefile (routines): Add nscd_netgroup.
44346 (nscd-modules): Add netgroupcache.
44347 (CFLAGS-netgroupcache.c): Define.
44348 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
44349 (cache_search): Add const to second parameter.
44350 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
44351 INNETGR.
44352 (dbs): Add netgrdb entry.
44353 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
44354 (verify_persistent_db): Handle netgrdb.
44355 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
44356 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
44357 GETFDNETGR.
44358 (netgroup_response_header): Define.
44359 (innetgroup_response_header): Define.
44360 (datahead): Add netgroup_response_header and innetgroup_response_header
44361 elements.
44362 * nscd/nscd.conf: Add entries for netgroup cache.
44363 * nscd/nscd.h (dbtype): Add netgrdb.
44364 (_PATH_NSCD_NETGROUP_DB): Define.
44365 (netgroup_iov_disabled): Declare.
44366 (xmalloc, xcalloc, xrealloc): Move declarations here.
44367 (cache_search): Adjust prototype.
44368 Add netgroup-related prototypes.
44369 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
44370 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
44371 (__nscd_innetgr): Declare.
44372 * nscd/selinux.c (perms): Use access_vector_t as element type and
44373 add netgroup-related initializers.
44374 * nscd/netgroupcache.c: New file.
44375 * nscd/nscd_netgroup.c: New file.
44376 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
44377 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
44378 For four parameters use innetgr.
44379 * nss/nss_files/files-init.c: Add definition and callback for netgr.
44380 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
44381 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
44382 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
44383
21fd49a9
UD
44384 * nscd/connections.c (register_traced_file): Don't register file
44385 for disabled databases.
44386
054c0457
UD
443872011-10-06 Ulrich Drepper <drepper@gmail.com>
44388
32b63198
UD
44389 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
44390
054c0457
UD
44391 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
44392 from tree and freeing node.
44393
64031225
JO
443942011-09-25 Jiri Olsa <jolsa@redhat.com>
44395
44396 * nss/nsswitch.c (__nss_database_lookup): Handle
44397 nss_parse_service_list out of memory case.
44398
0490345c
JO
443992011-09-15 Jiri Olsa <jolsa@redhat.com>
44400
44401 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
44402 out of memory case.
44403
3a62d00d
AS
444042011-10-04 Andreas Schwab <schwab@redhat.com>
44405
44406 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
44407 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
44408 pass it down.
44409 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
44410 elf_machine_rela, elf_machine_lazy_rel.
44411 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
44412 (ELF_DYNAMIC_DO_REL): Likewise.
44413 (ELF_DYNAMIC_DO_RELA): Likewise.
44414 (ELF_DYNAMIC_RELOCATE): Likewise.
44415 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
44416 to ELF_DYNAMIC_DO_REL.
44417 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
44418 (dl_main): In trace mode always set __RTLD_NOIFUNC.
44419 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
44420 elf_machine_rela.
44421 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
44422 skip_ifunc, don't call ifunc function if non-zero.
44423 (elf_machine_rela): Likewise.
44424 (elf_machine_lazy_rel): Likewise.
44425 (elf_machine_lazy_rela): Likewise.
44426 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
44427 (elf_machine_lazy_rel): Likewise.
44428 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
44429 Likewise.
44430 (elf_machine_lazy_rel): Likewise.
44431 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44432 Likewise.
44433 (elf_machine_lazy_rel): Likewise.
44434 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
44435 (elf_machine_lazy_rel): Likewise.
44436 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
44437 (elf_machine_lazy_rel): Likewise.
44438 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
44439 (elf_machine_lazy_rel): Likewise.
44440 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
44441 (elf_machine_lazy_rel): Likewise.
44442 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
44443 (elf_machine_lazy_rel): Likewise.
44444 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
44445 (elf_machine_lazy_rel): Likewise.
44446
68577918
UD
444472011-09-28 Ulrich Drepper <drepper@gmail.com>
44448
44449 * nss/nss_files/files-init.c (_nss_files_init): Use static
44450 initialization for all the *_traced_file variables.
44451
68822d74
AS
444522011-09-28 Andreas Schwab <schwab@redhat.com>
44453
44454 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44455
2056100b
RM
444562011-09-27 Roland McGrath <roland@hack.frob.com>
44457
44458 [BZ #13226]
44459 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
44460
32c76b63
AS
444612011-09-27 Andreas Schwab <schwab@redhat.com>
44462
44463 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44464 Reread the line before reparsing it.
44465
bf972c9d
AS
444662011-09-26 Andreas Schwab <schwab@redhat.com>
44467
44468 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
44469
e057a1b5
JM
444702011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
44471 Maxim Kuvyrkov <maxim@codesourcery.com>
44472 Joseph Myers <joseph@codesourcery.com>
44473
44474 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
44475 if needed for __stack_chk_guard.
44476
bc7e1c36
RM
444772011-09-19 Roland McGrath <roland@hack.frob.com>
44478
ecb1482f
RM
44479 * sysdeps/posix/spawni.c (script_execute): Always define it.
44480 It will be optimized away if unused.
44481 (maybe_script_execute): New function.
44482 (__spawni): Call it.
44483
bc7e1c36
RM
44484 * Makerules: Don't include tls.make.
44485 (config-tls): Always set to thread.
44486 * tls.make.c: File removed.
44487
1c3b002b
MF
444882011-09-19 Mike Frysinger <vapier@gentoo.org>
44489
44490 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
44491 * config.make.in (CPPFLAGS-config): New substituted variable.
44492
2840865d
UD
444932011-09-15 Ulrich Drepper <drepper@gmail.com>
44494
88738eb6
UD
44495 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
44496
cbf645a6 44497 [BZ #13192]
2840865d
UD
44498 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
44499 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
44500
b402e91a
RM
445012011-09-15 Roland McGrath <roland@hack.frob.com>
44502
44503 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
44504 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
44505 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44506 (CALL_FAIL): Likewise.
44507 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
44508 (CALL_FAIL): Macro removed.
44509 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
44510
4c1a1f71
UD
445112011-09-15 Ulrich Drepper <drepper@gmail.com>
44512
44513 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
44514 for __FINITE_MATH_ONLY__ == 1.
44515
edc121be
AS
445162011-09-15 Andreas Schwab <schwab@redhat.com>
44517
44518 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
44519 __ieee754_sqrt instead of sqrt.
44520 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
44521 __ieee754_sqrtf instead of sqrtf.
44522 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
44523 __floorf instead of floorf.
44524 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
44525 __floorf, __truncf instead of floorf, truncf.
44526
cd205654
UD
445272011-09-14 Ulrich Drepper <drepper@gmail.com>
44528
ee4d0315
UD
44529 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
44530
cd205654
UD
44531 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
44532 __extern_always_inline.
44533 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
44534 32-bit.
44535
48b67d71
AS
445362011-09-14 Andreas Schwab <schwab@redhat.com>
44537
44538 * elf/rtld.c (dl_main): Also relocate in dependency order when
44539 doing symbol dependency testing.
44540
1ae12c75
AS
445412011-09-13 Andreas Schwab <schwab@linux-m68k.org>
44542
44543 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44544 Always define `refsym'.
44545
995a80df
AS
445462011-09-13 Andreas Schwab <schwab@redhat.com>
44547
e529793b
AS
44548 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
44549 (__FD_ELT): Renamed from __FDELT.
44550 * misc/bits/select2.h (__FD_ELT): Likewise.
44551 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
44552 __FD_MASK instead of __FDELT, __FDMASK.
44553 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44554 Likewise.
44555 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44556 Likewise.
44557
52d4fef8
AS
44558 * elf/Makefile (gen-ldd): Fix pattern.
44559
995a80df
AS
44560 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
44561 (init_tls): Likewise.
44562
8682f8b0
UD
445632011-09-12 Ulrich Drepper <drepper@gmail.com>
44564
44565 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
44566
de82006d
AS
445672011-09-12 Andreas Schwab <schwab@redhat.com>
44568
a7c8e6a1
AS
44569 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
44570 `struct cmsghdr *' instead of `void *'.
44571 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
44572 Likewise.
44573
0f31fe77
AS
445742011-09-11 Andreas Schwab <schwab@linux-m68k.org>
44575
44576 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
44577 if non-absolute.
44578 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
44579 ldd_rewrite_script.
0f31fe77 44580
32b4c839
UD
445812011-09-11 Ulrich Drepper <drepper@gmail.com>
44582
83cd1420
UD
44583 * configure.in: Remove --with-tls option.
44584 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
44585 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
44586 out in case it is missing.
44587 * sysdeps/ia64/elf/configure.in: Likewise.
44588 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
44589 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
44590 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
44591 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
44592 * sysdeps/sh/elf/configure.in: Likewise.
44593 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
44594 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44595 * sysdeps/x86_64/elf/configure.in: Likewise.
44596 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
44597 * sysdeps/mach/hurd/tls.h: Likewise.
44598
633f745d
UD
44599 [BZ #13067]
44600 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
44601
f318beb8
UD
44602 [BZ #13090]
44603 * configure.in: Fix use of AC_INIT.
44604
32b4c839
UD
44605 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
44606
3ce1f295
UD
446072011-09-10 Ulrich Drepper <drepper@gmail.com>
44608
bb016596
UD
44609 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
44610 __set_errno.
8e58439c
UD
44611 * malloc/hooks.c: Likewise.
44612
aebae053 44613 [BZ #11929]
02d46fc4
UD
44614 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
44615 variables statically.
44616 (narenas): Initialize.
44617 (list_lock): Initialize.
bb016596
UD
44618 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
44619 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
44620 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
44621 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
44622 Add initializers to main_arena and mp_.
44623 (malloc_state): Remove pagesize member. Change all users to use
44624 GLRO(dl_pagesize).
44625
44626 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
44627 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
44628 is always initialized.
44629
22a89187
UD
44630 * malloc/malloc.c: Removed unused configurations and dead code.
44631 * malloc/arena.c: Likewise.
44632 * malloc/hooks.c: Likewise.
02d46fc4 44633 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 44634
d063d164
UD
44635 * include/tls.h: Removed. USE___THREAD must always be defined.
44636 * bits/libc-tsd.h: Don't handle !USE___THREAD.
44637 * elf/dl-libc.c: Likewise.
44638 * elf/dl-tsd.c: Likewise.
44639 * include/errno.h: Likewise.
44640 * include/netdb.h: Likewise.
44641 * include/resolv.h: Likewise.
44642 * inet/herrno-loc.c: Likewise.
44643 * inet/herrno.c: Likewise.
44644 * malloc/arena.c: Likewise.
44645 * malloc/hooks.c: Likewise.
44646 * malloc/malloc.c: Likewise.
44647 * resolv/res-state.c: Likewise.
44648 * resolv/res_libc.c: Likewise.
44649 * sysdeps/i386/dl-machine.h: Likewise.
44650 * sysdeps/ia64/dl-machine.h: Likewise.
44651 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
44652 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
44653 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
44654 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
44655 * sysdeps/sh/dl-machine.h: Likewise.
44656 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44657 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44658 * sysdeps/unix/i386/sysdep.S: Likewise.
44659 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44660 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
44661 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
44662 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44663 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
44664 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44665 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
44666 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44667 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44668 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44669 * sysdeps/unix/x86_64/sysdep.S: Likewise.
44670 * sysdeps/x86_64/dl-machine.h: Likewise.
44671 * tls.make.c: Likewise.
44672
3ce1f295
UD
44673 * configure.in: Remove --with-__thread option. Make tests for
44674 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
44675 tls_model attribute fail if no support is available. Remove
44676 USE_IN_LIBIO.
44677 * Makeconfig: Adjust for dropped configure option. All features are
44678 now mandatory.
44679 * Makerules: Likewise.
44680 * Versions.def: Likewise.
44681 * argp/argp-fmtstream.c: Likewise.
44682 * argp/argp-fmtstream.h: Likewise.
44683 * argp/argp-help.c: Likewise.
44684 * assert/assert.c: Likewise.
44685 * config.h.in: Likewise.
44686 * config.make.in: Likewise.
44687 * configure: Likewise.
44688 * configure.in: Likewise.
44689 * csu/Versions: Likewise.
44690 * csu/init.c: Likewise.
44691 * elf/tst-audit2.c: Likewise.
44692 * elf/tst-tls10.c: Likewise.
44693 * elf/tst-tls10.h: Likewise.
44694 * elf/tst-tls11.c: Likewise.
44695 * elf/tst-tls12.c: Likewise.
44696 * elf/tst-tls14.c: Likewise.
44697 * elf/tst-tlsmod11.c: Likewise.
44698 * elf/tst-tlsmod12.c: Likewise.
44699 * elf/tst-tlsmod13.c: Likewise.
44700 * elf/tst-tlsmod13a.c: Likewise.
44701 * elf/tst-tlsmod14a.c: Likewise.
44702 * elf/tst-tlsmod15b.c: Likewise.
44703 * elf/tst-tlsmod16a.c: Likewise.
44704 * elf/tst-tlsmod16b.c: Likewise.
44705 * elf/tst-tlsmod7.c: Likewise.
44706 * elf/tst-tlsmod8.c: Likewise.
44707 * elf/tst-tlsmod9.c: Likewise.
44708 * gmon/gmon.c: Likewise.
44709 * grp/fgetgrent_r.c: Likewise.
44710 * grp/putgrent.c: Likewise.
44711 * hurd/fopenport.c: Likewise.
44712 * include/libc-symbols.h: Likewise.
44713 * include/tls.h: Likewise.
44714 * intl/gettextP.h: Likewise.
44715 * intl/loadinfo.h: Likewise.
44716 * locale/global-locale.c: Likewise.
44717 * locale/localeinfo.h: Likewise.
44718 * mach/devstream.c: Likewise.
44719 * malloc/arena.c: Likewise.
44720 * malloc/set-freeres.c: Likewise.
44721 * misc/err.c: Likewise.
44722 * misc/getttyent.c: Likewise.
44723 * misc/mntent_r.c: Likewise.
44724 * posix/getopt.c: Likewise.
44725 * posix/wordexp.c: Likewise.
44726 * pwd/fgetpwent_r.c: Likewise.
44727 * resolv/Versions: Likewise.
44728 * resolv/res_hconf.c: Likewise.
44729 * shadow/fgetspent_r.c: Likewise.
44730 * shadow/putspent.c: Likewise.
44731 * stdio-common/printf_fphex.c: Likewise.
44732 * stdio-common/tmpfile.c: Likewise.
44733 * stdlib/abort.c: Likewise.
44734 * stdlib/fmtmsg.c: Likewise.
44735 * sunrpc/auth_unix.c: Likewise.
44736 * sunrpc/clnt_perr.c: Likewise.
44737 * sunrpc/clnt_tcp.c: Likewise.
44738 * sunrpc/clnt_udp.c: Likewise.
44739 * sunrpc/clnt_unix.c: Likewise.
44740 * sunrpc/openchild.c: Likewise.
44741 * sunrpc/svc_simple.c: Likewise.
44742 * sunrpc/svc_tcp.c: Likewise.
44743 * sunrpc/svc_udp.c: Likewise.
44744 * sunrpc/svc_unix.c: Likewise.
44745 * sunrpc/xdr.c: Likewise.
44746 * sunrpc/xdr_array.c: Likewise.
44747 * sunrpc/xdr_rec.c: Likewise.
44748 * sunrpc/xdr_ref.c: Likewise.
44749 * sunrpc/xdr_stdio.c: Likewise.
44750
1248c1c4
PB
447512011-09-09 Ulrich Drepper <drepper@gmail.com>
44752
44753 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44754
447552011-07-03 Andreas Jaeger <aj@suse.de>
44756
44757 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
44758 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
44759 regenerate with gen-libm-tests.pl.
44760
447612010-05-12 Petr Baudis <pasky@suse.cz>
44762
44763 [BZ #11589]
44764 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
44765 around j0() zero points by switching to j1().
44766 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44767 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44768 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44769 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44770
f22e1074
UD
447712011-09-09 Ulrich Drepper <drepper@gmail.com>
44772
f19009c1
UD
44773 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
44774 instead of 0.
44775 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 44776 instead of 0.
f19009c1
UD
44777 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44778 Patch in part by Pavel Roskin <proski@gnu.org>.
44779
3f8cc204
UD
44780 [BZ #13138]
44781 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
44782 realloc.
44783 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
44784 Free memory block if necessary.
44785
f22e1074
UD
44786 [BZ #12847]
44787 * libio/genops.c (INTDEF): For string streams the _lock pointer can
44788 be NULL. Don't lock in this case.
44789
0a2349f9
RM
447902011-09-09 Roland McGrath <roland@hack.frob.com>
44791
44792 * elf/elf.h (ELFOSABI_GNU): New macro.
44793 (ELFOSABI_LINUX): Define to that.
44794
f3cdd467
DZ
447952011-07-29 Denis Zaitceff <zaitceff@gmail.com>
44796
44797 * string/strncat.c (strncat): Undef the symbol in case it has been
44798 defined in bits/string.h.
44799
74718d13
UD
448002011-09-09 Ulrich Drepper <drepper@gmail.com>
44801
633e9e0f
UD
44802 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
44803
0a2349f9 44804 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
44805 link map.
44806
f9924780
AJ
448072011-08-17 Andreas Jaeger <aj@suse.de>
44808
44809 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
44810
7f5517aa
PP
448112011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
44812 Ian Lance Taylor <iant@google.com>
44813
44814 * math/libm-test.inc (lround_test): New testcase.
44815 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
44816
762011fe
UD
448172011-09-08 Ulrich Drepper <drepper@gmail.com>
44818
92963737
UD
44819 * Makefile: Remove support for automatic cvs check-ins.
44820 * Makerules: Likewise.
44821 * config.make.in: Likewise.
44822 * configure.in: Likewise.
44823 * intl/Makefile: Likewise.
44824 * locale/Makefile: Likewise.
44825 * po/Makefile: Likewise.
44826 * posix/Makefile: Likewise.
44827 * sysdeps/gnu/Makefile: Likewise.
44828 * sysdeps/mach/hurd/Makefile: Likewise.
44829 * sysdeps/sparc/sparc32/Makefile: Likewise.
44830
b0727fd8
JS
44831 [BZ #13118]
44832 * posix/Makefile (bug-regex32-ENV): Define.
44833 Patch by John Stanley <jpsinthemix@verizon.net>.
44834
a0f33f99
UD
44835 * misc/Makefile (headers): Add bits/select2.h.
44836 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
44837 * misc/bits/select2.h: New file.
44838 * include/bits/select2.h: New file.
44839 * debug/Makefile (routines): Add fdelt_chk.
44840 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
44841 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
44842 FD_ISSET.
44843 * debug/fdelt_chk.c: New file.
44844
762011fe
UD
44845 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
44846 * wcsmbs/test-wmemcmp.c: Likewise.
44847 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 44848 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
44849
448502011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44851
44852 * string/Makefile (strop-tests): Add memcmp.
44853 * string/test-wmemcmp.c: New file.
44854 * string/test-memcmp.c: Add wmemcmp support.
44855
7f513ec8
RM
448562011-09-08 Roland McGrath <roland@hack.frob.com>
44857
0442afb4
RM
44858 [BZ #13153]
44859 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
44860 2011-07-19 change.
44861
7f513ec8
RM
44862 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
44863 garbage value in a __mach_port_mod_refs call in the cases of the
44864 task-self and thread-self ports.
44865
a12b2239
ST
448662011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44867
44868 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
44869
610f9ab4
AS
448702011-09-08 Andreas Schwab <schwab@redhat.com>
44871
7f513ec8 44872 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 44873
48882a1a
LD
448742011-09-07 Ulrich Drepper <drepper@gmail.com>
44875
b49865be
UD
44876 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
44877
fdc86bc9
UD
44878 * elf/dl-libc.c (dlerror_run): Pass back error code from
44879 dl_catch_error.
44880
c966526a
UD
44881 [BZ #13123]
44882 * elf/dl-load.c (lose): Free l_origin if it is valid.
44883
48882a1a
LD
44884 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
44885 names.
44886 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
44887 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44888 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44889 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44890 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
44891 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
44892
77a2a8b4
AZ
448932011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44894
44895 * sysdeps/powerpc/fpu/e_hypot.c: New file.
44896 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
44897 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
44898 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
44899 * sysdeps/powerpc/fpu/k_cosf.c: New file.
44900 * sysdeps/powerpc/fpu/k_sinf.c: New file.
44901 * sysdeps/powerpc/fpu/s_cosf.c: New file.
44902 * sysdeps/powerpc/fpu/s_sinf.c: New file.
44903 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
44904 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
44905
24f579d8
AM
449062011-08-15 Alan Modra <amodra@gmail.com>
44907
44908 [BZ #13092]
44909 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
44910 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
44911 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
44912 ppc_mcount to static-only-routines.
44913 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
44914 __mcount_internal.
44915 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
44916 __mcount_internal with usual JUMPTARGET. Remove useless nop.
44917
3d4837df
UD
449182011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
44919
44920 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
44921 for finite and infinity parameters.
44922
22700377
WS
449232011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
44924
44925 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
44926 and add nop instructions for throughput optimization.
44927 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44928
5025581e
WS
449292011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
44930
44931 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
44932 aligned copy for power7 with vector-scalar instructions.
44933 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44934
08a300c9
L
449352011-07-24 H.J. Lu <hongjiu.lu@intel.com>
44936
44937 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
44938 AVX check.
44939
59178ef9
AS
449402011-09-07 Andreas Schwab <schwab@redhat.com>
44941
44942 [BZ #13144]
44943 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
44944 last change.
44945
e38ba7ab
UD
449462011-09-07 Ulrich Drepper <drepper@gmail.com>
44947
44948 * sysdeps/unix/sysv/linux/x86_64/init-first.c
44949 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
44950 syscall wrapper around clock_gettime in __vdso_clock_gettime.
44951 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
44952 clock_gettime.
44953
d53a73ac
UD
449542011-09-06 Ulrich Drepper <drepper@gmail.com>
44955
fc8bffcc
UD
44956 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
44957 Forgot to demangle the pointer.
44958
ceaa0c5d
UD
44959 * sysdeps/i386/sysdep.h: Define atom_text_section.
44960 * sysdeps/x86_64/sysdep.h: Likewise.
44961 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
44962 section with atom_text_section.
44963 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44964 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44965 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
44966 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44967 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
44968
a77d3c17
UD
44969 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
44970 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
44971 already be defined. Change to take two parameters and don't assign
44972 result to variable. Adjust all users.
44973 Define INTERNAL_GETTIME if not already defined.
44974 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
44975 call.
44976 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
44977 HAVE_CLOCK_GETTIME_VSYSCALL.
44978 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
44979
d53a73ac
UD
44980 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
44981 gettimeofday vsyscall, just use time.
44982
a8f84144
AS
449832011-09-06 Andreas Schwab <schwab@redhat.com>
44984
44985 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
44986 <errno.h>.
44987
ef606249
UD
449882011-09-06 Ulrich Drepper <drepper@gmail.com>
44989
44990 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
44991 syscall on x86-64.
44992 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
44993 syscall.
44994 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
44995 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
44996 syscall if possible.
44997
6585cb60
UD
449982011-09-05 Ulrich Drepper <drepper@gmail.com>
44999
45000 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
45001 e_ident. Don't pass to find_mapsXX.
45002 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
45003
a5f524e4
LD
450042011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45005
45006 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45007 strchr-sse2-no-bsf strrchr-sse2-no-bsf
45008 * sysdeps/x86_64/multiarch/strchr.S: Update.
45009 Check bit_slow_BSF bit.
45010 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45011 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
45012 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
45013
554881ef
UD
450142011-09-05 Ulrich Drepper <drepper@gmail.com>
45015
d96de963
UD
45016 [BZ #13134]
45017 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
45018 before glibc 2.15.
45019 (tryshell): Define.
45020 (__spawni): Change last parameter to be flag. Test
45021 SPAWN_XFLAGS_USE_PATH flag to use path or not.
45022 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
45023 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
45024 * posix/spawni.c: Likewise.
45025 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
45026 * posix/spawnp.c: Likewise. Change normal version to use
45027 SPAWN_XFLAGS_USE_PATH.
45028 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
45029 SPAWN_XFLAGS_TRY_SHELL.
45030
d48e5868
UD
45031 [BZ #13150]
45032 * posix/glob.h: Remove gcc 1.x support.
45033
554881ef
UD
45034 [BZ #13068]
45035 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
45036
693fb948
LD
450372011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45038
45039 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45040 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
45041 strrchr-sse2-bsf
45042 * sysdeps/i386/i686/multiarch/strchr.S: New file.
45043 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
45044 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
45045 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
45046 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
45047 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
45048
1b48c537
UD
450492011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45050
49d42c37
UD
45051 * sysdeps/x86_64/wcscmp.S: New file.
45052
1b48c537
UD
45053 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
45054 wcscmp-c wcscmp-sse2
45055 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
45056 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
45057 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
45058 * wcsmbs/wcscmp.c: Allow renaming.
45059
15c95c5d
DM
450602011-09-05 David S. Miller <davem@davemloft.net>
45061
45062 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
45063 stack slot, rather than the struct return pointer slot.
45064 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
45065 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
45066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
45067 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
45068
2f0ad8f3
UD
450692011-09-05 Ulrich Drepper <drepper@gmail.com>
45070
d88ae418
UD
45071 * po/ja.po: Update from translation team.
45072
2f0ad8f3
UD
45073 [BZ #13144]
45074 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
45075 kernel in 64-bit binaries.
45076
5f4318d1
DM
450772011-09-01 David S. Miller <davem@davemloft.net>
45078
45079 * elf/elf.h (HWCAP_SPARC_*): Move to..
45080 * sysdeps/sparc/sysdep.h: this new file and add new values.
45081 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
45082 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
45083 _DL_HWCAP_COUNT to 24.
45084 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45085 entries.
45086 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
45087 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
45088 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
45089 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
45090 instead of magic constants.
45091 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45092
3ba57516
DM
450932011-08-31 David S. Miller <davem@davemloft.net>
45094
45095 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
45096 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
45097 Reimplement to do errno handling inline.
45098 (SYSCALL_ERROR_HANDLER): New macro.
45099 (__SYSCALL_STRING): Do not do errno handling in asm.
45100 (__CLONE_SYSCALL_STRING): Delete.
45101 (__INTERNAL_SYSCALL_STRING): Delete.
45102 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
45103 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
45104 (PSEUDO): Reimplement to do errno handling inline.
45105 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
45106 (SYSCALL_ERROR_HANDLER): New macro.
45107 (__SYSCALL_STRING): Do not do errno handling in asm.
45108 (__CLONE_SYSCALL_STRING): Delete.
45109 (__INTERNAL_SYSCALL_STRING): Delete.
45110 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
45111 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
45112 i386.
45113 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
45114 (inline_syscall*): Add 'err' argument.
45115 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
45116 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
45117 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
45118 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
45119
45120 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
45121 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45122
2bc17433
AS
451232011-08-30 Andreas Schwab <schwab@redhat.com>
45124
45125 * elf/rtld.c (dl_main): Relocate objects in dependency order.
45126
fbeb5f4d
JO
451272011-08-29 Jiri Olsa <jolsa@redhat.com>
45128
45129 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
45130 directive.
45131
ad69cc26
DM
451322011-08-24 David S. Miller <davem@davemloft.net>
45133
45134 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
45135
39dd69df
AS
451362011-08-24 Andreas Schwab <schwab@redhat.com>
45137
45138 * elf/Makefile: Add rules to build and run unload8 test.
45139 * elf/unload8.c: New file.
45140 * elf/unload8mod1.c: New file.
45141 * elf/unload8mod1x.c: New file.
45142 * elf/unload8mod2.c: New file.
45143 * elf/unload8mod3.c: New file.
45144
45145 * elf/dl-close.c (_dl_close_worker): Reset private search list if
45146 it wasn't used.
45147
2c0b250a
DM
451482011-08-23 David S. Miller <davem@davemloft.net>
45149
45150 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
45151 subtract stack bias.
45152 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
45153 %sp not %fp in calculations.
45154 (_JMPBUF_UNWINDS_ADJ): Likewise.
45155
22044b48
DM
45156 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
45157 (aio_suspend): Call it to force an exception region around the
45158 AIO_MISC_WAIT() invocation.
45159
2cae4995
AS
451602011-08-23 Andreas Schwab <schwab@redhat.com>
45161
45162 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
45163 backslash.
45164
873a772e
AJ
451652011-07-04 Aurelien Jarno <aurelien@aurel32.net>
45166
45167 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
45168 protection macro.
45169 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
45170 and <dl-machine.h>.
45171 (Elf64_FuncDesc): Remove.
45172
25ad0df1
DM
451732011-08-22 David S. Miller <davem@davemloft.net>
45174
45175 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
45176 sigaltstack check, add missing cfi directives.
45177 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
45178 missing cfi directives, and sigaltstack handling.
45179
e888bcbe
AS
451802011-08-16 Andreas Schwab <schwab@redhat.com>
45181
45182 [BZ #11724]
45183 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
45184 object is seen twice.
45185 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45186
45187 * elf/Makefile (distribute): Add tst-initorder2.c.
45188 (tests): Add tst-initorder2.
45189 (modules-names): Add tst-initorder2a tst-initorder2b
45190 tst-initorder2c tst-initorder2d. Add rules to build them.
45191 ($(objpfx)tst-initorder2.out): New rule.
45192 * elf/tst-initorder2.c: New file.
45193 * elf/tst-initorder2.exp: New file.
45194
87162f46
AS
451952011-08-22 Andreas Schwab <schwab@redhat.com>
45196
70538b7f
AS
45197 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
45198
f55ffe58
AS
45199 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
45200 dependencies back to end of function.
45201
87162f46
AS
45202 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45203 $(elfobjdir)/ld.so.
45204
91b392a4
UD
452052011-08-21 Ulrich Drepper <drepper@gmail.com>
45206
45207 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
45208 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
45209 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
45210 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
45211 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
45212 of __vdso_gettimeofday.
45213 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
45214 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
45215 attribute_hidden.
45216 (_libc_vdso_platform_setup): Remove initialization of
45217 __vdso_gettimeofday and __vdso_time.
45218
5c43483f
UD
452192011-08-20 Ulrich Drepper <drepper@gmail.com>
45220
775a77e7
UD
45221 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
45222 and fgetc_unlocked.
45223 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
45224 getc_unlocked.
89f447ed 45225
49c74ba9
UD
45226 * elf/dl-open.c (add_to_global): Report additions to the global scope
45227 for LD_DEBUG=scopes.
45228 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 45229 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 45230
5c43483f
UD
45231 [BZ #13114]
45232 * stdio-common/Makefile (tests): Add bug24.
45233 * stdio-common/bug24.c: New file.
45234
a101b025
AJ
452352011-08-19 Andreas Jaeger <aj@suse.de>
45236
45237 [BZ #13114]
45238 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
45239 non-existant file when using close-on-exec mode.
45240
c88f1766
UD
452412011-08-20 Ulrich Drepper <drepper@gmail.com>
45242
0276a718
UD
45243 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
45244 the very first instruction.
45245
c88f1766
UD
45246 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
45247 the CFI state in the end.
45248 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
45249 inclusion of dl-trampoline.h.
45250 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
45251
51ccffa0
AS
452522011-08-19 Andreas Schwab <schwab@redhat.com>
45253
94d7165f
AS
45254 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
45255 expectations for long double.
45256
51ccffa0
AS
45257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
45258 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
45259
fd708658 452602011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
45261
45262 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
45263 artificual limit depends upon the system page size.
45264
44f0a71e
UD
452652011-08-17 Ulrich Drepper <drepper@gmail.com>
45266
45267 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
45268 * resolv/Makefile: Define CFLAGS-libresolv.
45269
8de79a24
AS
452702011-08-17 Andreas Schwab <schwab@redhat.com>
45271
45272 * nss/makedb.c (compute_tables): Make variables used in nested
45273 function static.
45274
27724598
UD
452752011-08-17 Ulrich Drepper <drepper@gmail.com>
45276
c5305d88
UD
45277 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
45278 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
45279 if buffer was too small.
45280
27724598
UD
45281 * elf/pldd.c (main): Attach to all threads in the process.
45282 Rewrite /proc handling to use *at functions.
45283
076fe015
UD
452842011-08-16 Ulrich Drepper <drepper@gmail.com>
45285
174baab3
UD
45286 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
45287 specifies first scope to show.
45288 (dl_open_worker): Update callers. Move printing scope of new
45289 object to before the relocation.
44f0a71e 45290 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
45291 * sysdeps/generic/ldsodefs.h: Update declaration.
45292
076fe015
UD
45293 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
45294 string for the scope number.
45295
a60df2c3
UD
452962011-08-14 Ulrich Drepper <drepper@gmail.com>
45297
45298 * nscd/servicescache.c (cache_addserv): Make sure written is always
45299 initialized.
45300
5e4287d1
RM
453012011-08-14 Roland McGrath <roland@hack.frob.com>
45302
85ae0589
RM
45303 * sysdeps/i386/i486/bits/atomic.h
45304 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
45305 statement expression, so as to suppress "set but not used" warning.
45306 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
45307
69f63097
RM
45308 * string/strncat.c (STRNCAT): Use prototype definition.
45309
675456ef
RM
45310 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
45311 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
45312 -Iprograms here.
45313 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
45314 (localedef-modules): Add localedef.
45315 (locale-modules): Add locale.
45316
5e4287d1
RM
45317 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
45318 * elf/rtld.c (dl_main): Invert order of assignment in last change,
45319 to avoid a warning.
45320
9c96ff23
DM
453212011-08-14 David S. Miller <davem@davemloft.net>
45322
45323 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
45324 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
45325
f9ddf089
UD
453262011-08-13 Ulrich Drepper <drepper@gmail.com>
45327
44f0a71e 45328 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
45329 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
45330 * elf/rtld.c (dl_main): Set l_name of vDSO.
45331 Call _dl_show_scope when DL_DEBUG_SCOPES.
45332 (process_dl_debug): Recognize scopes flag and also set it for all.
45333 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
45334 Declare _dl_show_scope.
45335
1dc27704
UD
45336 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
45337 (do_dlopen): Pass caller_dlopen to dl_open.
45338 (__libc_dlopen_mode): Initialize caller_dlopen.
45339
f9ddf089
UD
45340 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
45341 of libc. Make tolower call locale-independent. Optimize a bit by
45342 using isdigit instead of isalnum.
45343 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
45344
9ac533d3
UD
453452011-08-12 Ulrich Drepper <drepper@gmail.com>
45346
45347 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
45348 was a dependency or dynamically loaded.
45349
89edf2e9
UD
453502011-08-11 Ulrich Drepper <drepper@gmail.com>
45351
8e999d29
UD
45352 * intl/l10nflist.c: Allow architecture-specific pop function.
45353 * sysdeps/x86_64/l10nflist.c: New file.
45354
89edf2e9
UD
45355 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
45356 classification.
45357
14d96785
AS
453582011-08-10 Andreas Schwab <schwab@redhat.com>
45359
45360 * include/dirent.h: Add libc_hidden_proto for scandirat and
45361 scandirat64. Don't declare __scandirat64.
45362 * dirent/scandirat.c: Add libc_hidden_def.
45363 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
45364 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
45365
6761ac04
DM
453662011-08-10 David S. Miller <davem@davemloft.net>
45367
45368 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
45369 enum.
45370 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45371 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45372 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45373
c55fbd1e
UD
453742011-08-09 Ulrich Drepper <drepper@gmail.com>
45375
45376 * Versions.def [libc]: Add GLIBC_2.15.
45377 * dirent/Makefile (routines): Add scandirat and scandirat64.
45378 * dirent/Versions [libc]: Export scandirat and scandirat64 for
45379 GLIBC_2.15.
45380 * dirent/dirent.h: Declare scandirat and scandirat64.
45381 * dirent/scandirat.c: New file.
45382 * dirent/scandirat64.c: New file.
45383 * sysdeps/wordsize-64/scandirat.c: New file.
45384 * sysdeps/wordsize-64/scandirat64.c: New file.
45385 * dirent/opendir.c: Define opendirat.
45386 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
45387 using scandirat.
45388 * dirent/scandir64.c: Adjust for scandir.c change.
45389 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
45390 __scandirat64, and __scandir_cancel_handler.
45391 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
45392 additional parameter and use openat instead of open (outside of ld.so).
45393 Add new __opendir as wrapper around __opendirat.
45394 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
45395 here without requiring old scandirat implementation.
45396
879165f2
UD
453972011-08-08 Ulrich Drepper <drepper@gmail.com>
45398
45399 * dirent/scandir.c (cancel_handler): Renamed to
45400 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
45401 defined. Adjust users.
45402 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
45403 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
45404
cb7e923b
UD
454052011-08-04 Ulrich Drepper <drepper@gmail.com>
45406
16292edd
UD
45407 * string/test-string.h (IMPL): Use __STRING to expand name and then
45408 stringify it.
45409
cb7e923b
UD
45410 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
45411 of cleanups.
45412
cff82933
LD
454132011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45414
45415 * string/Makefile: Update.
45416 (strop-tests): Append strncat.
45417 * string/test-wcscmp.c: New file.
45418 New comprehensive test for wcscmp.
45419 * string/test-strcmp.c: Update.
45420 (WIDE): New define.
45421
9be9bfcc
AS
454222011-07-22 Andreas Schwab <schwab@redhat.com>
45423
45424 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
45425 line.
45426
2e96f1c7
AS
454272011-07-26 Andreas Schwab <schwab@redhat.com>
45428
45429 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45430 encoding to ACE if AI_IDN.
45431
85188888
JJ
454322011-08-01 Jakub Jelinek <jakub@redhat.com>
45433
45434 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
45435 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
45436
5fa16e9b
LD
454372011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45438
45439 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
45440 Fix overflow bug in strncat.
45441 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
45442
45443 * string/test-strncat.c: Update.
45444 Add new tests for checking overflow bugs.
45445
454462011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45447
45448 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45449 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
45450 * sysdeps/i386/i686/multiarch/strcat.S: New file.
45451 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
45452 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
45453 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
45454 * sysdeps/i386/i686/multiarch/strncat.S: New file.
45455 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
45456 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
45457
45458 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
45459 (USE_AS_STRCAT): Define.
45460 Add strcat and strncat support.
45461 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45462
8c1a459f
AS
454632011-07-25 Andreas Schwab <schwab@redhat.com>
45464
45465 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
45466 __n bigger than INT_MAX+1.
45467 (__strncmp_g): Likewise.
45468
bba33c28
UD
454692011-07-23 Ulrich Drepper <drepper@gmail.com>
45470
798be72d
UD
45471 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
45472 * libio/stido.h: Likewise.
45473
8accd4dc
UD
45474 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
45475 (AF_NFC): Define.
45476 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
45477 (AF_NFC): Define.
45478
cbff0d96
UD
45479 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
45480 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45481 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45482 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
45483 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45484
9191c04a
UD
45485 [BZ #13021]
45486 * scripts/test-installation.pl: Don't expect libnss_test1 to be
45487 installed.
45488
bba33c28
UD
45489 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
45490 typo.
45491 (_dl_x86_64_save_sse): Likewise.
45492
90f139dd
UD
454932011-07-22 Ulrich Drepper <drepper@gmail.com>
45494
1aae088a
UD
45495 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
45496 OSXSAVE.
45497 (_dl_x86_64_save_sse): Likewise.
45498
8e2045f5
UD
45499 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
45500
90f139dd
UD
45501 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
45502
1d002f25
AS
455032011-07-21 Andreas Schwab <schwab@redhat.com>
45504
45505 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
45506 change.
45507 (_dl_x86_64_save_sse): Use correct AVX check.
45508
21137f89
UD
455092011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45510
45511 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
45512 bug in strncpy/strncat.
45513 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
45514
a65c0b7a
UD
455152011-07-21 Ulrich Drepper <drepper@gmail.com>
45516
45517 * string/tester.c (test_strcat): Add tests for different alignments
45518 of source and destination.
45519 (test_strncat): Likewise.
45520
6986b98a
UD
455212011-07-20 Ulrich Drepper <drepper@gmail.com>
45522
90bb2039
UD
45523 [BZ #12852]
45524 * posix/glob.c (glob): Check passed in values before using them in
45525 expressions to avoid some overflows.
45526 (glob_in_dir): Likewise.
45527
5644ef54
UD
45528 [BZ #13007]
45529 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
45530 check for AVX enablement so that we don't crash with old kernels and
45531 new hardware.
45532 * elf/tst-audit4.c: Add same checks here.
45533 * elf/tst-audit6.c: Likewise.
45534
45535 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 45536
bfc9dc9b
AS
455372011-07-09 Andreas Schwab <schwab@linux-m68k.org>
45538
45539 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
45540
702e64bb
UD
455412011-07-20 Ulrich Drepper <drepper@gmail.com>
45542
45543 * po/cs.po: Update from translation team.
45544 * po/bg.po: Likewise.
45545
295e904f
MP
455462011-07-12 Marek Polacek <mpolacek@redhat.com>
45547
45548 * misc/sys/cdefs.h: Add support for const attribute.
45549 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
45550 to gnu_dev_{major,minor,makedev} functions.
45551
3ff94596
MP
455522011-07-20 Marek Polacek <mpolacek@redhat.com>
45553
45554 * intl/dcigettext.c (get_output_charset): Add missing bracket.
45555
28b59fca
AS
455562011-07-20 Andreas Schwab <schwab@redhat.com>
45557
45558 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
45559 strlen results.
45560
19df733e
AK
455612011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45562
45563 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
45564 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
45565 register in order to avoid conflicts with the soft frame pointer
45566 being held in r11 when necessary.
45567 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
45568 (INTERNAL_VSYSCALL_NCS): Likewise.
45569
c8835729
MP
455702011-07-14 Marek Polacek <mpolacek@redhat.com>
45571
45572 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
45573 * elf/dl-fini.c (_dl_fini): Adjust caller.
45574 * elf/dl-close.c (_dl_close_worker): Likewise.
45575 * sysdeps/generic/ldsodefs.h: Adjust declaration.
45576
b902330c
MP
455772011-07-15 Marek Polacek <mpolacek@redhat.com>
45578
8991e135
MP
45579 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
45580 "aux_cache->nlibs < 0".
45581
b902330c
MP
45582 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
45583 in the reload-count case.
45584
99710781
LD
455852011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45586
45587 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45588 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
45589 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
45590 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
45591 * sysdeps/x86_64/multiarch/strcat.S: New file.
45592 * sysdeps/x86_64/multiarch/strncat.S: New file.
45593 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
45594 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
45595 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
45596 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
45597 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
45598 (USE_AS_STRCAT): Define.
45599 Add strcat and strncat support.
45600 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45601 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
45602 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
45603 * string/strncat.c: Update.
45604 (USE_AS_STRNCAT): Define.
45605 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45606 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
45607 and i7.
45608 * sysdeps/x86_64/multiarch/init-arch.h
45609 (bit_Prefer_PMINUB_for_stringop): New.
45610 (index_Prefer_PMINUB_for_stringop): Likewise.
45611 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
45612 bit_Prefer_PMINUB_for_stringop.
45613
7dc6bd90
UD
456142011-07-19 Ulrich Drepper <drepper@gmail.com>
45615
45616 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
45617 buffer64.
45618 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
45619 of casting of buffer.
45620 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
45621 buffer32 and buffer64.
45622 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
45623 writes instead of casting of buffer.
45624 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
45625 buffer32.
45626 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
45627 casting of buffer.
45628
e0e72284
AS
456292011-07-19 Andreas Schwab <schwab@redhat.com>
45630
45631 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
45632
feb1eb0b
UD
456332011-07-19 Ulrich Drepper <drepper@gmail.com>
45634
45635 * nscd/nscd.c (termination_handler): Don't do anything for a database
45636 if it has not yet been initialized.
45637
298711ff
UD
456382011-07-18 Ulrich Drepper <drepper@gmail.com>
45639
45640 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45641
456422011-07-15 Marek Polacek <mpolacek@redhat.com>
45643
45644 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45645
f9d68389
UD
456462011-07-18 Ulrich Drepper <drepper@gmail.com>
45647
45648 * po/nl.po: Update from translation team.
45649 * po/sv.po: Likewise.
45650
db290cf5
RM
456512011-07-16 Roland McGrath <roland@hack.frob.com>
45652
45653 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
45654 now disallowed by GCC.
5c550700 45655
fd5e21c7
RM
45656 * configure.in (use-default-link): Default to yes if a test -shared
45657 link meets our qualifications.
45658 * configure: Regenerated.
45659
5c550700
RM
45660 * config.make.in (output-format): New variable.
45661 * configure.in: Check for ld --print-output-format support.
45662 * configure: Regenerated.
45663 * Makerules ($(common-objpfx)format.lds)
45664 [$(output-format) != unknown]: Just use $(output-format),
45665 instead of the linker-script munging.
45666
9fa2c032
RM
456672011-07-14 Roland McGrath <roland@hack.frob.com>
45668
a6928d51
RM
45669 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
45670 of $(common-objpfx)shlib.lds.
45671 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
45672
661607b3
RM
45673 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
45674 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
45675
9fa2c032
RM
45676 * configure.in (-z relro check): Adjust test code to add a large
45677 writable data section after it.
45678 * configure: Regenerated.
45679
defe9061
RM
456802011-07-11 Roland McGrath <roland@hack.frob.com>
45681
45682 * configure.in (-z relro check): Fix test code to make the variable
45683 truly const.
45684 * configure: Regenerated.
45685
319b9ad4
UD
456862011-07-11 Ulrich Drepper <drepper@gmail.com>
45687
45688 * nscd/nscd.h (struct traced_file): Define.
45689 (struct database_dyn): Remove inotify_descr, reset_res, and filename
45690 elements. Add traced_files.
45691 (inotify_fd): Declare.
45692 (register_traced_file): Declare.
45693 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
45694 (inotify_fd): Export.
45695 (resolv_conf_descr): Remove.
45696 (nscd_init): Move inotify descriptor creation to main.
45697 Don't register files for notification here.
45698 (register_traced_file): New function.
45699 (invalidate_cache): Don't use reset_res to determine whether to call
45700 res_init, go through the list of registered files.
45701 (main_loop_poll): The inotify descriptors are now stored in the
45702 structures for the traced files.
45703 (main_loop_epoll): Likewise
45704 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
45705 to __nss_disable_nscd.
45706 * nscd/cache.c (prune_cache): There is no single inotify descriptor
45707 for a database anymore. Check the records for all the registered
45708 files instead.
45709 * nss/Makefile (libnss_files-routines): Add files-init.
45710 (libnss_db-routines): Add db-init.
45711 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
45712 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
45713 * nss/nss_db/db-init.c: New file.
45714 * nss/nss_files/files-init.c: New file.
45715 * nss/nsswitch.c (nss_load_library): New function. Broken out of
45716 __nss_lookup_function.
45717 (__nss_lookup_function): Call nss_load_library.
45718 (nss_load_all_libraries): New function.
45719 (__nss_disable_nscd): Take parameter with callback function for files
45720 to register. Set is_nscd. Load all the DSOs for the NSS modules
45721 used for the cached services.
45722 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
45723 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
45724 options for features to all the files in nscd.
45725
45726 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
45727
23bee3e8
RM
457282011-07-10 Roland McGrath <roland@hack.frob.com>
45729
45730 * csu/elf-init.c (__libc_csu_init): Comment typo.
45731
46a5b7f0
UD
457322011-07-09 Ulrich Drepper <drepper@gmail.com>
45733
45734 * po/pl.po: Update from translation team.
45735 * po/ja.po: Likewise.
45736 * po/ru.po: Likewise.
45737 * po/ko.po: Likewise.
45738 * po/fr.po: Likewise.
45739
d30cf5bb
RM
457402011-07-09 Roland McGrath <roland@hack.frob.com>
45741
113ddea4
RM
45742 * configure.in (.ctors/.dtors header and trailer check):
45743 Use an empirical test on a built program.
45744 * configure: Regenerated.
45745
574920b4
RM
45746 * configure.in (-z relro check): Use an empirical test on a built DSO.
45747 Detect, but do not require, on ia64.
45748 * configure: Regenerated.
45749
d30cf5bb
RM
45750 * configure.in (READELF): Find it with AC_CHECK_TOOL.
45751 Update tests that use readelf to use $READELF instead.
45752 * configure: Regenerated.
45753
8538fdb3
UD
457542011-07-08 Ulrich Drepper <drepper@gmail.com>
45755
45756 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
45757 if the result is not used.
45758
04d08991
AJ
457592011-07-05 Andreas Jaeger <aj@suse.de>
45760
45761 [BZ#9696]
45762 * stdlib/tst-strtod.c: Add testcase.
45763
de283087
AD
457642011-07-07 Ulrich Drepper <drepper@gmail.com>
45765
4e5f31c8 45766 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 45767 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
45768 The latter has a higher limit. Take additional parameter to pass to
45769 the new function.
45770 (__pathconf): Pass file to __statfs_link_max.
45771 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
45772 __statfs_link_max.
45773 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
45774 __statfs_link_max.
45775
de283087
AD
45776 [BZ #12868]
45777 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
45778 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45779 Handle Lustre.
45780 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
45781 (__statfs_filesize_max): Likewise.
45782 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
45783
c75fa153
AJ
457842011-07-05 Andreas Jaeger <aj@suse.de>
45785
45786 * resolv/res_comp.c (dn_skipname): Remove unused variable.
45787
1a544854
UD
457882011-07-06 Marek Polacek <mpolacek@redhat.com>
45789
45790 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
45791 `status' variable.
45792 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
45793 Likewise.
45794
6f0eec67
UD
457952011-07-04 H.J. Lu <hongjiu.lu@intel.com>
45796
45797 * Makefile (strop-tests): Add strncat.
45798 * string/test-strncat.c: New file.
45799
aae30307
UD
458002011-06-30 Marek Polacek <mpolacek@redhat.com>
45801
45802 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
45803
c0cfb5eb
UD
458042011-06-21 Andreas Jaeger <aj@suse.de>
45805
45806 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
45807 Copy rule from iconvdata/Makefile.
45808
01636b21
UD
458092011-07-06 Ulrich Drepper <drepper@gmail.com>
45810
45811 [BZ #12922]
45812 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
45813 but no long options are defined, just return 'W'.
45814
9895c8bc
UD
458152011-06-22 Marek Polacek <mpolacek@redhat.com>
45816
45817 [BZ #9696]
45818 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
45819
5d4cf042
UD
458202011-07-06 Ulrich Drepper <drepper@gmail.com>
45821
45822 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
45823 netgroups to read.
960e5535 45824 (innetgr): Likewise.
5d4cf042 45825
751eb97e
RM
458262011-07-05 Roland McGrath <roland@hack.frob.com>
45827
45828 * config.make.in (install_root): Default to $(DESTDIR).
45829
f15f1e45
UD
458302011-07-05 Ulrich Drepper <drepper@gmail.com>
45831
45832 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
45833
4e34ac6a
RM
458342011-07-02 Roland McGrath <roland@hack.frob.com>
45835
5e9b6af4
RM
45836 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
45837
84f9ea0f
RM
45838 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
45839 containing directory rather than embedding absolute directory names.
45840
ea5ee9f7
RM
45841 * scripts/check-local-headers.sh: Rewritten using awk.
45842 Match by word, not by line. Print error messages for matches.
45843 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
45844
1b74661a
RM
45845 * Makerules [shlib-lds-flags empty]:
45846 ($(common-objpfx)libc_pic.opts): New target.
45847 ($(common-objpfx)libc_pic.os.clean): New target.
45848 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
45849
45850 * config.make.in (OBJCOPY): New variable.
45851 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
45852 * configure: Regenerated.
45853
f781ef40
RM
45854 * config.make.in (use-default-link): New variable.
45855 * configure.in (use_default_link): Grok --with-default-link to set it.
45856 * configure: Regenerated.
45857 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
45858 (shlib-lds, shlib-lds-flags): Define to empty.
45859
2d4fa81e
RM
45860 * Makerules (shlib-lds): New variable.
45861 (shlib-lds-flags): New variable.
45862 (build-shlib, build-moduile, build-module-asneeded): Use it.
45863 ($(common-objpfx)libc.so): Use $(shlib-lds).
45864 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
45865 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
45866
31fffa6b
RM
45867 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
45868 DT_FLAGS/DT_FLAGS_1 with zero flags.
45869
4e34ac6a
RM
45870 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
45871 linker script munging.
45872
fcfc776b
UD
458732011-07-02 Ulrich Drepper <drepper@gmail.com>
45874
45875 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
45876 as 128-bit value.
45877 * crypt/sha512.c (sha512_process_block): Perform total addition using
45878 128-bit if possible.
45879 (__sha512_finish_ctx): Likewise.
45880 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
45881 as 64-bit value.
45882 * crypt/sha256.c (SWAP64): Define.
45883 (sha256_process_block): Perform total addition using 64-bit if
45884 possible.
45885 (__sha256_finish_ctx): Likewise.
45886
99231d9a
UD
458872011-07-01 Ulrich Drepper <drepper@gmail.com>
45888
45889 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
45890 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45891 * nscd/hstcache.c (cache_addhst): Likewise.
45892 * nscd/grpcache.c (cache_addgr): Likewise.
45893 * nscd/aicache.c (addhstaiX): Likewise
45894 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
45895
445b4a53
TK
458962011-07-01 Thorsten Kukuk <kukuk@suse.de>
45897
45898 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
45899 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45900 * nscd/hstcache.c (cache_addhst): Likewise.
45901 * nscd/grpcache.c (cache_addgr): Likewise.
45902 * nscd/aicache.c (addhstaiX): Likewise
45903
6d4d8e8e
AS
459042011-07-01 Andreas Schwab <schwab@redhat.com>
45905
45906 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
45907 domain only when needed.
45908
89f654c5
AS
459092011-06-30 Andreas Schwab <schwab@redhat.com>
45910
45911 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
45912 is always restored.
45913
cf3b23ff
UD
459142011-06-29 Ulrich Drepper <drepper@gmail.com>
45915
45916 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
45917 are re-adding the entry.
45918 * nscd/servicescache.c (cache_addserv): Likewise.
45919
751626f9
AJ
459202011-06-30 Aurelien Jarno <aurelien@aurel32.net>
45921
45922 * sysdeps/generic/dl-irel.h: fix protection against multiple
45923 inclusions.
45924 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
45925
9113ea1f
UD
459262011-06-28 Ulrich Drepper <drepper@gmail.com>
45927
5c0b8d90
UD
45928 [BZ #12935]
45929 * malloc/memusage.sh: Fix quoting in message.
45930 * debug/xtrace.sh: Likewise.
45931
9113ea1f
UD
45932 * configure.in: Remove support for --experimental-malloc option, make
45933 it the default.
45934 * config.make.in: Likewise.
45935 * malloc/Makefile: Likewise.
45936
a4172181
AS
459372011-06-27 Andreas Schwab <schwab@redhat.com>
45938
45939 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
45940 two-byte characters.
45941
78a7eee7
RM
459422011-06-27 Roland McGrath <roland@hack.frob.com>
45943
62bede13
RM
45944 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
45945 AC_CACHE_CHECK invocation.
45946 * configure: Regenerated.
45947
78a7eee7
RM
45948 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
45949
5ce33a62
UD
459502011-06-27 Ulrich Drepper <drepper@gmail.com>
45951
034807a9
UD
45952 [BZ #12350]
45953 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
45954 bit from old_res_options.
45955
4902da17
UD
45956 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
45957
5ce33a62
UD
45958 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
45959 value type for setfct.
45960
c2344f56
L
459612011-06-23 H.J. Lu <hongjiu.lu@intel.com>
45962
45963 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45964 __gettimeofday instead of gettimeofday.
45965
68468076
UD
459662011-06-26 Ulrich Drepper <drepper@gmail.com>
45967
45968 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
45969
acb0d739
L
459702011-06-24 H.J. Lu <hongjiu.lu@intel.com>
45971
45972 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
45973
45974 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
45975 info.
45976
8912479f
L
459772011-06-22 H.J. Lu <hongjiu.lu@intel.com>
45978
45979 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45980 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45981 strcpy-sse2-unaligned strncpy-sse2-unaligned
45982 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
45983 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
45984 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
45985 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
45986 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
45987 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
45988 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
45989 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
45990 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
45991 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
45992 (STRCPY): Support SSE2 and SSSE3 versions.
45993
d5495a11
UD
459942011-06-24 Ulrich Drepper <drepper@gmail.com>
45995
45996 [BZ #12874]
45997 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
45998 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
45999 kernels which artificially limit size of requests.
46000
0b1cbaae
L
460012011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46002
46003 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46004 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46005 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
46006 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
46007 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
46008 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
46009 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
46010 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
46011 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
46012 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
46013 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
46014 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
46015 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
46016 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
46017 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
46018 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46019 Enable unaligned load optimization for Intel Core i3, i5 and i7
46020 processors.
46021 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
46022 Define.
46023 (index_Fast_Unaligned_Load): Define.
46024 (HAS_FAST_UNALIGNED_LOAD): Define.
46025
07f494a0
MP
460262011-06-23 Marek Polacek <mpolacek@redhat.com>
46027
46028 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
46029
fa3fc0fe
UD
460302011-06-22 Ulrich Drepper <drepper@gmail.com>
46031
46032 [BZ #12907]
46033 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
46034 until it is clear that the information is realy needed.
46035 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
46036
e12df166
AS
460372011-06-22 Andreas Schwab <schwab@redhat.com>
46038
46039 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
46040
852eb34d
UD
460412011-06-22 Ulrich Drepper <drepper@gmail.com>
46042
84e2a551
UD
46043 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46044 /sys/devices/system/cpu/online if it is usable.
46045
852eb34d
UD
46046 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
46047 reading the information from the /proc filesystem to once a second.
46048
6e502e19
UD
460492011-06-21 Andreas Jaeger <aj@suse.de>
46050
46051 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
46052 NULL after inclusion of kernel headers.
46053
75d39ff2
UD
460542011-06-21 Ulrich Drepper <drepper@gmail.com>
46055
51f9aa6a
UD
46056 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
46057 calls to internal_setent.
46058
c0244a9d
UD
46059 [BZ #12885]
46060 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
46061 addresses using gethostbyname4_r ignore IPv4 addresses.
46062
c5e3c2ae
UD
46063 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
46064 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
46065
75d39ff2
UD
46066 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
46067
42675c6f
DM
460682011-06-20 David S. Miller <davem@davemloft.net>
46069
46070 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
46071 inclusions.
46072 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
46073
46074 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
46075 (elf_irel): Use it.
46076 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
46077 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
46078 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
46079 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
46080 * sysdeps/x86_64/dl-irel.h: Likewise.
46081
46082 * elf/dl-runtime.c: Use elf_ifunc_invoke.
46083 * elf/dl-sym.c: Likewise.
46084
57912a71
UD
460852011-06-15 Ulrich Drepper <drepper@gmail.com>
46086
46087 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
46088 need to dereference resplen2.
46089
ee22793d
AS
460902011-06-14 Andreas Schwab <schwab@redhat.com>
46091
46092 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
46093
a9e836b0
UD
460942011-06-15 Ulrich Drepper <drepper@gmail.com>
46095
77fb9117
UD
46096 * Makeconfig: Define vardbdir and inst_vardbdir.
46097 * nss/Makefile: Add rules to install db-Makefile.
46098
40c1b22c
UD
46099 * nss/nss_db/db-XXX.c: Cleanup.
46100
9f2da732
UD
46101 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
46102 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
46103 GLIBC_PRIVATE.
46104 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
46105 * nss/makedb.c: Implement -g option to specify that value strings
46106 are generated and should not be added to table iterated over for
46107 get*ent calls.
46108 * nss/nss_db/db-initgroups.c: New file.
46109
82e9a1f7
UD
46110 * nss/getent.c: Add support for initgroups lookups through getgrouplist
46111 interface.
46112
c41af17e
UD
46113 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
46114 (internal_getgrouplist): Adjust to name change.
46115 Update use_initgroups_entry if this is not the first call.
46116 * nss/databases.def: Add initgroups entry.
46117
a9e836b0
UD
46118 * nss/makedb.c (compute_tables): Check result of multiple hash table
46119 sizes to minimize maximum chain length.
46120
2666d441
UD
461212011-06-14 Ulrich Drepper <drepper@gmail.com>
46122
46123 * Versions.def: Add entry for libnss_db.
46124 * shlib-versions: Likewise.
46125 * nss/Makefile: Add rules to build libnss_db.
46126 * nss/Versions: Add libnss_db information. Organize libnss_files
46127 entries better.
46128 * nss/db-Makefile: Add gshadow support. Change rules for the new
46129 makedb progra. Some minor improvements to generate smaller files.
46130 * nss/nss_db/nss_db.h: Move NSS database header data structures to
46131 here from...
46132 * nss/makedb.c: ...here.
46133 Improve database format to be smaller and require less memory at
46134 runtime.
46135 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
46136 db anymore.
46137 * nss/nss_db/db-netgrp.c: Likewise.
46138 * nss/nss_db/db-open.c: Likewise.
46139 * nss/nss_files/flies-XXX.x: Adjust comments.
46140 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
46141 * nss/nss_files/files-grp.c: Likewise.
46142 * nss/nss_files/files-hosts.c: Likewise.
46143 * nss/nss_files/files-network.c: Likewise.
46144 * nss/nss_files/files-proto.c: Likewise.
46145 * nss/nss_files/files-pwd.c: Likewise.
46146 * nss/nss_files/files-rpc.c: Likewise.
46147 * nss/nss_files/files-service.c: Likewise.
46148 * nss/nss_files/files-sgrp.c: Likewise.
46149 * nss/nss_files/files-spwd.c: Likewise.
46150 * nss/nss_db/db-alias.c: Removed.
46151 * nss/nss_db/dummy-db.h: Removed.
46152
9ee76b5a
UD
461532011-06-02 Ulrich Drepper <drepper@gmail.com>
46154
46155 * nss/makedb.c: Rewritten to not use database library.
46156 * nss/Makefile: Update to build new makedb program.
46157
c71ca1f8
AJ
461582011-06-14 Andreas Jaeger <aj@suse.de>
46159
46160 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
46161 memset declaration.
46162
3154bfb8
UD
461632011-06-10 Andreas Schwab <schwab@redhat.com>
46164
46165 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
46166 tmpbuf.
46167
b350afab
RM
461682011-06-10 Roland McGrath <roland@hack.frob.com>
46169
decd4e50
RM
46170 * Makerules (shlib.lds): Fail if the linker script comes out empty.
46171 * elf/Makefile ($(objpfx)ld.so): Likewise.
46172
5615eaf2
RM
46173 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
46174 Don't list ld.so twice in dependencies.
46175
46176 * posix/bug-regex31.c: Include <stdlib.h>.
46177
46178 * nscd/hstcache.c (cache_addhst): Remove unused variable.
46179
46180 * nis/nss_compat/compat-spwd.c
46181 (getspent_next_nss_netgr): Remove unused variable.
46182 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
46183
46184 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
46185 nonmembers" output to use the right array.
46186
46187 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
46188
46189 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
46190
46191 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
46192 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
46193 * catgets/gencat.c (read_input_file): Likewise.
46194 * locale/programs/locarchive.c (enlarge_archive): Likewise.
46195
46196 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
46197 variable definition inside #if's controlling its use.
46198
46199 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
46200
46201 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
46202
46203 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
46204
46205 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
46206 unreachable code.
46207
46208 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
46209
b68e08db
RM
46210 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
46211 * configure: Regenerated.
46212
b350afab
RM
46213 * Makerules: Revert last change.
46214 * elf/Makefile: Likewise.
46215
28368601
RM
462162011-06-09 Roland McGrath <roland@hack.frob.com>
46217
46218 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
46219 * elf/Makefile ($(objpfx)librtld.os): Likewise.
46220 (reloc-link): Likewise.
46221
11988f8f
UD
462222011-06-09 Ulrich Drepper <drepper@gmail.com>
46223
46224 * elf/Makefile: Add rules to build pldd.
46225 * elf/pldd.c: New file.
46226 * elf/pldd-xx.c: New file.
46227
e80fab37
UD
462282011-06-07 Ulrich Drepper <drepper@gmail.com>
46229
46230 * version.h: Update for 2.15 development version.
46231
9b849836
DM
462322011-06-07 David S. Miller <davem@davemloft.net>
46233
46234 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
46235 ifuncs.
46236 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
46237 elf_machine_lazy_rel): Likewise.
46238 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46239 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
46240 elf_machine_lazy_rel): Likewise.
46241 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
46242 dl_hwcap via passed in argument.
46243 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
46244 Likewise.
46245
5a31b283
AK
462462011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46247
46248 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
46249
069e52f8
RM
462502011-06-06 Roland McGrath <roland@hack.frob.com>
46251
46252 [BZ #12849]
46253 * manual/fdl-1.1.texi: New file, verbatim from:
46254 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
46255 * manual/lgpl-2.1.texi: New file, verbatim from:
46256 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
46257 * manual/Makefile (licenses): New variable, list those new file names.
46258 (texis): Use it.
46259 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
46260
46261 * manual/fdl.texi: File removed.
46262 * manual/lesser.texi: File removed.
46263 * manual/libc.texinfo (Copying, Documentation License):
46264 Use new @include file names, put @appendix directive before @include.
46265
f16846a5
JJ
462662011-06-04 Jakub Jelinek <jakub@redhat.com>
46267
46268 [BZ #12841]
46269 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
46270 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
46271 (mq_open): Add __NTH.
46272
3d29045b
L
462732011-06-02 H.J. Lu <hongjiu.lu@intel.com>
46274
46275 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46276 Assume Intel Core i3/i5/i7 processor if AVX is available.
46277
8c297311
UD
462782011-05-31 Ulrich Drepper <drepper@gmail.com>
46279
46280 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46281 typo.
46282
c8fc0c91
UD
462832011-05-31 Andreas Schwab <schwab@redhat.com>
46284
46285 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
46286 memory. Use alloca_account. Fix memory leak when retrying.
46287
5b27a807
UD
462882011-05-31 Ulrich Drepper <drepper@gmail.com>
46289
356f8bc6
UD
46290 * version.h (RELEASE): Bump for 2.14 release.
46291 * include/features.h (__GLIBC_MINOR__): Bump to 14.
46292
5b27a807
UD
46293 * config.make.in (RANLIB): Remove entry.
46294
01f16ab0
UD
462952011-05-30 Ulrich Drepper <drepper@gmail.com>
46296
41fce8bd
UD
46297 * po/Makefile (po-sed-cmd): Add ksh to extensions.
46298 (libc.pot): Work around missing support for .ksh extension in xgettext.
46299
4769ae77
UD
46300 [BZ #12684]
46301 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
46302 if both request failed.
46303 (send_dg): In case of server errors clear resplen or *resplen2.
46304
6b1e7d19
UD
46305 [BZ #12454]
46306 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
46307 when there are multiple maps.
46308 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
46309 (_dl_fini): Remove test here.
46310
01f16ab0
UD
46311 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
46312
b1ebd700
UD
463132011-05-29 Ulrich Drepper <drepper@gmail.com>
46314
7ae22829
UD
46315 [BZ #12350]
46316 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
46317 bit from old_res_options.
46318 (gaih_inet): Likewise.
46319
553149f6 46320 [BZ #11099]
18a84741 46321 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
46322 as signed.
46323
652ffab1
UD
46324 * resolv/res_init.c (res_setoptions): Make the code more compact.
46325
16985fd0
UD
46326 [BZ #11558]
46327 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
46328 set RES_USEVC.
46329
0464f746
UD
46330 [BZ #11634]
46331 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
46332
7d17596c
UD
46333 * malloc/malloc.h: Mark malloc hook variables as deprecated.
46334
cf6bbbd7
UD
46335 [BZ #11781]
46336 * malloc/malloc.h: Declare malloc hook variables as volatile.
46337
13f1ab36
UD
46338 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
46339 in last patch.
46340
b1ebd700
UD
46341 [BZ #11799]
46342 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 46343 raise in the comment.
80e2212d
UD
46344 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46345 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46346 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 46347
ce67228d
UD
463482011-05-28 Ulrich Drepper <drepper@gmail.com>
46349
8887a920
UD
46350 [BZ #12811]
46351 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
46352 grow the buffers more if it already has to be sufficient.
46353 (build_wcs_upper_buffer): Likewise.
46354 * posix/regexec.c (check_matching): Likewise.
46355 (clean_state_log_if_needed): Likewise.
46356 (extend_buffers): Don't enlarge buffers beyond size of the input
46357 buffer.
46358 Patches mostly by Emil Wojak <emil@wojak.eu>.
46359 * posix/bug-regex32.c: New file.
46360 * posix/Makefile (tests): Add bug-regex32.
46361
4f031072
UD
46362 * locale/findlocale.c (_nl_find_locale): Return right away if
46363 _nl_explode_name failed.
46364 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
46365
d0478f0c
UD
46366 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
46367
de81b246
UD
46368 * debug/xtrace.sh: Unify messages.
46369 * malloc/memusage.sh: Likewise.
46370
c738465a
UD
46371 [BZ #12813]
46372 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
46373 time symbol from vDSO. Substitute with vsyscall if not available.
46374 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
46375 __vdso_time.
46376
f1f929d7
UD
46377 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
46378 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
46379 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
46380 Add sendmmsg and internal_sendmmsg.
46381 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
46382 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
46383 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
46384
ce67228d
UD
46385 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
46386 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
46387 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
46388
e57420c6
UD
463892011-05-27 Ulrich Drepper <drepper@gmail.com>
46390
a8509ca5
UD
46391 [BZ #12813]
46392 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
46393 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
46394 available.
46395 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
46396 __vdso_getcpu.
46397
e57420c6
UD
46398 [BZ #12814]
46399 * iconvdata/Makefile (tests): Add bug-iconv9.
46400 * iconvdata/bug-iconv9.c: New file.
46401
4d07db15
AS
464022011-05-27 Andreas Schwab <schwab@redhat.com>
46403
46404 [BZ #12814]
46405 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
46406
ea486f69
JJ
464072011-05-25 Jakub Jelinek <jakub@redhat.com>
46408
46409 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46410 (struct user_regs_struct): Change intcs field back to cs.
46411
6f038433
UD
464122011-05-25 Ulrich Drepper <drepper@gmail.com>
46413
46414 * po/ja.po: Update from translation team.
46415
67f86a25
UD
464162011-05-23 Ulrich Drepper <drepper@gmail.com>
46417
46418 [BZ #12795]
46419 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
46420 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
46421
def7fbd6
AS
464222011-05-20 Andreas Schwab <schwab@redhat.com>
46423
46424 * stdlib/longlong.h: Update from GCC.
46425
f50ef8f1
AS
464262011-05-23 Andreas Schwab <schwab@redhat.com>
46427
46428 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
46429 parameter name.
46430 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
46431 Add parameter name.
46432 (__sysconf): Pass it down.
46433
de7ce8f1
UD
464342011-05-22 Ulrich Drepper <drepper@gmail.com>
46435
f2962a71
UD
46436 [BZ #12671]
46437 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
46438 some situations.
46439 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
46440 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
46441 add in in __libc_use_alloca calls. Adjust callers.
46442 (glob): Use malloc in some situations.
46443
de7ce8f1
UD
46444 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
46445 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
46446 pltexit.
46447
aec84f53
UD
464482011-05-21 Ulrich Drepper <drepper@gmail.com>
46449
05bb4a68
UD
46450 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
46451 and CLOCK_BOOTTIME_ALARM.
46452
7ea72f99
UD
46453 [BZ #12782]
46454 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
46455 is returned.
46456
7e4afad5
UD
46457 * string/_strerror.c (__strerror_r): Print negative errors as signed
46458 numbers.
46459
8e211fec
UD
46460 [BZ #12777]
46461 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
46462 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
46463 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
46464
f7d82dc9
UD
46465 * configure.in: Fix typo in redirection and correct removal of test
46466 files in two cases.
46467
cc9e536d
UD
46468 [BZ #12788]
46469 * locale/setlocale.c (new_composite_name): Fix test to check for
46470 identical name of all categories.
46471
aec84f53
UD
46472 [BZ #12792]
46473 * libio/filedoalloc.c (local_isatty): New function.
46474 (_IO_file_doallocate): Use local_isatty.
46475 * stdio-common/perror.c (perror): In case a new stream is used
46476 forward the stream error.
46477 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
46478 error flag.
46479
78e64fdc
RT
464802011-05-20 Ulrich Drepper <drepper@gmail.com>
46481
34a9094f
UD
46482 [BZ #11869]
46483 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
46484 alloca.
46485 * include/alloca.h (extend_alloca_account): Define.
46486
78e64fdc
RT
46487 [BZ #11857]
46488 * posix/regex.h: Fix comments with documentation of user-accessible
46489 fields after compilation and describe correct free'ing of pattern
46490 after re_compile_pattern.
46491 Patch by Reuben Thomas <rrt@sc3d.org>.
46492
457bddfc
RA
464932011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
46494
46495 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
46496 and -mno-altivec to prevent the compiler from using Altivec and/or
46497 VSX instructions when the corresponding registers are not available.
46498
a4527b51
AS
464992011-05-19 Andreas Schwab <schwab@redhat.com>
46500
46501 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
46502
ed690b2f
UD
465032011-05-19 Ulrich Drepper <drepper@gmail.com>
46504
46505 * libio/freopen.c (freopen): Use __dup2, not dup2.
46506 * libio/freopen64.c (freopen64): Likewise.
46507
8db73634
L
465082011-05-17 H.J. Lu <hongjiu.lu@intel.com>
46509
46510 [BZ #12775]
46511 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
46512 * math/Makefile (tests): Add test-powl.
46513 (CFLAGS-test-powl.c): Define.
46514 * math/test-powl.c: New file.
46515
0a197a9d
L
465162011-05-16 H.J. Lu <hongjiu.lu@intel.com>
46517
46518 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
46519
ee30c380
UD
465202011-05-17 Ulrich Drepper <drepper@gmail.com>
46521
46522 [BZ #11837]
46523 * iconvdata/gb18030.c: Update to GB18020-2005.
46524
6ce75379
UD
465252011-05-16 Ulrich Drepper <drepper@gmail.com>
46526
a4b89fd8
AR
46527 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
46528 RE_SYNTAX_POSIX_AWK): Update to match recent development.
46529 Patch by Aharon Robbins <arnold@skeeve.com>.
46530
ea389b12
UD
46531 [BZ #11892]
46532 * stdlib/putenv.c (putenv): Don't always create copy of the variable
46533 on the stack.
46534
68a3f91f
UD
46535 [BZ #11895]
46536 * misc/pselect.c (__pselect): Handle timeout value errors hidden
46537 through underflows.
46538
15cc7dd1
UD
46539 [BZ #12766]
46540 * misc/error.c (error_at_line): Ensure file_name and old_file_name
46541 point to strings before performing equality test for error_one_per_line
46542 mode.
46543
f3799213
UD
46544 [BZ #11697]
46545 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
46546
d79a9c94
UD
46547 [BZ #11820]
46548 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46549 (struct user_fpregs_struct): Avoid __uint*_t types.
46550
56e5eb46
UD
46551 [BZ #6420]
46552 * malloc/mtrace.c (tr_where): Add additional parameter to point to
46553 symbol info. Use it instead of calling _dl_addr locally.
46554 (lock_and_info): New function.
46555 (tr_freehook): Call lock_and_info and pass symbol info as additional
46556 parameter to tr_where.
46557 (tr_mallochook): Likewise.
46558 (tr_reallochook): Likewise.
46559 (tr_memalignhook): Likewise.
46560
6ce75379
UD
46561 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
46562 used and couldn't be at all thread-safe.
46563
f8a3b5bf
UD
465642011-05-15 Ulrich Drepper <drepper@gmail.com>
46565
94b7cc37
UD
46566 * libio/freopen.c (freopen): Don't close old file descriptor
46567 before the new one is opened. Instead dup the new file descriptor
46568 to the old one after the new stream is created.
46569 * libio/freopen64.c (freopen64): Likewise.
46570 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
46571 * libio/fileops.c (_IO_new_file_close_it): Handle new
46572 _IO_FLAGS2_NOCLOSE flag.
46573 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
46574 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
46575 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
46576 _IO_FLAGS2_NOCLOSE flag.
46577 * include/unistd.h: Add hidden_proto for dup3.
46578 Define __have_dup3.
46579 * io/dup3.c: Define hidden symbol.
46580 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
46581
bd25564e
UD
46582 [BZ #7101]
46583 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
46584 when an incomplete long option is used.
46585 * posix/tst-getopt_long1.c: New file.
46586 * posix/Makefile (tests): Add tst-getopt_long1.
46587
c84cfef4
UD
46588 [BZ #10138]
46589 * scripts/config.guess: Update from autoconf-2.68.
46590 * scripts/config.sub: Likewise.
46591
3b85df27
UD
46592 [BZ #10157]
46593 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
46594 tests into ...
46595 (has_cpuclock): ...this. New function.
46596 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
46597 macro here based on has_cpuclock code.
46598
15a856b1
UD
46599 [BZ #10149]
46600 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46601 First byte (not low byte) is now always NUL.
46602 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
46603
05f399e6
UD
46604 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46605 Use non-cancelable interfaces.
46606
10a52685 46607 [BZ #9809]
94ecc67d
UD
46608 * locale/iso-639.def: Add entry for Sorani.
46609
f8a3b5bf
UD
46610 [BZ #11901]
46611 * include/stdlib.h: Move include protection to the right place.
46612 Define abort_msg_s. Declare __abort_msg with it.
46613 * stdlib/abort.c (__abort_msg): Adjust type.
46614 * assert/assert.c (__assert_fail_base): New function. Majority
46615 of code from __assert_fail. Allocate memory for __abort_msg with
46616 mmap.
46617 (__assert_fail): Now call __assert_fail_base.
46618 * assert/assert-perr.c: Remove bulk of implementation. Use
46619 __assert_fail_base.
46620 * include/assert.hL Declare __assert_fail_base.
46621 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
46622 mmap.
46623 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
46624
1af4e298
UD
466252011-05-14 Ulrich Drepper <drepper@gmail.com>
46626
f8a3b5bf 46627 [BZ #11952]
d26dfc60
MG
46628 [BZ #12453]
46629 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
46630 until all modules are registered in the DTV.
46631 * elf/Makefile: Add rules to build and run tst-tls19.
46632 * elf/tst-tls19.c: New file.
46633 * elf/tst-tls19mod1.c: New file.
46634 * elf/tst-tls19mod2.c: New file.
46635 * elf/tst-tls19mod3.c: New file.
46636 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
46637
2fc54d6f
UD
46638 [BZ #12083]
46639 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
46640 correctly.
46641
98d76b46
UD
46642 [BZ #12601]
46643 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
46644 two-byte sequence errors.
46645 * iconvdata/Makefile (tests): Add bug-iconv8.
46646 * iconvdata/bug-iconv8.c: New file.
46647
da3c19ef
UD
46648 [BZ #12626]
46649 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
46650 buf2 definition.
46651
ca408c15
UD
46652 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
46653
d6f67f7d
UD
46654 [BZ #12432]
46655 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
46656 (dummy_getcfa): New function.
46657 (init): Get _Unwind_GetCFA address, use dummy if not found.
46658 (backtrace_helper): In recursion check, also check whether CFA changes.
46659 (__backtrace): Completely initialize arg.
46660
1af4e298 46661 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
46662 storing incomplete byte sequence in state object. Avoid testing for
46663 guaranteed too small input if we know there is enough data available.
1af4e298 46664
da62f81b
AS
466652011-05-11 Andreas Schwab <schwab@redhat.com>
46666
46667 * Makeconfig (+link-pie): Indent.
46668 * Rules (binaries-pie): Define if $(have-fpie) and
46669 $(build-shared).
46670 (binaries-shared): Also filter out $(binaries-pie).
46671 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
46672 * nscd/Makefile (others-pie): Add nscd.
46673 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
46674 ($(objpfx)nscd): Remove command override.
46675 * login/Makefile (others-pie): Add pt_chown.
46676 ($(objpfx)pt_chown): Remove command override.
46677 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
46678 remove command overrides.
46679
fcabc0f8
UD
466802011-05-13 Ulrich Drepper <drepper@gmail.com>
46681
20030ae6
UD
46682 * libio/tst_putwc.c: Fix error messages.
46683
fcabc0f8
UD
46684 [BZ #12724]
46685 * libio/fileops.c (_IO_new_file_close_it): Always flush when
46686 currently writing and seek to current position when not.
46687 * libio/Makefile (tests): Add bug-fclose1.
46688 * libio/bug-fclose1.c: New file.
46689
320a5dc0
PB
466902011-05-12 Ulrich Drepper <drepper@gmail.com>
46691
46692 [BZ #12511]
46693 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
46694 don't set DF_1_NODELETE here.
46695 (do_lookup_x): When entering new entry test for copy relocation
46696 and if necessary set DF_1_NODELETE flag.
46697 * elf/tst-unique4.cc: New file.
46698 * elf/tst-unique4.h: New file.
46699 * elf/tst-unique4lib.cc: New file.
46700 * elf/Makefile: Add rules to build and run tst-unique4.
46701 Patch by Piotr Bury <pbury@goahead.com>.
46702
22836f52
UD
467032011-05-11 Ulrich Drepper <drepper@gmail.com>
46704
f574184a
UD
46705 [BZ #12052]
46706 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
46707
e1fb097f
UD
46708 [BZ #12625]
46709 * misc/mntent_r.c (addmntent): Flush the stream after the output
46710
22836f52
UD
46711 [BZ #12393]
46712 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
46713 (is_trusted_path_normalize): Skip initial colon. Append slash
46714 to empty buffer. Duplicate is_trusted_path code but allow
46715 constructed patch to be prefix.
46716 (is_dst): Allow $ORIGIN followed by /.
46717 (_dl_dst_substitute): Correct clearing of check_for_trusted.
46718 Correct testing of result of is_trusted_path_normalize
46719 (decompose_rpath): Fix warning.
46720
7b3b0b2a
UD
467212011-05-10 Ulrich Drepper <drepper@gmail.com>
46722
46723 [BZ #11257]
46724 * grp/initgroups.c (internal_getgrouplist): When we found the service
46725 list through the initgroups entry in nsswitch.conf do not always
46726 continue on a successful lookup. Don't always use the
eac80ce2 46727 __nss_group_database value if it is set.
7b3b0b2a
UD
46728 * nss/nsswitch.conf (initgroups): Change action for successful db
46729 lookup to continue for compatibility.
46730
2a81eaa5
UD
467312011-05-09 Ulrich Drepper <drepper@gmail.com>
46732
be97a69e
UD
46733 [BZ #11532]
46734 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
46735 and CP774 modules.
46736 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
46737 and CP774 modules.
46738 * iconvdata/tst-tables.sh: Likewise.
46739 * iconvdata/cp770.c: New file.
46740 * iconvdata/cp771.c: New file.
46741 * iconvdata/cp772.c: New file.
46742 * iconvdata/cp773.c: New file.
46743 * iconvdata/cp774.c: New file.
46744 * iconvdata/testdata/CP770: New file.
46745 * iconvdata/testdata/CP770..UTF8: New file.
46746 * iconvdata/testdata/CP771: New file.
46747 * iconvdata/testdata/CP771..UTF8: New file.
46748 * iconvdata/testdata/CP772: New file.
46749 * iconvdata/testdata/CP772..UTF8: New file.
46750 * iconvdata/testdata/CP773: New file.
46751 * iconvdata/testdata/CP773..UTF8: New file.
46752 * iconvdata/testdata/CP774: New file.
46753 * iconvdata/testdata/CP774..UTF8: New file.
46754
46755 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
46756 END CHARMAP line.
46757 * iconvdata/gen-8bit-gap.sh: Likewise.
46758 * iconvdata/gen-8bit.sh: Likewise.
46759
c1e9e399
UD
46760 * locale/iso-639.def: Add ary entry.
46761
24c55fb3 46762 [BZ #11258]
96b4b1b0
UD
46763 * locale/C-translit.h.in: Add U20A1 transliteration.
46764
bdc2f971
KB
46765 [BZ #12178]
46766 * locale/iso-639.def: Add wae entry.
46767 Patch by Kevin Bortis <bortis@translate-wae.ch>.
46768
2952b117
UD
46769 [BZ #12545]
46770 * locale/programs/localedef.c (construct_output_path): Use ssize_t
46771 for n.
46772
2a81eaa5
UD
46773 [BZ #12711]
46774 * locale/C-translit.h.in: Add entry for U20B9.
46775 Patch by pravin.d.s@gmail.com.
46776
28377d1b
UD
467772011-05-08 Ulrich Drepper <drepper@gmail.com>
46778
7fb90fb8
UD
46779 [BZ #12713]
46780 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
46781 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
46782 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
46783 in rtld. Use *stat64.
7fb90fb8 46784 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 46785 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 46786 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
46787 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
46788 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
46789 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
46790 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
46791 __fstatat64 macros.
7fb90fb8
UD
46792 * include/dirent.h: Add libc_hidden_proto for rewinddir.
46793 * dirent/rewinddir.c: Add libc_hidden_def.
46794 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 46795 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 46796
28377d1b
UD
46797 * include/dirent.h (__alloc_dir): Add flags parameter.
46798 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
46799 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
46800 __alloc_dir.
46801 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
46802 from fdopendir if O_CLOEXEC is already set.
46803
66bdbaa4
AM
468042011-03-15 Alan Modra <amodra@gmail.com>
46805
46806 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
46807 l_tls_firstbyte_offset non-zero. Save padding offset in
46808 l_tls_firstbyte_offset for later use.
46809 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
46810 freeing static tls block.
46811
95721191
JN
468122011-03-05 Jonathan Nieder <jrnieder@gmail.com>
46813
46814 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
46815 where #ifdef was intended. The intent is to prevent ARG_MAX from
46816 being defined by the kernel headers.
46817
f87dfb1f
UD
468182011-05-07 Ulrich Drepper <drepper@gmail.com>
46819
46820 [BZ #12734]
46821 * resolv/resolv.h: Define RES_NOTLDQUERY.
46822 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
46823 no-tld-query and set RES_NOTLDQUERY.
46824 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
46825 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
46826 modern BIND to search name as TLD unless forbidden.
46827
47c3cd7a
UD
468282011-05-07 Petr Baudis <pasky@suse.cz>
46829 Ulrich Drepper <drepper@gmail.com>
46830
46831 [BZ #12393]
46832 * elf/dl-load.c (fillin_rpath): Move trusted path check...
46833 (is_trusted_path): ...to here.
c1e9ea35 46834 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 46835 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 46836 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 46837
8a35c912
PP
468382011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46839
46840 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
46841 __BEGIN/__END_DECLS.
46842
acd41f47
UD
468432011-05-06 Ulrich Drepper <drepper@gmail.com>
46844
46845 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
46846 NSS_STATUS_NOTFOUND if no record was found.
46847
597df647
AS
468482011-05-05 Andreas Schwab <schwab@redhat.com>
46849
46850 * sunrpc/Makefile (headers): Add rpc/netdb.h.
46851 (headers-not-in-tirpc): Remove rpc/netdb.h
46852 * resolv/netdb.h: Revert last change.
46853
b9af1301
PP
468542011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
46855
46856 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
46857 circular dependency between libgcc.a and libc.a.
46858
4e34d5f5
AS
468592011-05-05 Andreas Schwab <schwab@redhat.com>
46860
46861 * resolv/netdb.h: Don't include <rpc/netdb.h>.
46862 * nis/Makefile: Don't install rpcsvc/*.
46863 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
46864 instead of <rpc/types.h>.
46865 (MAXHOSTNAMELEN): Define.
46866
00ee369c
AS
468672011-05-03 Andreas Schwab <schwab@redhat.com>
46868
46869 * elf/ldconfig.c (add_dir): Don't crash on empty path.
46870
0b592a30
MB
468712011-04-28 Maciej Babinski <mbabinski@google.com>
46872
46873 [BZ #12714]
46874 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
46875 gethostbyname4_r when IPv6 results are possible.
46876
6e04cbbe
UD
468772011-05-02 Ulrich Drepper <drepper@gmail.com>
46878
46879 [BZ #12723]
46880 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
46881 _PC_PIPE_BUF handling.
46882
e4ecafe0
BH
468832011-04-30 Bruno Haible <bruno@clisp.org>
46884
46885 [BZ #12717]
46886 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
46887 * resolv/netdb.h (getnameinfo): Change type of flags parameter
46888 to 'int'.
46889 * inet/getnameinfo.c (getnameinfo): Likewise.
46890
125ee683
UD
468912011-04-29 Ulrich Drepper <drepper@gmail.com>
46892
46893 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
46894 to groups setting in database lookup.
46895 * nss/nsswitch.conf: Add initgroups entry.
46896
b722481a
EB
468972011-04-22 Ulrich Drepper <drepper@gmail.com>
46898
46899 [BZ #12685]
46900 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
46901 mode string.
46902 Patch by Eric Blake <eblake@redhat.com>.
46903
4df46dbd
L
469042011-04-20 H.J. Lu <hongjiu.lu@intel.com>
46905
46906 * sunrpc/Makefile (need-export-routines): Add svc_run.
46907 (routines): Remove svc_run.
46908 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
46909 * sunrpc/clnt_perr.c (clnt_perrno): Export.
46910 * sunrpc/svc_run.c (svc_run): Likewise.
46911 * sunrpc/svc_udp.c (svcudp_create): Likewise.
46912
e84142d2
UD
469132011-04-21 Ulrich Drepper <drepper@gmail.com>
46914
46915 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
46916 problem in reallocation in last patch.
46917
877175d8
UD
469182011-04-20 Ulrich Drepper <drepper@gmail.com>
46919
46920 * sunrpc/Makefile: Move inclusion of Rules.
46921
ab8eed78
UD
469222011-04-19 Ulrich Drepper <drepper@gmail.com>
46923
46924 * nss/nss_files/files-initgroups.c: New file.
46925 * nss/Makefile (libnss_files-routines): Add files-initgroups.
46926 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
46927 _nss_files_initgroups_dyn.
46928
e3d8f584
RS
469292011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
46930
46931 * elf/elf.h (R_ARM_IRELATIVE): Define.
46932
af190f45
UD
469332011-04-19 Ulrich Drepper <drepper@gmail.com>
46934
46935 * po/ru.po: Update from translation team.
46936
53cf59ef
UD
469372011-04-17 Ulrich Drepper <drepper@gmail.com>
46938
46939 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
46940 dependencies.
46941
4c559bcd
MF
469422011-02-06 Mike Frysinger <vapier@gentoo.org>
46943
46944 [BZ #12653]
46945 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
46946 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
46947 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46948 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46949 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46950
4420675c
AS
469512011-03-28 Andreas Schwab <schwab@linux-m68k.org>
46952
46953 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
46954 differing bytes.
46955 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46956 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46957 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46958
75ea32ab
UD
469592011-04-17 Ulrich Drepper <drepper@gmail.com>
46960
46961 [BZ #12420]
46962 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
46963 storing it.
46964 * stdlib/bug-getcontext.c: New file.
46965 * stdlib/Makefile: Add rules to build and run bug-getcontext.
46966
27390476
AK
469672011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46968
46969 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
46970 instructions into .machine "z9-109".
46971 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
46972 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
46973
10442705
AK
469742011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46975
46976 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
46977 between environment variables and auxiliary vector.
46978
7b57bfe5
UD
469792011-04-16 Ulrich Drepper <drepper@gmail.com>
46980
46981 * Makefile: Add rules to build linkobj/libc.so.
46982 * include/libc-symbols.h: Define libc_hidden_nolink.
46983 * include/rpc/auth.h: Mark functions which are to be hidden.
46984 * include/rpc/auth_des.h: Likewise.
46985 * include/rpc/auth_unix.h: Likewise.
46986 * include/rpc/clnt.h: Likewise.
46987 * include/rpc/des_crypt.h: Likewise.
46988 * include/rpc/key_prot.h: Likewise.
46989 * include/rpc/pmap_clnt.h: Likewise.
46990 * include/rpc/pmap_prot.h: Likewise.
46991 * include/rpc/pmap_rmt.h: Likewise.
46992 * include/rpc/rpc_msg.h: Likewise.
46993 * include/rpc/svc.h: Likewise.
46994 * include/rpc/svc_auth.h: Likewise.
46995 * include/rpc/xdr.h: Likewise.
46996 * nis/Makefile: Link all DSOs against linkobj/libc.so.
46997 * nss/Makefile: Likewise.
46998 * sunrpc/Makefile: Don't install headers. Build library with normal
46999 entry points. Don't build rpcinfo. Link RPC tests appropriately.
47000 * sunrpc/auth_des.c: Hide exported symbols by default, export some
47001 for the compat linking library. Remove use of INTDEF/INTUSE.
47002 * sunrpc/auth_none.c: Likewise.
47003 * sunrpc/auth_unix.c: Likewise.
47004 * sunrpc/authdes_prot.c: Likewise.
47005 * sunrpc/authuxprot.c: Likewise.
47006 * sunrpc/clnt_gen.c: Likewise.
47007 * sunrpc/clnt_perr.c: Likewise.
47008 * sunrpc/clnt_raw.c: Likewise.
47009 * sunrpc/clnt_simp.c: Likewise.
47010 * sunrpc/clnt_tcp.c: Likewise.
47011 * sunrpc/clnt_udp.c: Likewise.
47012 * sunrpc/clnt_unix.c: Likewise.
47013 * sunrpc/des_crypt.c: Likewise.
47014 * sunrpc/des_soft.c: Likewise.
47015 * sunrpc/get_myaddr.c: Likewise.
47016 * sunrpc/key_call.c: Likewise.
47017 * sunrpc/key_prot.c: Likewise.
47018 * sunrpc/netname.c: Likewise.
47019 * sunrpc/pm_getmaps.c: Likewise.
47020 * sunrpc/pm_getport.c: Likewise.
47021 * sunrpc/pmap_clnt.c: Likewise.
47022 * sunrpc/pmap_prot.c: Likewise.
47023 * sunrpc/pmap_prot2.c: Likewise.
47024 * sunrpc/pmap_rmt.c: Likewise.
47025 * sunrpc/publickey.c: Likewise.
47026 * sunrpc/rpc_cmsg.c: Likewise.
47027 * sunrpc/rpc_common.c: Likewise.
47028 * sunrpc/rpc_dtable.c: Likewise.
47029 * sunrpc/rpc_prot.c: Likewise.
47030 * sunrpc/rpc_thread.c: Likewise.
47031 * sunrpc/rtime.c: Likewise.
47032 * sunrpc/svc.c: Likewise.
47033 * sunrpc/svc_auth.c: Likewise.
47034 * sunrpc/svc_authux.c: Likewise.
47035 * sunrpc/svc_raw.c: Likewise.
47036 * sunrpc/svc_run.c: Likewise.
47037 * sunrpc/svc_simple.c: Likewise.
47038 * sunrpc/svc_tcp.c: Likewise.
47039 * sunrpc/svc_udp.c: Likewise.
47040 * sunrpc/svc_unix.c: Likewise.
47041 * sunrpc/svcauth_des.c: Likewise.
47042 * sunrpc/xcrypt.c: Likewise.
47043 * sunrpc/xdr.c: Likewise.
47044 * sunrpc/xdr_array.c: Likewise.
47045 * sunrpc/xdr_float.c: Likewise.
47046 * sunrpc/xdr_intXX_t.c: Likewise.
47047 * sunrpc/xdr_mem.c: Likewise.
47048 * sunrpc/xdr_rec.c: Likewise.
47049 * sunrpc/xdr_ref.c: Likewise.
47050 * sunrpc/xdr_sizeof.c: Likewise.
47051 * sunrpc/xdr_stdio.c: Likewise.
47052
e6c61494
UD
470532011-04-10 Ulrich Drepper <drepper@gmail.com>
47054
47055 [BZ #12650]
47056 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
47057 * sysdeps/ia64/dl-tls.h: Likewise.
47058 * sysdeps/powerpc/dl-tls.h: Likewise.
47059 * sysdeps/s390/dl-tls.h: Likewise.
47060 * sysdeps/sh/dl-tls.h: Likewise.
47061 * sysdeps/sparc/dl-tls.h: Likewise.
47062 * sysdeps/x86_64/dl-tls.h: Likewise.
47063 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
47064
34fe483e
AS
470652011-03-14 Andreas Schwab <schwab@redhat.com>
47066
47067 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
47068 rpath element also skip the following colon.
47069 (expand_dynamic_string_token): Add is_path parameter and pass
47070 down to DL_DST_REQUIRED and _dl_dst_substitute.
47071 (decompose_rpath): Call expand_dynamic_string_token with
47072 non-zero is_path. Ignore empty rpaths.
47073 (_dl_map_object_from_fd): Call expand_dynamic_string_token
47074 with zero is_path.
47075
f12a32e6
AS
470762011-04-08 Andreas Schwab <schwab@linux-m68k.org>
47077
47078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
47079 Make cancelable.
47080
38a7d692
UD
470812011-04-09 Ulrich Drepper <drepper@gmail.com>
47082
47083 [BZ #12655]
47084 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
47085 Patch by Filipe David Manana <fdmanana@apache.org>.
47086
e451d22b
AS
470872011-04-07 Andreas Schwab <schwab@redhat.com>
47088
47089 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
47090 Maintain aligned stack.
47091 (CHECK_RSP): Remove unused macro.
47092
dedc7c7b
UD
470932011-04-03 Ulrich Drepper <drepper@gmail.com>
47094
47095 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
47096 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
47097
94521213
UD
470982011-04-02 Ulrich Drepper <drepper@gmail.com>
47099
47100 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
47101
8cb700c0 47102 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 47103
0354e355
L
471042011-03-26 H.J. Lu <hongjiu.lu@intel.com>
47105
47106 [BZ #12518]
47107 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
47108 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
47109 * sysdeps/x86_64/memmove.c: New file.
47110 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
47111 (memcpy): Renamed to ...
47112 (__new_memcpy): This.
47113 (memcpy): Provide GLIBC_2_14 memcpy.
47114 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
47115 (memcpy): Provide GLIBC_2_2_5 memcpy.
47116
8593482f
UD
471172011-04-01 Ulrich Drepper <drepper@gmail.com>
47118
47119 [BZ #12631]
47120 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
47121
81a5726b
AS
471222011-03-30 Andreas Schwab <schwab@redhat.com>
47123
47124 * misc/syncfs.c: New file.
47125 * misc/Makefile (routines): Add syncfs.
47126 * posix/unistd.h: Declare syncfs.
47127 * sysdeps/unix/syscalls.list: Add syncfs.
47128
00e5419f
AS
471292011-04-01 Andreas Schwab <schwab@redhat.com>
47130
47131 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
47132 open_by_handle_at.
47133 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47134 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47135 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47136 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47137 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47138 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
47139 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47140
748876bf
UD
471412011-04-01 Ulrich Drepper <drepper@gmail.com>
47142
658e451d
UD
47143 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
47144 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47145 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
47146 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47147 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47148 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47149 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47150
748876bf
UD
47151 * io/Makefile: Compile fallocate.c, fallocate64.c, and
47152 sync_file_range.c with -fexceptions.
47153 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
47154 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
47155 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
47156 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
47157 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
47158 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
47159 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
47160 sync_file_range as cancellation point
47161 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
47162 now a wrapper around __call_sync_file_range with cancellation handling.
47163 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
47164 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
47165 function name to __call_sync_file_range.
47166 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
47167 Add call_sync_file_range.
748876bf 47168
6e63d5e1
AS
471692011-04-01 Andreas Schwab <schwab@redhat.com>
47170
47171 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 47172 bits/timex.h.
6e63d5e1 47173
46998f74
UD
471742011-04-01 Ulrich Drepper <drepper@gmail.com>
47175
4c1423ed
UD
47176 * iconv/iconv.h: Fix typo in comment.
47177 * io/fcntl.h: Likewise.
47178 * libio/stdio.h: Likewise.
47179 * posix/spawn.h: Likewise.
47180 * posix/unistd.h: Likewise.
47181 * stdlib/stdlib.h: Likewise.
47182 * time/time.h: Likewise.
47183 * wcsmbs/wchar.h: Likewise.
47184
158648c0
UD
47185 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
47186 open_by_handle): Add.
47187 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
47188 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
47189 Augment a few comments.
47190 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47191 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47192 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47193 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47194 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47195 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
47196 open_by_handle.
47197
46998f74
UD
47198 * io/fcntl.h (AT_EMPTY_PATH): Define.
47199
83fe108b
UD
472002011-03-30 Ulrich Drepper <drepper@gmail.com>
47201
47202 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
47203 * sysdeps/unix/sysv/linux/bits/time.h: New file.
47204 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
47205 to...
47206 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
47207 * Versions.def: Add GLIBC_2.14.
47208 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
47209 Export.
83fe108b 47210
bb242059
UD
472112011-03-22 Ulrich Drepper <drepper@gmail.com>
47212
47213 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
47214 round counter.
47215 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47216
c97a1282
L
472172011-03-20 H.J. Lu <hongjiu.lu@intel.com>
47218
47219 [BZ #12597]
47220 * string/test-strncmp.c (do_page_test): New function.
47221 (check2): Likewise.
47222 (test_main): Call check2.
47223 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
47224
2a115601
UD
472252011-03-20 Ulrich Drepper <drepper@gmail.com>
47226
47227 [BZ #12587]
47228 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
47229 Handle cache information in CPU leaf 4.
47230 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47231
8126d904
UD
472322011-03-18 Ulrich Drepper <drepper@gmail.com>
47233
042c49c6 47234 [BZ #12583]
8126d904
UD
47235 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
47236 character representation.
47237 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
47238
ccfe366e
RA
472392011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
47240
47241 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
47242 END(__isnan) to END(__isnanf) to match function entry point/label
47243 EALIGN(__isnanf,...).
47244
c6e13027
JJ
472452011-03-10 Jakub Jelinek <jakub@redhat.com>
47246
47247 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
47248
33f85a3f
UD
472492011-03-10 Ulrich Drepper <drepper@gmail.com>
47250
028478fa
UD
47251 [BZ #12510]
47252 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
47253 copy from the symbol referenced in the relocation to initialize the
47254 used variable.
47255 Patch by Piotr Bury <pbury@goahead.com>.
47256 * elf/Makefile: Add rules to build and tst-unique3.
47257 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
47258 * elf/tst-unique3.cc: New file.
47259 * elf/tst-unique3.h: New file.
47260 * elf/tst-unique3lib.cc: New file.
47261 * elf/tst-unique3lib2.cc: New file.
47262
33f85a3f
UD
47263 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
47264
03592fc7
MF
472652011-03-10 Mike Frysinger <vapier@gentoo.org>
47266
47267 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
47268 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
47269 to _start.
03592fc7 47270
6a5ee102
UD
472712011-03-06 Ulrich Drepper <drepper@gmail.com>
47272
47273 * elf/dl-load.c (_dl_map_object): If we are looking for the first
47274 to-be-loaded object along a path to loader is ld.so.
47275
7e4ba49c
HJ
472762011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47277 Ulrich Drepper <drepper@gmail.com>
47278
47279 * sysdeps/x86_64/memset.S: After aligning destination, code
47280 branches to different locations depending on the value of
47281 misalignment, when multiarch is enabled. Fix this.
47282
472832011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47284
47285 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
47286 Set _x86_64_preferred_memory_instruction for AMD processsors.
47287 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47288 Set bit_Prefer_SSE_for_memop for AMD processors.
47289
13a804de
UD
472902011-03-04 Ulrich Drepper <drepper@gmail.com>
47291
47292 * libio/fmemopen.c (fmemopen): Optimize a bit.
47293
9d25c392
AS
472942011-03-03 Andreas Schwab <schwab@redhat.com>
47295
47296 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
47297
a5543c6a
RM
472982011-03-03 Roland McGrath <roland@redhat.com>
47299
47300 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
47301
012d35f7
DM
473022011-02-28 Aurelien Jarno <aurelien@aurel32.net>
47303
7e4ba49c 47304 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
47305 __bzero_ultra1 instead of __memset_ultra1.
47306
4bff6e01
AS
473072011-02-23 Andreas Schwab <schwab@redhat.com>
47308 Ulrich Drepper <drepper@gmail.com>
47309
47310 [BZ #12509]
47311 * include/link.h (struct link_map): Add l_orig_initfini.
47312 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
47313 returning unsuccessfully.
47314 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
47315 close of a file loaded at startup, restore the original l_initfini
47316 list.
47317 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
47318 list, store the pointer.
47319 * elf/Makefile ($(objpfx)noload-mem): New rule.
47320 (noload-ENV): Define.
47321 (tests): Add $(objpfx)noload-mem.
47322 * elf/noload.c: Include <memcheck.h>.
47323 (main): Call mtrace. Close all opened handles.
47324
f2092faf
AS
473252011-02-17 Andreas Schwab <schwab@redhat.com>
47326
47327 [BZ #12454]
47328 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
47329 dependencies are missing.
47330
6c8a2e88
ST
473312011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
47332
f2092faf 47333 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
47334 Hurd needs munmap.
47335 * sysdeps/mach/hurd/ifreq.h: New file.
47336
84a42118
PB
473372011-01-27 Petr Baudis <pasky@suse.cz>
47338 Ulrich Drepper <drepper@gmail.com>
47339
071f805e 47340 [BZ 12445]#
84a42118
PB
47341 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
47342 to extend_alloca().
47343 * stdio-common/bug23.c: New file.
47344 * stdio-common/Makefile (tests): Add bug23.
47345
e23fe25b
AS
473462010-09-28 Andreas Schwab <schwab@redhat.com>
47347 Ulrich Drepper <drepper@gmail.com>
47348
47349 [BZ #12489]
47350 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
47351 before performing relro protection. At old place add assertion
47352 to make sure nothing changed.
47353
d3f02e10
NS
473542011-02-17 Nathan Sidwell <nathan@codesourcery.com>
47355 Glauber de Oliveira Costa <glommer@gmail.com>
47356
47357 * elf/elf.h: Add new ARM TLS relocs.
47358
d55fd7a5
RA
473592011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
47360
47361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
47362 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
47363 cast from r3.
47364 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
47365 'tests' variable.
47366 * sysdeps/wordsize-64/tst-writev.c: New file.
47367
2206397e
RA
473682011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
47369
47370 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
47371 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
47372 insns in _dl_start to prevent a TOC reference before relocs are
47373 resolved.
47374
e9433893
UD
473752011-02-15 Ulrich Drepper <drepper@gmail.com>
47376
47377 [BZ #12469]
47378 * Makeconfig: Remove RANLIB definition.
47379 * Makerules: Don't use RANLIB.
47380 * aclocal.m4: Remove ranlib test.
47381 * configure.in: No need to check for ranlib.
47382 * elf/rtld-Rules: Don't use RANLIB.
47383
f75286c6
ST
473842011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
47385
8e31c82d
ST
47386 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
47387 protection macro.
47388 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
47389 inclusion protection macro.
47390
f75286c6
ST
47391 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
47392 SIGRTMIN and SIGRTMAX and print information in that case only when
47393 SIGRTMIN is defined.
47394
c1d0e639
JJ
473952011-02-11 Jakub Jelinek <jakub@redhat.com>
47396
47397 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
47398 arginfo fn returning -1.
47399
47400 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
47401 and thousands string is zero terminated.
47402
edf9294e
AS
474032011-02-03 Andreas Schwab <schwab@redhat.com>
47404
47405 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
47406 sysdeps/unix/sysv/linux/bits/socket.h.
47407
2b7e92df
ST
474082011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
47409
edf9294e
AS
47410 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
47411 (__CPU_COUNT): Remove old macros.
47412 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
47413 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
47414 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
47415 (__sched_cpualloc, __sched_cpufree): Add declarations.
47416
a4c7ea7b
UD
474172011-02-05 Ulrich Drepper <drepper@gmail.com>
47418
47419 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
47420 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
47421 * nscd/aicache.c (addhstaiX): Return timeout of added value.
47422 (readdhstai): Return value of addhstaiX call.
47423 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
47424 (addgrbyX): Return value returned by cache_addgr.
47425 (readdgrbyname): Return value returned by addgrbyX.
47426 (readdgrbygid): Likewise.
47427 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
47428 (addpwbyX): Return value returned by cache_addpw.
47429 (readdpwbyname): Return value returned by addhstbyX.
47430 (readdpwbyuid): Likewise.
47431 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
47432 (addservbyX): Return value returned by cache_addserv.
47433 (readdservbyname): Return value returned by addservbyX:
47434 (readdservbyport): Likewise.
47435 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
47436 (addhstbyX): Return value returned by cache_addhst.
47437 (readdhstbyname): Return value returned by addhstbyX.
47438 (readdhstbyaddr): Likewise.
47439 (readdhstbynamev6): Likewise.
47440 (readdhstbyaddrv6): Likewise.
47441 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
47442 (readdinitgroups): Return value returned by addinitgroupsX.
47443 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
47444 (prune_cache): Keep track of timeout value of re-added entries.
47445 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
47446 * nscd/nscd.h: Adjust prototypes of readd* functions.
47447
a0bf67cc
RM
474482011-02-04 Roland McGrath <roland@redhat.com>
47449
47450 * nis/nis_server.c (nis_servstate): Use the right name for 0.
47451 (nis_stats): Likewise.
47452 * nis/nis_modify.c (nis_modify): Likewise.
47453 * nis/nis_remove.c (nis_remove): Likewise.
47454 * nis/nis_add.c (nis_add): Likewise.
47455
47456 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
47457
47458 * posix/fnmatch_loop.c: Add some consts.
47459
47460 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
47461
435b95eb
L
474622011-02-02 H.J. Lu <hongjiu.lu@intel.com>
47463
47464 [BZ #12460]
47465 * config.make.in (config-cflags-novzeroupper): Define.
47466 * configure.in: Substitute libc_cv_cc_novzeroupper.
47467 * elf/Makefile (AVX-CFLAGS): Define.
47468 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
47469 (CFLAGS-tst-auditmod4a.c): Likewise.
47470 (CFLAGS-tst-auditmod4b.c): Likewise.
47471 (CFLAGS-tst-auditmod6b.c): Likewise.
47472 (CFLAGS-tst-auditmod6c.c): Likewise.
47473 (CFLAGS-tst-auditmod7b.c): Likewise.
47474 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
47475
8517b15e
UD
474762011-02-02 Ulrich Drepper <drepper@gmail.com>
47477
47478 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
47479 function to the callback.
47480 Patch partly by Jiri Olsa <jolsa@redhat.com>.
47481
10a656fe
AS
474822011-02-02 Andreas Schwab <schwab@redhat.com>
47483
47484 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
47485 of errno.
47486
968dad0a
UD
474872011-01-19 Ulrich Drepper <drepper@gmail.com>
47488
9f94d2ea 47489 [BZ #11724]
968dad0a
UD
47490 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
47491 of constructors.
47492 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
47493 of destructors.
47494 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
47495
47496 [BZ #11724]
47497 * elf/Makefile: Add rules to build and run new test.
47498 * elf/tst-initorder.c: New file.
47499 * elf/tst-initorder.exp: New file.
47500 * elf/tst-initordera1.c: New file.
47501 * elf/tst-initordera2.c: New file.
47502 * elf/tst-initordera3.c: New file.
47503 * elf/tst-initordera4.c: New file.
47504 * elf/tst-initorderb1.c: New file.
47505 * elf/tst-initorderb2.c: New file.
47506 * elf/tst-order-a1.c: New file.
47507 * elf/tst-order-a2.c: New file.
47508 * elf/tst-order-a3.c: New file.
47509 * elf/tst-order-a4.c: New file.
47510 * elf/tst-order-b1.c: New file.
47511 * elf/tst-order-b2.c: New file.
47512 * elf/tst-order-main.c: New file.
47513 New test case by George Gensure <werkt0@gmail.com>.
47514
86e92359
UD
475152010-10-01 Andreas Schwab <schwab@redhat.com>
47516
47517 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47518 decoding ACE if AI_CANONIDN.
47519
5d5732b0
UD
475202011-01-18 Ulrich Drepper <drepper@gmail.com>
47521
47522 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
47523
a77e8cbc
UD
475242011-01-17 Ulrich Drepper <drepper@gmail.com>
47525
6392473f
UD
47526 * version.h (RELEASE): Bump for 2.13 release.
47527 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
47528
620a0529
UD
47529 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
47530
18ba70a5
UD
47531 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
47532 MADV_NOHUGEPAGE.
32465c3e
UD
47533 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
47534 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
47535 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47536 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47537 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47538 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47539
c0dafcf1
UD
47540 * posix/getconf.c: Update copyright year.
47541 * catgets/gencat.c: Likewise.
47542 * csu/version.c: Likewise.
47543 * debug/catchsegv.sh: Likewise.
47544 * debug/xtrace.sh: Likewise.
47545 * elf/ldconfig.c: Likewise.
47546 * elf/ldd.bash.in: Likewise.
47547 * elf/sprof.c (print_version): Likewise.
47548 * iconv/iconv_prog.c: Likewise.
47549 * iconv/iconvconfig.c: Likewise.
47550 * locale/programs/locale.c: Likewise.
47551 * locale/programs/localedef.c: Likewise.
47552 * malloc/memusage.sh: Likewise.
47553 * malloc/mtrace.pl: Likewise.
47554 * nscd/nscd.c (print_version): Likewise.
47555 * nss/getent.c: Likewise.
47556
a77e8cbc
UD
47557 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
47558 PF_CAIF, and PF_ALG.
47559 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47560
77e8bddf
AS
475612011-01-16 Andreas Schwab <schwab@linux-m68k.org>
47562
1f20b93a
AS
47563 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
47564 (modules-names): Use them.
47565 (ifunc-test-modules, ifunc-pie-tests): Define.
47566 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
47567 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
47568 (test-extras): Likewise.
47569 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
47570 $(compile-command.c).
47571 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
47572 (all-built-dso): Define.
47573 (check-textrel.out, check-execstack.out): Depend on it.
47574
77e8bddf
AS
47575 * configure.in: Don't override --enable-multi-arch.
47576
bc425b33
UD
475772011-01-15 Ulrich Drepper <drepper@gmail.com>
47578
47579 [BZ #6812]
47580 * nscd/hstcache.c (tryagain): Define.
47581 (cache_addhst): Return tryagain not notfound for temporary errors.
47582 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
47583 failed.
47584
794c3ad3
UD
475852011-01-14 Ulrich Drepper <drepper@gmail.com>
47586
70181fdd
UD
47587 [BZ #10563]
47588 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
47589 to make the syscall.
47590 * sysdeps/unix/sysv/linux/setgroups.c: New file.
47591
794c3ad3
UD
47592 [BZ #12378]
47593 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
47594 and fall back to matching as normal character if the string ends before
47595 the matching ']' is found. This is what POSIX requires.
47596 * posix/testfnm.c: Adjust test result.
47597 * posix/globtest.sh: Adjust test result. Add new test.
47598 * posix/tst-fnmatch.input: Likewise.
47599 * posix/tst-fnmatch2.c: Add new test.
47600
68dc9497
AS
476012010-12-28 Andreas Schwab <schwab@linux-m68k.org>
47602
47603 * elf/Makefile (check-execstack): Revert last change. Depend on
47604 check-execstack.h.
47605 (check-execstack.h): New target.
47606 (generated): Add check-execstack.h.
47607 * elf/check-execstack.c: Include "check-execstack.h".
47608 (main): Revert last change.
47609 (handle_file): Return zero if GNU_STACK is absent and
47610 DEFAULT_STACK_PERMS doesn't include PF_X.
47611
451f001b
UD
476122011-01-13 Ulrich Drepper <drepper@gmail.com>
47613
cfa28e56
UD
47614 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
47615 in child fails because the descriptor is already closed.
8cf8ce17
UD
47616 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
47617 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
47618 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 47619
1086d70d
UD
47620 [BZ #12397]
47621 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
47622 syscall.
47623
451f001b
UD
47624 [BZ #10484]
47625 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
47626 temporary buffer used to handle multi lookups locally.
a85b5cb4 47627 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 47628
08769175
UD
476292011-01-12 Ulrich Drepper <drepper@gmail.com>
47630
47631 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
47632 loader is ld.so.
47633
5e49c52e
UD
476342011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
47635
47636 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
47637 alignment for SSE2.
47638
60522a5f
UD
476392011-01-12 Ulrich Drepper <drepper@gmail.com>
47640
47641 [BZ #12394]
47642 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
47643 characters. When rounding increased number of integer digits recompute
47644 number of groups.
47645 * stdio-common/tst-grouping.c: New file.
47646 * stdio-common/Makefile: Add rules to build and run tst-grouping.
47647
f257bbd7
UD
476482011-01-09 Ulrich Drepper <drepper@gmail.com>
47649
47650 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
47651 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
47652
47653 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
47654 void.
47655 * bits/select.h: Likewise.
47656
fa9c15cb
UD
476572011-01-08 Ulrich Drepper <drepper@gmail.com>
47658
47659 * po/ja.po: Update from translation team.
47660
16c2895f
DM
476612011-01-04 David S. Miller <davem@sunset.davemloft.net>
47662
47663 [BZ #11155]
47664 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
47665 implementation just like for lxstat, fxstatat, et al.
47666
2543fef2
JM
476672010-12-27 Jim Meyering <meyering@redhat.com>
47668
47669 [BZ #12348]
47670 * posix/regexec.c (build_trtable): Return failure indication upon
47671 calloc failure. Otherwise, re_search_internal could infloop on OOM.
47672
98727dbe
UD
476732010-12-25 Ulrich Drepper <drepper@gmail.com>
47674
5bd6dc5c
UD
47675 [BZ #12201]
47676 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
47677 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
47678 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
47679 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
47680
97983464
UD
47681 [BZ #12207]
47682 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
47683
98727dbe
UD
47684 [BZ #12204]
47685 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
47686 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
47687
4a531bb0
L
476882010-12-15 H.J. Lu <hongjiu.lu@intel.com>
47689
47690 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
47691 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
47692 script has SORT_BY_INIT_PRIORITY.
47693 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
47694 NO_CTORS_DTORS_SECTIONS is defined.
47695 * elf/soinit.c: Likewise.
47696 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
47697 NO_CTORS_DTORS_SECTIONS is defined.
47698 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
47699 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
47700 * sysdeps/sh/init-first.c: Likewise.
47701 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
47702
07eb4b71
UD
477032010-12-24 Ulrich Drepper <drepper@gmail.com>
47704
47705 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
47706 always use the slow path.
47707
30950a5f
RA
477082010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
47709
47710 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
47711 similar rule which adds the sysdep directories to the header search in
47712 order to pick up the correct platform stackinfo.h.
47713 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
47714 perform test if it is, otherwise return successfully without testing.
47715 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
47716 DEFAULT_STACK_PERMS define in stackinfo.h.
47717 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
47718 defined in stackinfo.h.
47719 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
47720 DEFAULT_STACK_PERMS defined in stackinfo.h.
47721 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
47722 * sysdeps/ia64/stackinfo.h: Likewise.
47723 * sysdeps/s390/stackinfo.h: Likewise.
47724 * sysdeps/sh/stackinfo.h: Likewise.
47725 * sysdeps/sparc/stackinfo.h: Likewise.
47726 * sysdeps/x86_64/stackinfo.h: Likewise.
47727 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
47728 PF_X for powerpc64. Retain PF_X for powerpc32.
47729
db753e2c
UD
477302010-12-19 Ulrich Drepper <drepper@gmail.com>
47731
14b697f7
UD
47732 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
47733 accurately.
db753e2c
UD
47734 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
47735 GETDENTS_64BIT_ALIGNED.
47736
28300719
UD
477372010-12-14 Ulrich Drepper <dreper@gmail.com>
47738
14b697f7 47739 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 47740
4f197237
AS
477412010-12-10 Andreas Schwab <schwab@redhat.com>
47742
dbb0472f
AS
47743 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
47744 _GNU_SOURCE.
47745
4f197237
AS
47746 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
47747 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
47748 Remove __restrict.
47749 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
47750 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
47751
fb88ac72
UD
477522010-12-09 Ulrich Drepper <drepper@gmail.com>
47753
47754 [BZ #11655]
47755 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
47756 are initialized.
47757
42acbb92
JJ
477582010-12-09 Jakub Jelinek <jakub@redhat.com>
47759
47760 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
47761
c038d98d
UD
477622010-12-03 Ulrich Drepper <drepper@gmail.com>
47763
47764 * po/it.po: Update from translation team.
47765
3a4a2499
L
477662010-12-01 H.J. Lu <hongjiu.lu@intel.com>
47767
47768 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
47769 unused codes.
47770
1e24cf6e
UD
477712010-11-30 Ulrich Drepper <drepper@gmail.com>
47772
47773 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
47774
a7690819
AS
477752010-11-24 Andreas Schwab <schwab@redhat.com>
47776
47777 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
47778 specially.
47779 (gaih_getanswer_slice): Likewise.
47780
3bf8d1b1
JJ
477812010-10-20 Jakub Jelinek <jakub@redhat.com>
47782
47783 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
47784
6db52fbb
PB
477852010-05-31 Petr Baudis <pasky@suse.cz>
47786
47787 [BZ #11149]
47788 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
47789 silently even in the chroot mode.
47790
eaca7569
UD
477912010-11-22 Ulrich Drepper <drepper@gmail.com>
47792
47793 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
47794 last patch a bit. Pretty printing
47795
3056dcdb
UD
477962010-05-31 Petr Baudis <pasky@suse.cz>
47797
47798 [BZ #10085]
47799 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
47800 initialization of skip_initgroups_dyn.
47801
cf7c9078
UD
478022010-11-19 Ulrich Drepper <drepper@gmail.com>
47803
47804 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
47805 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47806
a1fb5e3e
UD
478072010-11-16 Ulrich Drepper <drepper@gmail.com>
47808
47809 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
47810
3540d66b
AS
478112010-11-11 Andreas Schwab <schwab@redhat.com>
47812
47813 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
47814 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
47815 (tst-fnmatch-ENV): Set MALLOC_TRACE.
47816 ($(objpfx)tst-fnmatch-mem): New rule.
47817 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
47818 * posix/tst-fnmatch.c (main): Call mtrace.
47819
13b69574
L
478202010-11-11 H.J. Lu <hongjiu.lu@intel.com>
47821
47822 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47823 Support Intel processor model 6 and model 0x2c.
47824
da93d214
LM
478252010-11-10 Luis Machado <luisgpm@br.ibm.com>
47826
47827 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
47828 signed comparison.
47829
8ca52c6e
L
478302010-11-09 H.J. Lu <hongjiu.lu@intel.com>
47831
47832 [BZ #12205]
47833 * string/test-strncasecmp.c (check_result): New function.
47834 (do_one_test): Use it.
47835 (check1): New function.
47836 (test_main): Use it.
47837 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
47838 Support strcasecmp and strncasecmp.
47839
69da074d
UD
478402010-11-08 Ulrich Drepper <drepper@gmail.com>
47841
47842 [BZ #12194]
47843 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
47844 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47845
ff02d528
L
478462010-11-07 H.J. Lu <hongjiu.lu@intel.com>
47847
47848 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
47849 IFUNC support.
47850 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47851 memset-x86-64.
47852 * sysdeps/x86_64/multiarch/bzero.S: New file.
47853 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
47854 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
47855 * sysdeps/x86_64/multiarch/memset.S: New file.
47856 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
47857 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47858 Set bit_Prefer_SSE_for_memop for Intel processors.
47859 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
47860 Define.
47861 (index_Prefer_SSE_for_memop): Define.
47862 (HAS_PREFER_SSE_FOR_MEMOP): Define.
47863
344d0b54
LM
478642010-11-04 Luis Machado <luisgpm@br.ibm.com>
47865
47866 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
47867 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
47868
c0dde15b
UD
478692010-11-03 H.J. Lu <hongjiu.lu@intel.com>
47870
47871 [BZ #12191]
47872 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47873 (__x86_64_raw_data_cache_size_half): Likewise.
47874 (__x86_64_raw_shared_cache_size): Likewise.
47875 (__x86_64_raw_shared_cache_size_half): Likewise.
47876
47877 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47878 (__x86_64_raw_data_cache_size_half): Likewise.
47879 (__x86_64_raw_shared_cache_size): Likewise.
47880 (__x86_64_raw_shared_cache_size_half): Likewise.
47881 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
47882 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
47883 and __x86_64_raw_shared_cache_size_half. Round
47884 __x86_64_data_cache_size_half, __x86_64_data_cache_size
47885 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
47886 to multiple of 256 bytes.
47887
0e516e0e
MS
478882010-11-03 Ulrich Drepper <drepper@gmail.com>
47889
47890 [BZ #12167]
47891 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
47892 of inacessible symlinks. Verify result of symlink before returning it.
47893 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
47894 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
47895
0e012e87
ER
478962010-10-28 Erich Ritz <erichritz@gmail.com>
47897
47898 * math/math.h (isinf): Fix typo in comment.
47899
de0ff7bc
UD
479002010-11-01 Ulrich Drepper <drepper@gmail.com>
47901
47902 * po/da.po: Update from translation team.
47903
fa41c84d
UD
479042010-10-26 Ulrich Drepper <drepper@gmail.com>
47905
47906 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
47907 is added to the list.
47908
f0967738
AK
479092010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47910 Ulrich Drepper <drepper@gmail.com>
47911
47912 * elf/dl-object.c (_dl_new_object): Don't append the new object to
47913 the global list here. Move code to...
47914 (_dl_add_to_namespace_list): ...here. New function.
47915 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
47916 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
47917 * elf/dl-load.c (lose): Don't remove the element from the list.
47918 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
47919 (_dl_map_object): Likewise.
47920
479212010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
47922
47923 [BZ #12159]
47924 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
47925 into all bytes of SSE register.
47926 Patch by Richard Li <richardpku@gmail.com>.
47927
f0967738 479282010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
47929
47930 [BZ #12140]
47931 * malloc/malloc.c (_int_free): Fill correct number of bytes when
47932 perturbing.
47933
d0b9e94f
MB
479342010-10-20 Michael B. Brutman <brutman@us.ibm.com>
47935
47936 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
47937 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
47938 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
47939 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
47941 submachine.
47942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
47943
8e9f92e9
AS
479442010-10-22 Andreas Schwab <schwab@redhat.com>
47945
47946 * include/dlfcn.h (__RTLD_SECURE): Define.
47947 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
47948 mode & __RTLD_SECURE instead.
47949 (open_path): Rename preloaded parameter to secure.
47950 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
47951 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
47952 * elf/dl-deps.c (openaux): Likewise.
47953 * elf/rtld.c (struct map_args): Remove is_preloaded.
47954 (map_doit): Don't use it.
47955 (dl_main): Likewise.
47956 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
47957 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
47958
bc96fbda
AS
479592010-09-09 Andreas Schwab <schwab@redhat.com>
47960
47961 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
47962 (sysd-rules-targets): Remove duplicates.
47963 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
47964 rtld-%.$o dependency.
47965
22cd1c9b
AS
479662010-10-18 Andreas Schwab <schwab@redhat.com>
47967
47968 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
47969 _dl_map_object do it.
47970
18edac48
UD
479712010-10-19 Ulrich Drepper <drepper@gmail.com>
47972
47973 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
47974 fast fma builtins, define the macros in the C99 standard.
47975 (FP_FAST_FMAF): Likewise.
47976 (FP_FAST_FMAL): Likewise.
47977 * sysdeps/x86_64/bits/mathdef.h: Likewise.
47978
47979 * bits/mathdef.h: Update copyright year.
47980 * sysdeps/powerpc/bits/mathdef.h: Likewise.
47981
d2050124
MM
479822010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
47983
47984 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
47985 builtins, define the macros in the C99 standard.
47986 (FP_FAST_FMAF): Likewise.
47987 (FP_FAST_FMAL): Likewise.
47988 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
47989 multiply/add.
47990 (FP_FAST_FMAF): Likewise.
47991
475facd1
JJ
479922010-10-15 Jakub Jelinek <jakub@redhat.com>
47993
47994 [BZ #3268]
47995 * math/libm-test.inc (fma_test): Some new testcases.
47996 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
47997 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
47998 y and infinite z. Do multiplication by C already in long double.
47999 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
48000 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
48001 y and infinite z. Do bitwise or of inexact bit into u.d.
48002 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
48003 * sysdeps/i386/fpu/s_fmaf.S: Removed.
48004 * sysdeps/i386/fpu/s_fma.S: Removed.
48005 * sysdeps/i386/fpu/s_fmal.S: Removed.
48006
7c08a05c
JJ
480072010-10-16 Jakub Jelinek <jakub@redhat.com>
48008
48009 [BZ #3268]
48010 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
48011 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
48012 computation is not scheduled after fetestexcept. Fix value
48013 of minimum denormal long double.
48014
f3f7372d
JJ
480152010-10-14 Jakub Jelinek <jakub@redhat.com>
48016
48017 [BZ #3268]
48018 * math/libm-test.inc (fma_test): Add some more tests.
48019 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
48020 correctly.
48021
14d43591
AS
480222010-10-15 Andreas Schwab <schwab@redhat.com>
48023
48024 * scripts/data/localplt-s390-linux-gnu.data: New file.
48025 * scripts/data/localplt-s390x-linux-gnu.data: New file.
48026
5e908464
JJ
480272010-10-13 Jakub Jelinek <jakub@redhat.com>
48028
48029 [BZ #3268]
48030 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
48031 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
48032 instead of dbl-64.
48033 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
48034 inlines.
48035 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
48036 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
48037 if one of x and y is very large and the other is subnormal.
48038 * sysdeps/s390/fpu/s_fmaf.c: New file.
48039 * sysdeps/s390/fpu/s_fma.c: New file.
48040 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
48041 * sysdeps/powerpc/fpu/s_fma.S: New file.
48042 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
48043 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
48044 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
48045
480462010-10-12 Jakub Jelinek <jakub@redhat.com>
48047
48048 [BZ #3268]
48049 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
48050 fma tests.
48051 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
48052 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
48053 * sysdeps/i386/i686/multiarch/s_fma.c: Include
48054 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
48055 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
48056 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
48057 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
48058
b833d51f
UD
480592010-10-12 Ulrich Drepper <drepper@redhat.com>
48060
48061 [BZ #12078]
48062 * posix/regcomp.c (parse_branch): One more memory leak plugged.
48063 * posix/bug-regex31.input: Add test case.
48064
1751705d
UD
480652010-10-11 Ulrich Drepper <drepper@gmail.com>
48066
e9b9cbf5
UD
48067 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
48068 * posix/bug-regex31.input: New file.
48069
48070 [BZ #12078]
48071 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
48072 (parse_sub_exp): Fix last change, use postorder.
48073
ef06edbe
UD
48074 * posix/bug-regex31.c: New file.
48075 * posix/Makefile: Add rules to build and run bug-regex31.
48076
a129c80d
UD
48077 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
48078
48079 [BZ #12078]
48080 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
48081
b76b818e
UD
48082 [BZ #12108]
48083 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
48084 to have entries in sys_siglist.
48085
1751705d
UD
48086 [BZ #12093]
48087 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
48088 be NULL.
48089
9ff8d36f
JJ
480902010-10-07 Jakub Jelinek <jakub@redhat.com>
48091
48092 [BZ #3268]
48093 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
48094 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
48095 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
48096 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
48097 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48098 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
48099 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
48100 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
48101 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
48102 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
48103 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
48104 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
48105 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
48106 * math/ftestexcept.c (fetestexcept): Likewise.
48107 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
48108 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
48109 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
48110 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
48111 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
48112 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
48113 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48114
af325969
UD
481152010-10-11 Ulrich Drepper <drepper@gmail.com>
48116
c579b202 48117 [BZ #12107]
af325969
UD
48118 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
48119 newline.
48120
67a67b95
UD
481212010-10-06 Ulrich Drepper <drepper@gmail.com>
48122
48123 * string/bug-strstr1.c: New file.
48124 * string/Makefile: Add rules to build and run bug-strstr1.
48125
5fb308bc
EB
481262010-10-05 Eric Blake <eblake@redhat.com>
48127
48128 [BZ #12092]
48129 * string/str-two-way.h (two_way_long_needle): Always clear memory
48130 when skipping input due to the shift table.
48131
45db99c7
UD
481322010-10-03 Ulrich Drepper <drepper@gmail.com>
48133
3b111893
UD
48134 [BZ #12005]
48135 * malloc/mcheck.c: Handle large requests.
48136
45db99c7
UD
48137 [BZ #12077]
48138 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
48139 for strncmp and strncasecmp.
48140 * string/stratcliff.c: Add tests for strcmp and strncmp.
48141 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
48142
cf7a1eb8
NI
481432010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48144
48145 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
48146 __set_fpscr.
48147
6484ba5e
AJ
481482010-09-30 Andreas Jaeger <aj@suse.de>
48149
48150 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
48151 (CGROUP_SUPER_MAGIC): Define.
48152 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48153 Handle btrfs and cgroup file systems.
48154 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48155 Likewise.
48156
91c42559
LM
481572010-09-27 Luis Machado <luisgpm@br.ibm.com>
48158
48159 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
48160 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
48161
87a97932
AK
481622010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48163
48164 [BZ #12067]
48165 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
48166 trying to locate the ELF header.
48167
c21cc9bc
AS
481682010-09-27 Andreas Schwab <schwab@redhat.com>
48169
48170 [BZ #11611]
48171 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
48172 Mask out sign-bit copies when constructing f_fsid.
48173
315970f6
PB
481742010-09-24 Petr Baudis <pasky@suse.cz>
48175
48176 * debug/stack_chk_fail_local.c: Add missing licence exception.
48177 * debug/warning-nop.c: Likewise.
48178
1ac7a2c7
JM
481792010-09-15 Joseph Myers <joseph@codesourcery.com>
48180
48181 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
48182 implementing getdents64 using getdents syscall, set d_type if
48183 __ASSUME_GETDENTS32_D_TYPE.
48184
56801c50
AS
481852010-09-16 Andreas Schwab <schwab@redhat.com>
48186
48187 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
48188 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
48189
dda51327
UD
481902010-09-21 Ulrich Drepper <drepper@redhat.com>
48191
48192 [BZ #12037]
48193 * posix/unistd.h: Undo change of feature selection for ftruncate from
48194 2010-01-11.
48195
8ffcee4a
UD
481962010-09-20 Ulrich Drepper <drepper@redhat.com>
48197
a545ecd9 48198 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
48199 detection.
48200
e24f0a8b
AS
482012010-09-20 Andreas Schwab <schwab@redhat.com>
48202
48203 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
48204 fanotify_mark.
48205 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48206
7291c56f
AS
482072010-09-14 Andreas Schwab <schwab@redhat.com>
48208
48209 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
48210 variables after CHECK_SP call.
48211 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
48212
bc5fb037
AS
482132010-09-13 Andreas Schwab <schwab@redhat.com>
48214 Ulrich Drepper <drepper@redhat.com>
48215
48216 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
48217 re-relocationg ld.so.
48218 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
48219 _dl_init_paths call.
48220 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
48221 here anymore.
48222
e66e7419
UD
482232010-09-14 Ulrich Drepper <drepper@redhat.com>
48224
48225 * resolv/res_init.c (__res_vinit): Count the default server we added.
48226
c044aa75
CLT
482272010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
48228 Ulrich Drepper <drepper@redhat.com>
48229
48230 [BZ #11968]
48231 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48232 (____longjmp_chk): Use %ebx for saving value across system call.
48233 Add unwind info.
48234
32cf4069
AS
482352010-09-06 Andreas Schwab <schwab@redhat.com>
48236
48237 * manual/Makefile: Don't mix pattern rules with normal rules.
48238
817328ee
AS
482392010-09-05 Andreas Schwab <schwab@linux-m68k.org>
48240
48241 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
48242 operation.
48243 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
48244 * libio/iofopncook.c (_IO_cookie_init): Likewise.
48245 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
48246 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
48247 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48248 Likewise.
48249
29fddf61
UD
482502010-09-04 Ulrich Drepper <drepper@redhat.com>
48251
48252 [BZ #11979]
48253 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
48254 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
48255
0959ffc9
UD
482562010-09-02 Ulrich Drepper <drepper@redhat.com>
48257
48258 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
48259 * sysdeps/x86_64/addmul_1.S: Likewise.
48260 * sysdeps/x86_64/lshift.S: Likewise.
48261 * sysdeps/x86_64/mul_1.S: Likewise.
48262 * sysdeps/x86_64/rshift.S: Likewise.
48263 * sysdeps/x86_64/sub_n.S: Likewise.
48264 * sysdeps/x86_64/submul_1.S: Likewise.
48265
ece29840
ST
482662010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
48267
0959ffc9
UD
48268 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
48269 Define __sched_param instead of SCHED_* and sched_param when
ece29840 48270 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 48271 * bits/sched.h [__need_schedparam]
ece29840 48272 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
48273 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
48274 (__defined_schedparam): Define to 1.
ece29840
ST
48275 (__sched_param): New structure, identical to sched_param.
48276 (__need_schedparam): Undefine.
48277
e53a31fe
MF
482782010-08-31 Mike Frysinger <vapier@gentoo.org>
48279
fdc0c10d
MF
48280 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
48281 (epoll_create1): Declare.
48282
e53a31fe
MF
48283 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
48284
a726d796
AS
482852010-08-31 Andreas Schwab <schwab@redhat.com>
48286
48287 [BZ #7066]
48288 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
48289 shifting retval into place.
48290
2f3e3dc7
UD
482912010-09-01 Ulrich Drepper <drepper@redhat.com>
48292
f2933da9
UD
48293 * nis/rpcsvc/nis.h: Update copyright notice.
48294 * nis/rpcsvc/nis.x: Likewise.
48295 * nis/rpcsvc/nis_callback.h: Likewise.
48296 * nis/rpcsvc/nis_callback.x: Likewise.
48297 * nis/rpcsvc/nis_object.x: Likewise.
48298 * nis/rpcsvc/nis_tags.h: Likewise.
48299 * nis/rpcsvc/yp.h: Likewise.
48300 * nis/rpcsvc/yp.x: Likewise.
48301 * nis/rpcsvc/ypupd.h: Likewise.
48302 * nis/yp_xdr.c: Likewise.
48303 * nis/ypupdate_xdr.c: Likewise.
48304
2f3e3dc7
UD
48305 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
48306 mainly the body of pmap_getport. Add parameters to specify timeouts.
48307 (pmap_getport): Use __libc_rpc_getport.
48308 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
48309 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
48310 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
48311
f3dcc2f9
AS
483122010-08-31 Andreas Schwab <schwab@linux-m68k.org>
48313
48314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
48315 fanotify_mark.
48316
6d34eb5b
RM
483172010-08-27 Roland McGrath <roland@redhat.com>
48318
48319 * sysdeps/i386/i686/multiarch/Makefile
48320 (CFLAGS-varshift.c): New variable.
48321
9ea3de11
UD
483222010-08-27 Ulrich Drepper <drepper@redhat.com>
48323
c96d23fc
UD
48324 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
48325 * sysdeps/i386/i686/multiarch/varshift.c: New file.
48326
9ea3de11
UD
48327 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
48328
48329 * sysdeps/x86_64/strlen.S: Minimal code improvement.
48330
623aac7f
L
483312010-08-26 H.J. Lu <hongjiu.lu@intel.com>
48332
48333 * sysdeps/x86_64/strlen.S: Unroll the loop.
48334 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48335 strlen-sse2 strlen-sse2-bsf.
48336 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
48337 __strlen_no_bsf if bit_Slow_BSF is set.
48338 (__strlen_sse42): Removed.
48339 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
48340 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
48341
8b2b7715
RM
483422010-08-25 Roland McGrath <roland@redhat.com>
48343
48344 * sysdeps/x86_64/multiarch/varshift.S: File removed.
48345 * sysdeps/x86_64/multiarch/varshift.c: New file.
48346 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
48347 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
48348 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
48349 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
48350
e73015f2
L
483512010-08-25 H.J. Lu <hongjiu.lu@intel.com>
48352
48353 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48354 strlen-sse2 strlen-sse2-bsf.
48355 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
48356 __strlen_sse2_bsf if bit_Slow_BSF is unset.
48357 (__strlen_sse2): Removed.
48358 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
48359 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
48360 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
48361 bit_Slow_BSF for Atom.
48362 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
48363 (index_Slow_BSF): Define.
48364 (HAS_SLOW_BSF): Define.
48365
df24a73e
UD
483662010-08-25 Ulrich Drepper <drepper@redhat.com>
48367
48368 [BZ #10851]
48369 * resolv/res_init.c (__res_vinit): When no server address at all
48370 is given default to loopback.
48371
f2ac4868
RM
483722010-08-24 Roland McGrath <roland@redhat.com>
48373
09055553
RM
48374 * configure.in: Remove config-name.h generation.
48375 * configure: Regenerated.
48376 * config-name.in: File removed.
48377 * scripts/config-uname.sh: New file.
48378 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
48379 ($(objdir)config-name.h): New target.
48380
f2ac4868
RM
48381 * sunrpc/rpc_parse.h: Avoid nested comment.
48382
73f27d5e
RH
483832010-08-24 Richard Henderson <rth@redhat.com>
48384 Ulrich Drepper <drepper@redhat.com>
48385 H.J. Lu <hongjiu.lu@intel.com>
48386
48387 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
48388 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
48389 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
48390 Replace _mm_srli_si128 with __m128i_shift_right. Replace
48391 _mm_alignr_epi8 with _mm_loadu_si128.
48392 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
48393 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
48394 (__m128i_shift_right): Removed.
48395 * sysdeps/i386/i686/multiarch/varshift.h: New file.
48396 * sysdeps/i386/i686/multiarch/varshift.S: New file.
48397 * sysdeps/x86_64/multiarch/varshift.h: New file.
48398 * sysdeps/x86_64/multiarch/varshift.S: New file.
48399
84b9230c
MF
484002010-08-21 Mike Frysinger <vapier@gentoo.org>
48401
48402 * configure.in: Move assembler checks to before sysdep dir checking.
48403
9bbd0ddc
PB
484042010-08-20 Petr Baudis <pasky@suse.cz>
48405
48406 * LICENSES: Sync the sunrpc license.
48407
9da4bb31
UD
484082010-08-19 Ulrich Drepper <drepper@redhat.com>
48409
a7ab6ec8
UD
48410 * sunrpc/auth_des.c: Update copyright notice once again.
48411 * sunrpc/auth_none.c: Likewise.
48412 * sunrpc/auth_unix.c: Likewise.
48413 * sunrpc/authdes_prot.c: Likewise.
48414 * sunrpc/authuxprot.c: Likewise.
48415 * sunrpc/bindrsvprt.c: Likewise.
48416 * sunrpc/clnt_gen.c: Likewise.
48417 * sunrpc/clnt_perr.c: Likewise.
48418 * sunrpc/clnt_raw.c: Likewise.
48419 * sunrpc/clnt_simp.c: Likewise.
48420 * sunrpc/clnt_tcp.c: Likewise.
48421 * sunrpc/clnt_udp.c: Likewise.
48422 * sunrpc/clnt_unix.c: Likewise.
48423 * sunrpc/des_crypt.c: Likewise.
48424 * sunrpc/des_soft.c: Likewise.
48425 * sunrpc/get_myaddr.c: Likewise.
48426 * sunrpc/getrpcport.c: Likewise.
48427 * sunrpc/key_call.c: Likewise.
48428 * sunrpc/key_prot.c: Likewise.
48429 * sunrpc/openchild.c: Likewise.
48430 * sunrpc/pm_getmaps.c: Likewise.
48431 * sunrpc/pm_getport.c: Likewise.
48432 * sunrpc/pmap_clnt.c: Likewise.
48433 * sunrpc/pmap_prot.c: Likewise.
48434 * sunrpc/pmap_prot2.c: Likewise.
48435 * sunrpc/pmap_rmt.c: Likewise.
48436 * sunrpc/rpc/auth.h: Likewise.
48437 * sunrpc/rpc/auth_unix.h: Likewise.
48438 * sunrpc/rpc/clnt.h: Likewise.
48439 * sunrpc/rpc/des_crypt.h: Likewise.
48440 * sunrpc/rpc/key_prot.h: Likewise.
48441 * sunrpc/rpc/netdb.h: Likewise.
48442 * sunrpc/rpc/pmap_clnt.h: Likewise.
48443 * sunrpc/rpc/pmap_prot.h: Likewise.
48444 * sunrpc/rpc/pmap_rmt.h: Likewise.
48445 * sunrpc/rpc/rpc.h: Likewise.
48446 * sunrpc/rpc/rpc_des.h: Likewise.
48447 * sunrpc/rpc/rpc_msg.h: Likewise.
48448 * sunrpc/rpc/svc.h: Likewise.
48449 * sunrpc/rpc/svc_auth.h: Likewise.
48450 * sunrpc/rpc/types.h: Likewise.
48451 * sunrpc/rpc/xdr.h: Likewise.
48452 * sunrpc/rpc_clntout.c: Likewise.
48453 * sunrpc/rpc_cmsg.c: Likewise.
48454 * sunrpc/rpc_common.c: Likewise.
48455 * sunrpc/rpc_cout.c: Likewise.
48456 * sunrpc/rpc_dtable.c: Likewise.
48457 * sunrpc/rpc_hout.c: Likewise.
48458 * sunrpc/rpc_main.c: Likewise.
48459 * sunrpc/rpc_parse.c: Likewise.
48460 * sunrpc/rpc_parse.h: Likewise.
48461 * sunrpc/rpc_prot.c: Likewise.
48462 * sunrpc/rpc_sample.c: Likewise.
48463 * sunrpc/rpc_scan.c: Likewise.
48464 * sunrpc/rpc_scan.h: Likewise.
48465 * sunrpc/rpc_svcout.c: Likewise.
48466 * sunrpc/rpc_tblout.c: Likewise.
48467 * sunrpc/rpc_util.c: Likewise.
48468 * sunrpc/rpc_util.h: Likewise.
48469 * sunrpc/rpcinfo.c: Likewise.
48470 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
48471 * sunrpc/rpcsvc/key_prot.x: Likewise.
48472 * sunrpc/rpcsvc/klm_prot.x: Likewise.
48473 * sunrpc/rpcsvc/mount.x: Likewise.
48474 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
48475 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
48476 * sunrpc/rpcsvc/rex.x: Likewise.
48477 * sunrpc/rpcsvc/rstat.x: Likewise.
48478 * sunrpc/rpcsvc/rusers.x: Likewise.
48479 * sunrpc/rpcsvc/sm_inter.x: Likewise.
48480 * sunrpc/rpcsvc/spray.x: Likewise.
48481 * sunrpc/rpcsvc/yppasswd.x: Likewise.
48482 * sunrpc/rtime.c: Likewise.
48483 * sunrpc/svc.c: Likewise.
48484 * sunrpc/svc_auth.c: Likewise.
48485 * sunrpc/svc_authux.c: Likewise.
48486 * sunrpc/svc_raw.c: Likewise.
48487 * sunrpc/svc_run.c: Likewise.
48488 * sunrpc/svc_simple.c: Likewise.
48489 * sunrpc/svc_tcp.c: Likewise.
48490 * sunrpc/svc_udp.c: Likewise.
48491 * sunrpc/svc_unix.c: Likewise.
48492 * sunrpc/svcauth_des.c: Likewise.
48493 * sunrpc/xcrypt.c: Likewise.
48494 * sunrpc/xdr.c: Likewise.
48495 * sunrpc/xdr_array.c: Likewise.
48496 * sunrpc/xdr_float.c: Likewise.
48497 * sunrpc/xdr_mem.c: Likewise.
48498 * sunrpc/xdr_rec.c: Likewise.
48499 * sunrpc/xdr_ref.c: Likewise.
48500 * sunrpc/xdr_sizeof.c: Likewise.
48501 * sunrpc/xdr_stdio.c: Likewise.
48502
9da4bb31
UD
48503 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
48504 handling.
48505
bdaa77bc
AS
485062010-08-19 Andreas Schwab <schwab@redhat.com>
48507
48508 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
48509
fe2f79db
LM
485102010-08-19 Luis Machado <luisgpm@br.ibm.com>
48511
48512 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
48513 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
48514 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
48515 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
48516 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
48517 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
48518 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
48519 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
48520 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
48521 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
48522 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
48523 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
48524 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
48525 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
48526
b9b42ee0
AB
485272010-07-26 Anton Blanchard <anton@samba.org>
48528
48529 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
48530 * malloc/arena.c (heap_trim): Likewise.
48531
1c06ba31
UD
485322010-08-16 Ulrich Drepper <drepper@redhat.com>
48533
48534 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
48535 here. Not...
48536 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
48537 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
48538
f8392f40
L
485392010-08-12 H.J. Lu <hongjiu.lu@intel.com>
48540
48541 * sysdeps/i386/elf/Makefile: New file.
48542
3162f12e
AS
485432010-08-14 Andreas Schwab <schwab@linux-m68k.org>
48544
48545 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
48546 from fanotify_init.
48547 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
48548 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48549
28c90b2c
UD
485502010-08-15 Ulrich Drepper <drepper@redhat.com>
48551
48552 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
48553 of strncasecmp_l.
1feccb6c 48554 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 48555
ca6bb004
UD
485562010-08-14 Ulrich Drepper <drepper@redhat.com>
48557
e9f82e0d
UD
48558 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48559 strncase_l-nonascii.
48560 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48561 Add strncase_l-ssse3.
48562 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
48563 * sysdeps/x86_64/strcmp.S: Likewise.
48564 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
48565 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
48566 * sysdeps/x86_64/strncase.S: New file.
48567 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
48568 * sysdeps/x86_64/strncase_l.S: New file.
48569 * string/Makefile (strop-tests): Add strncasecmp.
48570 * string/test-strncasecmp.c: New file.
48571
48572 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
48573 warning.
48574
ca6bb004
UD
48575 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
48576 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
48577
052fa7b3
AS
485782010-08-14 Andreas Schwab <schwab@linux-m68k.org>
48579
48580 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
48581
962dba78
UD
485822010-08-12 Ulrich Drepper <drepper@redhat.com>
48583
48584 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
48585 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
48586 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
48587
bebff237
AM
485882010-05-01 Alan Modra <amodra@gmail.com>
48589
48590 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
48591 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
48592 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
48593 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
48594 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
48595 tidying. Don't tail-call __sigjmp_save for static lib.
48596 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
48597 save location.
48598 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
48599 (CALL_MCOUNT): Add eh info, and nop after bl.
48600 (TAIL_CALL_SYSCALL_ERROR): New macro.
48601 (PSEUDO_RET): Use it.
48602 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
48603 Correct save location of integer regs and cr.
48604 (_dl_profile_resolve): Correct cr save location. Delete nops
48605 after bl when SHARED. Reduce cfi size a little by better
48606 placement of cfi directives.
48607 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
48608 make a stack frame. Instead use parm save area as a temp.
48609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
48610 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
48611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
48612 Don't make a stack frame for parent, use parm save area.
48613 Increase child stack frame to 112 bytes. Don't save unused reg,
48614 and adjust reg usage. Set up cfi on error recovery and
48615 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
48616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48617 (__makecontext): Add dummy nop after jump to exit.
48618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
48619 Use correct parm save area and cr save, reduce stack frame.
48620 Correct cfi for possible PSEUDO_RET frame setup.
48621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
48622 Branch to local label emitted by PSEUDO_RET rather than
48623 __syscall_error.
48624
02637374
AS
486252010-08-12 Andreas Schwab <schwab@redhat.com>
48626
48627 [BZ #11904]
48628 * locale/programs/locale.c (print_assignment): New function.
48629 (show_locale_vars): Use it.
48630
c3e2f19b
UD
486312010-08-11 Ulrich Drepper <drepper@redhat.com>
48632
3cdaa6ad
UD
48633 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
48634 field.
48635 (struct statfs64): Likewise.
48636 (_STATFS_F_FLAGS): Define.
48637 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
48638 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48639 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
48640 (ST_VALID): Define locally.
48641 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
48642 __statvfs_getflags, use the provided value.
48643 * sysdeps/unix/sysv/linux/kernel-features.h: Define
48644 __ASSUME_STATFS_F_FLAGS.
48645
754f7da3
UD
48646 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
48647
10b3bedc
UD
48648 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
48649 Add sys/fanotify.h.
48650 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
48651 fanotify_mask for GLIBC_2.13.
48652 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
48653 fanotify_init and fanotify_mark.
48654 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48655 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
48656
c08fb0d7
UD
48657 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
48658 Add prlimit.
48659 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
48660 prlimit64 for GLIBC_2.13.
48661 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
48662 prlimit64.
48663 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
48664 syscall.
48665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
48666 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48667 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
48668 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
48669 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
48670 add prlimit alias.
48671 * sysdeps/unix/sysv/linux/prlimit.c: New file.
48672
15bac72b
UD
48673 [BZ #11903]
48674 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
48675 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
48676
c3e2f19b
UD
48677 * nss/Makefile: Add rules to build and run tst-nss-test1.
48678 * shlib-versions: Add entry for libnss_test1.
48679 * nss/nss_test1.c: New file.
48680 * nss/tst-nss-test1.c: New file.
48681
48682 * nss/nsswitch.c (__nss_database_custom): Define new variable.
48683 (__nss_configure_lookup): Set appropriate entry in
48684 __nss_configure_lookup to true.
48685 * nss/nsswitch.h: Define enum with indeces of databases in
48686 databases and __nss_database_custom arrays. Declare
48687 __nss_database_custom.
48688 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
48689 to avoid using nscd when custom rules are installed.
48690 * nss/getXXbyYY_r.c: Likewise.
48691 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48692
48693 * nss/nss_files/files-parse.c: Whitespace fixes.
48694
f15ce4d8
UD
486952010-08-09 Ulrich Drepper <drepper@redhat.com>
48696
48697 [BZ #11883]
48698 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
48699 * posix/fnmatch_loop.c: Likewise.
48700
d22e4cc9
AK
487012010-07-17 Andi Kleen <ak@linux.intel.com>
48702
48703 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
48704 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
48705 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
48706 * Versions.def [GLIBC_2.13]: Add.
48707
805bc17d
UD
487082010-08-06 Ulrich Drepper <drepper@redhat.com>
48709
48710 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48711 Also fail if tpwd after pwuid call is NULL.
48712
5a42321d
ST
487132010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
48714
48715 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
48716 when converting to ms.
48717
fd3ebeda
ST
487182010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
48719
48720 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
48721 EOPNOTSUPP errors with ENOTTY.
48722 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
48723 EOPNOTSUPP errors with ENOTTY.
48724
73507d3a
UD
487252010-07-31 Ulrich Drepper <drepper@redhat.com>
48726
48727 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48728 Add strcasecmp_l-ssse3.
48729 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
48730 strcasecmp.
48731 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
48732 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
48733 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
48734
fe36dd02
UD
487352010-07-30 Ulrich Drepper <drepper@redhat.com>
48736
66f6765a
UD
48737 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
48738
42e08a54
UD
48739 * string/Makefile (strop-tests): Add strcasecmp.
48740 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48741 strcasecmp_l-nonascii.
48742 (gen-as-const-headers): Add locale-defines.sym.
48743 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
48744 * sysdeps/x86_64/strcasecmp.S: New file.
48745 * sysdeps/x86_64/strcasecmp_l.S: New file.
48746 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
48747 * sysdeps/x86_64/locale-defines.sym: New file.
48748 * string/test-strcasecmp.c: New file.
48749
fe36dd02
UD
48750 * string/test-strcasestr.c: Test both ends of the range of characters.
48751 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
48752
48cbc0d6
RM
487532010-07-29 Roland McGrath <roland@redhat.com>
48754
76e6d6bc 48755 [BZ #11856]
48cbc0d6
RM
48756 * manual/locale.texi (Yes-or-No Questions): Fix example code.
48757
880113d9
UD
487582010-07-27 Ulrich Drepper <drepper@redhat.com>
48759
48760 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
48761 for ld.so.
48762
deb9cabb
AS
487632010-07-27 Andreas Schwab <schwab@redhat.com>
48764
48765 * manual/memory.texi (Malloc Tunable Parameters): Document
48766 M_PERTURB.
48767
1c7570ff
RM
487682010-07-26 Roland McGrath <roland@redhat.com>
48769
48770 [BZ #11840]
48771 * configure.in (-fgnu89-inline check): Set and substitute
48772 gnu89_inline, not libc_cv_gnu89_inline.
48773 * configure: Regenerated.
48774 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
48775
24fb0f88
UD
487762010-07-26 Ulrich Drepper <drepper@redhat.com>
48777
48778 * string/test-strnlen.c: New file.
48779 * string/Makefile (strop-tests): Add strnlen.
48780 * string/tester.c (test_strnlen): Add a few more test cases.
48781 * string/tst-strlen.c: Better error reporting.
48782
48783 * sysdeps/x86_64/strnlen.S: New file.
48784
8e96b93a
UD
487852010-07-24 Ulrich Drepper <drepper@redhat.com>
48786
48787 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
48788 lower-latency instructions.
48789
dbc676d4
UD
487902010-07-23 Ulrich Drepper <drepper@redhat.com>
48791
48792 * string/test-strcasestr.c: New file.
48793 * string/test-strstr.c: New file.
48794 * string/Makefile (strop-tests): Add strstr and strcasestr.
48795 * string/str-two-way.h: Don't undefine MAX.
48796 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
48797
f6a31e0e
AS
487982010-07-21 Andreas Schwab <schwab@redhat.com>
48799
48800 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48801 strcasestr-nonascii.
48802 (CFLAGS-strcasestr-nonascii.c): Define.
48803 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
48804 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
48805 Remove unused attribute.
48806
5dbc3b6c
RM
488072010-07-20 Roland McGrath <roland@redhat.com>
48808
48809 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
48810 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
48811 ld.so.cache was broken. With it, there is no way to disable dsocaps
48812 like LD_HWCAP_MASK can disable hwcaps.
48813
23d101d8
EPM
488142010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48815
48816 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
48817
cc9f2e47
UD
488182010-07-16 Ulrich Drepper <drepper@redhat.com>
48819
48820 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
48821 call in strcasestr.
48822 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
48823 __strcasestr_sse42_nonascii.
48824 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
48825 strcasestr-nonascii.c.
48826 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
48827
77c1b069
LM
488282010-06-15 Luis Machado <luisgpm@br.ibm.com>
48829
48830 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
48831 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
48832 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
48833 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
48834
440566c3
UD
488352010-07-09 Ulrich Drepper <drepper@redhat.com>
48836
48837 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
48838 fcntl.
48839
5be9d05d
AS
488402010-07-06 Andreas Schwab <schwab@redhat.com>
48841
c30b7ee2 48842 [BZ #11577]
5be9d05d
AS
48843 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
48844 dl_signal_cerror.
48845
8a492a67
UD
488462010-07-06 Ulrich Drepper <drepper@redhat.com>
48847
48848 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
48849 _PC_PIPE_BUF using F_GETPIPE_SZ.
48850
713df3d5
RM
488512010-07-05 Roland McGrath <roland@redhat.com>
48852
48853 * manual/arith.texi (Rounding Functions): Fix rint description
48854 implicit in round description.
48855
702e8f14
UD
488562010-07-02 Ulrich Drepper <drepper@redhat.com>
48857
48858 * elf/Makefile: Fix linking for a few tests to make recent linker
48859 happy.
48860
52ed8be9
AS
488612010-06-30 Andreas Schwab <schwab@redhat.com>
48862
48863 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48864 $(common-objpfx)libc_nonshared.a.
48865
f47c9a11
LM
488662010-06-21 Luis Machado <luisgpm@br.ibm.com>
48867
48868 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
48869 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
48870 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48871 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48872 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
48873 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
48874 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48875 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
48877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
48878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
48879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
48881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
48883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
48884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
48885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
48886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
48888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
48890 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
48891 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
48892 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
48893 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
48894 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
48895 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
48896 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
48897 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
48898 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
48899 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
48900 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
48901 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
48902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
48903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
48904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
48905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
48906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
48907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
48908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
48909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
48910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
48911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
48912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
48913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
48914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
48915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
48916
6fb8cbcb
L
489172010-06-25 H.J. Lu <hongjiu.lu@intel.com>
48918
48919 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
48920 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
48921 * string/memmove.c (memmove): Renamed to ...
48922 (MEMMOVE): ...this. Default to memmove.
48923 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
48924 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
48925 (END_CHK): Define.
48926 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48927 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
48928 mempcpy-ssse3-back memmove-ssse3-back.
48929 * sysdeps/x86_64/multiarch/bcopy.S: New file .
48930 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
48931 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
48932 * sysdeps/x86_64/multiarch/memcpy.S: New file.
48933 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
48934 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
48935 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
48936 * sysdeps/x86_64/multiarch/memmove.c: New file.
48937 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
48938 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
48939 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
48940 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
48941 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
48942 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
48943 Define.
48944 (index_Fast_Copy_Backward): Define.
48945 (HAS_ARCH_FEATURE): Define.
48946 (HAS_FAST_REP_STRING): Define.
48947 (HAS_FAST_COPY_BACKWARD): Define.
48948
4e733bac 489492010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
48950
48951 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48952 Restore proper fallback handling.
48953
63c4ed22
UD
489542010-06-19 Ulrich Drepper <drepper@redhat.com>
48955
ac2b484c
UD
48956 [BZ #11701]
48957 * posix/group_member.c (__group_member): Correct checking loop.
48958
63c4ed22
UD
48959 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
48960 OOM in getpwuid_r correctly. Return error number when the caller
48961 should return, otherwise -1.
48962 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
48963 call returning > 0 value.
48964 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
48965
765ade4b
AS
489662010-06-07 Andreas Schwab <schwab@redhat.com>
48967
48968 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
48969 libc_nonshared.a from targets in modules-names.
48970
80da2e09
KS
489712010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
48972
48973 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
48974 requires it.
48975
158db122
LM
489762010-06-10 Luis Machado <luisgpm@br.ibm.com>
48977
48978 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
48979 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
48980 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
48981 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
48982
caa78cf8
AS
489832010-06-02 Andreas Schwab <schwab@redhat.com>
48984
48985 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
48986
b2ef2c01
UD
489872010-06-14 Ulrich Drepper <drepper@redhat.com>
48988
48989 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
48990 and F_GETPIPE_SZ.
48991 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48992 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48993 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48994 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48995 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48996 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
48997
fbd643b6
RM
489982010-06-14 Roland McGrath <roland@redhat.com>
48999
49000 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
49001
f32f2869
JJ
490022010-06-07 Jakub Jelinek <jakub@redhat.com>
49003
49004 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
49005 __REDIRECT followed by __THROW.
49006 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
49007 * posix/getopt.h (getopt): Likewise.
49008
2a50c078
EPM
490092010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49010
49011 * hurd/lookup-at.c (__file_name_lookup_at): Accept
49012 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
49013 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
49014 in AT_FLAGS.
49015 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
49016 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
49017
eb5ad2eb
LM
490182010-05-28 Luis Machado <luisgpm@br.ibm.com>
49019
49020 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
49021
3c88fe1e
L
490222010-05-26 H.J. Lu <hongjiu.lu@intel.com>
49023
49024 [BZ #11640]
49025 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49026 Properly check family and model.
49027
d2f73151
TY
490282010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
49029
49030 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
49031
ebd2e13d
LM
490322010-05-24 Luis Machado <luisgpm@br.ibm.com>
49033
49034 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
49035
b32b8b45
UD
490362010-05-21 Ulrich Drepper <drepper@redhat.com>
49037
49038 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
49039 symbol reference.
49040
9acbe24d
AS
490412010-05-19 Andreas Schwab <schwab@redhat.com>
49042
49043 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
49044 symbol reference.
49045
f0ccf6ea
AS
490462010-05-21 Andreas Schwab <schwab@redhat.com>
49047
3d04ff3a
AS
49048 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
49049 and internal_recvmmsg.
49050 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
49051 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
49052 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
49053 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
49054
f0ccf6ea
AS
49055 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
49056 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49057 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49058
5b08ac57
AS
490592010-05-20 Andreas Schwab <schwab@redhat.com>
49060
49061 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
49062
4828935d
LM
490632010-05-17 Luis Machado <luisgpm@br.ibm.com>
49064
49065 POWER7 optimizations.
49066 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
49067 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
49068
373d545e
UD
490692010-05-19 Ulrich Drepper <drepper@redhat.com>
49070
49071 * version.h: Update for 2.13 development version.
49072
21a2b1ae
AS
490732010-05-12 Andrew Stubbs <ams@codesourcery.com>
49074
49075 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
49076 exceptions. Return 0.
49077
3f7dcb2b
RM
490782010-05-07 Roland McGrath <roland@redhat.com>
49079
49080 * elf/ldconfig.c (main): Add a const.
49081
5f24d53a 490822010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 49083
a160f8d8
UD
49084 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
49085 (args_options): Add no-idn option.
49086 (ahosts_keys_int): Add idn_flags to ai_flags.
49087 (parse_option): Handle 'i' option to clear idn_flags.
49088
5f24d53a
UD
49089 * malloc/malloc.c (_int_free): Possible race in the most recently
49090 added check. Only act on the data if no current modification
49091 happened.
265bb1ce
UD
49092
49093See ChangeLog.17 for earlier changes.
This page took 6.823234 seconds and 5 git commands to generate.